@funkit/core 1.0.18 → 1.0.19

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.
@@ -309,8 +309,8 @@ export declare const convertProviderToClient: ({ provider, viemChain, }: web3Pro
309
309
  [x: string]: readonly import("viem").TypedDataParameter[];
310
310
  [x: `string[${string}]`]: undefined;
311
311
  [x: `function[${string}]`]: undefined;
312
- [x: `address[${string}]`]: undefined;
313
312
  [x: `bytes[${string}]`]: undefined;
313
+ [x: `address[${string}]`]: undefined;
314
314
  [x: `uint256[${string}]`]: undefined;
315
315
  [x: `uint8[${string}]`]: undefined;
316
316
  [x: `bytes32[${string}]`]: undefined;
@@ -321,7 +321,6 @@ export declare const convertProviderToClient: ({ provider, viemChain, }: web3Pro
321
321
  [x: `bytes2[${string}]`]: undefined;
322
322
  [x: `bytes5[${string}]`]: undefined;
323
323
  [x: `bytes1[${string}]`]: undefined;
324
- [x: `bytes10[${string}]`]: undefined;
325
324
  [x: `bytes31[${string}]`]: undefined;
326
325
  [x: `bytes30[${string}]`]: undefined;
327
326
  [x: `bytes29[${string}]`]: undefined;
@@ -343,15 +342,15 @@ export declare const convertProviderToClient: ({ provider, viemChain, }: web3Pro
343
342
  [x: `bytes13[${string}]`]: undefined;
344
343
  [x: `bytes12[${string}]`]: undefined;
345
344
  [x: `bytes11[${string}]`]: undefined;
345
+ [x: `bytes10[${string}]`]: undefined;
346
346
  [x: `bytes9[${string}]`]: undefined;
347
347
  [x: `bytes8[${string}]`]: undefined;
348
348
  [x: `bytes7[${string}]`]: undefined;
349
349
  [x: `bytes6[${string}]`]: undefined;
350
350
  [x: `bytes3[${string}]`]: undefined;
351
351
  [x: `int[${string}]`]: undefined;
352
- [x: `int256[${string}]`]: undefined;
353
- [x: `int32[${string}]`]: undefined;
354
352
  [x: `int40[${string}]`]: undefined;
353
+ [x: `int32[${string}]`]: undefined;
355
354
  [x: `int24[${string}]`]: undefined;
356
355
  [x: `int16[${string}]`]: undefined;
357
356
  [x: `int8[${string}]`]: undefined;
@@ -381,6 +380,7 @@ export declare const convertProviderToClient: ({ provider, viemChain, }: web3Pro
381
380
  [x: `int232[${string}]`]: undefined;
382
381
  [x: `int240[${string}]`]: undefined;
383
382
  [x: `int248[${string}]`]: undefined;
383
+ [x: `int256[${string}]`]: undefined;
384
384
  [x: `uint[${string}]`]: undefined;
385
385
  [x: `uint40[${string}]`]: undefined;
386
386
  [x: `uint24[${string}]`]: undefined;
@@ -411,8 +411,8 @@ export declare const convertProviderToClient: ({ provider, viemChain, }: web3Pro
411
411
  [x: `uint240[${string}]`]: undefined;
412
412
  [x: `uint248[${string}]`]: undefined;
413
413
  string?: undefined;
414
- address?: undefined;
415
414
  bytes?: undefined;
415
+ address?: undefined;
416
416
  uint256?: undefined;
417
417
  uint8?: undefined;
418
418
  bytes32?: undefined;
@@ -423,7 +423,6 @@ export declare const convertProviderToClient: ({ provider, viemChain, }: web3Pro
423
423
  bytes2?: undefined;
424
424
  bytes5?: undefined;
425
425
  bytes1?: undefined;
426
- bytes10?: undefined;
427
426
  bytes31?: undefined;
428
427
  bytes30?: undefined;
429
428
  bytes29?: undefined;
@@ -445,14 +444,14 @@ export declare const convertProviderToClient: ({ provider, viemChain, }: web3Pro
445
444
  bytes13?: undefined;
446
445
  bytes12?: undefined;
447
446
  bytes11?: undefined;
447
+ bytes10?: undefined;
448
448
  bytes9?: undefined;
449
449
  bytes8?: undefined;
450
450
  bytes7?: undefined;
451
451
  bytes6?: undefined;
452
452
  bytes3?: undefined;
453
- int256?: undefined;
454
- int32?: undefined;
455
453
  int40?: undefined;
454
+ int32?: undefined;
456
455
  int24?: undefined;
457
456
  int16?: undefined;
458
457
  int8?: undefined;
@@ -482,6 +481,7 @@ export declare const convertProviderToClient: ({ provider, viemChain, }: web3Pro
482
481
  int232?: undefined;
483
482
  int240?: undefined;
484
483
  int248?: undefined;
484
+ int256?: undefined;
485
485
  uint40?: undefined;
486
486
  uint24?: undefined;
487
487
  uint16?: undefined;
@@ -1160,8 +1160,8 @@ export declare const convertSignerToClient: ({ signer, viemChain, }: web3SignerC
1160
1160
  [x: string]: readonly import("viem").TypedDataParameter[];
1161
1161
  [x: `string[${string}]`]: undefined;
1162
1162
  [x: `function[${string}]`]: undefined;
1163
- [x: `address[${string}]`]: undefined;
1164
1163
  [x: `bytes[${string}]`]: undefined;
1164
+ [x: `address[${string}]`]: undefined;
1165
1165
  [x: `uint256[${string}]`]: undefined;
1166
1166
  [x: `uint8[${string}]`]: undefined;
1167
1167
  [x: `bytes32[${string}]`]: undefined;
@@ -1172,7 +1172,6 @@ export declare const convertSignerToClient: ({ signer, viemChain, }: web3SignerC
1172
1172
  [x: `bytes2[${string}]`]: undefined;
1173
1173
  [x: `bytes5[${string}]`]: undefined;
1174
1174
  [x: `bytes1[${string}]`]: undefined;
1175
- [x: `bytes10[${string}]`]: undefined;
1176
1175
  [x: `bytes31[${string}]`]: undefined;
1177
1176
  [x: `bytes30[${string}]`]: undefined;
1178
1177
  [x: `bytes29[${string}]`]: undefined;
@@ -1194,15 +1193,15 @@ export declare const convertSignerToClient: ({ signer, viemChain, }: web3SignerC
1194
1193
  [x: `bytes13[${string}]`]: undefined;
1195
1194
  [x: `bytes12[${string}]`]: undefined;
1196
1195
  [x: `bytes11[${string}]`]: undefined;
1196
+ [x: `bytes10[${string}]`]: undefined;
1197
1197
  [x: `bytes9[${string}]`]: undefined;
1198
1198
  [x: `bytes8[${string}]`]: undefined;
1199
1199
  [x: `bytes7[${string}]`]: undefined;
1200
1200
  [x: `bytes6[${string}]`]: undefined;
1201
1201
  [x: `bytes3[${string}]`]: undefined;
1202
1202
  [x: `int[${string}]`]: undefined;
1203
- [x: `int256[${string}]`]: undefined;
1204
- [x: `int32[${string}]`]: undefined;
1205
1203
  [x: `int40[${string}]`]: undefined;
1204
+ [x: `int32[${string}]`]: undefined;
1206
1205
  [x: `int24[${string}]`]: undefined;
1207
1206
  [x: `int16[${string}]`]: undefined;
1208
1207
  [x: `int8[${string}]`]: undefined;
@@ -1232,6 +1231,7 @@ export declare const convertSignerToClient: ({ signer, viemChain, }: web3SignerC
1232
1231
  [x: `int232[${string}]`]: undefined;
1233
1232
  [x: `int240[${string}]`]: undefined;
1234
1233
  [x: `int248[${string}]`]: undefined;
1234
+ [x: `int256[${string}]`]: undefined;
1235
1235
  [x: `uint[${string}]`]: undefined;
1236
1236
  [x: `uint40[${string}]`]: undefined;
1237
1237
  [x: `uint24[${string}]`]: undefined;
@@ -1262,8 +1262,8 @@ export declare const convertSignerToClient: ({ signer, viemChain, }: web3SignerC
1262
1262
  [x: `uint240[${string}]`]: undefined;
1263
1263
  [x: `uint248[${string}]`]: undefined;
1264
1264
  string?: undefined;
1265
- address?: undefined;
1266
1265
  bytes?: undefined;
1266
+ address?: undefined;
1267
1267
  uint256?: undefined;
1268
1268
  uint8?: undefined;
1269
1269
  bytes32?: undefined;
@@ -1274,7 +1274,6 @@ export declare const convertSignerToClient: ({ signer, viemChain, }: web3SignerC
1274
1274
  bytes2?: undefined;
1275
1275
  bytes5?: undefined;
1276
1276
  bytes1?: undefined;
1277
- bytes10?: undefined;
1278
1277
  bytes31?: undefined;
1279
1278
  bytes30?: undefined;
1280
1279
  bytes29?: undefined;
@@ -1296,14 +1295,14 @@ export declare const convertSignerToClient: ({ signer, viemChain, }: web3SignerC
1296
1295
  bytes13?: undefined;
1297
1296
  bytes12?: undefined;
1298
1297
  bytes11?: undefined;
1298
+ bytes10?: undefined;
1299
1299
  bytes9?: undefined;
1300
1300
  bytes8?: undefined;
1301
1301
  bytes7?: undefined;
1302
1302
  bytes6?: undefined;
1303
1303
  bytes3?: undefined;
1304
- int256?: undefined;
1305
- int32?: undefined;
1306
1304
  int40?: undefined;
1305
+ int32?: undefined;
1307
1306
  int24?: undefined;
1308
1307
  int16?: undefined;
1309
1308
  int8?: undefined;
@@ -1333,6 +1332,7 @@ export declare const convertSignerToClient: ({ signer, viemChain, }: web3SignerC
1333
1332
  int232?: undefined;
1334
1333
  int240?: undefined;
1335
1334
  int248?: undefined;
1335
+ int256?: undefined;
1336
1336
  uint40?: undefined;
1337
1337
  uint24?: undefined;
1338
1338
  uint16?: undefined;
@@ -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): Promise<import("@funkit/api-base").ChainAssetBalanceInfo | import("@funkit/api-base").GetAllWalletTokensResponse>;
46
+ getTokens(chainIdInput?: string, onlyVerifiedTokens?: boolean): 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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/core",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
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",
@@ -40,7 +40,7 @@
40
40
  "eslint": "^8.41.0",
41
41
  "eslint-config-prettier": "^8.8.0",
42
42
  "eslint-plugin-import": "^2.27.5",
43
- "eslint-plugin-prettier": "^4.2.1",
43
+ "eslint-plugin-prettier": "^5.1.3",
44
44
  "eslint-plugin-unused-imports": "^2.0.0",
45
45
  "husky": "^8.0.3",
46
46
  "mocha": "^10.2.0",