aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-04-19 09:38:43 +0800
committerFabio Berger <me@fabioberger.com>2018-04-19 09:38:43 +0800
commitd1d26f8bf6da4d47df026f509a51d2be62cf1800 (patch)
tree2ed25698950c79fc52594794b7cf9c23321eb95e /packages/0x.js
parent1ca86730fac5d264dcde3260dc2991b2695ad734 (diff)
parent62fcb51e1a9893b8d18536eefc9497d6c1f36c39 (diff)
downloaddexon-sol-tools-d1d26f8bf6da4d47df026f509a51d2be62cf1800.tar.gz
dexon-sol-tools-d1d26f8bf6da4d47df026f509a51d2be62cf1800.tar.zst
dexon-sol-tools-d1d26f8bf6da4d47df026f509a51d2be62cf1800.zip
Merge branch 'development' into fix/expiration-watcher
* development: Publish Updated CHANGELOGS Move @0xproject/migrations to devDependencies Publish Updated CHANGELOGS Make @0xproject/migrations public # Conflicts: # packages/0x.js/CHANGELOG.json # packages/0x.js/package.json
Diffstat (limited to 'packages/0x.js')
-rw-r--r--packages/0x.js/CHANGELOG.json20
-rw-r--r--packages/0x.js/CHANGELOG.md122
-rw-r--r--packages/0x.js/package.json6
3 files changed, 86 insertions, 62 deletions
diff --git a/packages/0x.js/CHANGELOG.json b/packages/0x.js/CHANGELOG.json
index 12bfbe0a3..ef4bb1e07 100644
--- a/packages/0x.js/CHANGELOG.json
+++ b/packages/0x.js/CHANGELOG.json
@@ -1,6 +1,6 @@
[
{
- "version": "0.36.2",
+ "version": "0.36.4",
"changes": [
{
"note": "Fixed expiration watcher comparator to handle orders with equal expiration times",
@@ -9,6 +9,24 @@
]
},
{
+ "version": "0.36.3",
+ "changes": [
+ {
+ "note": "Move @0xproject/migrations to devDependencies"
+ }
+ ],
+ "timestamp": 1524079658
+ },
+ {
+ "timestamp": 1524073495,
+ "version": "0.36.2",
+ "changes": [
+ {
+ "note": "Dependencies updated"
+ }
+ ]
+ },
+ {
"version": "0.36.1",
"changes": [
{
diff --git a/packages/0x.js/CHANGELOG.md b/packages/0x.js/CHANGELOG.md
index 265ea0c40..f800b86db 100644
--- a/packages/0x.js/CHANGELOG.md
+++ b/packages/0x.js/CHANGELOG.md
@@ -5,12 +5,20 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
+## v0.36.3 - _April 18, 2018_
+
+ * Move @0xproject/migrations to devDependencies
+
+## v0.36.2 - _April 18, 2018_
+
+ * Dependencies updated
+
## v0.36.1 - _April 18, 2018_
* Internal changes and refactoring
* Fix redundant expired order removal bug (#527)
-## v0.36.0 - _April 12, 2018_
+## v0.36.0 - _April 11, 2018_
* Moved Web3.Provider to `@0xproject/types:Provider` (#501)
* Add `zeroEx.exchange.getOrderStateAsync` to allow obtaining current OrderState for a signedOrder (#510)
@@ -26,16 +34,16 @@ CHANGELOG
* Add `zeroEx.createOrderStateWatcher` to allow creating arbitrary number of OrderStateWatchers (#488)
* Added `stateLayer` setting to `OrderStateWatcherConfig` so OrderStateWatcher can be set to monitor different blockchain state layers (#488)
-## v0.33.2 - _March 18, 2018_
+## v0.33.2 - _March 17, 2018_
* Consolidate all `console.log` calls into `logUtils` in the `@0xproject/utils` package (#452)
* Consolidate `Order`, `SignedOrder`, and `ECSignature` into the `@0xproject/types` package (#456)
-## v0.33.1 - _March 8, 2018_
+## v0.33.1 - _March 7, 2018_
* Add missing EthersJs typescript typings as dependency
-## v0.33.0 - _March 4, 2018_
+## v0.33.0 - _March 3, 2018_
* Validate and lowercase all addresses in public methods (#373)
* Improve validation to force passing contract addresses on private networks (#385)
@@ -43,54 +51,54 @@ CHANGELOG
* Rename all public `_unsubscribeAll` methods to `unsubscribeAll` (#415)
* Move web3 typings from devDep to dep since cannot use this package without it (#429)
-## v0.32.2 - _February 9, 2018_
+## v0.32.2 - _February 8, 2018_
* Fix publishing issue where .npmignore was not properly excluding undesired content (#389)
-## v0.32.1 - _February 7, 2018_
+## v0.32.1 - _February 6, 2018_
* Reorganized `BlockParamLiteral` export into `@0xproject/types` package (#355)
* Now using `abi-gen` package to generate ContractEventArgs types (#371)
-## v0.32.0 - _February 5, 2018_
+## v0.32.0 - _February 4, 2018_
* Add `zeroEx.etherToken.getContractAddressIfExists` (#350)
* Fixed the bug causing order watcher to throw if there is an event with the same signature but different indexed fields (#366)
-## v0.31.1 - _February 1, 2018_
+## v0.31.1 - _January 31, 2018_
* Fix the bug causing order watcher to throw if makerToken === zrx (#357)
-## v0.31.0 - _January 30, 2018_
+## v0.31.0 - _January 29, 2018_
* Add the `shouldAddPersonalMessagePrefix` parameter to `signOrderHashAsync` so that the caller can decide on whether to add the personalMessage prefix before relaying the request to the signer. Parity Signer, Ledger and TestRPC add the prefix themselves, Metamask expects it to have already been added. (#349)
-## v0.30.2 - _January 29, 2018_
+## v0.30.2 - _January 28, 2018_
* Add Rinkeby testnet addresses to artifacts (#337)
* Move @0xproject/types to dependencies from devDependencies fixing missing type errors
-## v0.30.1 - _January 24, 2018_
+## v0.30.1 - _January 23, 2018_
* Fix a bug allowing negative fill values (#212)
* Fix a bug that made it impossible to pass a custom ZRX address (#341)
-## v0.30.0 - _January 17, 2018_
+## v0.30.0 - _January 16, 2018_
* Add an error parameter to the order watcher callback (#312)
* Fix a bug making it impossible to catch some errors from awaitTransactionMinedAsync (#312)
* Fix a bug in fillOrdersUpTo validation making it impossible to fill up to if user doesn't have enough balance to fully fill all the orders (#321)
-## v0.29.1 - _January 11, 2018_
+## v0.29.1 - _January 10, 2018_
* Fixed bignumber config issue #301 (#305)
-## v0.29.0 - _December 28, 2017_
+## v0.29.0 - _December 27, 2017_
* Assert baseUnit amount supplied to `toUnitAmount` is integer amount. (#287)
* `toBaseUnitAmount` throws if amount supplied has too many decimals (#287)
-## v0.28.0 - _December 20, 2017_
+## v0.28.0 - _December 19, 2017_
* Add `etherTokenAddress` arg to `depositAsync` and `withdrawAsync` methods on `zeroEx.etherToken` (#267)
* Removed accidentally included `unsubscribeAll` method from `zeroEx.proxy`, `zeroEx.etherToken` and `zeroEx.tokenRegistry` (#267)
@@ -102,11 +110,11 @@ CHANGELOG
* Support `Deposit` and `Withdraw` events on etherToken (#277)
* Improve the error message when taker is not a string (#278)
-## v0.27.1 - _November 28, 2017_
+## v0.27.1 - _November 27, 2017_
* Export `TransactionOpts` type
-## v0.27.0 - _November 28, 2017_
+## v0.27.0 - _November 27, 2017_
* Make `ZeroExConfig` required parameter of `ZeroEx` constructor (#233)
* Add a required property `networkId` to `ZeroExConfig` (#233)
@@ -118,65 +126,65 @@ CHANGELOG
* All transaction sending methods now call `estimateGas` if no gas amount was supplied (#235)
* Modify order validation methods to validate against the `latest` block, not against the `pending` block (#236)
-## v0.26.0 - _November 21, 2017_
+## v0.26.0 - _November 20, 2017_
* Add post-formatter for logs converting `blockNumber`, `logIndex`, `transactionIndex` from hexes to numbers (#231)
* Remove support for Async callback types when used in Subscribe functions (#222)
* In OrderWatcher subscribe to ZRX Token Transfer and Approval events when maker token is different (#225)
-## v0.25.1 - _November 13, 2017_
+## v0.25.1 - _November 12, 2017_
* Standardise on Cancelled over Canceled (#217)
* Add missing `DecodedLogEvent` type to exported types (#205)
* Normalized the transactionReceipt status to be `null|0|1`, 1 meaning transaction execution successful, 0 unsuccessful and `null` if it is a pre-byzantinium transaction. (#200)
-## v0.23.0 - _November 12, 2017_
+## v0.23.0 - _November 11, 2017_
* Fixed unhandled promise rejection error in subscribe methods (#209)
* Subscribe callbacks now receive an error object as their first argument
-## v0.22.6 - _November 10, 2017_
+## v0.22.6 - _November 9, 2017_
* Add a timeout parameter to transaction awaiting (#206)
-## v0.22.5 - _November 7, 2017_
+## v0.22.5 - _November 6, 2017_
* Re-publish v0.22.4 to fix publishing issue
-## v0.22.4 - _October 25, 2017_
+## v0.22.4 - _October 24, 2017_
* Upgraded bignumber.js to a new version that ships with native typings
-## v0.22.3 - _October 25, 2017_
+## v0.22.3 - _October 24, 2017_
* Fixed an issue with new version of testrpc and unlimited proxy allowance (#199)
-## v0.22.2 - _October 24, 2017_
+## v0.22.2 - _October 23, 2017_
* Fixed rounding of maker fill amount and incorrect validation of partial fees (#197)
-## v0.22.0 - _October 16, 2017_
+## v0.22.0 - _October 15, 2017_
* Started using `OrderFillRequest` interface instead of `OrderFillOrKillRequest` interface for `zeroEx.exchange.batchFillOrKill` (#187)
* Removed `OrderFillOrKillRequest` (#187)
-## v0.21.4 - _October 13, 2017_
+## v0.21.4 - _October 12, 2017_
* Made 0x.js more type-safe by making `getLogsAsync` and `subscribe/subscribeAsync` generics parametrized with arg type (#194)
-## v0.21.3 - _October 12, 2017_
+## v0.21.3 - _October 11, 2017_
* Fixed a bug causing order fills to throw `INSUFFICIENT_TAKER_ALLOWANCE` (#193)
-## v0.21.2 - _October 11, 2017_
+## v0.21.2 - _October 10, 2017_
* Exported `ContractEventArg` as a public type (#190)
-## v0.21.1 - _October 11, 2017_
+## v0.21.1 - _October 10, 2017_
* Fixed a bug in subscriptions (#189)
-## v0.21.0 - _October 10, 2017_
+## v0.21.0 - _October 9, 2017_
* Complete rewrite of subscription logic (#182)
* Subscriptions no longer return historical logs. If you want them - use `getLogsAsync`
@@ -191,27 +199,27 @@ CHANGELOG
* Renamed `zeroEx.token.stopWatchingAllEventsAsync` to `zeroEx.token.unsubscribeAll`
* Fixed the batch fills validation by emulating all balance & proxy allowance changes (#185)
-## v0.20.0 - _October 5, 2017_
+## v0.20.0 - _October 4, 2017_
* Add `zeroEx.token.getLogsAsync` (#178)
* Add `zeroEx.exchange.getLogsAsync` (#178)
* Fixed fees validation when one of the tokens transferred is ZRX (#181)
-## v0.19.0 - _September 29, 2017_
+## v0.19.0 - _September 28, 2017_
* Made order validation optional (#172)
* Added Ropsten testnet support (#173)
* Fixed a bug causing awaitTransactionMinedAsync to DDos backend nodes (#175)
-## v0.18.0 - _September 26, 2017_
+## v0.18.0 - _September 25, 2017_
* Added `zeroEx.exchange.validateOrderFillableOrThrowAsync` to simplify orderbook pruning (#170)
-## v0.17.0 - _September 26, 2017_
+## v0.17.0 - _September 25, 2017_
* Made `zeroEx.exchange.getZRXTokenAddressAsync` public (#171)
-## v0.16.0 - _September 20, 2017_
+## v0.16.0 - _September 19, 2017_
* Added the ability to specify custom contract addresses to be used with 0x.js (#165)
* ZeroExConfig.exchangeContractAddress
@@ -219,48 +227,48 @@ CHANGELOG
* ZeroExConfig.etherTokenContractAddress
* Added `zeroEx.tokenRegistry.getContractAddressAsync` (#165)
-## v0.15.0 - _September 8, 2017_
+## v0.15.0 - _September 7, 2017_
* Added the ability to specify a historical `blockNumber` at which to query the blockchain's state when calling a token or exchange method (#161)
-## v0.14.2 - _September 7, 2017_
+## v0.14.2 - _September 6, 2017_
* Fixed an issue with bignumber.js types not found (#160)
-## v0.14.1 - _September 7, 2017_
+## v0.14.1 - _September 6, 2017_
* Fixed an issue with Artifact type not found (#159)
-## v0.14.0 - _September 6, 2017_
+## v0.14.0 - _September 5, 2017_
* Added `zeroEx.exchange.throwLogErrorsAsErrors` method to public interface (#157)
* Fixed an issue with overlapping async intervals in `zeroEx.awaitTransactionMinedAsync` (#157)
* Fixed an issue with log decoder returning `BigNumber`s as `strings` (#157)
-## v0.13.0 - _September 6, 2017_
+## v0.13.0 - _September 5, 2017_
* Made all the functions submitting transactions to the network to immediately return transaction hash (#151)
* Added `zeroEx.awaitTransactionMinedAsync` (#151)
* Added `TransactionReceiptWithDecodedLogs`, `LogWithDecodedArgs`, `DecodedLogArgs` to public types (#151)
* Added signature validation to `validateFillOrderThrowIfInvalidAsync` (#152)
-## v0.12.1 - _September 2, 2017_
+## v0.12.1 - _September 1, 2017_
* Added the support for web3@1.x.x provider (#142)
* Added the optional `zeroExConfig` parameter to the constructor of `ZeroEx` (#139)
* Added the ability to specify `gasPrice` when instantiating `ZeroEx` (#139)
-## v0.11.0 - _August 24, 2017_
+## v0.11.0 - _August 23, 2017_
* Added `zeroEx.token.setUnlimitedProxyAllowanceAsync` (#137)
* Added `zeroEx.token.setUnlimitedAllowanceAsync` (#137)
* Added `zeroEx.token.UNLIMITED_ALLOWANCE_IN_BASE_UNITS` (#137)
-## v0.10.4 - _August 24, 2017_
+## v0.10.4 - _August 23, 2017_
* Fixed a bug where checksummed addresses were being pulled from artifacts and not lower-cased. (#135)
-## v0.10.1 - _August 24, 2017_
+## v0.10.1 - _August 23, 2017_
* Added `zeroEx.exchange.validateFillOrderThrowIfInvalidAsync` (#128)
* Added `zeroEx.exchange.validateFillOrKillOrderThrowIfInvalidAsync` (#128)
@@ -275,20 +283,20 @@ CHANGELOG
* Added clear error message when checksummed address is passed to a public method (#124)
* Fixes the description of `shouldThrowOnInsufficientBalanceOrAllowance` in docs (#127)
-## v0.9.3 - _August 22, 2017_
+## v0.9.3 - _August 21, 2017_
* Update contract artifacts to include latest Kovan and Mainnet deploys (#118)
-## v0.9.2 - _August 21, 2017_
+## v0.9.2 - _August 20, 2017_
* *This version was unpublished because of a publishing issue.*
* Update contract artifacts to include latest Kovan and Mainnet deploys (#118)
-## v0.9.1 - _August 16, 2017_
+## v0.9.1 - _August 15, 2017_
* Fixed the bug causing `zeroEx.token.getBalanceAsync()` to fail if no addresses available (#120)
-## v0.9.0 - _July 26, 2017_
+## v0.9.0 - _July 25, 2017_
* Migrated to the new version of smart contracts (#101)
* Removed the ability to call methods on multiple authorized Exchange smart contracts (#106)
@@ -299,7 +307,7 @@ CHANGELOG
* Updated to typescript v2.4 (#104)
* Fixed an issue with incorrect balance/allowance validation when ZRX is one of the tokens traded (#109)
-## v0.8.0 - _July 4, 2017_
+## v0.8.0 - _July 3, 2017_
* Added the ability to call methods on different authorized versions of the Exchange smart contract (#82)
* Updated contract artifacts to reflect latest changes to the smart contracts (0xproject/contracts#59)
@@ -312,35 +320,35 @@ CHANGELOG
* `zeroEx.tokenRegistry.invalidateContractInstance`
* Fixed the bug where `zeroEx.setProviderAsync` didn't invalidate etherToken contract's instance
-## v0.7.1 - _June 26, 2017_
+## v0.7.1 - _June 25, 2017_
* Added the ability to convert Ether to wrapped Ether tokens and back via `zeroEx.etherToken.depostAsync` and `zeroEx.etherToken.withdrawAsync` (#81)
-## v0.7.0 - _June 22, 2017_
+## v0.7.0 - _June 21, 2017_
* Added Kovan smart contract artifacts (#78)
* Started returning fillAmount from `fillOrderAsync` and `fillUpToAsync` (#72)
* Started returning cancelledAmount from `cancelOrderAsync` (#72)
* Renamed type `LogCancelArgs` to `LogCancelContractEventArgs` and `LogFillArgs` to `LogFillContractEventArgs`
-## v0.6.2 - _June 21, 2017_
+## v0.6.2 - _June 20, 2017_
* Reduced bundle size
* Improved documentation
-## v0.6.1 - _June 19, 2017_
+## v0.6.1 - _June 18, 2017_
* Improved documentation
-## v0.6.0 - _June 19, 2017_
+## v0.6.0 - _June 18, 2017_
* Made `ZeroEx` class accept `Web3Provider` instance instead of `Web3` instance
* Added types for contract event arguments
-## v0.5.2 - _June 15, 2017_
+## v0.5.2 - _June 14, 2017_
* Fixed the bug in `postpublish` script that caused that only unminified UMD bundle was uploaded to release page
-## v0.5.1 - _June 15, 2017_
+## v0.5.1 - _June 14, 2017_
* Added `postpublish` script to publish to Github Releases with assets.
diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json
index 4715c1536..dd4bd3f5c 100644
--- a/packages/0x.js/package.json
+++ b/packages/0x.js/package.json
@@ -1,6 +1,6 @@
{
"name": "0x.js",
- "version": "0.36.1",
+ "version": "0.36.3",
"description": "A javascript library for interacting with the 0x protocol",
"keywords": [
"0x.js",
@@ -63,6 +63,7 @@
"devDependencies": {
"@0xproject/deployer": "^0.4.1",
"@0xproject/dev-utils": "^0.3.6",
+ "@0xproject/migrations": "^0.0.3",
"@0xproject/monorepo-scripts": "^0.1.18",
"@0xproject/subproviders": "^0.9.0",
"@0xproject/tslint-config": "^0.4.16",
@@ -114,9 +115,6 @@
"uuid": "^3.1.0",
"web3": "^0.20.0"
},
- "optionalDependencies": {
- "@0xproject/migrations": "^0.0.2"
- },
"publishConfig": {
"access": "public"
}