@circle-fin/app-kit 1.6.1 → 1.7.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.
Files changed (7) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/earn.cjs +970 -172
  3. package/earn.mjs +970 -172
  4. package/index.cjs +739 -272
  5. package/index.d.ts +339 -5
  6. package/index.mjs +739 -272
  7. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @circle-fin/app-kit
2
2
 
3
+ ## 1.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - EarnKit (exposed under `kit.earn`) now emits step-level events for multi-phase operations (`deposit`, `withdraw`, `claimRewards`) via `kit.earn.on()` / `kit.earn.off()`, and exposes `kit.earn.retry(error)` to resume an operation that failed after a prior phase (such as a token approval) already succeeded. Failed earn operations now throw a `KitError` carrying step progress and resume context, and `isRetryableError` recognizes `RESUMABLE` errors as retryable.
8
+
9
+ ### Patch Changes
10
+
11
+ - `kit.bridge` and `kit.unifiedBalance` operations (`deposit`, `depositFor`, `addDelegate`, `removeDelegate`, `initiateRemoveFund`, `removeFund`) no longer reject Gas Station-enabled smart-contract accounts (SCAs) with zero native balance. EOA wallets without native funds will still fail at simulation with the underlying RPC error.
12
+
3
13
  ## 1.6.1
4
14
 
5
15
  ### Patch Changes