aboutsummaryrefslogtreecommitdiffstats
path: root/src/0x.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-07-05 02:22:12 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-07-05 02:22:12 +0800
commit33216ea53f8c12fb229c5baab83d92464c67b296 (patch)
treeacc0fae440db20b494e14613b2e7e8e86f91cd1f /src/0x.ts
parent4ebf046cea8ff510567b5d05d188cd9f84ad1988 (diff)
downloaddexon-sol-tools-33216ea53f8c12fb229c5baab83d92464c67b296.tar
dexon-sol-tools-33216ea53f8c12fb229c5baab83d92464c67b296.tar.gz
dexon-sol-tools-33216ea53f8c12fb229c5baab83d92464c67b296.tar.bz2
dexon-sol-tools-33216ea53f8c12fb229c5baab83d92464c67b296.tar.lz
dexon-sol-tools-33216ea53f8c12fb229c5baab83d92464c67b296.tar.xz
dexon-sol-tools-33216ea53f8c12fb229c5baab83d92464c67b296.tar.zst
dexon-sol-tools-33216ea53f8c12fb229c5baab83d92464c67b296.zip
Make this.proxy.invalidateContractInstance and this.tokenRegistry.invalidateContractInstance private
Diffstat (limited to 'src/0x.ts')
-rw-r--r--src/0x.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/0x.ts b/src/0x.ts
index 25ad538b9..5938d558a 100644
--- a/src/0x.ts
+++ b/src/0x.ts
@@ -169,9 +169,9 @@ export class ZeroEx {
public async setProviderAsync(provider: Web3Provider) {
this._web3Wrapper.setProvider(provider);
await (this.exchange as any)._invalidateContractInstancesAsync();
- this.tokenRegistry.invalidateContractInstance();
+ (this.tokenRegistry as any)._invalidateContractInstance();
await (this.token as any)._invalidateContractInstancesAsync();
- this.proxy.invalidateContractInstance();
+ (this.proxy as any)._invalidateContractInstance();
}
/**
* Get user Ethereum addresses available through the supplied web3 instance available for sending transactions.