@circle-fin/provider-cctp-v2 1.8.3 → 1.8.5
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 +3214 -3368
- package/index.d.cts +6814 -0
- package/index.d.mts +6814 -0
- package/index.d.ts +47 -5
- package/index.mjs +3213 -3367
- 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.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Internal dependency updates. No user-facing changes.
|
|
8
|
+
|
|
9
|
+
## 1.8.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Fix forwarded-route support to depend only on the destination chain.
|
|
14
|
+
|
|
15
|
+
`supportsRoute(source, destination, 'USDC', true)` previously also required the
|
|
16
|
+
source chain's `cctp.forwarderSupported.source` to be `true`. Today's Forwarding
|
|
17
|
+
Service operates on the destination chain, so any CCTP v2 chain can originate a
|
|
18
|
+
forwarded transfer; the route check now gates only on the destination chain's
|
|
19
|
+
`cctp.forwarderSupported.destination`, matching the bridge execution path.
|
|
20
|
+
|
|
21
|
+
`cctp.forwarderSupported.source` is now `false` for every chain definition,
|
|
22
|
+
reflecting that source-side forwarding is not yet available. This corrects
|
|
23
|
+
metadata that previously implied source-side forwarding was supported.
|
|
24
|
+
|
|
25
|
+
Also surfaced through `@circle-fin/bridge-kit` and `@circle-fin/app-kit`.
|
|
26
|
+
|
|
3
27
|
## 1.8.3
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
|
@@ -262,19 +286,19 @@
|
|
|
262
286
|
```typescript
|
|
263
287
|
// Fast transfer with automatic fee calculation
|
|
264
288
|
const result = await provider.bridge({
|
|
265
|
-
source: { adapter: sourceAdapter, chain:
|
|
266
|
-
destination: { adapter: destAdapter, chain:
|
|
267
|
-
amount:
|
|
268
|
-
config: { transferSpeed:
|
|
269
|
-
})
|
|
289
|
+
source: { adapter: sourceAdapter, chain: "Ethereum" },
|
|
290
|
+
destination: { adapter: destAdapter, chain: "Base" },
|
|
291
|
+
amount: "10.0",
|
|
292
|
+
config: { transferSpeed: "FAST" },
|
|
293
|
+
});
|
|
270
294
|
|
|
271
295
|
// Slow transfer with zero fees
|
|
272
296
|
const result = await provider.bridge({
|
|
273
|
-
source: { adapter: sourceAdapter, chain:
|
|
274
|
-
destination: { adapter: destAdapter, chain:
|
|
275
|
-
amount:
|
|
276
|
-
config: { transferSpeed:
|
|
277
|
-
})
|
|
297
|
+
source: { adapter: sourceAdapter, chain: "Ethereum" },
|
|
298
|
+
destination: { adapter: destAdapter, chain: "Base" },
|
|
299
|
+
amount: "10.0",
|
|
300
|
+
config: { transferSpeed: "SLOW" },
|
|
301
|
+
});
|
|
278
302
|
```
|
|
279
303
|
|
|
280
304
|
## 🔄 Advanced Retry Support
|