@anywalletkit/protocol-swap2-fynd 0.1.1 → 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 +10 -7
package/README.md CHANGED
@@ -1,7 +1,18 @@
1
1
  # @anywalletkit/protocol-swap2-fynd
2
2
 
3
+ [![npm](https://img.shields.io/npm/v/@anywalletkit/protocol-swap2-fynd?label=npm)](https://www.npmjs.com/package/@anywalletkit/protocol-swap2-fynd)
4
+
3
5
  [Fynd](https://docs.fynd.xyz) — Propeller Heads' DEX aggregator — as a same-chain swap2 provider for Any Wallet Kit. Exact-input swaps on Ethereum, Base, Arbitrum, BNB Chain, Polygon, Unichain and Robinhood Chain, routed over the pools Tycho indexes.
4
6
 
7
+ ## Install
8
+
9
+ ```sh
10
+ npm install @anywalletkit/protocol-swap2-fynd @anywalletkit/core
11
+ # or: pnpm add @anywalletkit/protocol-swap2-fynd @anywalletkit/core · yarn add @anywalletkit/protocol-swap2-fynd @anywalletkit/core
12
+ ```
13
+
14
+ On npm: [@anywalletkit/protocol-swap2-fynd](https://www.npmjs.com/package/@anywalletkit/protocol-swap2-fynd), published from the [release workflow](https://github.com/ultratestbro/anywalletkit/blob/main/RELEASING.md) with provenance.
15
+
5
16
  > **Fynd License.** Quotes, routes and transactions produced by Fynd are licensed under the [Fynd License](https://github.com/propeller-heads/fynd/blob/main/LICENSE.md). In short:
6
17
  > - every swap built from a Fynd quote must settle through the Tycho router for its chain (the [router registry](https://docs.propellerheads.xyz/tycho/for-solvers/execution/contract-addresses)), with its fees intact, and must not be re-routed around it;
7
18
  > - the router may take a platform fee and keeps positive slippage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anywalletkit/protocol-swap2-fynd",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Fynd (Propeller Heads) same-chain swaps for Any Wallet Kit: exact-input routes across the pools Tycho indexes on Ethereum, Base, Arbitrum, BNB Chain, Polygon, Unichain and Robinhood Chain, settled through TychoRouterV3 with the transaction checked against the request before signing.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://docs.anywallet.tech",
@@ -13,6 +13,9 @@
13
13
  "directory": "packages/protocol-swap2-fynd"
14
14
  },
15
15
  "type": "module",
16
+ "engines": {
17
+ "node": ">=20"
18
+ },
16
19
  "sideEffects": false,
17
20
  "main": "./dist/index.cjs",
18
21
  "module": "./dist/index.js",
@@ -52,17 +55,17 @@
52
55
  ],
53
56
  "dependencies": {
54
57
  "viem": "^2.57.2",
55
- "@anywalletkit/protocol-swap2-core": "0.3.1",
56
- "@anywalletkit/swap2-assets": "0.1.3"
58
+ "@anywalletkit/protocol-swap2-core": "0.4.0",
59
+ "@anywalletkit/swap2-assets": "0.1.5"
57
60
  },
58
61
  "peerDependencies": {
59
- "@anywalletkit/core": "0.3.1"
62
+ "@anywalletkit/core": "0.4.0"
60
63
  },
61
64
  "devDependencies": {
62
65
  "@types/node": "^22",
63
66
  "vitest": "^5.0.3",
64
- "@anywalletkit/core": "0.3.1",
65
- "@anywalletkit/conformance": "0.3.1"
67
+ "@anywalletkit/conformance": "0.4.0",
68
+ "@anywalletkit/core": "0.4.0"
66
69
  },
67
70
  "keywords": [
68
71
  "swap2",
@@ -81,6 +84,6 @@
81
84
  "build": "tsup",
82
85
  "typecheck": "tsc --noEmit",
83
86
  "test": "vitest run",
84
- "lint": "echo ok"
87
+ "lint": "eslint src"
85
88
  }
86
89
  }