From f063a5db0fecbb900f9ca3dbf35d993d38f4b820 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 19 Jul 2018 21:44:09 +0200 Subject: Change all package to depend on the new ethereum-types@1.0.0 --- packages/utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/utils') diff --git a/packages/utils/package.json b/packages/utils/package.json index 962dca5be..ce71bae79 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -40,7 +40,7 @@ "@types/node": "^8.0.53", "bignumber.js": "~4.1.0", "detect-node": "2.0.3", - "ethereum-types": "^0.0.2", + "ethereum-types": "^1.0.0", "ethereumjs-util": "^5.1.1", "ethers": "3.0.22", "isomorphic-fetch": "^2.2.1", -- cgit v1.2.3 From fd2611794aacefe2fac6818f676da04db7ea8cbe Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 19 Jul 2018 21:49:03 +0200 Subject: Change all package to depend on the new @0xproject/monorepo-scripts@1.0.0 --- packages/utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/utils') diff --git a/packages/utils/package.json b/packages/utils/package.json index ce71bae79..a78a5497e 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -24,7 +24,7 @@ }, "homepage": "https://github.com/0xProject/0x-monorepo/packages/utils/README.md", "devDependencies": { - "@0xproject/monorepo-scripts": "^0.2.2", + "@0xproject/monorepo-script": "^1.0.0", "@0xproject/tslint-config": "^0.4.21", "@types/lodash": "4.14.104", "copyfiles": "^1.2.0", -- cgit v1.2.3 From a9fa1a0df678ce7ab38106036868227fd93d8c4d Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 19 Jul 2018 21:54:44 +0200 Subject: Change all package to depend on the new @0xproject/typescript-typings@1.0.0 --- packages/utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/utils') diff --git a/packages/utils/package.json b/packages/utils/package.json index a78a5497e..868d96eb0 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -36,7 +36,7 @@ }, "dependencies": { "@0xproject/types": "^1.0.0", - "@0xproject/typescript-typings": "^0.4.3", + "@0xproject/typescript-typings": "^1.0.0", "@types/node": "^8.0.53", "bignumber.js": "~4.1.0", "detect-node": "2.0.3", -- cgit v1.2.3 From 74d54497195c85bdf38bf6c2c8b890d7fa51cb0d Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 19 Jul 2018 22:03:23 +0200 Subject: Change all package to depend on the new @0xproject/tslint-config@1.0.0 --- packages/utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/utils') diff --git a/packages/utils/package.json b/packages/utils/package.json index 868d96eb0..f6580b9b4 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -25,7 +25,7 @@ "homepage": "https://github.com/0xProject/0x-monorepo/packages/utils/README.md", "devDependencies": { "@0xproject/monorepo-script": "^1.0.0", - "@0xproject/tslint-config": "^0.4.21", + "@0xproject/tslint-config": "^1.0.0", "@types/lodash": "4.14.104", "copyfiles": "^1.2.0", "make-promises-safe": "^1.1.0", -- cgit v1.2.3 From 534decea9593da90c99facf808dfd69abed34bd0 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 19 Jul 2018 22:17:55 +0200 Subject: Change all package to depend on the new @0xproject/types@1.0.0-rc.1 --- packages/utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/utils') diff --git a/packages/utils/package.json b/packages/utils/package.json index f6580b9b4..da0da9daf 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -35,7 +35,7 @@ "typescript": "2.7.1" }, "dependencies": { - "@0xproject/types": "^1.0.0", + "@0xproject/types": "^1.0.0-rc.1", "@0xproject/typescript-typings": "^1.0.0", "@types/node": "^8.0.53", "bignumber.js": "~4.1.0", -- cgit v1.2.3 From 6bd921d0bc60bedec980bd18ff5a2550d3f4dc8d Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 19 Jul 2018 22:20:08 +0200 Subject: Add a missing CHANGELOG entry --- packages/utils/CHANGELOG.json | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'packages/utils') diff --git a/packages/utils/CHANGELOG.json b/packages/utils/CHANGELOG.json index d9eb1d3fc..4bd82d476 100644 --- a/packages/utils/CHANGELOG.json +++ b/packages/utils/CHANGELOG.json @@ -1,4 +1,13 @@ [ + { + "version": "1.0.0", + "changes": [ + { + "note": "Add `fetchAsync` which adds a default timeout to all requests", + "pr": 874 + } + ] + }, { "timestamp": 1531919263, "version": "0.7.3", -- cgit v1.2.3 From bf955bd87feb5cf459e5317ccacf9c4fc76019f6 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 19 Jul 2018 22:20:35 +0200 Subject: @0xproject/utils@1.0.0 --- packages/utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/utils') diff --git a/packages/utils/package.json b/packages/utils/package.json index da0da9daf..cf676a9fb 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@0xproject/utils", - "version": "0.7.3", + "version": "1.0.0", "engines": { "node": ">=6.12" }, -- cgit v1.2.3 From 681a58263065da25ade7f0738a991c954925fd52 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Fri, 20 Jul 2018 00:54:44 +0200 Subject: FIx a typo --- packages/utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/utils') diff --git a/packages/utils/package.json b/packages/utils/package.json index cf676a9fb..7e3d46ce7 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -24,7 +24,7 @@ }, "homepage": "https://github.com/0xProject/0x-monorepo/packages/utils/README.md", "devDependencies": { - "@0xproject/monorepo-script": "^1.0.0", + "@0xproject/monorepo-scripts": "^1.0.0", "@0xproject/tslint-config": "^1.0.0", "@types/lodash": "4.14.104", "copyfiles": "^1.2.0", -- cgit v1.2.3 From dc151f7290072c9776c9b351ae30bf577fcd1015 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Fri, 20 Jul 2018 20:13:53 +0200 Subject: Add missing timestamp to CHANGELOG entries --- packages/utils/CHANGELOG.json | 1 + 1 file changed, 1 insertion(+) (limited to 'packages/utils') diff --git a/packages/utils/CHANGELOG.json b/packages/utils/CHANGELOG.json index 4bd82d476..4ff5236ec 100644 --- a/packages/utils/CHANGELOG.json +++ b/packages/utils/CHANGELOG.json @@ -1,5 +1,6 @@ [ { + "timestamp": 1532043000, "version": "1.0.0", "changes": [ { -- cgit v1.2.3 From 6ca2a02766a842b6a85eb36b9741ccc8ce225bef Mon Sep 17 00:00:00 2001 From: Brandon Millman Date: Fri, 20 Jul 2018 11:58:38 -0700 Subject: Add AbortController polyfill to fetchAsync in utils --- packages/utils/package.json | 1 + packages/utils/src/fetchAsync.ts | 3 +++ 2 files changed, 4 insertions(+) (limited to 'packages/utils') diff --git a/packages/utils/package.json b/packages/utils/package.json index 7e3d46ce7..382604fdd 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -38,6 +38,7 @@ "@0xproject/types": "^1.0.0-rc.1", "@0xproject/typescript-typings": "^1.0.0", "@types/node": "^8.0.53", + "abortcontroller-polyfill": "^1.1.9", "bignumber.js": "~4.1.0", "detect-node": "2.0.3", "ethereum-types": "^1.0.0", diff --git a/packages/utils/src/fetchAsync.ts b/packages/utils/src/fetchAsync.ts index c02e5baba..b4c85718d 100644 --- a/packages/utils/src/fetchAsync.ts +++ b/packages/utils/src/fetchAsync.ts @@ -1,5 +1,8 @@ import isNode = require('detect-node'); import 'isomorphic-fetch'; +// WARNING: This needs to be imported after isomorphic-fetch: https://github.com/mo/abortcontroller-polyfill#using-it-on-browsers-without-fetch +// tslint:disable-next-line:ordered-imports +import 'abortcontroller-polyfill/dist/abortcontroller-polyfill-only'; export const fetchAsync = async ( endpoint: string, -- cgit v1.2.3 From fd349b618a48716de1b4ed7fdabd51cbd27f71bb Mon Sep 17 00:00:00 2001 From: Brandon Millman Date: Fri, 20 Jul 2018 12:05:47 -0700 Subject: Add changelog entry for @0xproject/utils --- packages/utils/CHANGELOG.json | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'packages/utils') diff --git a/packages/utils/CHANGELOG.json b/packages/utils/CHANGELOG.json index 4bd82d476..2ce48ab10 100644 --- a/packages/utils/CHANGELOG.json +++ b/packages/utils/CHANGELOG.json @@ -1,4 +1,13 @@ [ + { + "version": "1.0.1", + "changes": [ + { + "note": "Add `AbortController` polyfill to `fetchAsync`", + "pr": 903 + } + ] + }, { "version": "1.0.0", "changes": [ -- cgit v1.2.3