@circle-fin/provider-cctp-v2 1.8.2 → 1.8.4
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 -10
- package/index.cjs +3224 -3444
- package/index.d.cts +6814 -0
- package/index.d.mts +6814 -0
- package/index.d.ts +47 -5
- package/index.mjs +3222 -3442
- package/package.json +12 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @circle-fin/provider-cctp-v2
|
|
2
2
|
|
|
3
|
+
## 1.8.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fix forwarded-route support to depend only on the destination chain.
|
|
8
|
+
|
|
9
|
+
`supportsRoute(source, destination, 'USDC', true)` previously also required the
|
|
10
|
+
source chain's `cctp.forwarderSupported.source` to be `true`. Today's Forwarding
|
|
11
|
+
Service operates on the destination chain, so any CCTP v2 chain can originate a
|
|
12
|
+
forwarded transfer; the route check now gates only on the destination chain's
|
|
13
|
+
`cctp.forwarderSupported.destination`, matching the bridge execution path.
|
|
14
|
+
|
|
15
|
+
`cctp.forwarderSupported.source` is now `false` for every chain definition,
|
|
16
|
+
reflecting that source-side forwarding is not yet available. This corrects
|
|
17
|
+
metadata that previously implied source-side forwarding was supported.
|
|
18
|
+
|
|
19
|
+
Also surfaced through `@circle-fin/bridge-kit` and `@circle-fin/app-kit`.
|
|
20
|
+
|
|
21
|
+
## 1.8.3
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- `bridge` no longer rejects Gas Station-enabled smart-contract accounts (SCAs) with zero native balance on the source or destination chain. EOA wallets without native funds will still fail at simulation with the underlying RPC error.
|
|
26
|
+
|
|
3
27
|
## 1.8.2
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
|
@@ -256,19 +280,19 @@
|
|
|
256
280
|
```typescript
|
|
257
281
|
// Fast transfer with automatic fee calculation
|
|
258
282
|
const result = await provider.bridge({
|
|
259
|
-
source: { adapter: sourceAdapter, chain:
|
|
260
|
-
destination: { adapter: destAdapter, chain:
|
|
261
|
-
amount:
|
|
262
|
-
config: { transferSpeed:
|
|
263
|
-
})
|
|
283
|
+
source: { adapter: sourceAdapter, chain: "Ethereum" },
|
|
284
|
+
destination: { adapter: destAdapter, chain: "Base" },
|
|
285
|
+
amount: "10.0",
|
|
286
|
+
config: { transferSpeed: "FAST" },
|
|
287
|
+
});
|
|
264
288
|
|
|
265
289
|
// Slow transfer with zero fees
|
|
266
290
|
const result = await provider.bridge({
|
|
267
|
-
source: { adapter: sourceAdapter, chain:
|
|
268
|
-
destination: { adapter: destAdapter, chain:
|
|
269
|
-
amount:
|
|
270
|
-
config: { transferSpeed:
|
|
271
|
-
})
|
|
291
|
+
source: { adapter: sourceAdapter, chain: "Ethereum" },
|
|
292
|
+
destination: { adapter: destAdapter, chain: "Base" },
|
|
293
|
+
amount: "10.0",
|
|
294
|
+
config: { transferSpeed: "SLOW" },
|
|
295
|
+
});
|
|
272
296
|
```
|
|
273
297
|
|
|
274
298
|
## 🔄 Advanced Retry Support
|