diff options
author | Steve Klebanoff <steve@0xproject.com> | 2018-11-21 01:23:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-21 01:23:34 +0800 |
commit | ba41fc9275bebe17577f87d72f54b7e7dc420acc (patch) | |
tree | 54b788a7cbf76c8c3781dbcb1fb11d8b21156b13 /packages/instant/src/index.umd.ts | |
parent | 36e888c3a50ea9a639a8935690ea7dd67dedf166 (diff) | |
parent | 497385818b42f298c777ce3fbeb3e2d55a2bdc64 (diff) | |
download | dexon-sol-tools-ba41fc9275bebe17577f87d72f54b7e7dc420acc.tar dexon-sol-tools-ba41fc9275bebe17577f87d72f54b7e7dc420acc.tar.gz dexon-sol-tools-ba41fc9275bebe17577f87d72f54b7e7dc420acc.tar.bz2 dexon-sol-tools-ba41fc9275bebe17577f87d72f54b7e7dc420acc.tar.lz dexon-sol-tools-ba41fc9275bebe17577f87d72f54b7e7dc420acc.tar.xz dexon-sol-tools-ba41fc9275bebe17577f87d72f54b7e7dc420acc.tar.zst dexon-sol-tools-ba41fc9275bebe17577f87d72f54b7e7dc420acc.zip |
Merge pull request #1272 from 0xProject/feature/instant/heap
[instant] Base heap integration
Diffstat (limited to 'packages/instant/src/index.umd.ts')
-rw-r--r-- | packages/instant/src/index.umd.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/instant/src/index.umd.ts b/packages/instant/src/index.umd.ts index 0274db30c..5010347b3 100644 --- a/packages/instant/src/index.umd.ts +++ b/packages/instant/src/index.umd.ts @@ -35,6 +35,9 @@ export const render = (props: ZeroExInstantOverlayProps, selector: string = DEFA if (!_.isUndefined(props.provider)) { assert.isWeb3Provider('props.provider', props.provider); } + if (!_.isUndefined(props.shouldDisableAnalyticsTracking)) { + assert.isBoolean('props.shouldDisableAnalyticsTracking', props.shouldDisableAnalyticsTracking); + } assert.isString('selector', selector); const appendToIfExists = document.querySelector(selector); assert.assert(!_.isNull(appendToIfExists), `Could not find div with selector: ${selector}`); |