@circle-fin/app-kit 1.10.0 → 1.11.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 +34 -0
- package/bridge.cjs +74 -22
- package/bridge.d.cts +12 -1
- package/bridge.d.mts +12 -1
- package/bridge.d.ts +12 -1
- package/bridge.mjs +74 -22
- package/chains.cjs +11 -0
- package/chains.mjs +11 -0
- package/context.cjs +11 -0
- package/context.d.cts +12 -1
- package/context.d.mts +12 -1
- package/context.d.ts +12 -1
- package/context.mjs +11 -0
- package/earn.cjs +701 -49
- package/earn.d.cts +12 -1
- package/earn.d.mts +12 -1
- package/earn.d.ts +12 -1
- package/earn.mjs +701 -49
- package/estimateBridge.cjs +74 -22
- package/estimateBridge.d.cts +12 -1
- package/estimateBridge.d.mts +12 -1
- package/estimateBridge.d.ts +12 -1
- package/estimateBridge.mjs +74 -22
- package/estimateSwap.cjs +259 -30
- package/estimateSwap.d.cts +12 -1
- package/estimateSwap.d.mts +12 -1
- package/estimateSwap.d.ts +12 -1
- package/estimateSwap.mjs +259 -30
- package/index.cjs +539 -81
- package/index.d.cts +101 -7
- package/index.d.mts +101 -7
- package/index.d.ts +101 -7
- package/index.mjs +539 -81
- package/package.json +7 -6
- package/swap.cjs +259 -30
- package/swap.d.cts +12 -1
- package/swap.d.mts +12 -1
- package/swap.d.ts +12 -1
- package/swap.mjs +259 -30
- package/unifiedBalance.cjs +96 -26
- package/unifiedBalance.d.cts +28 -5
- package/unifiedBalance.d.mts +28 -5
- package/unifiedBalance.d.ts +28 -5
- package/unifiedBalance.mjs +96 -26
package/earn.d.cts
CHANGED
|
@@ -8456,10 +8456,21 @@ interface AppKitContext {
|
|
|
8456
8456
|
* ```
|
|
8457
8457
|
*/
|
|
8458
8458
|
actions: Record<'bridge' | 'earn', Record<string, ((payload: unknown) => void)[]>>;
|
|
8459
|
+
/**
|
|
8460
|
+
* Disable success analytics for the underlying EarnKit, SwapKit, and
|
|
8461
|
+
* UnifiedBalanceKit.
|
|
8462
|
+
*
|
|
8463
|
+
* When `true`, completed earn, swap, and unified balance operations will not
|
|
8464
|
+
* POST analytics events. This does not disable error reporting; use
|
|
8465
|
+
* {@link AppKitContext.disableErrorReporting} for that. Defaults to `false`.
|
|
8466
|
+
*
|
|
8467
|
+
* @defaultValue false
|
|
8468
|
+
*/
|
|
8469
|
+
disableAnalytics?: boolean;
|
|
8459
8470
|
/**
|
|
8460
8471
|
* Disable error telemetry for all sub-kits.
|
|
8461
8472
|
*
|
|
8462
|
-
* When `true`, none of the underlying kits (BridgeKit, SwapKit,
|
|
8473
|
+
* When `true`, none of the underlying kits (BridgeKit, SwapKit, EarnKit,
|
|
8463
8474
|
* UnifiedBalanceKit) will POST error details to the telemetry
|
|
8464
8475
|
* endpoint when operations throw. Defaults to `false` (enabled).
|
|
8465
8476
|
*
|
package/earn.d.mts
CHANGED
|
@@ -8456,10 +8456,21 @@ interface AppKitContext {
|
|
|
8456
8456
|
* ```
|
|
8457
8457
|
*/
|
|
8458
8458
|
actions: Record<'bridge' | 'earn', Record<string, ((payload: unknown) => void)[]>>;
|
|
8459
|
+
/**
|
|
8460
|
+
* Disable success analytics for the underlying EarnKit, SwapKit, and
|
|
8461
|
+
* UnifiedBalanceKit.
|
|
8462
|
+
*
|
|
8463
|
+
* When `true`, completed earn, swap, and unified balance operations will not
|
|
8464
|
+
* POST analytics events. This does not disable error reporting; use
|
|
8465
|
+
* {@link AppKitContext.disableErrorReporting} for that. Defaults to `false`.
|
|
8466
|
+
*
|
|
8467
|
+
* @defaultValue false
|
|
8468
|
+
*/
|
|
8469
|
+
disableAnalytics?: boolean;
|
|
8459
8470
|
/**
|
|
8460
8471
|
* Disable error telemetry for all sub-kits.
|
|
8461
8472
|
*
|
|
8462
|
-
* When `true`, none of the underlying kits (BridgeKit, SwapKit,
|
|
8473
|
+
* When `true`, none of the underlying kits (BridgeKit, SwapKit, EarnKit,
|
|
8463
8474
|
* UnifiedBalanceKit) will POST error details to the telemetry
|
|
8464
8475
|
* endpoint when operations throw. Defaults to `false` (enabled).
|
|
8465
8476
|
*
|
package/earn.d.ts
CHANGED
|
@@ -8456,10 +8456,21 @@ interface AppKitContext {
|
|
|
8456
8456
|
* ```
|
|
8457
8457
|
*/
|
|
8458
8458
|
actions: Record<'bridge' | 'earn', Record<string, ((payload: unknown) => void)[]>>;
|
|
8459
|
+
/**
|
|
8460
|
+
* Disable success analytics for the underlying EarnKit, SwapKit, and
|
|
8461
|
+
* UnifiedBalanceKit.
|
|
8462
|
+
*
|
|
8463
|
+
* When `true`, completed earn, swap, and unified balance operations will not
|
|
8464
|
+
* POST analytics events. This does not disable error reporting; use
|
|
8465
|
+
* {@link AppKitContext.disableErrorReporting} for that. Defaults to `false`.
|
|
8466
|
+
*
|
|
8467
|
+
* @defaultValue false
|
|
8468
|
+
*/
|
|
8469
|
+
disableAnalytics?: boolean;
|
|
8459
8470
|
/**
|
|
8460
8471
|
* Disable error telemetry for all sub-kits.
|
|
8461
8472
|
*
|
|
8462
|
-
* When `true`, none of the underlying kits (BridgeKit, SwapKit,
|
|
8473
|
+
* When `true`, none of the underlying kits (BridgeKit, SwapKit, EarnKit,
|
|
8463
8474
|
* UnifiedBalanceKit) will POST error details to the telemetry
|
|
8464
8475
|
* endpoint when operations throw. Defaults to `false` (enabled).
|
|
8465
8476
|
*
|