@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.cjs
CHANGED
|
@@ -106611,6 +106611,8 @@ var InternalCoreImpl = class {
|
|
|
106611
106611
|
getAddress: () => this.walletService.getAddress(),
|
|
106612
106612
|
create: (password) => this.walletService.create(password),
|
|
106613
106613
|
retrieveWallet: (password) => this.walletService.retrieveWallet(password),
|
|
106614
|
+
// Fix: expose resetPin to InternalCore wallet facade
|
|
106615
|
+
resetPin: (newPassword) => this.walletService.resetPin(newPassword),
|
|
106614
106616
|
getBalance: (address, chainId) => this.walletService.getBalance(address, chainId),
|
|
106615
106617
|
getTokenBalance: (tokenAddress, walletAddress, chainId) => this.walletService.getTokenBalance(tokenAddress, walletAddress, chainId),
|
|
106616
106618
|
sendTransaction: (params) => this.walletService.sendTransaction(params),
|
|
@@ -106633,24 +106635,13 @@ var InternalCoreImpl = class {
|
|
|
106633
106635
|
this.asset = {
|
|
106634
106636
|
transfer: (params) => this.assetService.transfer(params),
|
|
106635
106637
|
addToken: (params) => this.assetService.addToken(params),
|
|
106636
|
-
// New ERC20 methods
|
|
106637
106638
|
getTokenBalance: (params) => this.assetService.getTokenBalance(params),
|
|
106638
|
-
// ERC1155 / RBT helpers
|
|
106639
106639
|
getERC1155Balance: (params) => this.assetService.getERC1155Balance(params),
|
|
106640
106640
|
getRbtClaimable: (params) => this.assetService.getRbtClaimable(params),
|
|
106641
106641
|
claimRbt: (params) => this.assetService.claimRbt(params),
|
|
106642
106642
|
approveToken: (params) => this.assetService.approveToken(params),
|
|
106643
106643
|
getAllowance: (params) => this.assetService.getAllowance(params),
|
|
106644
|
-
// getTokenInfo: (params: TokenInfoParams) =>
|
|
106645
|
-
// this.assetService.getTokenInfo(params),
|
|
106646
106644
|
addNFTCollection: (params) => this.assetService.addNFTCollection(params),
|
|
106647
|
-
// checkSecurityTokenCompliance: (params: {
|
|
106648
|
-
// networkId: string
|
|
106649
|
-
// tokenAddress: string
|
|
106650
|
-
// from: string
|
|
106651
|
-
// to: string
|
|
106652
|
-
// amount: string
|
|
106653
|
-
// }) => this.assetService.checkSecurityTokenCompliance(params),
|
|
106654
106645
|
on: (event, listener) => this.assetService.on(event, listener),
|
|
106655
106646
|
off: (event, listener) => this.assetService.off(event, listener),
|
|
106656
106647
|
getTokenInfo: (params) => this.assetService.getTokenInfo(params),
|