@recoilpay/intent-react 0.1.0

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/package.json ADDED
@@ -0,0 +1,100 @@
1
+ {
2
+ "name": "@recoilpay/intent-react",
3
+ "version": "0.1.0",
4
+ "description": "Drop-in React component for RecoilPay intents: type a swap or send in plain English, quote across solvers, confirm, track.",
5
+ "keywords": [
6
+ "recoilpay",
7
+ "intents",
8
+ "cross-chain",
9
+ "swap",
10
+ "react",
11
+ "component",
12
+ "wagmi"
13
+ ],
14
+ "homepage": "https://docs.recoilpay.com/integrate/react",
15
+ "license": "MIT",
16
+ "author": "Recoil Labs",
17
+ "type": "module",
18
+ "sideEffects": [
19
+ "*.css"
20
+ ],
21
+ "main": "./dist/index.cjs",
22
+ "module": "./dist/index.js",
23
+ "types": "./dist/index.d.ts",
24
+ "exports": {
25
+ ".": {
26
+ "import": {
27
+ "types": "./dist/index.d.ts",
28
+ "default": "./dist/index.js"
29
+ },
30
+ "require": {
31
+ "types": "./dist/index.d.cts",
32
+ "default": "./dist/index.cjs"
33
+ }
34
+ },
35
+ "./wagmi": {
36
+ "import": {
37
+ "types": "./dist/wagmi.d.ts",
38
+ "default": "./dist/wagmi.js"
39
+ },
40
+ "require": {
41
+ "types": "./dist/wagmi.d.cts",
42
+ "default": "./dist/wagmi.cjs"
43
+ }
44
+ },
45
+ "./styles.css": "./dist/styles.css",
46
+ "./package.json": "./package.json"
47
+ },
48
+ "typesVersions": {
49
+ "*": {
50
+ "wagmi": [
51
+ "./dist/wagmi.d.ts"
52
+ ]
53
+ }
54
+ },
55
+ "files": [
56
+ "dist",
57
+ "README.md",
58
+ "LICENSE"
59
+ ],
60
+ "engines": {
61
+ "node": ">=18"
62
+ },
63
+ "scripts": {
64
+ "build": "tsup src/index.ts src/wagmi.ts --format esm,cjs --dts --clean --external react --external wagmi && cp src/styles.css dist/styles.css",
65
+ "test": "vitest run",
66
+ "typecheck": "tsc --noEmit",
67
+ "prepublishOnly": "npm run build"
68
+ },
69
+ "dependencies": {
70
+ "@recoilpay/intent-core": "^0.1.0"
71
+ },
72
+ "peerDependencies": {
73
+ "react": ">=18",
74
+ "viem": "^2.21.0",
75
+ "wagmi": "^2.0.0"
76
+ },
77
+ "peerDependenciesMeta": {
78
+ "wagmi": {
79
+ "optional": true
80
+ }
81
+ },
82
+ "devDependencies": {
83
+ "@tanstack/react-query": "^5.104.0",
84
+ "@testing-library/react": "^16.3.3",
85
+ "@testing-library/user-event": "^14.6.7",
86
+ "@types/react": "^18.3.31",
87
+ "@types/react-dom": "^18.3.7",
88
+ "jsdom": "^29.1.1",
89
+ "react": "^18.3.1",
90
+ "react-dom": "^18.3.1",
91
+ "tsup": "^8.5.1",
92
+ "typescript": "^5.9.3",
93
+ "viem": "^2.56.9",
94
+ "vitest": "^5.0.2",
95
+ "wagmi": "^2.19.5"
96
+ },
97
+ "publishConfig": {
98
+ "access": "public"
99
+ }
100
+ }