@worldcoin/idkit 0.4.9 → 0.5.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,138 +1,140 @@
1
1
  {
2
- "name": "@worldcoin/idkit",
3
- "description": "The identity SDK. Privacy-preserving identity and proof of personhood with World ID.",
4
- "type": "module",
5
- "types": "./build/src/index.d.ts",
6
- "version": "0.4.9",
7
- "private": false,
8
- "main": "./build/index.cjs",
9
- "module": "./build/index.js",
10
- "files": [
11
- "build/**",
12
- "!build/idkit-js-dev.js"
13
- ],
14
- "keywords": [
15
- "identity",
16
- "ID",
17
- "web3",
18
- "proof-of-personhood",
19
- "sybil resistance"
20
- ],
21
- "author": "",
22
- "license": "MIT",
23
- "homepage": "https://github.com/worldcoin/idkit-js",
24
- "repository": "github:worldcoin/idkit-js",
25
- "scripts": {
26
- "analyze-bundle": "esbuild-visualizer --metadata ./esbuild-meta.json --filename esbuild-stats.html && open esbuild-stats.html",
27
- "build": "npm-run-all clean build:*",
28
- "build:css": "npx tailwindcss -i ./src/styles/styles.css -o ./build/index.css --minify",
29
- "build:declarations": "tsc && tsc-alias",
30
- "build:esm": "node esbuild/production.js -p esm",
31
- "build:cjs": "node esbuild/production.js -p cjs",
32
- "build:iife": "node esbuild/production.js -p iife",
33
- "clean": "rimraf build/",
34
- "dev": "npm-run-all clean dev:styles --parallel dev:*",
35
- "dev:bundle": "node esbuild/development.js",
36
- "dev:styles": "npx tailwindcss -i ./src/styles/styles.css -o ./build/index.css",
37
- "dev:styles-watch": "npx tailwindcss -i ./src/styles/styles.css -o ./build/index.css --watch",
38
- "format": "prettier -w ./",
39
- "format:check": "prettier --check ./",
40
- "lint": "eslint --ext .tsx,.ts,.js,.jsx ./",
41
- "lint:fix": "eslint --ext .tsx,.ts,.js,.jsx ./ --fix",
42
- "test": "jest",
43
- "typecheck": "tsc"
44
- },
45
- "peerDependencies": {
46
- "react": ">18.0.0",
47
- "react-dom": ">18.0.0"
48
- },
49
- "dependencies": {
50
- "@ethersproject/bytes": "^5.7.0",
51
- "@ethersproject/solidity": "^5.7.0",
52
- "@fontsource/rubik": "^4.5.11",
53
- "@headlessui/react": "^1.7.4",
54
- "@radix-ui/react-dialog": "^1.0.3",
55
- "@radix-ui/react-toast": "^1.1.3",
56
- "@stitches/react": "^1.2.8",
57
- "@tailwindcss/forms": "^0.5.3",
58
- "@walletconnect/client": "^1.8.0",
59
- "@walletconnect/sign-client": "^2.2.0",
60
- "@walletconnect/types": "^2.2.0",
61
- "@walletconnect/utils": "^2.2.1",
62
- "copy-to-clipboard": "^3.3.3",
63
- "framer-motion": "^7.6.7",
64
- "js-sha3": "^0.8.0",
65
- "posthog-js-lite": "2.0.0",
66
- "qr-code-styling-new": "^1.6.1",
67
- "qrcode": "^1.5.1",
68
- "react-countdown": "^2.3.4",
69
- "react-frame-component": "^5.2.3",
70
- "react-shadow": "^19.0.3",
71
- "zustand": "^4.3.3"
72
- },
73
- "devDependencies": {
74
- "@babel/core": "^7.20.2",
75
- "@babel/plugin-syntax-typescript": "^7.20.0",
76
- "@esbuild-plugins/node-globals-polyfill": "^0.1.1",
77
- "@testing-library/jest-dom": "^5.16.5",
78
- "@testing-library/react": "^14.0.0",
79
- "@types/jest": "^29.5.0",
80
- "@types/node": "18.11.9",
81
- "@types/qrcode": "^1.5.0",
82
- "@types/react": "18.0.25",
83
- "@types/react-dom": "18.0.9",
84
- "@typescript-eslint/eslint-plugin": "5.20.0",
85
- "@typescript-eslint/parser": "5.20.0",
86
- "autoprefixer": "^10.4.13",
87
- "babel-plugin-macros": "^3.1.0",
88
- "babel-plugin-twin": "^1.1.0",
89
- "construct-style-sheets-polyfill": "^3.1.0",
90
- "esbuild": "0.14.43",
91
- "esbuild-jest": "0.5.0",
92
- "esbuild-node-externals": "1.4.1",
93
- "esbuild-plugin-alias": "0.2.1",
94
- "esbuild-style-plugin": "^1.6.0",
95
- "esbuild-visualizer": "^0.4.0",
96
- "eslint": "8.29.0",
97
- "eslint-config-prettier": "^8.5.0",
98
- "eslint-plugin-compat": "^4.1.1",
99
- "eslint-plugin-import": "2.26.0",
100
- "eslint-plugin-jsx-a11y": "^6.6.1",
101
- "eslint-plugin-prettier": "^4.2.1",
102
- "eslint-plugin-react": "^7.31.11",
103
- "eslint-plugin-react-hooks": "^4.6.0",
104
- "eslint-plugin-tailwindcss": "^3.7.1",
105
- "jest": "^29.5.0",
106
- "jest-environment-jsdom": "^29.5.0",
107
- "meow": "^11.0.0",
108
- "npm-run-all": "^4.1.5",
109
- "postcss": "^8.4.19",
110
- "prettier": "^2.7.1",
111
- "prettier-plugin-sort-imports-desc": "^1.0.0",
112
- "react": "18.2.0",
113
- "react-dom": "18.2.0",
114
- "rimraf": "^3.0.2",
115
- "tailwindcss": "^3.2.4",
116
- "tsc-alias": "^1.7.1",
117
- "twin.macro": "^3.1.0",
118
- "typescript": "4.9.3"
119
- },
120
- "browserslist": {
121
- "production": [
122
- ">0.2%",
123
- "not dead",
124
- "not op_mini all"
125
- ],
126
- "development": [
127
- "last 1 chrome version",
128
- "last 1 firefox version",
129
- "last 1 safari version"
130
- ]
131
- },
132
- "babelMacros": {
133
- "twin": {
134
- "preset": "stitches",
135
- "stitchesConfig": "stitches.config.ts"
136
- }
137
- }
138
- }
2
+ "name": "@worldcoin/idkit",
3
+ "description": "The identity SDK. Privacy-preserving identity and proof of personhood with World ID.",
4
+ "type": "module",
5
+ "types": "./build/src/index.d.ts",
6
+ "version": "0.5.1",
7
+ "private": false,
8
+ "main": "./build/index.cjs",
9
+ "module": "./build/index.js",
10
+ "files": [
11
+ "build/**",
12
+ "!build/idkit-js-dev.js"
13
+ ],
14
+ "keywords": [
15
+ "identity",
16
+ "ID",
17
+ "web3",
18
+ "proof-of-personhood",
19
+ "sybil resistance"
20
+ ],
21
+ "author": "",
22
+ "license": "MIT",
23
+ "homepage": "https://github.com/worldcoin/idkit-js",
24
+ "repository": "github:worldcoin/idkit-js",
25
+ "peerDependencies": {
26
+ "react": ">18.0.0",
27
+ "react-dom": ">18.0.0"
28
+ },
29
+ "dependencies": {
30
+ "@fontsource/rubik": "^4.5.11",
31
+ "@headlessui/react": "^1.7.4",
32
+ "@radix-ui/react-dialog": "^1.0.3",
33
+ "@radix-ui/react-toast": "^1.1.3",
34
+ "@stitches/react": "^1.2.8",
35
+ "@tailwindcss/forms": "^0.5.3",
36
+ "@walletconnect/sign-client": "^2.2.0",
37
+ "@walletconnect/types": "^2.2.0",
38
+ "@walletconnect/utils": "^2.2.1",
39
+ "copy-to-clipboard": "^3.3.3",
40
+ "country-telephone-data": "^0.6.3",
41
+ "framer-motion": "^7.6.7",
42
+ "phone": "^3.1.37",
43
+ "posthog-js-lite": "2.4.0",
44
+ "qr-code-styling-new": "^1.6.1",
45
+ "qrcode": "^1.5.1",
46
+ "react-countdown": "^2.3.4",
47
+ "react-country-flag": "^3.1.0",
48
+ "react-frame-component": "^5.2.3",
49
+ "react-shadow": "^19.0.3",
50
+ "viem": "^0.3.37",
51
+ "zustand": "^4.3.3"
52
+ },
53
+ "devDependencies": {
54
+ "@babel/core": "^7.20.2",
55
+ "@babel/plugin-syntax-typescript": "^7.20.0",
56
+ "@esbuild-plugins/node-globals-polyfill": "^0.1.1",
57
+ "@testing-library/jest-dom": "^5.16.5",
58
+ "@testing-library/react": "^14.0.0",
59
+ "@types/country-telephone-data": "^0.6.1",
60
+ "@types/jest": "^29.5.0",
61
+ "@types/node": "18.11.9",
62
+ "@types/qrcode": "^1.5.0",
63
+ "@types/react": "18.0.25",
64
+ "@types/react-dom": "18.0.9",
65
+ "@typescript-eslint/eslint-plugin": "5.20.0",
66
+ "@typescript-eslint/parser": "5.20.0",
67
+ "autoprefixer": "^10.4.13",
68
+ "babel-plugin-macros": "^3.1.0",
69
+ "babel-plugin-twin": "^1.1.0",
70
+ "construct-style-sheets-polyfill": "^3.1.0",
71
+ "esbuild": "0.14.43",
72
+ "esbuild-jest": "0.5.0",
73
+ "esbuild-node-externals": "1.4.1",
74
+ "esbuild-plugin-alias": "0.2.1",
75
+ "esbuild-style-plugin": "^1.6.0",
76
+ "esbuild-visualizer": "^0.4.0",
77
+ "eslint": "8.29.0",
78
+ "eslint-config-prettier": "^8.5.0",
79
+ "eslint-plugin-compat": "^4.1.1",
80
+ "eslint-plugin-import": "2.26.0",
81
+ "eslint-plugin-jsx-a11y": "^6.6.1",
82
+ "eslint-plugin-prettier": "^4.2.1",
83
+ "eslint-plugin-react": "^7.31.11",
84
+ "eslint-plugin-react-hooks": "^4.6.0",
85
+ "eslint-plugin-tailwindcss": "^3.7.1",
86
+ "jest": "^29.5.0",
87
+ "jest-environment-jsdom": "^29.5.0",
88
+ "meow": "^11.0.0",
89
+ "npm-run-all": "^4.1.5",
90
+ "postcss": "^8.4.19",
91
+ "prettier": "^2.7.1",
92
+ "prettier-plugin-sort-imports-desc": "^1.0.0",
93
+ "react": "18.2.0",
94
+ "react-dom": "18.2.0",
95
+ "rimraf": "^3.0.2",
96
+ "tailwindcss": "^3.2.4",
97
+ "tsc-alias": "^1.7.1",
98
+ "twin.macro": "^3.1.0",
99
+ "typescript": "4.9.3"
100
+ },
101
+ "browserslist": {
102
+ "production": [
103
+ ">0.2%",
104
+ "not dead",
105
+ "not op_mini all"
106
+ ],
107
+ "development": [
108
+ "last 1 chrome version",
109
+ "last 1 firefox version",
110
+ "last 1 safari version"
111
+ ]
112
+ },
113
+ "babelMacros": {
114
+ "twin": {
115
+ "preset": "stitches",
116
+ "stitchesConfig": "stitches.config.ts"
117
+ }
118
+ },
119
+ "scripts": {
120
+ "analyze-bundle": "esbuild-visualizer --metadata ./esbuild-meta.json --filename esbuild-stats.html && open esbuild-stats.html",
121
+ "build": "npm-run-all clean build:*",
122
+ "build:css": "npx tailwindcss -i ./src/styles/styles.css -o ./build/index.css --minify",
123
+ "build:declarations": "tsc && tsc-alias",
124
+ "build:esm": "node esbuild/production.js -p esm",
125
+ "build:cjs": "node esbuild/production.js -p cjs",
126
+ "build:iife": "node esbuild/production.js -p iife",
127
+ "clean": "rimraf build/",
128
+ "dev": "npm-run-all clean dev:styles --parallel dev:*",
129
+ "dev:bundle": "node esbuild/development.js",
130
+ "dev:styles": "npx tailwindcss -i ./src/styles/styles.css -o ./build/index.css",
131
+ "dev:styles-watch": "npx tailwindcss -i ./src/styles/styles.css -o ./build/index.css --watch",
132
+ "format": "prettier -w ./",
133
+ "format:check": "prettier --check ./",
134
+ "lint": "eslint --ext .tsx,.ts,.js,.jsx ./",
135
+ "lint:fix": "eslint --ext .tsx,.ts,.js,.jsx ./ --fix",
136
+ "test": "jest",
137
+ "typecheck": "tsc",
138
+ "prepublish": "npm run build"
139
+ }
140
+ }