@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/earn.d.cts
CHANGED
|
@@ -6744,12 +6744,12 @@ interface DepositQuoteInfo {
|
|
|
6744
6744
|
/** Current annualized percentage yield. */
|
|
6745
6745
|
readonly currentApy: number;
|
|
6746
6746
|
/**
|
|
6747
|
-
* Deposit fees charged
|
|
6748
|
-
*
|
|
6749
|
-
* each tagged with its own
|
|
6750
|
-
* {@link AssetAmount.status} (e.g.
|
|
6751
|
-
* applies. Distinct from native gas
|
|
6752
|
-
* as gas-fee fields.
|
|
6747
|
+
* Deposit fees charged by the quote. For cross-chain quotes this carries one
|
|
6748
|
+
* entry per source-fee item (e.g. `'FORWARD'`, `'PRE_FINALITY'`) in the
|
|
6749
|
+
* returned fee token and decimal precision, each tagged with its own
|
|
6750
|
+
* {@link AssetAmount.type} and {@link AssetAmount.status} (e.g.
|
|
6751
|
+
* `'estimated'`). Empty when no such fee applies. Distinct from native gas
|
|
6752
|
+
* estimates, which are reported separately as gas-fee fields.
|
|
6753
6753
|
*/
|
|
6754
6754
|
readonly fees: readonly AssetAmount[];
|
|
6755
6755
|
/**
|
|
@@ -7264,8 +7264,8 @@ interface CrossChainDepositParams<TFromAdapterCapabilities extends AdapterCapabi
|
|
|
7264
7264
|
*/
|
|
7265
7265
|
readonly amount: string;
|
|
7266
7266
|
/**
|
|
7267
|
-
* Maximum source-collected bridge fee the caller is willing to
|
|
7268
|
-
* human-readable
|
|
7267
|
+
* Maximum source-collected bridge fee the caller is willing to accept, in
|
|
7268
|
+
* human-readable fee token units from the quote.
|
|
7269
7269
|
*
|
|
7270
7270
|
* Derive this from a recent cross-chain deposit quote by summing
|
|
7271
7271
|
* `quote.fees[].amount`. The prepared bridge bundle must not exceed this cap
|
package/earn.d.mts
CHANGED
|
@@ -6744,12 +6744,12 @@ interface DepositQuoteInfo {
|
|
|
6744
6744
|
/** Current annualized percentage yield. */
|
|
6745
6745
|
readonly currentApy: number;
|
|
6746
6746
|
/**
|
|
6747
|
-
* Deposit fees charged
|
|
6748
|
-
*
|
|
6749
|
-
* each tagged with its own
|
|
6750
|
-
* {@link AssetAmount.status} (e.g.
|
|
6751
|
-
* applies. Distinct from native gas
|
|
6752
|
-
* as gas-fee fields.
|
|
6747
|
+
* Deposit fees charged by the quote. For cross-chain quotes this carries one
|
|
6748
|
+
* entry per source-fee item (e.g. `'FORWARD'`, `'PRE_FINALITY'`) in the
|
|
6749
|
+
* returned fee token and decimal precision, each tagged with its own
|
|
6750
|
+
* {@link AssetAmount.type} and {@link AssetAmount.status} (e.g.
|
|
6751
|
+
* `'estimated'`). Empty when no such fee applies. Distinct from native gas
|
|
6752
|
+
* estimates, which are reported separately as gas-fee fields.
|
|
6753
6753
|
*/
|
|
6754
6754
|
readonly fees: readonly AssetAmount[];
|
|
6755
6755
|
/**
|
|
@@ -7264,8 +7264,8 @@ interface CrossChainDepositParams<TFromAdapterCapabilities extends AdapterCapabi
|
|
|
7264
7264
|
*/
|
|
7265
7265
|
readonly amount: string;
|
|
7266
7266
|
/**
|
|
7267
|
-
* Maximum source-collected bridge fee the caller is willing to
|
|
7268
|
-
* human-readable
|
|
7267
|
+
* Maximum source-collected bridge fee the caller is willing to accept, in
|
|
7268
|
+
* human-readable fee token units from the quote.
|
|
7269
7269
|
*
|
|
7270
7270
|
* Derive this from a recent cross-chain deposit quote by summing
|
|
7271
7271
|
* `quote.fees[].amount`. The prepared bridge bundle must not exceed this cap
|
package/earn.d.ts
CHANGED
|
@@ -6744,12 +6744,12 @@ interface DepositQuoteInfo {
|
|
|
6744
6744
|
/** Current annualized percentage yield. */
|
|
6745
6745
|
readonly currentApy: number;
|
|
6746
6746
|
/**
|
|
6747
|
-
* Deposit fees charged
|
|
6748
|
-
*
|
|
6749
|
-
* each tagged with its own
|
|
6750
|
-
* {@link AssetAmount.status} (e.g.
|
|
6751
|
-
* applies. Distinct from native gas
|
|
6752
|
-
* as gas-fee fields.
|
|
6747
|
+
* Deposit fees charged by the quote. For cross-chain quotes this carries one
|
|
6748
|
+
* entry per source-fee item (e.g. `'FORWARD'`, `'PRE_FINALITY'`) in the
|
|
6749
|
+
* returned fee token and decimal precision, each tagged with its own
|
|
6750
|
+
* {@link AssetAmount.type} and {@link AssetAmount.status} (e.g.
|
|
6751
|
+
* `'estimated'`). Empty when no such fee applies. Distinct from native gas
|
|
6752
|
+
* estimates, which are reported separately as gas-fee fields.
|
|
6753
6753
|
*/
|
|
6754
6754
|
readonly fees: readonly AssetAmount[];
|
|
6755
6755
|
/**
|
|
@@ -7264,8 +7264,8 @@ interface CrossChainDepositParams<TFromAdapterCapabilities extends AdapterCapabi
|
|
|
7264
7264
|
*/
|
|
7265
7265
|
readonly amount: string;
|
|
7266
7266
|
/**
|
|
7267
|
-
* Maximum source-collected bridge fee the caller is willing to
|
|
7268
|
-
* human-readable
|
|
7267
|
+
* Maximum source-collected bridge fee the caller is willing to accept, in
|
|
7268
|
+
* human-readable fee token units from the quote.
|
|
7269
7269
|
*
|
|
7270
7270
|
* Derive this from a recent cross-chain deposit quote by summing
|
|
7271
7271
|
* `quote.fees[].amount`. The prepared bridge bundle must not exceed this cap
|