@thurinlabs/identity-kit 1.3.7 → 2.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@thurinlabs/identity-kit",
3
- "version": "1.3.7",
4
- "description": "React SDK for embedding Thurin identity data",
3
+ "version": "2.0.0",
4
+ "description": "Check Thurin.id claims (PGP keys on Ethereum addresses) in Node, workers, or the browser",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/thurinlabs/identity-kit.git"
@@ -20,17 +20,13 @@
20
20
  "import": "./dist/index.js",
21
21
  "require": "./dist/index.cjs"
22
22
  },
23
- "./styles": "./dist/index.css",
24
- "./embed": "./dist/embed.global.js",
25
23
  "./core": {
26
24
  "types": "./dist/core.d.ts",
27
25
  "import": "./dist/core.js",
28
26
  "require": "./dist/core.cjs"
29
27
  }
30
28
  },
31
- "sideEffects": [
32
- "*.css"
33
- ],
29
+ "sideEffects": false,
34
30
  "files": [
35
31
  "dist"
36
32
  ],
@@ -41,30 +37,17 @@
41
37
  "prepublishOnly": "node -e \"const o=require('child_process').execSync('git status --porcelain').toString().trim(); if (o) { console.error('Refusing to publish: uncommitted changes. npm would ship whatever dist/ holds, not a commit.\\n'+o); process.exit(1) }\" && npm test && npm run build"
42
38
  },
43
39
  "peerDependencies": {
44
- "@tanstack/react-query": ">=5",
45
- "react": ">=18",
46
- "react-dom": ">=18",
47
- "viem": ">=2",
48
- "wagmi": ">=2"
40
+ "viem": ">=2"
49
41
  },
50
42
  "dependencies": {
51
43
  "eckey-utils": "^0.7.14",
52
44
  "openpgp": "^6.3.0"
53
45
  },
54
46
  "devDependencies": {
55
- "@tanstack/react-query": "^5.56.0",
56
- "@testing-library/jest-dom": "^6.6.0",
57
- "@testing-library/react": "^16.0.0",
58
- "@types/react": "^19.2.14",
59
- "@types/react-dom": "^19.2.3",
60
- "jsdom": "^25.0.0",
61
- "react": "^18.3.1",
62
- "react-dom": "^18.3.1",
63
47
  "tsup": "^8.0.0",
64
48
  "typescript": "^5.5.0",
65
49
  "viem": "^2.21.0",
66
- "vitest": "^2.0.0",
67
- "wagmi": "^2.12.0"
50
+ "vitest": "^2.0.0"
68
51
  },
69
52
  "license": "MIT"
70
53
  }