@worldcoin/idkit 0.4.6 → 0.4.7

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
@@ -3,7 +3,7 @@
3
3
  "description": "The identity SDK. Privacy-preserving identity and proof of personhood with World ID.",
4
4
  "type": "module",
5
5
  "types": "./build/src/index.d.ts",
6
- "version": "0.4.6",
6
+ "version": "0.4.7",
7
7
  "private": false,
8
8
  "main": "./build/index.cjs",
9
9
  "module": "./build/index.js",
@@ -23,6 +23,7 @@
23
23
  "homepage": "https://github.com/worldcoin/idkit-js",
24
24
  "repository": "github:worldcoin/idkit-js",
25
25
  "scripts": {
26
+ "analyze-bundle": "esbuild-visualizer --metadata ./esbuild-meta.json --filename esbuild-stats.html && open esbuild-stats.html",
26
27
  "build": "npm-run-all clean build:*",
27
28
  "build:css": "npx tailwindcss -i ./src/styles/styles.css -o ./build/index.css --minify",
28
29
  "build:declarations": "tsc && tsc-alias",
@@ -38,8 +39,8 @@
38
39
  "format:check": "prettier --check ./",
39
40
  "lint": "eslint --ext .tsx,.ts,.js,.jsx ./",
40
41
  "lint:fix": "eslint --ext .tsx,.ts,.js,.jsx ./ --fix",
41
- "typecheck": "tsc",
42
- "analyze-bundle": "esbuild-visualizer --metadata ./esbuild-meta.json --filename esbuild-stats.html && open esbuild-stats.html"
42
+ "test": "jest",
43
+ "typecheck": "tsc"
43
44
  },
44
45
  "peerDependencies": {
45
46
  "react": ">18.0.0",
@@ -50,10 +51,8 @@
50
51
  "@ethersproject/solidity": "^5.7.0",
51
52
  "@fontsource/rubik": "^4.5.11",
52
53
  "@headlessui/react": "^1.7.4",
53
- "@radix-ui/react-dialog": "^1.0.2",
54
- "@radix-ui/react-scroll-area": "^1.0.2",
55
- "@radix-ui/react-select": "^1.1.2",
56
- "@radix-ui/react-toast": "^1.1.2",
54
+ "@radix-ui/react-dialog": "^1.0.3",
55
+ "@radix-ui/react-toast": "^1.1.3",
57
56
  "@stitches/react": "^1.2.8",
58
57
  "@tailwindcss/forms": "^0.5.3",
59
58
  "@walletconnect/client": "^1.8.0",
@@ -75,6 +74,9 @@
75
74
  "@babel/core": "^7.20.2",
76
75
  "@babel/plugin-syntax-typescript": "^7.20.0",
77
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",
78
80
  "@types/node": "18.11.9",
79
81
  "@types/qrcode": "^1.5.0",
80
82
  "@types/react": "18.0.25",
@@ -100,6 +102,8 @@
100
102
  "eslint-plugin-react": "^7.31.11",
101
103
  "eslint-plugin-react-hooks": "^4.6.0",
102
104
  "eslint-plugin-tailwindcss": "^3.7.1",
105
+ "jest": "^29.5.0",
106
+ "jest-environment-jsdom": "^29.5.0",
103
107
  "meow": "^11.0.0",
104
108
  "npm-run-all": "^4.1.5",
105
109
  "postcss": "^8.4.19",