Jacob Evans
9e8031d5e3
Throw and handle errors from Providers.
...
In web3 wrapper when a response contains an error field we throw this rather than return response.result which is often undefined.
In Signature Utils we handle the error thrown when a user rejects the signing dialogue to prevent double signing.
Exposed the ZeroExTransaction JSON schema.
In Website only use the MetamaskSubprovider if we can detect the provider is Metamask
2018-10-09 19:01:36 +11:00
Jacob Evans
e1236a4846
Detect MM on signature validation failure.
...
Report a developer friendly error in this event to educate them on the compatability wrapper MetamaskSubprovider
2018-10-08 11:13:04 +11:00
Jacob Evans
75d274f330
Return SignedOrder from signing utils.
...
Create a helper back in EIP712Utils for code cleanup.
Moved constants in order-utils into the constants object
2018-10-05 17:12:17 +10:00
Jacob Evans
6e462b7dba
Update 0x.js Changelog
2018-10-05 12:03:01 +10:00
Jacob Evans
3e2fe40a11
Add eth_signTypedData support to our wallet subproviders
2018-10-05 12:02:09 +10:00
Jacob Evans
2a82ff48c0
Move SignTypedData to utils package
2018-10-05 12:00:41 +10:00
Jacob Evans
07926ded6e
Introduce Metamask Subprovider.
...
MM has a number of inconsistencies with other providers when implementing the JSON RPC interface. This subprovider wraps those nuances so they do not leak into the rest of our code
2018-10-05 12:00:41 +10:00
Jacob Evans
adcfaa2e80
Expose eth_signTypedData functionality for order signing
2018-10-05 11:59:24 +10:00
Brandon Millman
119f8c9449
Fix typo
2018-10-04 16:25:30 -07:00
Brandon Millman
b04b649ec0
Add asset-buyer to published packages section in README
2018-10-04 16:03:16 -07:00
Brandon Millman
b5d88079d9
Publish
...
- 0x.js@1.0.8
- @0xproject/abi-gen@1.0.13
- @0xproject/assert@1.0.13
- @0xproject/asset-buyer@2.0.0
- @0xproject/base-contract@3.0.1
- @0xproject/connect@3.0.1
- @0xproject/contract-wrappers@2.0.2
- contracts@2.1.49
- @0xproject/dev-utils@1.0.12
- ethereum-types@1.0.11
- @0xproject/fill-scenarios@1.0.7
- @0xproject/instant@0.0.2
- @0xproject/json-schemas@1.0.7
- @0xproject/metacoin@0.0.23
- @0xproject/migrations@1.0.14
- @0xproject/monorepo-scripts@1.0.11
- @0xproject/order-utils@1.0.7
- @0xproject/order-watcher@2.1.1
- @0xproject/react-docs@1.0.13
- @0xproject/react-shared@1.0.15
- @0xproject/sol-compiler@1.1.7
- @0xproject/sol-cov@2.1.7
- @0xproject/sol-doc@1.0.2
- @0xproject/sol-resolver@1.0.14
- @0xproject/sra-report@1.0.13
- @0xproject/sra-spec@1.0.6
- @0xproject/subproviders@2.0.7
- @0xproject/testnet-faucets@1.0.51
- @0xproject/tslint-config@1.0.8
- @0xproject/types@1.1.4
- @0xproject/typescript-typings@3.0.2
- @0xproject/utils@2.0.2
- @0xproject/web3-wrapper@3.0.3
- @0xproject/website@0.0.54
0x.js@1.0.8
@0xproject/sol-cov@2.1.7
@0xproject/abi-gen@1.0.13
@0xproject/assert@1.0.13
@0xproject/asset-buyer@2.0.0
@0xproject/base-contract@3.0.1
@0xproject/connect@3.0.1
@0xproject/contract-wrappers@2.0.2
@0xproject/dev-utils@1.0.12
@0xproject/fill-scenarios@1.0.7
@0xproject/instant@0.0.2
@0xproject/json-schemas@1.0.7
@0xproject/metacoin@0.0.23
@0xproject/migrations@1.0.14
@0xproject/monorepo-scripts@1.0.11
@0xproject/order-utils@1.0.7
@0xproject/order-watcher@2.1.1
@0xproject/react-docs@1.0.13
@0xproject/react-shared@1.0.15
@0xproject/sol-compiler@1.1.7
@0xproject/sol-doc@1.0.2
@0xproject/sol-resolver@1.0.14
@0xproject/sra-report@1.0.13
@0xproject/sra-spec@1.0.6
@0xproject/subproviders@2.0.7
@0xproject/testnet-faucets@1.0.51
@0xproject/tslint-config@1.0.8
@0xproject/types@1.1.4
@0xproject/typescript-typings@3.0.2
@0xproject/utils@2.0.2
@0xproject/web3-wrapper@3.0.3
@0xproject/website@0.0.54
contracts@2.1.49
ethereum-types@1.0.11
monorepo@b5d8807
2018-10-04 15:52:06 -07:00
Brandon Millman
266440f7c3
Updated CHANGELOGS
2018-10-04 15:51:56 -07:00
Brandon Millman
ab28e6af35
Merge pull request #1113 from 0xProject/feature/asset-buyer/tests
...
[asset-buyer] Rework min / max rate calc and add tests
2018-10-04 14:49:25 -07:00
Brandon Millman
63d97f4c88
Update BuyQuote interface
2018-10-04 14:37:34 -07:00
Fabio Berger
2da7626b53
Merge pull request #1115 from 0xProject/upgradeWebpack
...
Upgrade Webpack
2018-10-04 18:30:54 +01:00
Fabio Berger
98db4b1543
force re-build
2018-10-04 16:46:12 +01:00
Fabio Berger
bc067baf0d
Add website build to instructions
2018-10-04 16:44:54 +01:00
Fabio Berger
3624c63a46
Revert format and re-add changes
2018-10-04 16:43:52 +01:00
Fabio Berger
08ba4ffd61
Build website in parallel with other tests since no other test relies on it being built to run
2018-10-04 16:35:30 +01:00
Fabio Berger
d5379ab320
Add back sourceMap support for both dev/prod
2018-10-04 15:58:50 +01:00
Fabio Berger
c613b6741d
Upgrade webpack
2018-10-04 15:47:43 +01:00
Brandon Millman
4394036e34
Add missing default options
2018-10-03 23:46:07 -07:00
Brandon Millman
a7a007435c
Remove unused constants
2018-10-03 23:23:53 -07:00
Brandon Millman
24e0fbd7b9
Add fee order with a takerFee
2018-10-03 23:22:38 -07:00
Brandon Millman
059162a90a
Add additional order factory methods and refactor test to use them
2018-10-03 23:22:13 -07:00
Brandon Millman
250a9a4809
Add comments about buy quote calculation
2018-10-03 22:54:32 -07:00
Francesco Agosti
f7917cfa65
Merge pull request #1112 from 0xProject/feature/instant/umd-upload-and-bundle-size
...
Add 0x Instant to bundle analysis
2018-10-03 15:17:55 -07:00
Brandon Millman
10f54893ef
Update CHANGELOG
2018-10-03 14:59:06 -07:00
Brandon Millman
93736c1567
Fix linter
2018-10-03 14:52:44 -07:00
Brandon Millman
260db053fe
Add additional test for slippage
2018-10-03 14:51:24 -07:00
Brandon Millman
57b4396193
Add buy_quote_calculator_test
2018-10-03 14:51:24 -07:00
F. Eugene Aumson
a21cf0ad83
Merge pull request #1108 from 0xProject/bug/every-artifact-has-every-source
...
fix(sol-compiler): persist artifacts with only relevant sources
2018-10-03 17:44:50 -04:00
fragosti
748091c768
Add 0x Instant to bundle analysis
2018-10-03 12:19:41 -07:00
F. Eugene Aumson
f614a2425f
fix: comment need for sourceCodes pruning
2018-10-03 10:57:37 -04:00
F. Eugene Aumson
39a336ca6d
fix: use original source ID's from compiler output
...
Previously, was generating fresh source ID's but per @LogvinovLeon 's
comment (cited below) that will likely break existing source code
mappings.
Changed to use the original source code mapping ID's that were generated
by the compiler
https://app.asana.com/0/684263176955174/842516551768097/f
https://github.com/0xProject/0x-monorepo/pull/1108
https://github.com/0xProject/0x-monorepo/pull/1108#pullrequestreview-161059063
2018-10-03 10:44:19 -04:00
Alex Browne
37c55302e7
Fix some small bugs in compiler.ts
2018-10-02 17:29:47 -07:00
Francesco Agosti
bce43a0050
Merge pull request #1109 from 0xProject/feature/instant/init
...
[instant] Initialize the package with dev environment and tests etc..
2018-10-02 17:07:23 -07:00
Brandon Millman
678deccfca
Merge pull request #1086 from 0xProject/feature/asset-buyer/improve-asset-buyer-manager
...
[asset-buyer] Improve API and README
2018-10-02 17:07:12 -07:00
fragosti
81b08c0339
Fix typo in build:ci
2018-10-02 16:34:19 -07:00
Brandon Millman
efe173e4f7
Update README
2018-10-02 16:30:46 -07:00
fragosti
cca12b7170
Make package private
2018-10-02 16:27:21 -07:00
fragosti
49e494ab8d
Ignore bundles in public dir
2018-10-02 16:24:07 -07:00
Brandon Millman
42083e1408
Fix linter errors
2018-10-02 16:23:54 -07:00
fragosti
3cd7253f7b
Add to README
2018-10-02 16:17:44 -07:00
Brandon Millman
343b922ec1
Merge branch 'development' into feature/asset-buyer/improve-asset-buyer-manager
...
* development: (178 commits)
Change cache key back to repo from repo-built
Change the lint command back
Merge build & install
Remove deps cache all together
Cache all nested node_modules directories
Explicitly specify yarn cache folder
Ignore linter issues
Fix linter issue
Separate deps and built caches
Build tslint rules before running linter
Cache yarn cache directory without node modules
Run linter before prettier as it fails more often
Add yarn cache path
Split CI install and build steps
Move bundle-size out of static tests and don't wait for a build with static tests
Introduce a build:ci command that doesn't build webpack bundles
Measure only one bundle size as they're the same
Fix linter errors
Fix no_website CI builds
Check bundle size on CI
...
2018-10-02 16:13:16 -07:00
Brandon Millman
6deb027bdf
Clean up interfaces and exports
2018-10-02 16:10:41 -07:00
fragosti
ad56c9ea78
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into feature/instant/init
2018-10-02 16:10:15 -07:00
fragosti
dde918e9a0
Add public dir
2018-10-02 16:06:25 -07:00
fragosti
8990b92dd6
Add build:ci command
2018-10-02 16:02:35 -07:00
Brandon Millman
75679835a7
Remove static methods to retrieve assetDatas from SRA
2018-10-02 15:52:27 -07:00