@weblock-wallet/sdk 0.1.34 → 0.1.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -104586,9 +104586,6 @@ var NetworkService = class {
|
|
|
104586
104586
|
throw new SDKError("Failed to switch network", "NETWORK_ERROR" /* NETWORK_ERROR */);
|
|
104587
104587
|
}
|
|
104588
104588
|
}
|
|
104589
|
-
async getRegisteredTokenList(blockchainId) {
|
|
104590
|
-
return await this.userClient.getRegisteredCoins(blockchainId);
|
|
104591
|
-
}
|
|
104592
104589
|
/**
|
|
104593
104590
|
* 현재 네트워크 초기화
|
|
104594
104591
|
*/
|
|
@@ -106009,8 +106006,7 @@ var InternalCoreImpl = class {
|
|
|
106009
106006
|
getRegisteredNetworks: () => this.networkService.getRegisteredNetworks(),
|
|
106010
106007
|
registerNetwork: (params) => this.networkService.registerNetwork(params),
|
|
106011
106008
|
switchNetwork: (networkId) => this.networkService.switchNetwork(networkId),
|
|
106012
|
-
getCurrentNetwork: () => this.networkService.getCurrentNetwork()
|
|
106013
|
-
getRegisteredTokenList: (networkId) => this.networkService.getRegisteredTokenList(networkId)
|
|
106009
|
+
getCurrentNetwork: () => this.networkService.getCurrentNetwork()
|
|
106014
106010
|
};
|
|
106015
106011
|
this.asset = {
|
|
106016
106012
|
transfer: (params) => this.assetService.transfer(params),
|
|
@@ -106414,9 +106410,6 @@ var NetworkModule = class {
|
|
|
106414
106410
|
async switchNetwork(networkId) {
|
|
106415
106411
|
await this.core.network.switchNetwork(networkId);
|
|
106416
106412
|
}
|
|
106417
|
-
async getRegisteredTokenList(blockchainId) {
|
|
106418
|
-
return this.core.network.getRegisteredTokenList(blockchainId);
|
|
106419
|
-
}
|
|
106420
106413
|
};
|
|
106421
106414
|
|
|
106422
106415
|
// src/index.ts
|