@circle-fin/usdckit 0.23.0 → 0.23.2

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.
Files changed (34) hide show
  1. package/dist/cjs/actions/index.d.ts +1 -1
  2. package/dist/cjs/chains/index.d.ts +21 -19
  3. package/dist/cjs/chains/index.js +25 -25
  4. package/dist/cjs/client.d.ts +1 -1
  5. package/dist/cjs/extractChain.d.ts +1198 -1198
  6. package/dist/cjs/index.d.ts +2 -2
  7. package/dist/cjs/index.js +1 -1
  8. package/dist/cjs/metadata.js +1 -1
  9. package/dist/cjs/providers/circle-wallets/actions/createAccount.d.ts +994 -994
  10. package/dist/cjs/providers/circle-wallets/actions/getAccounts.d.ts +994 -994
  11. package/dist/cjs/utils/createConfig.d.ts +1 -1
  12. package/dist/cjs/utils/createCustomWalletClient.d.ts +1 -1
  13. package/dist/cjs/utils/getChainContractByAddress.d.ts +1 -1
  14. package/dist/cjs/utils/getContract.d.ts +8 -8
  15. package/dist/esm/actions/index.d.ts +1 -1
  16. package/dist/esm/chains/index.d.ts +21 -19
  17. package/dist/esm/chains/index.js +20 -19
  18. package/dist/esm/client.d.ts +1 -1
  19. package/dist/esm/extractChain.d.ts +1198 -1198
  20. package/dist/esm/index.d.ts +2 -2
  21. package/dist/esm/index.js +1 -1
  22. package/dist/esm/metadata.js +1 -1
  23. package/dist/esm/package.json +1 -0
  24. package/dist/esm/providers/circle-wallets/actions/createAccount.d.ts +994 -994
  25. package/dist/esm/providers/circle-wallets/actions/getAccounts.d.ts +994 -994
  26. package/dist/esm/utils/createConfig.d.ts +1 -1
  27. package/dist/esm/utils/createCustomWalletClient.d.ts +1 -1
  28. package/dist/esm/utils/getChainContractByAddress.d.ts +1 -1
  29. package/dist/esm/utils/getContract.d.ts +8 -8
  30. package/package.json +13 -2
  31. package/dist/cjs/chains.d.ts +0 -2
  32. package/dist/cjs/chains.js +0 -12
  33. package/dist/esm/chains.d.ts +0 -2
  34. package/dist/esm/chains.js +0 -11
@@ -1,4 +1,4 @@
1
- import type { Chain } from '../chains.js';
1
+ import type { Chain } from '../chains/index.js';
2
2
  import type { Transport } from 'viem';
3
3
  export interface TransportFactoryParams {
4
4
  /** Required chain ID for the transport */
@@ -1,4 +1,4 @@
1
- import type { Chain } from '../chains.js';
1
+ import type { Chain } from '../chains/index.js';
2
2
  import type { CustomWalletClient } from '../client.js';
3
3
  import type { TransportFactoryParams } from './createConfig.js';
4
4
  import type { Transport } from 'viem';
@@ -1,4 +1,4 @@
1
- import type { Chain } from '../chains.js';
1
+ import type { Chain } from '../chains/index.js';
2
2
  import type { Address, ChainContract } from '../types.js';
3
3
  /**
4
4
  * Retrieves the contract associated with a given address from the specified chain.
@@ -53,8 +53,8 @@ export declare function getContract(params: GetContractInput): {
53
53
  };
54
54
  getEvents: {
55
55
  [x: string]: (...parameters: [options?: {
56
- blockHash?: `0x${string}` | undefined;
57
56
  strict?: boolean | undefined;
57
+ blockHash?: `0x${string}` | undefined;
58
58
  fromBlock?: bigint | import("viem").BlockTag | undefined;
59
59
  toBlock?: bigint | import("viem").BlockTag | undefined;
60
60
  } | undefined] | [args?: readonly unknown[] | {
@@ -71,8 +71,8 @@ export declare function getContract(params: GetContractInput): {
71
71
  batch?: undefined;
72
72
  pollingInterval?: undefined;
73
73
  } | undefined, options?: {
74
- blockHash?: `0x${string}` | undefined;
75
74
  strict?: boolean | undefined;
75
+ blockHash?: `0x${string}` | undefined;
76
76
  fromBlock?: bigint | import("viem").BlockTag | undefined;
77
77
  toBlock?: bigint | import("viem").BlockTag | undefined;
78
78
  } | undefined]) => Promise<import("viem").GetContractEventsReturnType<Abi, string>>;
@@ -150,8 +150,8 @@ export declare function getContract(params: GetContractInput): {
150
150
  };
151
151
  getEvents: {
152
152
  [x: string]: (...parameters: [options?: {
153
- blockHash?: `0x${string}` | undefined;
154
153
  strict?: boolean | undefined;
154
+ blockHash?: `0x${string}` | undefined;
155
155
  fromBlock?: bigint | import("viem").BlockTag | undefined;
156
156
  toBlock?: bigint | import("viem").BlockTag | undefined;
157
157
  } | undefined] | [args?: readonly unknown[] | {
@@ -168,8 +168,8 @@ export declare function getContract(params: GetContractInput): {
168
168
  batch?: undefined;
169
169
  pollingInterval?: undefined;
170
170
  } | undefined, options?: {
171
- blockHash?: `0x${string}` | undefined;
172
171
  strict?: boolean | undefined;
172
+ blockHash?: `0x${string}` | undefined;
173
173
  fromBlock?: bigint | import("viem").BlockTag | undefined;
174
174
  toBlock?: bigint | import("viem").BlockTag | undefined;
175
175
  } | undefined]) => Promise<import("viem").GetContractEventsReturnType<Abi, string>>;
@@ -250,8 +250,8 @@ export declare function getContract(params: GetContractInput): {
250
250
  };
251
251
  getEvents: {
252
252
  [x: string]: (...parameters: [options?: {
253
- blockHash?: `0x${string}` | undefined;
254
253
  strict?: boolean | undefined;
254
+ blockHash?: `0x${string}` | undefined;
255
255
  fromBlock?: bigint | import("viem").BlockTag | undefined;
256
256
  toBlock?: bigint | import("viem").BlockTag | undefined;
257
257
  } | undefined] | [args?: readonly unknown[] | {
@@ -268,8 +268,8 @@ export declare function getContract(params: GetContractInput): {
268
268
  batch?: undefined;
269
269
  pollingInterval?: undefined;
270
270
  } | undefined, options?: {
271
- blockHash?: `0x${string}` | undefined;
272
271
  strict?: boolean | undefined;
272
+ blockHash?: `0x${string}` | undefined;
273
273
  fromBlock?: bigint | import("viem").BlockTag | undefined;
274
274
  toBlock?: bigint | import("viem").BlockTag | undefined;
275
275
  } | undefined]) => Promise<import("viem").GetContractEventsReturnType<Abi, string>>;
@@ -347,8 +347,8 @@ export declare function getContract(params: GetContractInput): {
347
347
  };
348
348
  getEvents: {
349
349
  [x: string]: (...parameters: [options?: {
350
- blockHash?: `0x${string}` | undefined;
351
350
  strict?: boolean | undefined;
351
+ blockHash?: `0x${string}` | undefined;
352
352
  fromBlock?: bigint | import("viem").BlockTag | undefined;
353
353
  toBlock?: bigint | import("viem").BlockTag | undefined;
354
354
  } | undefined] | [args?: readonly unknown[] | {
@@ -365,8 +365,8 @@ export declare function getContract(params: GetContractInput): {
365
365
  batch?: undefined;
366
366
  pollingInterval?: undefined;
367
367
  } | undefined, options?: {
368
- blockHash?: `0x${string}` | undefined;
369
368
  strict?: boolean | undefined;
369
+ blockHash?: `0x${string}` | undefined;
370
370
  fromBlock?: bigint | import("viem").BlockTag | undefined;
371
371
  toBlock?: bigint | import("viem").BlockTag | undefined;
372
372
  } | undefined]) => Promise<import("viem").GetContractEventsReturnType<Abi, string>>;
@@ -6,7 +6,7 @@ import { signEIP2612Permit } from './signEIP2612Permit.js';
6
6
  import { swapExactIn } from './swapExactIn.js';
7
7
  import { sweep } from './sweep.js';
8
8
  import { transfer } from './transfer.js';
9
- import type { Chain } from '../chains.js';
9
+ import type { Chain } from '../chains/index.js';
10
10
  import type { Account } from '../types.js';
11
11
  import type { GenerateTransferLinkParams } from './generateTransferLink.js';
12
12
  import type { GetSwapExactInQuoteParams } from './getSwapExactInQuote.js';
@@ -1,19 +1,21 @@
1
- export { chain as ARB } from './ARB.js';
2
- export { chain as ARB_SEPOLIA } from './ARB_SEPOLIA.js';
3
- export { chain as ARC_TESTNET } from './ARC_TESTNET.js';
4
- export { chain as AVAX } from './AVAX.js';
5
- export { chain as AVAX_FUJI } from './AVAX_FUJI.js';
6
- export { chain as ETH } from './ETH.js';
7
- export { chain as ETH_SEPOLIA } from './ETH_SEPOLIA.js';
8
- export { chain as MATIC } from './MATIC.js';
9
- export { chain as MATIC_AMOY } from './MATIC_AMOY.js';
10
- export { chain as BASE } from './BASE.js';
11
- export { chain as BASE_SEPOLIA } from './BASE_SEPOLIA.js';
12
- export { chain as OP } from './OP.js';
13
- export { chain as OP_SEPOLIA } from './OP_SEPOLIA.js';
14
- export { chain as UNI } from './UNI.js';
15
- export { chain as UNI_SEPOLIA } from './UNI_SEPOLIA.js';
16
- export { chain as NEAR } from './NEAR.js';
17
- export { chain as NEAR_TESTNET } from './NEAR_TESTNET.js';
18
- export { chain as SOL } from './SOL.js';
19
- export { chain as SOL_DEVNET } from './SOL_DEVNET.js';
1
+ import { chain as ARB } from './ARB.js';
2
+ import { chain as ARB_SEPOLIA } from './ARB_SEPOLIA.js';
3
+ import { chain as ARC_TESTNET } from './ARC_TESTNET.js';
4
+ import { chain as AVAX } from './AVAX.js';
5
+ import { chain as AVAX_FUJI } from './AVAX_FUJI.js';
6
+ import { chain as BASE } from './BASE.js';
7
+ import { chain as BASE_SEPOLIA } from './BASE_SEPOLIA.js';
8
+ import { chain as ETH } from './ETH.js';
9
+ import { chain as ETH_SEPOLIA } from './ETH_SEPOLIA.js';
10
+ import { chain as MATIC } from './MATIC.js';
11
+ import { chain as MATIC_AMOY } from './MATIC_AMOY.js';
12
+ import { chain as NEAR } from './NEAR.js';
13
+ import { chain as NEAR_TESTNET } from './NEAR_TESTNET.js';
14
+ import { chain as OP } from './OP.js';
15
+ import { chain as OP_SEPOLIA } from './OP_SEPOLIA.js';
16
+ import { chain as SOL } from './SOL.js';
17
+ import { chain as SOL_DEVNET } from './SOL_DEVNET.js';
18
+ import { chain as UNI } from './UNI.js';
19
+ import { chain as UNI_SEPOLIA } from './UNI_SEPOLIA.js';
20
+ export { ARB, ARB_SEPOLIA, ARC_TESTNET, AVAX, AVAX_FUJI, ETH, ETH_SEPOLIA, MATIC, MATIC_AMOY, BASE, BASE_SEPOLIA, OP, OP_SEPOLIA, UNI, UNI_SEPOLIA, NEAR, NEAR_TESTNET, SOL, SOL_DEVNET, };
21
+ export type Chain = typeof ARB | typeof ARB_SEPOLIA | typeof ARC_TESTNET | typeof AVAX | typeof AVAX_FUJI | typeof ETH | typeof ETH_SEPOLIA | typeof MATIC | typeof MATIC_AMOY | typeof BASE | typeof BASE_SEPOLIA | typeof OP | typeof OP_SEPOLIA | typeof UNI | typeof UNI_SEPOLIA | typeof NEAR | typeof NEAR_TESTNET | typeof SOL | typeof SOL_DEVNET;
@@ -8,22 +8,23 @@
8
8
  // evidence any actual or intended publication of such source code. Disclosure
9
9
  // of this source code or any related proprietary information is strictly
10
10
  // prohibited without the express written permission of Circle Internet Group, Inc.
11
- export { chain as ARB } from './ARB.js';
12
- export { chain as ARB_SEPOLIA } from './ARB_SEPOLIA.js';
13
- export { chain as ARC_TESTNET } from './ARC_TESTNET.js';
14
- export { chain as AVAX } from './AVAX.js';
15
- export { chain as AVAX_FUJI } from './AVAX_FUJI.js';
16
- export { chain as ETH } from './ETH.js';
17
- export { chain as ETH_SEPOLIA } from './ETH_SEPOLIA.js';
18
- export { chain as MATIC } from './MATIC.js';
19
- export { chain as MATIC_AMOY } from './MATIC_AMOY.js';
20
- export { chain as BASE } from './BASE.js';
21
- export { chain as BASE_SEPOLIA } from './BASE_SEPOLIA.js';
22
- export { chain as OP } from './OP.js';
23
- export { chain as OP_SEPOLIA } from './OP_SEPOLIA.js';
24
- export { chain as UNI } from './UNI.js';
25
- export { chain as UNI_SEPOLIA } from './UNI_SEPOLIA.js';
26
- export { chain as NEAR } from './NEAR.js';
27
- export { chain as NEAR_TESTNET } from './NEAR_TESTNET.js';
28
- export { chain as SOL } from './SOL.js';
29
- export { chain as SOL_DEVNET } from './SOL_DEVNET.js';
11
+ import { chain as ARB } from './ARB.js';
12
+ import { chain as ARB_SEPOLIA } from './ARB_SEPOLIA.js';
13
+ import { chain as ARC_TESTNET } from './ARC_TESTNET.js';
14
+ import { chain as AVAX } from './AVAX.js';
15
+ import { chain as AVAX_FUJI } from './AVAX_FUJI.js';
16
+ import { chain as BASE } from './BASE.js';
17
+ import { chain as BASE_SEPOLIA } from './BASE_SEPOLIA.js';
18
+ import { chain as ETH } from './ETH.js';
19
+ import { chain as ETH_SEPOLIA } from './ETH_SEPOLIA.js';
20
+ import { chain as MATIC } from './MATIC.js';
21
+ import { chain as MATIC_AMOY } from './MATIC_AMOY.js';
22
+ import { chain as NEAR } from './NEAR.js';
23
+ import { chain as NEAR_TESTNET } from './NEAR_TESTNET.js';
24
+ import { chain as OP } from './OP.js';
25
+ import { chain as OP_SEPOLIA } from './OP_SEPOLIA.js';
26
+ import { chain as SOL } from './SOL.js';
27
+ import { chain as SOL_DEVNET } from './SOL_DEVNET.js';
28
+ import { chain as UNI } from './UNI.js';
29
+ import { chain as UNI_SEPOLIA } from './UNI_SEPOLIA.js';
30
+ export { ARB, ARB_SEPOLIA, ARC_TESTNET, AVAX, AVAX_FUJI, ETH, ETH_SEPOLIA, MATIC, MATIC_AMOY, BASE, BASE_SEPOLIA, OP, OP_SEPOLIA, UNI, UNI_SEPOLIA, NEAR, NEAR_TESTNET, SOL, SOL_DEVNET, };
@@ -1,5 +1,5 @@
1
1
  import type { Actions as CoreActions } from './actions/index.js';
2
- import type { Chain } from './chains.js';
2
+ import type { Chain } from './chains/index.js';
3
3
  import type { Actions as CircleWalletsActions } from './providers/circle-wallets/actions/index.js';
4
4
  import type { EIP1474Methods as CircleWalletsMethods } from './providers/circle-wallets/transports/index.js';
5
5
  import type { Actions as CrossChainTransferProtocolActions } from './providers/cross-chain-transfer-protocol/actions/index.js';