@binance/w3w-multichain-connector 1.0.10 → 1.0.11
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.d.ts +5 -5
- package/package.json +1 -1
- package/src/type.ts +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -89,18 +89,18 @@ interface IWallet extends EventEmitter<WalletEvents> {
|
|
|
89
89
|
* 用户同意开启SAS后,获取SAS的keyshare
|
|
90
90
|
* 由于同一个钱包可能在app端被用户开启,所以插件不会校验用户有没有在插件端同意过
|
|
91
91
|
* 假如用户钱包锁住了,如果!isSilent, 会弹出解锁弹窗
|
|
92
|
-
* 否则keyshare
|
|
92
|
+
* 否则keyshare获取失败,返回空数组
|
|
93
93
|
*/
|
|
94
94
|
getSASKeyshare(arg: {
|
|
95
|
-
|
|
95
|
+
walletIds: string[];
|
|
96
96
|
userId: string;
|
|
97
97
|
isSlient?: false;
|
|
98
|
-
}): Promise<SASAuthorizeInfo>;
|
|
98
|
+
}): Promise<SASAuthorizeInfo[]>;
|
|
99
99
|
getSASKeyshare(arg: {
|
|
100
|
-
|
|
100
|
+
walletIds: string[];
|
|
101
101
|
userId: string;
|
|
102
102
|
isSlient: true;
|
|
103
|
-
}): Promise<SASAuthorizeInfo
|
|
103
|
+
}): Promise<SASAuthorizeInfo[]>;
|
|
104
104
|
/**
|
|
105
105
|
* 同步已链接钱包的SAS状态
|
|
106
106
|
*/
|
package/package.json
CHANGED
package/src/type.ts
CHANGED
|
@@ -78,19 +78,19 @@ export interface IWallet extends EventEmitter<WalletEvents> {
|
|
|
78
78
|
* 用户同意开启SAS后,获取SAS的keyshare
|
|
79
79
|
* 由于同一个钱包可能在app端被用户开启,所以插件不会校验用户有没有在插件端同意过
|
|
80
80
|
* 假如用户钱包锁住了,如果!isSilent, 会弹出解锁弹窗
|
|
81
|
-
* 否则keyshare
|
|
81
|
+
* 否则keyshare获取失败,返回空数组
|
|
82
82
|
*/
|
|
83
83
|
getSASKeyshare(arg: {
|
|
84
|
-
|
|
84
|
+
walletIds: string[]
|
|
85
85
|
userId: string
|
|
86
86
|
isSlient?: false
|
|
87
|
-
}): Promise<SASAuthorizeInfo>
|
|
87
|
+
}): Promise<SASAuthorizeInfo[]>
|
|
88
88
|
|
|
89
89
|
getSASKeyshare(arg: {
|
|
90
|
-
|
|
90
|
+
walletIds: string[]
|
|
91
91
|
userId: string
|
|
92
92
|
isSlient: true
|
|
93
|
-
}): Promise<SASAuthorizeInfo
|
|
93
|
+
}): Promise<SASAuthorizeInfo[]>
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
96
|
* 同步已链接钱包的SAS状态
|