@circle-fin/app-kit 1.8.0 → 1.8.1
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 +8 -0
- package/bridge.cjs +48 -56
- package/bridge.d.cts +2 -2
- package/bridge.d.mts +2 -2
- package/bridge.d.ts +2 -2
- package/bridge.mjs +48 -56
- package/context.d.cts +2 -2
- package/context.d.mts +2 -2
- package/context.d.ts +2 -2
- package/earn.cjs +230 -181
- package/earn.d.cts +8 -8
- package/earn.d.mts +8 -8
- package/earn.d.ts +8 -8
- package/earn.mjs +230 -181
- package/estimateBridge.cjs +48 -56
- package/estimateBridge.d.cts +2 -2
- package/estimateBridge.d.mts +2 -2
- package/estimateBridge.d.ts +2 -2
- package/estimateBridge.mjs +48 -56
- package/estimateSwap.cjs +105 -83
- package/estimateSwap.d.cts +2 -2
- package/estimateSwap.d.mts +2 -2
- package/estimateSwap.d.ts +2 -2
- package/estimateSwap.mjs +105 -83
- package/index.cjs +303 -194
- package/index.d.cts +10 -10
- package/index.d.mts +10 -10
- package/index.d.ts +10 -10
- package/index.mjs +303 -194
- package/package.json +6 -6
- package/swap.cjs +105 -83
- package/swap.d.cts +2 -2
- package/swap.d.mts +2 -2
- package/swap.d.ts +2 -2
- package/swap.mjs +105 -83
- package/unifiedBalance.cjs +19 -5
- package/unifiedBalance.mjs +19 -5
package/index.d.cts
CHANGED
|
@@ -16106,12 +16106,12 @@ interface DepositQuoteInfo {
|
|
|
16106
16106
|
/** Current annualized percentage yield. */
|
|
16107
16107
|
readonly currentApy: number;
|
|
16108
16108
|
/**
|
|
16109
|
-
* Deposit fees charged
|
|
16110
|
-
*
|
|
16111
|
-
* each tagged with its own
|
|
16112
|
-
* {@link AssetAmount.status} (e.g.
|
|
16113
|
-
* applies. Distinct from native gas
|
|
16114
|
-
* as gas-fee fields.
|
|
16109
|
+
* Deposit fees charged by the quote. For cross-chain quotes this carries one
|
|
16110
|
+
* entry per source-fee item (e.g. `'FORWARD'`, `'PRE_FINALITY'`) in the
|
|
16111
|
+
* returned fee token and decimal precision, each tagged with its own
|
|
16112
|
+
* {@link AssetAmount.type} and {@link AssetAmount.status} (e.g.
|
|
16113
|
+
* `'estimated'`). Empty when no such fee applies. Distinct from native gas
|
|
16114
|
+
* estimates, which are reported separately as gas-fee fields.
|
|
16115
16115
|
*/
|
|
16116
16116
|
readonly fees: readonly AssetAmount[];
|
|
16117
16117
|
/**
|
|
@@ -16433,8 +16433,8 @@ interface CrossChainDepositServiceParams<T extends AdapterCapabilities = Adapter
|
|
|
16433
16433
|
/** Destination chain and recipient of the vault position. */
|
|
16434
16434
|
readonly to: CrossChainDepositServiceDestination;
|
|
16435
16435
|
/**
|
|
16436
|
-
* Maximum source-collected bridge fee the caller is willing to
|
|
16437
|
-
* human-readable
|
|
16436
|
+
* Maximum source-collected bridge fee the caller is willing to accept, in
|
|
16437
|
+
* human-readable fee token units from the quote.
|
|
16438
16438
|
*
|
|
16439
16439
|
* Derive this from a recent cross-chain deposit quote by summing
|
|
16440
16440
|
* `quote.fees[].amount`. The prepared bridge bundle must not exceed this cap
|
|
@@ -17296,8 +17296,8 @@ interface CrossChainDepositParams<TFromAdapterCapabilities extends AdapterCapabi
|
|
|
17296
17296
|
*/
|
|
17297
17297
|
readonly amount: string;
|
|
17298
17298
|
/**
|
|
17299
|
-
* Maximum source-collected bridge fee the caller is willing to
|
|
17300
|
-
* human-readable
|
|
17299
|
+
* Maximum source-collected bridge fee the caller is willing to accept, in
|
|
17300
|
+
* human-readable fee token units from the quote.
|
|
17301
17301
|
*
|
|
17302
17302
|
* Derive this from a recent cross-chain deposit quote by summing
|
|
17303
17303
|
* `quote.fees[].amount`. The prepared bridge bundle must not exceed this cap
|
package/index.d.mts
CHANGED
|
@@ -16106,12 +16106,12 @@ interface DepositQuoteInfo {
|
|
|
16106
16106
|
/** Current annualized percentage yield. */
|
|
16107
16107
|
readonly currentApy: number;
|
|
16108
16108
|
/**
|
|
16109
|
-
* Deposit fees charged
|
|
16110
|
-
*
|
|
16111
|
-
* each tagged with its own
|
|
16112
|
-
* {@link AssetAmount.status} (e.g.
|
|
16113
|
-
* applies. Distinct from native gas
|
|
16114
|
-
* as gas-fee fields.
|
|
16109
|
+
* Deposit fees charged by the quote. For cross-chain quotes this carries one
|
|
16110
|
+
* entry per source-fee item (e.g. `'FORWARD'`, `'PRE_FINALITY'`) in the
|
|
16111
|
+
* returned fee token and decimal precision, each tagged with its own
|
|
16112
|
+
* {@link AssetAmount.type} and {@link AssetAmount.status} (e.g.
|
|
16113
|
+
* `'estimated'`). Empty when no such fee applies. Distinct from native gas
|
|
16114
|
+
* estimates, which are reported separately as gas-fee fields.
|
|
16115
16115
|
*/
|
|
16116
16116
|
readonly fees: readonly AssetAmount[];
|
|
16117
16117
|
/**
|
|
@@ -16433,8 +16433,8 @@ interface CrossChainDepositServiceParams<T extends AdapterCapabilities = Adapter
|
|
|
16433
16433
|
/** Destination chain and recipient of the vault position. */
|
|
16434
16434
|
readonly to: CrossChainDepositServiceDestination;
|
|
16435
16435
|
/**
|
|
16436
|
-
* Maximum source-collected bridge fee the caller is willing to
|
|
16437
|
-
* human-readable
|
|
16436
|
+
* Maximum source-collected bridge fee the caller is willing to accept, in
|
|
16437
|
+
* human-readable fee token units from the quote.
|
|
16438
16438
|
*
|
|
16439
16439
|
* Derive this from a recent cross-chain deposit quote by summing
|
|
16440
16440
|
* `quote.fees[].amount`. The prepared bridge bundle must not exceed this cap
|
|
@@ -17296,8 +17296,8 @@ interface CrossChainDepositParams<TFromAdapterCapabilities extends AdapterCapabi
|
|
|
17296
17296
|
*/
|
|
17297
17297
|
readonly amount: string;
|
|
17298
17298
|
/**
|
|
17299
|
-
* Maximum source-collected bridge fee the caller is willing to
|
|
17300
|
-
* human-readable
|
|
17299
|
+
* Maximum source-collected bridge fee the caller is willing to accept, in
|
|
17300
|
+
* human-readable fee token units from the quote.
|
|
17301
17301
|
*
|
|
17302
17302
|
* Derive this from a recent cross-chain deposit quote by summing
|
|
17303
17303
|
* `quote.fees[].amount`. The prepared bridge bundle must not exceed this cap
|
package/index.d.ts
CHANGED
|
@@ -16106,12 +16106,12 @@ interface DepositQuoteInfo {
|
|
|
16106
16106
|
/** Current annualized percentage yield. */
|
|
16107
16107
|
readonly currentApy: number;
|
|
16108
16108
|
/**
|
|
16109
|
-
* Deposit fees charged
|
|
16110
|
-
*
|
|
16111
|
-
* each tagged with its own
|
|
16112
|
-
* {@link AssetAmount.status} (e.g.
|
|
16113
|
-
* applies. Distinct from native gas
|
|
16114
|
-
* as gas-fee fields.
|
|
16109
|
+
* Deposit fees charged by the quote. For cross-chain quotes this carries one
|
|
16110
|
+
* entry per source-fee item (e.g. `'FORWARD'`, `'PRE_FINALITY'`) in the
|
|
16111
|
+
* returned fee token and decimal precision, each tagged with its own
|
|
16112
|
+
* {@link AssetAmount.type} and {@link AssetAmount.status} (e.g.
|
|
16113
|
+
* `'estimated'`). Empty when no such fee applies. Distinct from native gas
|
|
16114
|
+
* estimates, which are reported separately as gas-fee fields.
|
|
16115
16115
|
*/
|
|
16116
16116
|
readonly fees: readonly AssetAmount[];
|
|
16117
16117
|
/**
|
|
@@ -16433,8 +16433,8 @@ interface CrossChainDepositServiceParams<T extends AdapterCapabilities = Adapter
|
|
|
16433
16433
|
/** Destination chain and recipient of the vault position. */
|
|
16434
16434
|
readonly to: CrossChainDepositServiceDestination;
|
|
16435
16435
|
/**
|
|
16436
|
-
* Maximum source-collected bridge fee the caller is willing to
|
|
16437
|
-
* human-readable
|
|
16436
|
+
* Maximum source-collected bridge fee the caller is willing to accept, in
|
|
16437
|
+
* human-readable fee token units from the quote.
|
|
16438
16438
|
*
|
|
16439
16439
|
* Derive this from a recent cross-chain deposit quote by summing
|
|
16440
16440
|
* `quote.fees[].amount`. The prepared bridge bundle must not exceed this cap
|
|
@@ -17296,8 +17296,8 @@ interface CrossChainDepositParams<TFromAdapterCapabilities extends AdapterCapabi
|
|
|
17296
17296
|
*/
|
|
17297
17297
|
readonly amount: string;
|
|
17298
17298
|
/**
|
|
17299
|
-
* Maximum source-collected bridge fee the caller is willing to
|
|
17300
|
-
* human-readable
|
|
17299
|
+
* Maximum source-collected bridge fee the caller is willing to accept, in
|
|
17300
|
+
* human-readable fee token units from the quote.
|
|
17301
17301
|
*
|
|
17302
17302
|
* Derive this from a recent cross-chain deposit quote by summing
|
|
17303
17303
|
* `quote.fees[].amount`. The prepared bridge bundle must not exceed this cap
|