diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-11-03 04:48:31 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-11-03 05:39:12 +0800 |
commit | 5fc2483be776cab90e7ff868b27536a85d6764c9 (patch) | |
tree | 1dedb81a97b4c57c763d4f56cb4952d5df4b586f /packages/instant/src/util/assert.ts | |
parent | ec83a1d9e735573fe51df7a5854424c0ad4101fb (diff) | |
download | dexon-sol-tools-5fc2483be776cab90e7ff868b27536a85d6764c9.tar.gz dexon-sol-tools-5fc2483be776cab90e7ff868b27536a85d6764c9.tar.zst dexon-sol-tools-5fc2483be776cab90e7ff868b27536a85d6764c9.zip |
feat(instant): pass in provider through props, fallback to injected provider
Diffstat (limited to 'packages/instant/src/util/assert.ts')
-rw-r--r-- | packages/instant/src/util/assert.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/instant/src/util/assert.ts b/packages/instant/src/util/assert.ts index 20f8ddaee..99e177993 100644 --- a/packages/instant/src/util/assert.ts +++ b/packages/instant/src/util/assert.ts @@ -41,7 +41,7 @@ export const assert = { assert.isUri(`${variableName}.imageUrl`, metaData.imageUrl); } }, - isValidaffiliateInfo(variableName: string, affiliateInfo: AffiliateInfo): void { + isValidAffiliateInfo(variableName: string, affiliateInfo: AffiliateInfo): void { assert.isETHAddressHex(`${variableName}.recipientAddress`, affiliateInfo.feeRecipient); assert.isNumber(`${variableName}.percentage`, affiliateInfo.feePercentage); assert.assert( |