ckb-session-kit 0.0.0-stage → 1.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,6 +1,70 @@
1
- {
2
- "name": "ckb-session-kit",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
1
+ {
2
+ "name": "ckb-session-kit",
3
+ "version": "1.0.0",
4
+ "description": "Browser-held self-custody sessions for CKB applications",
5
+ "keywords": [
6
+ "ckb",
7
+ "nervos",
8
+ "session-keys",
9
+ "lock-script",
10
+ "self-custody",
11
+ "ccc"
12
+ ],
13
+ "license": "MIT",
14
+ "author": "Luong Thanh Tung (https://github.com/luongthanhtung03)",
15
+ "repository": "github:luongthanhtung03/ckb-session-kit",
16
+ "homepage": "https://github.com/luongthanhtung03/ckb-session-kit#readme",
17
+ "bugs": "https://github.com/luongthanhtung03/ckb-session-kit/issues",
18
+ "type": "module",
19
+ "main": "dist/index.js",
20
+ "types": "dist/index.d.ts",
21
+ "files": [
22
+ "dist",
23
+ "CHANGELOG.md"
24
+ ],
25
+ "engines": {
26
+ "node": ">=20"
27
+ },
28
+ "scripts": {
29
+ "build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.build.json",
30
+ "typecheck": "tsc --noEmit && tsc -p examples",
31
+ "check:lock-hash": "node scripts/check-lock-hash.mjs",
32
+ "test": "vitest run",
33
+ "smoke:testnet": "tsx scripts/testnet-smoke.ts",
34
+ "demo": "npm run build && npm run dev -w demo",
35
+ "build:demo": "npm run build && npm run build -w demo",
36
+ "deploy:testnet": "tsx scripts/deploy-session-lock.ts",
37
+ "smoke:lock": "tsx scripts/testnet-lock-smoke.ts",
38
+ "smoke:flow": "tsx scripts/testnet-session-flow.ts",
39
+ "smoke:pay-per-read": "tsx scripts/testnet-pay-per-read.ts",
40
+ "setup:creator": "tsx scripts/setup-creator.ts",
41
+ "setup:board": "tsx scripts/setup-board.ts",
42
+ "setup:token": "tsx scripts/setup-token.ts",
43
+ "setup:subscription-payout": "tsx scripts/setup-subscription-payout.ts",
44
+ "smoke:recover": "tsx scripts/testnet-recover.ts",
45
+ "smoke:place": "tsx scripts/testnet-place.ts",
46
+ "smoke:listen": "tsx --tsconfig examples/tsconfig.json scripts/testnet-listen.ts",
47
+ "smoke:token": "tsx scripts/testnet-token.ts",
48
+ "smoke:read-tokens": "tsx scripts/testnet-read-tokens.ts",
49
+ "smoke:subscription": "tsx scripts/testnet-subscription.ts",
50
+ "smoke:subscription-token": "tsx scripts/testnet-subscription-token.ts",
51
+ "matrix:wallets": "tsx scripts/wallet-matrix.ts",
52
+ "prepack": "npm run build",
53
+ "pack:check": "node scripts/pack-check.mjs"
54
+ },
55
+ "devDependencies": {
56
+ "@noble/curves": "^2.4.0",
57
+ "@noble/hashes": "^2.4.0",
58
+ "@types/node": "^22.20.5",
59
+ "ckb-testtool": "^1.0.5",
60
+ "tsx": "^4.23.15",
61
+ "typescript": "~5.8.2",
62
+ "vitest": "^4.1.12"
63
+ },
64
+ "dependencies": {
65
+ "@ckb-ccc/core": "^1.23.0"
66
+ },
67
+ "workspaces": [
68
+ "demo"
69
+ ]
70
+ }