wallaby-cash 2.3.3 → 2.3.4
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.js +12 -8
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +12 -8
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +12 -8
- package/dist/index.js.map +1 -1
- package/dist/lib/wallet/wallet-data.service.d.ts +12 -5
- package/dist/package.json +3 -2
- package/package.json +3 -2
|
@@ -25,13 +25,20 @@ export declare class WalletDataService extends Base {
|
|
|
25
25
|
*
|
|
26
26
|
* @public
|
|
27
27
|
* Fetches the balances for a group of tokens in bulk.
|
|
28
|
-
*
|
|
29
|
-
* @param { string }
|
|
30
|
-
* @param {
|
|
31
|
-
*
|
|
28
|
+
* Takes an array of addresses and tokens and return their balances.
|
|
29
|
+
* @param { string } walletId Wallet ID
|
|
30
|
+
* @param { TokenBalanceRequest[] } tokensAndAddressesList An array of token balance requests.
|
|
31
|
+
* - address: Wallet address
|
|
32
|
+
* - symbol: Token symbol
|
|
33
|
+
* - chainName: Blockchain name (optional)
|
|
34
|
+
* - tokenStandard: Token standard (optional)
|
|
35
|
+
* Note: Either chainName or tokenStandard must be provided.
|
|
32
36
|
* @returns { FetchBalanceData } Returns an array of the requested tokens balances.
|
|
33
37
|
*/
|
|
34
|
-
getMultiTokenBalances(tokensAndAddressesList
|
|
38
|
+
getMultiTokenBalances({ walletId, tokensAndAddressesList }: {
|
|
39
|
+
walletId?: string;
|
|
40
|
+
tokensAndAddressesList: TokenBalanceRequest[];
|
|
41
|
+
}): Promise<FetchBalanceData>;
|
|
35
42
|
/**
|
|
36
43
|
*
|
|
37
44
|
* @public
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wallaby-cash",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.4",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git@github.com:WALLABY-WaaS/wallaby-sdk-js.git"
|
|
@@ -123,9 +123,10 @@
|
|
|
123
123
|
}
|
|
124
124
|
},
|
|
125
125
|
"overrides": {
|
|
126
|
+
"@tootallnate/once": "^3.0.1",
|
|
126
127
|
"markdown-it": "^14.1.1",
|
|
127
128
|
"diff": "^5.2.2",
|
|
128
|
-
"tar": "^7.5.
|
|
129
|
+
"tar": "^7.5.10",
|
|
129
130
|
"lodash": "^4.17.23",
|
|
130
131
|
"lodash-es": "^4.17.23",
|
|
131
132
|
"undici": "^7.19.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wallaby-cash",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.4",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git@github.com:WALLABY-WaaS/wallaby-sdk-js.git"
|
|
@@ -123,9 +123,10 @@
|
|
|
123
123
|
}
|
|
124
124
|
},
|
|
125
125
|
"overrides": {
|
|
126
|
+
"@tootallnate/once": "^3.0.1",
|
|
126
127
|
"markdown-it": "^14.1.1",
|
|
127
128
|
"diff": "^5.2.2",
|
|
128
|
-
"tar": "^7.5.
|
|
129
|
+
"tar": "^7.5.10",
|
|
129
130
|
"lodash": "^4.17.23",
|
|
130
131
|
"lodash-es": "^4.17.23",
|
|
131
132
|
"undici": "^7.19.0",
|