@funkit/core 2.3.16 → 2.3.18
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.
|
@@ -43,7 +43,7 @@ export declare class FunWallet extends FirstClassActions {
|
|
|
43
43
|
* @param {boolean} onlyVerifiedTokens If true, only return alchemy tokens that are verified(filters spam) - defaults to false
|
|
44
44
|
* @returns JSON
|
|
45
45
|
*/
|
|
46
|
-
getTokens(chainIdInput?: string, onlyVerifiedTokens?: boolean, options?: EnvOption): Promise<import("@funkit/api-base").
|
|
46
|
+
getTokens(chainIdInput?: string, onlyVerifiedTokens?: boolean, options?: EnvOption): Promise<import("@funkit/api-base").ChainAssetBalanceInfo | import("@funkit/api-base").GetAllWalletTokensResponse>;
|
|
47
47
|
/**
|
|
48
48
|
* Given an address and a chain, returns all NFTs owned by that address
|
|
49
49
|
* @param {string} chainId string version of the chainId or ALL. If empty, then default to the one in globalEnvOption
|
|
@@ -59,7 +59,6 @@ export declare class FunWallet extends FirstClassActions {
|
|
|
59
59
|
* @returns JSON of all tokens owned by address
|
|
60
60
|
*/
|
|
61
61
|
getAssets(chainIdInput?: string, onlyVerifiedTokens?: boolean, checkStatus?: boolean, options?: EnvOption): Promise<{
|
|
62
|
-
[x: number]: number[] | import("@funkit/api-base").ChainAssetBalanceInfo;
|
|
63
62
|
0: number[];
|
|
64
63
|
1: number[];
|
|
65
64
|
length: 2;
|
|
@@ -145,6 +144,7 @@ export declare class FunWallet extends FirstClassActions {
|
|
|
145
144
|
};
|
|
146
145
|
at(index: number): number[] | undefined;
|
|
147
146
|
} | {
|
|
147
|
+
[x: number]: number[] | import("@funkit/api-base").ChainAssetBalanceInfo;
|
|
148
148
|
0: number[];
|
|
149
149
|
1: number[];
|
|
150
150
|
length: 2;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/core",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.18",
|
|
4
4
|
"description": "Funkit core SDK provides feature-rich and extensible smart wallets built on account abstraction",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dotenv": "^16.0.3",
|
|
20
20
|
"ethers": "5.8.0",
|
|
21
21
|
"uuid": "^9.0.0",
|
|
22
|
-
"@funkit/api-base": "1.
|
|
23
|
-
"@funkit/chains": "0.2.
|
|
24
|
-
"@funkit/utils": "1.0.
|
|
22
|
+
"@funkit/api-base": "1.8.1",
|
|
23
|
+
"@funkit/chains": "0.2.2",
|
|
24
|
+
"@funkit/utils": "1.0.13"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"viem": "2.x"
|