@weblock-wallet/sdk 0.1.68 → 0.1.69
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 +2 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -11
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -106570,6 +106570,8 @@ var InternalCoreImpl = class {
|
|
|
106570
106570
|
getAddress: () => this.walletService.getAddress(),
|
|
106571
106571
|
create: (password) => this.walletService.create(password),
|
|
106572
106572
|
retrieveWallet: (password) => this.walletService.retrieveWallet(password),
|
|
106573
|
+
// Fix: expose resetPin to InternalCore wallet facade
|
|
106574
|
+
resetPin: (newPassword) => this.walletService.resetPin(newPassword),
|
|
106573
106575
|
getBalance: (address, chainId) => this.walletService.getBalance(address, chainId),
|
|
106574
106576
|
getTokenBalance: (tokenAddress, walletAddress, chainId) => this.walletService.getTokenBalance(tokenAddress, walletAddress, chainId),
|
|
106575
106577
|
sendTransaction: (params) => this.walletService.sendTransaction(params),
|
|
@@ -106592,24 +106594,13 @@ var InternalCoreImpl = class {
|
|
|
106592
106594
|
this.asset = {
|
|
106593
106595
|
transfer: (params) => this.assetService.transfer(params),
|
|
106594
106596
|
addToken: (params) => this.assetService.addToken(params),
|
|
106595
|
-
// New ERC20 methods
|
|
106596
106597
|
getTokenBalance: (params) => this.assetService.getTokenBalance(params),
|
|
106597
|
-
// ERC1155 / RBT helpers
|
|
106598
106598
|
getERC1155Balance: (params) => this.assetService.getERC1155Balance(params),
|
|
106599
106599
|
getRbtClaimable: (params) => this.assetService.getRbtClaimable(params),
|
|
106600
106600
|
claimRbt: (params) => this.assetService.claimRbt(params),
|
|
106601
106601
|
approveToken: (params) => this.assetService.approveToken(params),
|
|
106602
106602
|
getAllowance: (params) => this.assetService.getAllowance(params),
|
|
106603
|
-
// getTokenInfo: (params: TokenInfoParams) =>
|
|
106604
|
-
// this.assetService.getTokenInfo(params),
|
|
106605
106603
|
addNFTCollection: (params) => this.assetService.addNFTCollection(params),
|
|
106606
|
-
// checkSecurityTokenCompliance: (params: {
|
|
106607
|
-
// networkId: string
|
|
106608
|
-
// tokenAddress: string
|
|
106609
|
-
// from: string
|
|
106610
|
-
// to: string
|
|
106611
|
-
// amount: string
|
|
106612
|
-
// }) => this.assetService.checkSecurityTokenCompliance(params),
|
|
106613
106604
|
on: (event, listener) => this.assetService.on(event, listener),
|
|
106614
106605
|
off: (event, listener) => this.assetService.off(event, listener),
|
|
106615
106606
|
getTokenInfo: (params) => this.assetService.getTokenInfo(params),
|