@anywalletkit/protocol-swap2-usdt0 0.1.2 → 0.1.3

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 (2) hide show
  1. package/README.md +11 -0
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @anywalletkit/protocol-swap2-usdt0
2
2
 
3
+ [![npm](https://img.shields.io/npm/v/@anywalletkit/protocol-swap2-usdt0?label=npm)](https://www.npmjs.com/package/@anywalletkit/protocol-swap2-usdt0)
4
+
3
5
  [USDT0](https://docs.usdt0.to) — Tether's USDT as a LayerZero OFT — as a swap2
4
6
  provider: USDT / USDT0 between 16 EVM chains in **one source transaction**.
5
7
  `send(SendParam, MessagingFee, refund)` on the chain's OFT with the LayerZero
@@ -10,6 +12,15 @@ LayerZero fee in the source chain's native coin (≈ 0.0000024 ETH for
10
12
  Arbitrum → HyperEVM on 2026-10-20). It is the only direct USDT path into
11
13
  HyperEVM.
12
14
 
15
+ ## Install
16
+
17
+ ```sh
18
+ npm install @anywalletkit/protocol-swap2-usdt0 @anywalletkit/core
19
+ # or: pnpm add @anywalletkit/protocol-swap2-usdt0 @anywalletkit/core · yarn add @anywalletkit/protocol-swap2-usdt0 @anywalletkit/core
20
+ ```
21
+
22
+ On npm: [@anywalletkit/protocol-swap2-usdt0](https://www.npmjs.com/package/@anywalletkit/protocol-swap2-usdt0), published from the [release workflow](https://github.com/ultratestbro/anywalletkit/blob/main/RELEASING.md) with provenance.
23
+
13
24
  ```ts
14
25
  import {usdt0Provider} from "@anywalletkit/protocol-swap2-usdt0/provider";
15
26
  import {RouterSwap2Protocol} from "@anywalletkit/protocol-swap2-router/swap2/router";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anywalletkit/protocol-swap2-usdt0",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "USDT0 (Tether's LayerZero OFT for USDT) for the swap2 engine: USDT / USDT0 between 16 EVM chains in one source transaction — quoteOFT + quoteSend on the OFT itself, send with the LayerZero fee as msg.value, status from LayerZero Scan, lzReceive retry of a stored payload as the claim. Bound to the deployments docs.usdt0.to lists, re-verified on-chain.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://docs.anywallet.tech",
@@ -52,18 +52,18 @@
52
52
  ],
53
53
  "dependencies": {
54
54
  "viem": "^2.57.2",
55
- "@anywalletkit/swap2-assets": "0.1.3",
56
- "@anywalletkit/protocol-swap2-core": "0.3.1"
55
+ "@anywalletkit/protocol-swap2-core": "0.3.2",
56
+ "@anywalletkit/swap2-assets": "0.1.4"
57
57
  },
58
58
  "peerDependencies": {
59
- "@anywalletkit/core": "0.3.1"
59
+ "@anywalletkit/core": "0.3.2"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@types/node": "^22",
63
63
  "vitest": "^5.0.3",
64
- "@anywalletkit/conformance": "0.3.1",
65
- "@anywalletkit/core": "0.3.1",
66
- "@anywalletkit/protocol-swap2-router": "0.2.2"
64
+ "@anywalletkit/conformance": "0.3.2",
65
+ "@anywalletkit/protocol-swap2-router": "0.2.3",
66
+ "@anywalletkit/core": "0.3.2"
67
67
  },
68
68
  "keywords": [
69
69
  "swap2",