@weblock-wallet/sdk 0.1.44 → 0.1.46
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 +6 -31
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -17
- package/dist/index.d.ts +4 -17
- package/dist/index.js +6 -31
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -106580,6 +106580,12 @@ var WeBlockSDK = class {
|
|
|
106580
106580
|
retrieveWallet: async (password) => {
|
|
106581
106581
|
return this.userModule.retrieveWallet(password);
|
|
106582
106582
|
},
|
|
106583
|
+
/**
|
|
106584
|
+
* ✅ 추가: PIN reset API 노출
|
|
106585
|
+
*/
|
|
106586
|
+
resetPin: async (newPassword) => {
|
|
106587
|
+
return this.userModule.resetPin(newPassword);
|
|
106588
|
+
},
|
|
106583
106589
|
signOut: async () => {
|
|
106584
106590
|
return this.userModule.signOut();
|
|
106585
106591
|
}
|
|
@@ -106638,37 +106644,6 @@ var WeBlockSDK = class {
|
|
|
106638
106644
|
addNFTCollection: async (params) => {
|
|
106639
106645
|
return this.assetModule.addNFTCollection(params);
|
|
106640
106646
|
},
|
|
106641
|
-
// checkSecurityTokenCompliance: async (params: {
|
|
106642
|
-
// networkId: string
|
|
106643
|
-
// tokenAddress: string
|
|
106644
|
-
// from: string
|
|
106645
|
-
// to: string
|
|
106646
|
-
// amount: string
|
|
106647
|
-
// }): Promise<{
|
|
106648
|
-
// canTransfer: boolean
|
|
106649
|
-
// reasons?: string[]
|
|
106650
|
-
// }> => {
|
|
106651
|
-
// return this.assetModule.checkSecurityTokenCompliance(params)
|
|
106652
|
-
// },
|
|
106653
|
-
getTokenBalance: async (params) => {
|
|
106654
|
-
return this.assetModule.getTokenBalance(params);
|
|
106655
|
-
},
|
|
106656
|
-
approveToken: async (params) => {
|
|
106657
|
-
return this.assetModule.approveToken(params);
|
|
106658
|
-
},
|
|
106659
|
-
getAllowance: async (params) => {
|
|
106660
|
-
return this.assetModule.getAllowance(params);
|
|
106661
|
-
},
|
|
106662
|
-
// getTokenInfo: async (params: {
|
|
106663
|
-
// networkId: string
|
|
106664
|
-
// tokenAddress: string
|
|
106665
|
-
// }): Promise<{
|
|
106666
|
-
// name: string
|
|
106667
|
-
// symbol: string
|
|
106668
|
-
// decimals: number
|
|
106669
|
-
// }> => {
|
|
106670
|
-
// return this.assetModule.getTokenInfo(params)
|
|
106671
|
-
// },
|
|
106672
106647
|
on: (event, listener) => {
|
|
106673
106648
|
this.assetModule.on(event, listener);
|
|
106674
106649
|
},
|