@circle-fin/provider-cctp-v2 1.9.0 → 1.10.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.
Files changed (7) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/index.cjs +2869 -2422
  3. package/index.d.cts +806 -240
  4. package/index.d.mts +806 -240
  5. package/index.d.ts +806 -240
  6. package/index.mjs +2865 -2423
  7. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,35 @@
1
1
  # @circle-fin/provider-cctp-v2
2
2
 
3
+ ## 1.10.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Make the SDK safe to bundle and run in browsers/client-side apps.
8
+
9
+ - Browser requests omit Node-only headers that would cause CORS failures, including EarnKit’s SDK-version header.
10
+ - Solana operations in App Kit, Adapter Solana Kit, and Gateway work in a browser without requiring a consumer-provided `Buffer` polyfill.
11
+ - Supplying a `kitKey` or Circle Wallets `apiKey` in a browser now fails early. Keep those secrets on the server and forward a prepared transaction or other safe result to the client.
12
+
13
+ ## 1.10.0
14
+
15
+ ### Minor Changes
16
+
17
+ - Add `burnWithFees` for the CCTP v2 prepaid-FORWARD path via `TokenMessengerWithFees`.
18
+
19
+ `CCTPV2BridgingProvider.burnWithFees` prepares the source-chain
20
+ `depositForBurnWithHookAndFees` burn for the GenericExecutor FORWARD flow:
21
+ fees are collected up front against a signed quote, `mintRecipient` and
22
+ `destinationCaller` are both set to the GenericExecutor, and the GE
23
+ `hookData` is passed through the `cctp-forward` wrapper.
24
+
25
+ Also exports the `resolveFeePayment` fee-channel helper and the
26
+ `prepaidForwardErrors` utilities (`assertForwardHookData`,
27
+ `mapPrepaidForwardError`, `hasForwardHook`, `PREPAID_FORWARD_REVERT_NAMES`).
28
+
29
+ ### Patch Changes
30
+
31
+ - Support keyless / signing-strategy viem adapters on the batched bridge (approve + burn) path.
32
+
3
33
  ## 1.9.0
4
34
 
5
35
  ### Minor Changes