@cfxdevkit/wallet-connect 0.1.0 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +25 -24
package/README.md CHANGED
@@ -9,8 +9,8 @@ This package provides:
9
9
  - `useAuthContext()` — access the current authenticated user anywhere in the tree
10
10
  - `useNetworkSwitch()` — helper to switch between Conflux networks
11
11
 
12
- Previously named `@conflux-cas/wallet-ui`. Renamed to `@cfxdevkit/wallet-connect`
13
- because it is not CAS-specific and is used by both the CAS frontend and the
12
+ Previously named `wallet-ui`. Renamed to `@cfxdevkit/wallet-connect`
13
+ because it is not CAS-specific and is used by multiple frontends, including the
14
14
  DevKit dashboard.
15
15
 
16
16
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cfxdevkit/wallet-connect",
3
- "version": "0.1.0",
3
+ "version": "1.0.5",
4
4
  "description": "Wagmi + SIWE wallet connection layer for Conflux applications — framework-agnostic, usable in any project",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -21,10 +21,27 @@
21
21
  },
22
22
  "./package.json": "./package.json"
23
23
  },
24
+ "scripts": {
25
+ "build": "tsup",
26
+ "build:watch": "tsup --watch",
27
+ "type-check": "tsc --noEmit",
28
+ "dev": "tsup --watch",
29
+ "test": "vitest run --pass-with-no-tests",
30
+ "test:ui": "vitest --ui",
31
+ "test:run": "vitest --run",
32
+ "test:coverage": "vitest --run --coverage --pass-with-no-tests",
33
+ "clean": "rm -rf dist",
34
+ "lint": "biome lint src/",
35
+ "lint:fix": "biome lint --write src/",
36
+ "format": "biome format src/",
37
+ "format:fix": "biome format --write src/",
38
+ "check": "biome check src/",
39
+ "check:fix": "biome check --write src/"
40
+ },
24
41
  "dependencies": {
42
+ "@cfxdevkit/core": "workspace:*",
25
43
  "lucide-react": "^0.395.0",
26
- "siwe": "^2.3.2",
27
- "@cfxdevkit/core": "0.1.0"
44
+ "siwe": "^2.3.2"
28
45
  },
29
46
  "peerDependencies": {
30
47
  "@tanstack/react-query": ">=5.0.0",
@@ -60,30 +77,14 @@
60
77
  ],
61
78
  "author": "Conflux DevKit Team",
62
79
  "license": "Apache-2.0",
80
+ "packageManager": "pnpm@10.11.0",
63
81
  "repository": {
64
82
  "type": "git",
65
- "url": "git+https://github.com/cfxdevkit/conflux-devkit.git",
66
- "directory": "packages/ui-headless"
83
+ "url": "git+https://github.com/cfxdevkit/devkit.git",
84
+ "directory": "packages/wallet-connect"
67
85
  },
68
86
  "homepage": "https://github.com/cfxdevkit/conflux-devkit#readme",
69
87
  "bugs": {
70
- "url": "https://github.com/cfxdevkit/conflux-devkit/issues"
71
- },
72
- "scripts": {
73
- "build": "tsup",
74
- "build:watch": "tsup --watch",
75
- "type-check": "tsc --noEmit",
76
- "dev": "tsup --watch",
77
- "test": "vitest run --pass-with-no-tests",
78
- "test:ui": "vitest --ui",
79
- "test:run": "vitest --run",
80
- "test:coverage": "vitest --run --coverage",
81
- "clean": "rm -rf dist",
82
- "lint": "biome lint src/",
83
- "lint:fix": "biome lint --write src/",
84
- "format": "biome format src/",
85
- "format:fix": "biome format --write src/",
86
- "check": "biome check src/",
87
- "check:fix": "biome check --write src/"
88
+ "url": "https://github.com/cfxdevkit/devkit/issues"
88
89
  }
89
- }
90
+ }