@use-glyph/sdk-react 2.2.0 → 2.2.1

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 CHANGED
@@ -1,105 +1,105 @@
1
1
  {
2
- "name": "@use-glyph/sdk-react",
3
- "version": "2.2.0",
4
- "type": "module",
5
- "license": "GLYPH-1.0",
6
- "sideEffects": false,
7
- "main": "dist/glyph-widget.umd.js",
8
- "module": "dist/glyph-widget.es.js",
9
- "types": "dist/types/index.d.ts",
10
- "exports": {
11
- ".": [
12
- {
13
- "types": "./dist/types/index.d.ts",
14
- "require": "./dist/glyph-widget.umd.js",
15
- "import": "./dist/glyph-widget.es.js"
16
- }
2
+ "name": "@use-glyph/sdk-react",
3
+ "version": "2.2.1",
4
+ "type": "module",
5
+ "license": "GLYPH-1.0",
6
+ "sideEffects": false,
7
+ "main": "dist/glyph-widget.umd.js",
8
+ "module": "dist/glyph-widget.es.js",
9
+ "types": "dist/types/index.d.ts",
10
+ "exports": {
11
+ ".": [
12
+ {
13
+ "types": "./dist/types/index.d.ts",
14
+ "require": "./dist/glyph-widget.umd.js",
15
+ "import": "./dist/glyph-widget.es.js"
16
+ }
17
+ ],
18
+ "./*": [
19
+ "./src/*.ts",
20
+ "./src/*.tsx"
21
+ ],
22
+ "./style.css": {
23
+ "import": "./dist/assets/sdk-react.css",
24
+ "require": "./dist/assets/sdk-react.css"
25
+ }
26
+ },
27
+ "files": [
28
+ "dist",
29
+ "README.md"
17
30
  ],
18
- "./*": [
19
- "./src/*.ts",
20
- "./src/*.tsx"
21
- ],
22
- "./style.css": {
23
- "import": "./dist/assets/sdk-react.css",
24
- "require": "./dist/assets/sdk-react.css"
31
+ "scripts": {
32
+ "watch:unix": "test -f .env && export $(cat .env | xargs) || true && vite build --watch",
33
+ "watch:windows": "if exist .env (set /p env=<.env && vite build --watch) else (vite build --watch)",
34
+ "watch": "node -e \"process.platform === 'win32' ? require('child_process').execSync('npm run watch:windows', {stdio: 'inherit'}) : require('child_process').execSync('npm run watch:unix', {stdio: 'inherit'})\"",
35
+ "build:unix": "test -f .env && export $(cat .env | xargs) || true && vite build",
36
+ "build:windows": "if exist .env (set /p env=<.env && vite build) else (vite build)",
37
+ "build": "node -e \"process.platform === 'win32' ? require('child_process').execSync('npm run build:windows', {stdio: 'inherit'}) : require('child_process').execSync('npm run build:unix', {stdio: 'inherit'})\"",
38
+ "prebuild": "rimraf dist",
39
+ "lint": "eslint ."
40
+ },
41
+ "devDependencies": {
42
+ "@privy-io/cross-app-connect": "0.7.3",
43
+ "@privy-io/react-auth": "3.48.1",
44
+ "@privy-io/wagmi": "4.0.19",
45
+ "@rainbow-me/rainbowkit": "2.2.11",
46
+ "@tanstack/react-query": "5.101.1",
47
+ "@types/react": "19.1.1",
48
+ "@types/react-dom": "19.1.1",
49
+ "react": "19.1.3",
50
+ "react-dom": "19.1.3",
51
+ "viem": "2.57.5",
52
+ "wagmi": "2.19.5",
53
+ "@eslint/js": "^9.34.0",
54
+ "@types/node": "^24.3.0",
55
+ "@vitejs/plugin-react": "^5.0.2",
56
+ "autoprefixer": "^10.4.21",
57
+ "dotenv": "^17.2.1",
58
+ "eslint": "^9.34.0",
59
+ "eslint-plugin-react-hooks": "^5.2.0",
60
+ "eslint-plugin-react-refresh": "^0.4.20",
61
+ "globals": "^16.3.0",
62
+ "path": "^0.12.7",
63
+ "postcss": "^8.5.6",
64
+ "prettier": "^3.6.2",
65
+ "rimraf": "^6.0.1",
66
+ "tailwind-merge": "^2.6.0",
67
+ "tailwind-scrollbar": "3.1.0",
68
+ "tailwindcss": "^3.4.17",
69
+ "tailwindcss-animate": "^1.0.7",
70
+ "typescript": "~5.9.3",
71
+ "typescript-eslint": "^8.41.0",
72
+ "vite": "7.3.7",
73
+ "vite-plugin-dts": "^4.5.4"
74
+ },
75
+ "peerDependencies": {
76
+ "@privy-io/cross-app-connect": ">=0.2.1 <0.8",
77
+ "@privy-io/react-auth": ">=3.14.1 <3.49.0",
78
+ "@privy-io/wagmi": ">=4.0.19 <5",
79
+ "@rainbow-me/rainbowkit": ">=2.2.11 <3",
80
+ "@tanstack/react-query": ">=5.76.0 <6",
81
+ "@types/react": "^18.x || ^19.x",
82
+ "@types/react-dom": "^18.x || ^19.x",
83
+ "react": "^18.x || ^19.x",
84
+ "react-dom": "^18.x || ^19.x",
85
+ "viem": ">=2.57.5 <3",
86
+ "wagmi": ">=2.19.5 <3"
87
+ },
88
+ "dependencies": {
89
+ "@radix-ui/react-accordion": "^1.2.12",
90
+ "@radix-ui/react-dialog": "^1.1.15",
91
+ "@radix-ui/react-popover": "^1.1.15",
92
+ "@radix-ui/react-slot": "^1.2.3",
93
+ "@radix-ui/react-tooltip": "1.2.8",
94
+ "@relayprotocol/relay-sdk": "3.2.0",
95
+ "@types/throttle-debounce": "5.0.2",
96
+ "class-variance-authority": "^0.7.1",
97
+ "clsx": "^2.1.1",
98
+ "lucide-react": "^0.542.0",
99
+ "qrcode.react": "^4.2.0",
100
+ "sonner": "2.0.7",
101
+ "throttle-debounce": "5.0.2",
102
+ "truncate-eth-address": "1.0.2",
103
+ "vaul": "1.1.2"
25
104
  }
26
- },
27
- "files": [
28
- "dist",
29
- "README.md"
30
- ],
31
- "devDependencies": {
32
- "@privy-io/cross-app-connect": "0.7.3",
33
- "@privy-io/react-auth": "3.48.1",
34
- "@privy-io/wagmi": "4.0.19",
35
- "@rainbow-me/rainbowkit": "2.2.11",
36
- "@tanstack/react-query": "5.101.1",
37
- "@types/react": "19.1.1",
38
- "@types/react-dom": "19.1.1",
39
- "react": "19.1.3",
40
- "react-dom": "19.1.3",
41
- "viem": "2.57.5",
42
- "wagmi": "2.19.5",
43
- "@eslint/js": "^9.34.0",
44
- "@types/node": "^24.3.0",
45
- "@vitejs/plugin-react": "^5.0.2",
46
- "autoprefixer": "^10.4.21",
47
- "dotenv": "^17.2.1",
48
- "eslint": "^9.34.0",
49
- "eslint-plugin-react-hooks": "^5.2.0",
50
- "eslint-plugin-react-refresh": "^0.4.20",
51
- "globals": "^16.3.0",
52
- "path": "^0.12.7",
53
- "postcss": "^8.5.6",
54
- "prettier": "^3.6.2",
55
- "rimraf": "^6.0.1",
56
- "tailwind-merge": "^2.6.0",
57
- "tailwind-scrollbar": "3.1.0",
58
- "tailwindcss": "^3.4.17",
59
- "tailwindcss-animate": "^1.0.7",
60
- "typescript": "~5.9.3",
61
- "typescript-eslint": "^8.41.0",
62
- "vite": "7.3.7",
63
- "vite-plugin-dts": "^4.5.4"
64
- },
65
- "peerDependencies": {
66
- "@privy-io/cross-app-connect": ">=0.2.1 <0.8",
67
- "@privy-io/react-auth": ">=3.14.1 <3.49.0",
68
- "@privy-io/wagmi": ">=4.0.19 <5",
69
- "@rainbow-me/rainbowkit": ">=2.2.11 <3",
70
- "@tanstack/react-query": ">=5.76.0 <6",
71
- "@types/react": "^18.x || ^19.x",
72
- "@types/react-dom": "^18.x || ^19.x",
73
- "react": "^18.x || ^19.x",
74
- "react-dom": "^18.x || ^19.x",
75
- "viem": ">=2.57.5 <3",
76
- "wagmi": ">=2.19.5 <3"
77
- },
78
- "dependencies": {
79
- "@radix-ui/react-accordion": "^1.2.12",
80
- "@radix-ui/react-dialog": "^1.1.15",
81
- "@radix-ui/react-popover": "^1.1.15",
82
- "@radix-ui/react-slot": "^1.2.3",
83
- "@radix-ui/react-tooltip": "1.2.8",
84
- "@relayprotocol/relay-sdk": "3.2.0",
85
- "@types/throttle-debounce": "5.0.2",
86
- "class-variance-authority": "^0.7.1",
87
- "clsx": "^2.1.1",
88
- "lucide-react": "^0.542.0",
89
- "qrcode.react": "^4.2.0",
90
- "sonner": "2.0.7",
91
- "throttle-debounce": "5.0.2",
92
- "truncate-eth-address": "1.0.2",
93
- "vaul": "1.1.2"
94
- },
95
- "scripts": {
96
- "watch:unix": "test -f .env && export $(cat .env | xargs) || true && vite build --watch",
97
- "watch:windows": "if exist .env (set /p env=<.env && vite build --watch) else (vite build --watch)",
98
- "watch": "node -e \"process.platform === 'win32' ? require('child_process').execSync('npm run watch:windows', {stdio: 'inherit'}) : require('child_process').execSync('npm run watch:unix', {stdio: 'inherit'})\"",
99
- "build:unix": "test -f .env && export $(cat .env | xargs) || true && vite build",
100
- "build:windows": "if exist .env (set /p env=<.env && vite build) else (vite build)",
101
- "build": "node -e \"process.platform === 'win32' ? require('child_process').execSync('npm run build:windows', {stdio: 'inherit'}) : require('child_process').execSync('npm run build:unix', {stdio: 'inherit'})\"",
102
- "prebuild": "rimraf dist",
103
- "lint": "eslint ."
104
- }
105
- }
105
+ }