From 6529e060575c22612ded98545d1915686c54161d Mon Sep 17 00:00:00 2001 From: Jacob Evans Date: Thu, 19 Jul 2018 17:51:03 +1000 Subject: Rename call data schema id to CallData. Check for TypedArray when hashing data in order-utils crypto --- packages/order-utils/src/crypto.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/order-utils') diff --git a/packages/order-utils/src/crypto.ts b/packages/order-utils/src/crypto.ts index 517ca2840..0f1504a72 100644 --- a/packages/order-utils/src/crypto.ts +++ b/packages/order-utils/src/crypto.ts @@ -32,7 +32,7 @@ export const crypto = { argTypes.push('address'); } else if (_.isString(arg)) { argTypes.push('string'); - } else if (_.isBuffer(arg)) { + } else if (_.isBuffer(arg) || _.isTypedArray(arg)) { argTypes.push('bytes'); } else if (_.isBoolean(arg)) { argTypes.push('bool'); -- cgit v1.2.3 From 81007c453c8885dd1d7c89d22a20d0785bf17c88 Mon Sep 17 00:00:00 2001 From: Jacob Evans Date: Thu, 19 Jul 2018 19:24:26 +1000 Subject: Update CHANGELOG --- packages/order-utils/CHANGELOG.json | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'packages/order-utils') diff --git a/packages/order-utils/CHANGELOG.json b/packages/order-utils/CHANGELOG.json index 4358c2c9c..e61033c53 100644 --- a/packages/order-utils/CHANGELOG.json +++ b/packages/order-utils/CHANGELOG.json @@ -9,6 +9,10 @@ { "note": "Export parseECSignature method", "pr": 684 + }, + { + "note": "Handle Typed Arrays when hashing data", + "pr": 894 } ] }, -- cgit v1.2.3 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/order-utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/order-utils') diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json index 1ac2804d7..873723e30 100644 --- a/packages/order-utils/package.json +++ b/packages/order-utils/package.json @@ -81,7 +81,7 @@ "@0xproject/web3-wrapper": "^0.7.3", "@types/node": "^8.0.53", "bn.js": "^4.11.8", - "ethereum-types": "^0.0.2", + "ethereum-types": "^1.0.0", "ethereumjs-abi": "^0.6.4", "ethereumjs-util": "^5.1.1", "ethers": "3.0.22", -- 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/order-utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/order-utils') diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json index 873723e30..902929b02 100644 --- a/packages/order-utils/package.json +++ b/packages/order-utils/package.json @@ -52,7 +52,7 @@ "homepage": "https://github.com/0xProject/0x-monorepo/packages/order-utils/README.md", "devDependencies": { "@0xproject/dev-utils": "^0.4.6", - "@0xproject/monorepo-scripts": "^0.2.2", + "@0xproject/monorepo-script": "^1.0.0", "@0xproject/tslint-config": "^0.4.21", "@types/bn.js": "^4.11.0", "@types/lodash": "4.14.104", -- 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/order-utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/order-utils') diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json index 902929b02..edfeed841 100644 --- a/packages/order-utils/package.json +++ b/packages/order-utils/package.json @@ -76,7 +76,7 @@ "@0xproject/json-schemas": "1.0.0", "@0xproject/sol-compiler": "^0.5.4", "@0xproject/types": "^1.0.0", - "@0xproject/typescript-typings": "^0.4.3", + "@0xproject/typescript-typings": "^1.0.0", "@0xproject/utils": "^0.7.3", "@0xproject/web3-wrapper": "^0.7.3", "@types/node": "^8.0.53", -- 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/order-utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/order-utils') diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json index edfeed841..88d3558cf 100644 --- a/packages/order-utils/package.json +++ b/packages/order-utils/package.json @@ -53,7 +53,7 @@ "devDependencies": { "@0xproject/dev-utils": "^0.4.6", "@0xproject/monorepo-script": "^1.0.0", - "@0xproject/tslint-config": "^0.4.21", + "@0xproject/tslint-config": "^1.0.0", "@types/bn.js": "^4.11.0", "@types/lodash": "4.14.104", "chai": "^4.0.1", -- 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/order-utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/order-utils') diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json index 88d3558cf..a2303d64b 100644 --- a/packages/order-utils/package.json +++ b/packages/order-utils/package.json @@ -75,7 +75,7 @@ "@0xproject/base-contract": "^0.3.6", "@0xproject/json-schemas": "1.0.0", "@0xproject/sol-compiler": "^0.5.4", - "@0xproject/types": "^1.0.0", + "@0xproject/types": "^1.0.0-rc.1", "@0xproject/typescript-typings": "^1.0.0", "@0xproject/utils": "^0.7.3", "@0xproject/web3-wrapper": "^0.7.3", -- cgit v1.2.3 From 37ac6749ba4a537e0a0218fa9d7f6b402515c6ff Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 19 Jul 2018 22:22:51 +0200 Subject: Change all package to depend on the new @0xproject/utils@1.0.0 --- packages/order-utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/order-utils') diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json index a2303d64b..2b986f374 100644 --- a/packages/order-utils/package.json +++ b/packages/order-utils/package.json @@ -77,7 +77,7 @@ "@0xproject/sol-compiler": "^0.5.4", "@0xproject/types": "^1.0.0-rc.1", "@0xproject/typescript-typings": "^1.0.0", - "@0xproject/utils": "^0.7.3", + "@0xproject/utils": "^1.0.0", "@0xproject/web3-wrapper": "^0.7.3", "@types/node": "^8.0.53", "bn.js": "^4.11.8", -- cgit v1.2.3 From 0f27ce34240bc019ba53a85ee954dd0d4ae21815 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 19 Jul 2018 22:30:09 +0200 Subject: Change all package to depend on the new @0xproject/json-schemas@1.0.0-rc.1 --- packages/order-utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/order-utils') diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json index 2b986f374..693a7e878 100644 --- a/packages/order-utils/package.json +++ b/packages/order-utils/package.json @@ -73,7 +73,7 @@ "dependencies": { "@0xproject/assert": "^0.3.0", "@0xproject/base-contract": "^0.3.6", - "@0xproject/json-schemas": "1.0.0", + "@0xproject/json-schemas": "^1.0.0-rc.1", "@0xproject/sol-compiler": "^0.5.4", "@0xproject/types": "^1.0.0-rc.1", "@0xproject/typescript-typings": "^1.0.0", -- cgit v1.2.3 From 1e6b11b27e7ea4263c3c712492d3e9f1be9cf2a0 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 19 Jul 2018 22:45:22 +0200 Subject: Change all package to depend on the new @0xproject/assert@1.0.0 --- packages/order-utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/order-utils') diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json index 693a7e878..447d4e61f 100644 --- a/packages/order-utils/package.json +++ b/packages/order-utils/package.json @@ -71,7 +71,7 @@ "typescript": "2.7.1" }, "dependencies": { - "@0xproject/assert": "^0.3.0", + "@0xproject/assert": "^1.0.0", "@0xproject/base-contract": "^0.3.6", "@0xproject/json-schemas": "^1.0.0-rc.1", "@0xproject/sol-compiler": "^0.5.4", -- cgit v1.2.3 From 8193fdc3047555e6c56ef31b4dc1af7339477463 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 19 Jul 2018 22:57:27 +0200 Subject: Change all package to depend on the new @0xproject/web3-wrapper@1.0.0 --- packages/order-utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/order-utils') diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json index 447d4e61f..46d233e30 100644 --- a/packages/order-utils/package.json +++ b/packages/order-utils/package.json @@ -78,7 +78,7 @@ "@0xproject/types": "^1.0.0-rc.1", "@0xproject/typescript-typings": "^1.0.0", "@0xproject/utils": "^1.0.0", - "@0xproject/web3-wrapper": "^0.7.3", + "@0xproject/web3-wrapper": "^1.0.0", "@types/node": "^8.0.53", "bn.js": "^4.11.8", "ethereum-types": "^1.0.0", -- cgit v1.2.3 From b5d19d3fb109920d3a2dfba14d0b673819376b56 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 19 Jul 2018 23:05:01 +0200 Subject: Change all package to depend on the new @0xproject/base-contract@1.0.0 --- packages/order-utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/order-utils') diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json index 46d233e30..2d74f4bb5 100644 --- a/packages/order-utils/package.json +++ b/packages/order-utils/package.json @@ -72,7 +72,7 @@ }, "dependencies": { "@0xproject/assert": "^1.0.0", - "@0xproject/base-contract": "^0.3.6", + "@0xproject/base-contract": "^1.0.0", "@0xproject/json-schemas": "^1.0.0-rc.1", "@0xproject/sol-compiler": "^0.5.4", "@0xproject/types": "^1.0.0-rc.1", -- cgit v1.2.3 From 4043fa76cc8cc9b76ed18384b441f9f0657b6937 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 19 Jul 2018 23:16:47 +0200 Subject: Change all package to depend on the new @0xproject/dev-utils@1.0.0 --- packages/order-utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/order-utils') diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json index 2d74f4bb5..2af69fd74 100644 --- a/packages/order-utils/package.json +++ b/packages/order-utils/package.json @@ -51,7 +51,7 @@ }, "homepage": "https://github.com/0xProject/0x-monorepo/packages/order-utils/README.md", "devDependencies": { - "@0xproject/dev-utils": "^0.4.6", + "@0xproject/dev-utils": "^1.0.0", "@0xproject/monorepo-script": "^1.0.0", "@0xproject/tslint-config": "^1.0.0", "@types/bn.js": "^4.11.0", -- cgit v1.2.3 From 1a1b7a2bc4e9984bfe6d8abecf842b4d9f6c17d8 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 19 Jul 2018 23:21:29 +0200 Subject: Change all package to depend on the new @0xproject/sol-compiler@1.0.0 --- packages/order-utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/order-utils') diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json index 2af69fd74..a815e15ce 100644 --- a/packages/order-utils/package.json +++ b/packages/order-utils/package.json @@ -74,7 +74,7 @@ "@0xproject/assert": "^1.0.0", "@0xproject/base-contract": "^1.0.0", "@0xproject/json-schemas": "^1.0.0-rc.1", - "@0xproject/sol-compiler": "^0.5.4", + "@0xproject/sol-compiler": "^1.0.0", "@0xproject/types": "^1.0.0-rc.1", "@0xproject/typescript-typings": "^1.0.0", "@0xproject/utils": "^1.0.0", -- cgit v1.2.3 From 114b31a813d3505340d8c5a9a5bf9bd025fd6033 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 19 Jul 2018 23:23:37 +0200 Subject: @0xproject/order-utils@1.0.0-rc.1 --- packages/order-utils/CHANGELOG.json | 2 +- packages/order-utils/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/order-utils') diff --git a/packages/order-utils/CHANGELOG.json b/packages/order-utils/CHANGELOG.json index e61033c53..5d92cb318 100644 --- a/packages/order-utils/CHANGELOG.json +++ b/packages/order-utils/CHANGELOG.json @@ -1,6 +1,6 @@ [ { - "version": "1.0.0", + "version": "1.0.0-rc.1", "changes": [ { "note": "Refactor to work with V2 of 0x protocol", diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json index a815e15ce..168a1deba 100644 --- a/packages/order-utils/package.json +++ b/packages/order-utils/package.json @@ -1,6 +1,6 @@ { "name": "@0xproject/order-utils", - "version": "1.0.0", + "version": "1.0.0-rc.1", "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/order-utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/order-utils') diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json index 168a1deba..b87ae5223 100644 --- a/packages/order-utils/package.json +++ b/packages/order-utils/package.json @@ -52,7 +52,7 @@ "homepage": "https://github.com/0xProject/0x-monorepo/packages/order-utils/README.md", "devDependencies": { "@0xproject/dev-utils": "^1.0.0", - "@0xproject/monorepo-script": "^1.0.0", + "@0xproject/monorepo-scripts": "^1.0.0", "@0xproject/tslint-config": "^1.0.0", "@types/bn.js": "^4.11.0", "@types/lodash": "4.14.104", -- 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/order-utils/CHANGELOG.json | 1 + 1 file changed, 1 insertion(+) (limited to 'packages/order-utils') diff --git a/packages/order-utils/CHANGELOG.json b/packages/order-utils/CHANGELOG.json index 5d92cb318..d74ba90ea 100644 --- a/packages/order-utils/CHANGELOG.json +++ b/packages/order-utils/CHANGELOG.json @@ -1,5 +1,6 @@ [ { + "timestamp": 1532043000, "version": "1.0.0-rc.1", "changes": [ { -- cgit v1.2.3