diff options
Diffstat (limited to 'packages/contract-wrappers')
7 files changed, 40 insertions, 33 deletions
diff --git a/packages/contract-wrappers/CHANGELOG.json b/packages/contract-wrappers/CHANGELOG.json index fb077ce73..fdf779338 100644 --- a/packages/contract-wrappers/CHANGELOG.json +++ b/packages/contract-wrappers/CHANGELOG.json @@ -14,7 +14,8 @@ "note": "Optimize orders in ForwarderWrapper", "pr": 936 } - ] + ], + "timestamp": 1534210131 }, { "version": "1.0.1-rc.2", diff --git a/packages/contract-wrappers/CHANGELOG.md b/packages/contract-wrappers/CHANGELOG.md index 8a981d371..c2ad7218e 100644 --- a/packages/contract-wrappers/CHANGELOG.md +++ b/packages/contract-wrappers/CHANGELOG.md @@ -5,6 +5,12 @@ Edit the package's CHANGELOG.json file only. CHANGELOG +## v1.0.1-rc.3 - _August 13, 2018_ + + * Added strict encoding/decoding checks for sendTransaction and call (#915) + * Add ForwarderWrapper (#934) + * Optimize orders in ForwarderWrapper (#936) + ## v1.0.1-rc.2 - _July 26, 2018_ * Fixed bug caused by importing non-existent dep @@ -17,7 +23,7 @@ CHANGELOG * Dependencies updated -## v1.0.0-rc.1 - _July 20, 2018_ +## v1.0.0-rc.1 - _July 19, 2018_ * Update blockstream to v5.0 and propogate up caught errors to active subscriptions (#815) * Update to v2 of 0x rpotocol (#822) diff --git a/packages/contract-wrappers/package.json b/packages/contract-wrappers/package.json index b9ce21552..ae2867e6c 100644 --- a/packages/contract-wrappers/package.json +++ b/packages/contract-wrappers/package.json @@ -1,6 +1,6 @@ { "name": "@0xproject/contract-wrappers", - "version": "1.0.1-rc.2", + "version": "1.0.1-rc.3", "description": "Smart TS wrappers for 0x smart contracts", "keywords": [ "0xproject", @@ -41,13 +41,13 @@ "node": ">=6.0.0" }, "devDependencies": { - "@0xproject/abi-gen": "^1.0.4", - "@0xproject/dev-utils": "^1.0.3", - "@0xproject/migrations": "^1.0.3", - "@0xproject/monorepo-scripts": "^1.0.4", - "@0xproject/sol-compiler": "^1.0.4", - "@0xproject/subproviders": "^1.0.4", - "@0xproject/tslint-config": "^1.0.4", + "@0xproject/abi-gen": "^1.0.5", + "@0xproject/dev-utils": "^1.0.4", + "@0xproject/migrations": "^1.0.4", + "@0xproject/monorepo-scripts": "^1.0.5", + "@0xproject/sol-compiler": "^1.0.5", + "@0xproject/subproviders": "^1.0.5", + "@0xproject/tslint-config": "^1.0.5", "@types/lodash": "4.14.104", "@types/mocha": "^2.2.42", "@types/node": "^8.0.53", @@ -68,20 +68,20 @@ "sinon": "^4.0.0", "source-map-support": "^0.5.0", "tslint": "5.11.0", - "typescript": "2.9.2", + "typescript": "3.0.1", "web3-provider-engine": "14.0.6" }, "dependencies": { - "@0xproject/assert": "^1.0.4", - "@0xproject/base-contract": "^1.0.4", - "@0xproject/fill-scenarios": "^1.0.1-rc.2", - "@0xproject/json-schemas": "^1.0.1-rc.3", - "@0xproject/order-utils": "^1.0.1-rc.2", - "@0xproject/types": "^1.0.1-rc.3", - "@0xproject/typescript-typings": "^1.0.3", - "@0xproject/utils": "^1.0.4", - "@0xproject/web3-wrapper": "^1.1.2", - "ethereum-types": "^1.0.3", + "@0xproject/assert": "^1.0.5", + "@0xproject/base-contract": "^2.0.0-rc.1", + "@0xproject/fill-scenarios": "^1.0.1-rc.3", + "@0xproject/json-schemas": "^1.0.1-rc.4", + "@0xproject/order-utils": "^1.0.1-rc.3", + "@0xproject/types": "^1.0.1-rc.4", + "@0xproject/typescript-typings": "^1.0.4", + "@0xproject/utils": "^1.0.5", + "@0xproject/web3-wrapper": "^1.2.0", + "ethereum-types": "^1.0.4", "ethereumjs-blockstream": "5.0.0", "ethereumjs-util": "^5.1.1", "ethers": "3.0.22", diff --git a/packages/contract-wrappers/src/schemas/contract_wrappers_private_network_config_schema.ts b/packages/contract-wrappers/src/schemas/contract_wrappers_private_network_config_schema.ts index 7e2eca61c..904690ae7 100644 --- a/packages/contract-wrappers/src/schemas/contract_wrappers_private_network_config_schema.ts +++ b/packages/contract-wrappers/src/schemas/contract_wrappers_private_network_config_schema.ts @@ -5,11 +5,11 @@ export const contractWrappersPrivateNetworkConfigSchema = { type: 'number', minimum: 1, }, - gasPrice: { $ref: '/Number' }, - zrxContractAddress: { $ref: '/Address' }, - exchangeContractAddress: { $ref: '/Address' }, - erc20ProxyContractAddress: { $ref: '/Address' }, - erc721ProxyContractAddress: { $ref: '/Address' }, + gasPrice: { $ref: '/numberSchema' }, + zrxContractAddress: { $ref: '/addressSchema' }, + exchangeContractAddress: { $ref: '/addressSchema' }, + erc20ProxyContractAddress: { $ref: '/addressSchema' }, + erc721ProxyContractAddress: { $ref: '/addressSchema' }, blockPollingIntervalMs: { type: 'number' }, orderWatcherConfig: { type: 'object', diff --git a/packages/contract-wrappers/src/schemas/contract_wrappers_public_network_config_schema.ts b/packages/contract-wrappers/src/schemas/contract_wrappers_public_network_config_schema.ts index b80e04310..5cd008ae0 100644 --- a/packages/contract-wrappers/src/schemas/contract_wrappers_public_network_config_schema.ts +++ b/packages/contract-wrappers/src/schemas/contract_wrappers_public_network_config_schema.ts @@ -19,11 +19,11 @@ export const contractWrappersPublicNetworkConfigSchema = { networkNameToId.ganache, ], }, - gasPrice: { $ref: '/Number' }, - zrxContractAddress: { $ref: '/Address' }, - exchangeContractAddress: { $ref: '/Address' }, - erc20ProxyContractAddress: { $ref: '/Address' }, - erc721ProxyContractAddress: { $ref: '/Address' }, + gasPrice: { $ref: '/numberSchema' }, + zrxContractAddress: { $ref: '/addressSchema' }, + exchangeContractAddress: { $ref: '/addressSchema' }, + erc20ProxyContractAddress: { $ref: '/addressSchema' }, + erc721ProxyContractAddress: { $ref: '/addressSchema' }, blockPollingIntervalMs: { type: 'number' }, orderWatcherConfig: { type: 'object', diff --git a/packages/contract-wrappers/src/schemas/method_opts_schema.ts b/packages/contract-wrappers/src/schemas/method_opts_schema.ts index ef434070a..83003f818 100644 --- a/packages/contract-wrappers/src/schemas/method_opts_schema.ts +++ b/packages/contract-wrappers/src/schemas/method_opts_schema.ts @@ -1,7 +1,7 @@ export const methodOptsSchema = { id: '/MethodOpts', properties: { - defaultBlock: { $ref: '/BlockParam' }, + defaultBlock: { $ref: '/blockParamSchema' }, }, type: 'object', }; diff --git a/packages/contract-wrappers/src/schemas/tx_opts_schema.ts b/packages/contract-wrappers/src/schemas/tx_opts_schema.ts index bddc33b6c..83c819be2 100644 --- a/packages/contract-wrappers/src/schemas/tx_opts_schema.ts +++ b/packages/contract-wrappers/src/schemas/tx_opts_schema.ts @@ -1,7 +1,7 @@ export const txOptsSchema = { id: '/TxOpts', properties: { - gasPrice: { $ref: '/Number' }, + gasPrice: { $ref: '/numberSchema' }, gasLimit: { type: 'number' }, }, type: 'object', |