@funkit/core 2.3.18 → 2.3.20

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").ChainAssetBalanceInfo | import("@funkit/api-base").GetAllWalletTokensResponse>;
46
+ getTokens(chainIdInput?: string, onlyVerifiedTokens?: boolean, options?: EnvOption): Promise<import("@funkit/api-base").GetAllWalletTokensResponse | import("@funkit/api-base").ChainAssetBalanceInfo>;
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,6 +59,7 @@ 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;
62
63
  0: number[];
63
64
  1: number[];
64
65
  length: 2;
@@ -144,7 +145,6 @@ export declare class FunWallet extends FirstClassActions {
144
145
  };
145
146
  at(index: number): number[] | undefined;
146
147
  } | {
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.18",
3
+ "version": "2.3.20",
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.8.1",
23
- "@funkit/chains": "0.2.2",
24
- "@funkit/utils": "1.0.13"
22
+ "@funkit/api-base": "1.8.3",
23
+ "@funkit/chains": "0.3.0",
24
+ "@funkit/utils": "1.0.14"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "viem": "2.x"