@circle-fin/app-kit 1.8.1 → 1.9.0
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/CHANGELOG.md +45 -0
- package/README.md +3 -3
- package/bridge.cjs +425 -179
- package/bridge.d.cts +14 -0
- package/bridge.d.mts +14 -0
- package/bridge.d.ts +14 -0
- package/bridge.mjs +425 -179
- package/chains.cjs +94 -0
- package/chains.d.cts +2 -0
- package/chains.d.mts +2 -0
- package/chains.d.ts +2 -0
- package/chains.mjs +94 -0
- package/context.d.cts +14 -0
- package/context.d.mts +14 -0
- package/context.d.ts +14 -0
- package/earn.cjs +211 -30
- package/earn.d.cts +25 -5
- package/earn.d.mts +25 -5
- package/earn.d.ts +25 -5
- package/earn.mjs +211 -30
- package/estimateBridge.cjs +425 -179
- package/estimateBridge.d.cts +14 -0
- package/estimateBridge.d.mts +14 -0
- package/estimateBridge.d.ts +14 -0
- package/estimateBridge.mjs +425 -179
- package/estimateSwap.cjs +108 -7
- package/estimateSwap.d.cts +14 -0
- package/estimateSwap.d.mts +14 -0
- package/estimateSwap.d.ts +14 -0
- package/estimateSwap.mjs +108 -7
- package/index.cjs +586 -224
- package/index.d.cts +274 -17
- package/index.d.mts +274 -17
- package/index.d.ts +274 -17
- package/index.mjs +586 -224
- package/package.json +12 -6
- package/swap.cjs +108 -7
- package/swap.d.cts +14 -0
- package/swap.d.mts +14 -0
- package/swap.d.ts +14 -0
- package/swap.mjs +108 -7
- package/unifiedBalance.cjs +101 -1
- package/unifiedBalance.d.cts +2 -0
- package/unifiedBalance.d.mts +2 -0
- package/unifiedBalance.d.ts +2 -0
- package/unifiedBalance.mjs +101 -1
package/bridge.d.cts
CHANGED
|
@@ -659,6 +659,8 @@ declare enum Blockchain {
|
|
|
659
659
|
Celo_Alfajores_Testnet = "Celo_Alfajores_Testnet",
|
|
660
660
|
Codex = "Codex",
|
|
661
661
|
Codex_Testnet = "Codex_Testnet",
|
|
662
|
+
Cronos = "Cronos",
|
|
663
|
+
Cronos_Testnet = "Cronos_Testnet",
|
|
662
664
|
Edge = "Edge",
|
|
663
665
|
Edge_Testnet = "Edge_Testnet",
|
|
664
666
|
Ethereum = "Ethereum",
|
|
@@ -900,6 +902,7 @@ declare enum BridgeChain {
|
|
|
900
902
|
Avalanche = "Avalanche",
|
|
901
903
|
Base = "Base",
|
|
902
904
|
Codex = "Codex",
|
|
905
|
+
Cronos = "Cronos",
|
|
903
906
|
Edge = "Edge",
|
|
904
907
|
Ethereum = "Ethereum",
|
|
905
908
|
HyperEVM = "HyperEVM",
|
|
@@ -923,6 +926,7 @@ declare enum BridgeChain {
|
|
|
923
926
|
Avalanche_Fuji = "Avalanche_Fuji",
|
|
924
927
|
Base_Sepolia = "Base_Sepolia",
|
|
925
928
|
Codex_Testnet = "Codex_Testnet",
|
|
929
|
+
Cronos_Testnet = "Cronos_Testnet",
|
|
926
930
|
Edge_Testnet = "Edge_Testnet",
|
|
927
931
|
Ethereum_Sepolia = "Ethereum_Sepolia",
|
|
928
932
|
HyperEVM_Testnet = "HyperEVM_Testnet",
|
|
@@ -6560,6 +6564,16 @@ interface AppKitContext {
|
|
|
6560
6564
|
* @defaultValue false
|
|
6561
6565
|
*/
|
|
6562
6566
|
disableErrorReporting?: boolean;
|
|
6567
|
+
/**
|
|
6568
|
+
* Custom HTTP headers forwarded with the underlying CCTP provider's
|
|
6569
|
+
* attestation (Iris) API requests made by bridge operations.
|
|
6570
|
+
*
|
|
6571
|
+
* @remarks
|
|
6572
|
+
* Headers are merged on top of the SDK defaults (such as `Content-Type`)
|
|
6573
|
+
* rather than replacing them. The header is forwarded as-is to Circle's API;
|
|
6574
|
+
* the SDK does not interpret it.
|
|
6575
|
+
*/
|
|
6576
|
+
headers?: Record<string, string>;
|
|
6563
6577
|
}
|
|
6564
6578
|
|
|
6565
6579
|
/**
|
package/bridge.d.mts
CHANGED
|
@@ -659,6 +659,8 @@ declare enum Blockchain {
|
|
|
659
659
|
Celo_Alfajores_Testnet = "Celo_Alfajores_Testnet",
|
|
660
660
|
Codex = "Codex",
|
|
661
661
|
Codex_Testnet = "Codex_Testnet",
|
|
662
|
+
Cronos = "Cronos",
|
|
663
|
+
Cronos_Testnet = "Cronos_Testnet",
|
|
662
664
|
Edge = "Edge",
|
|
663
665
|
Edge_Testnet = "Edge_Testnet",
|
|
664
666
|
Ethereum = "Ethereum",
|
|
@@ -900,6 +902,7 @@ declare enum BridgeChain {
|
|
|
900
902
|
Avalanche = "Avalanche",
|
|
901
903
|
Base = "Base",
|
|
902
904
|
Codex = "Codex",
|
|
905
|
+
Cronos = "Cronos",
|
|
903
906
|
Edge = "Edge",
|
|
904
907
|
Ethereum = "Ethereum",
|
|
905
908
|
HyperEVM = "HyperEVM",
|
|
@@ -923,6 +926,7 @@ declare enum BridgeChain {
|
|
|
923
926
|
Avalanche_Fuji = "Avalanche_Fuji",
|
|
924
927
|
Base_Sepolia = "Base_Sepolia",
|
|
925
928
|
Codex_Testnet = "Codex_Testnet",
|
|
929
|
+
Cronos_Testnet = "Cronos_Testnet",
|
|
926
930
|
Edge_Testnet = "Edge_Testnet",
|
|
927
931
|
Ethereum_Sepolia = "Ethereum_Sepolia",
|
|
928
932
|
HyperEVM_Testnet = "HyperEVM_Testnet",
|
|
@@ -6560,6 +6564,16 @@ interface AppKitContext {
|
|
|
6560
6564
|
* @defaultValue false
|
|
6561
6565
|
*/
|
|
6562
6566
|
disableErrorReporting?: boolean;
|
|
6567
|
+
/**
|
|
6568
|
+
* Custom HTTP headers forwarded with the underlying CCTP provider's
|
|
6569
|
+
* attestation (Iris) API requests made by bridge operations.
|
|
6570
|
+
*
|
|
6571
|
+
* @remarks
|
|
6572
|
+
* Headers are merged on top of the SDK defaults (such as `Content-Type`)
|
|
6573
|
+
* rather than replacing them. The header is forwarded as-is to Circle's API;
|
|
6574
|
+
* the SDK does not interpret it.
|
|
6575
|
+
*/
|
|
6576
|
+
headers?: Record<string, string>;
|
|
6563
6577
|
}
|
|
6564
6578
|
|
|
6565
6579
|
/**
|
package/bridge.d.ts
CHANGED
|
@@ -659,6 +659,8 @@ declare enum Blockchain {
|
|
|
659
659
|
Celo_Alfajores_Testnet = "Celo_Alfajores_Testnet",
|
|
660
660
|
Codex = "Codex",
|
|
661
661
|
Codex_Testnet = "Codex_Testnet",
|
|
662
|
+
Cronos = "Cronos",
|
|
663
|
+
Cronos_Testnet = "Cronos_Testnet",
|
|
662
664
|
Edge = "Edge",
|
|
663
665
|
Edge_Testnet = "Edge_Testnet",
|
|
664
666
|
Ethereum = "Ethereum",
|
|
@@ -900,6 +902,7 @@ declare enum BridgeChain {
|
|
|
900
902
|
Avalanche = "Avalanche",
|
|
901
903
|
Base = "Base",
|
|
902
904
|
Codex = "Codex",
|
|
905
|
+
Cronos = "Cronos",
|
|
903
906
|
Edge = "Edge",
|
|
904
907
|
Ethereum = "Ethereum",
|
|
905
908
|
HyperEVM = "HyperEVM",
|
|
@@ -923,6 +926,7 @@ declare enum BridgeChain {
|
|
|
923
926
|
Avalanche_Fuji = "Avalanche_Fuji",
|
|
924
927
|
Base_Sepolia = "Base_Sepolia",
|
|
925
928
|
Codex_Testnet = "Codex_Testnet",
|
|
929
|
+
Cronos_Testnet = "Cronos_Testnet",
|
|
926
930
|
Edge_Testnet = "Edge_Testnet",
|
|
927
931
|
Ethereum_Sepolia = "Ethereum_Sepolia",
|
|
928
932
|
HyperEVM_Testnet = "HyperEVM_Testnet",
|
|
@@ -6560,6 +6564,16 @@ interface AppKitContext {
|
|
|
6560
6564
|
* @defaultValue false
|
|
6561
6565
|
*/
|
|
6562
6566
|
disableErrorReporting?: boolean;
|
|
6567
|
+
/**
|
|
6568
|
+
* Custom HTTP headers forwarded with the underlying CCTP provider's
|
|
6569
|
+
* attestation (Iris) API requests made by bridge operations.
|
|
6570
|
+
*
|
|
6571
|
+
* @remarks
|
|
6572
|
+
* Headers are merged on top of the SDK defaults (such as `Content-Type`)
|
|
6573
|
+
* rather than replacing them. The header is forwarded as-is to Circle's API;
|
|
6574
|
+
* the SDK does not interpret it.
|
|
6575
|
+
*/
|
|
6576
|
+
headers?: Record<string, string>;
|
|
6563
6577
|
}
|
|
6564
6578
|
|
|
6565
6579
|
/**
|