@anywalletkit/protocol-swap2-uniswap 0.1.3 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +11 -0
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -1,10 +1,21 @@
1
1
  # @anywalletkit/protocol-swap2-uniswap
2
2
 
3
+ [![npm](https://img.shields.io/npm/v/@anywalletkit/protocol-swap2-uniswap?label=npm)](https://www.npmjs.com/package/@anywalletkit/protocol-swap2-uniswap)
4
+
3
5
  Uniswap v3 same-chain swaps as a swap2 module: QuoterV2 quotes, SwapRouter02
4
6
  `multicall(deadline, …)` execution, on the deployments in `src/addresses.ts`
5
7
  (each verified on-chain before use). Standalone through `UniswapSwap2Protocol`,
6
8
  or as one provider of the router.
7
9
 
10
+ ## Install
11
+
12
+ ```sh
13
+ npm install @anywalletkit/protocol-swap2-uniswap @anywalletkit/core
14
+ # or: pnpm add @anywalletkit/protocol-swap2-uniswap @anywalletkit/core · yarn add @anywalletkit/protocol-swap2-uniswap @anywalletkit/core
15
+ ```
16
+
17
+ On npm: [@anywalletkit/protocol-swap2-uniswap](https://www.npmjs.com/package/@anywalletkit/protocol-swap2-uniswap), published from the [release workflow](https://github.com/ultratestbro/anywalletkit/blob/main/RELEASING.md) with provenance.
18
+
8
19
  ## Activity
9
20
 
10
21
  `describeActivity(tx, ctx)` recognizes a call into the chain's SwapRouter02
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anywalletkit/protocol-swap2-uniswap",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Uniswap v3 same-chain swaps straight from the contracts: on-chain QuoterV2 quotes, SwapRouter02 execution, no API, no frontend.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://docs.anywallet.tech",
@@ -42,17 +42,17 @@
42
42
  ],
43
43
  "dependencies": {
44
44
  "viem": "^2.57.2",
45
- "@anywalletkit/protocol-swap2-core": "0.3.1",
46
- "@anywalletkit/swap2-assets": "0.1.3"
45
+ "@anywalletkit/protocol-swap2-core": "0.3.2",
46
+ "@anywalletkit/swap2-assets": "0.1.4"
47
47
  },
48
48
  "peerDependencies": {
49
- "@anywalletkit/core": "0.3.1"
49
+ "@anywalletkit/core": "0.3.2"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/node": "^22",
53
53
  "vitest": "^5.0.3",
54
- "@anywalletkit/core": "0.3.1",
55
- "@anywalletkit/conformance": "0.3.1"
54
+ "@anywalletkit/conformance": "0.3.2",
55
+ "@anywalletkit/core": "0.3.2"
56
56
  },
57
57
  "keywords": [
58
58
  "uniswap",