@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/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
  *