zklicensing 0.1.0-beta.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/LICENSE +104 -0
- package/README.md +603 -0
- package/build/archiveBootstrap.d.ts +60 -0
- package/build/archiveBootstrap.js +234 -0
- package/build/buyClient.d.ts +58 -0
- package/build/buyClient.js +162 -0
- package/build/contractInterface.d.ts +55 -0
- package/build/contractInterface.js +213 -0
- package/build/countryStats.d.ts +37 -0
- package/build/countryStats.js +89 -0
- package/build/deployClient.d.ts +168 -0
- package/build/deployClient.js +172 -0
- package/build/freezeClient.d.ts +44 -0
- package/build/freezeClient.js +59 -0
- package/build/generationClient.d.ts +54 -0
- package/build/generationClient.js +113 -0
- package/build/index.d.ts +72 -0
- package/build/index.js +258 -0
- package/build/licenseProof.d.ts +26 -0
- package/build/licenseProof.js +41 -0
- package/build/licenseRecord.d.ts +39 -0
- package/build/licenseRecord.js +6 -0
- package/build/licenseStore.d.ts +49 -0
- package/build/licenseStore.js +303 -0
- package/build/manifestVerify.d.ts +30 -0
- package/build/manifestVerify.js +95 -0
- package/build/migrateClient.d.ts +43 -0
- package/build/migrateClient.js +47 -0
- package/build/ownership.d.ts +34 -0
- package/build/ownership.js +147 -0
- package/build/refundClient.d.ts +52 -0
- package/build/refundClient.js +92 -0
- package/build/renewClient.d.ts +49 -0
- package/build/renewClient.js +135 -0
- package/build/statsClient.d.ts +96 -0
- package/build/statsClient.js +28 -0
- package/build/verifyCore.d.ts +26 -0
- package/build/verifyCore.js +57 -0
- package/build/verifyService.d.ts +3 -0
- package/build/verifyService.js +690 -0
- package/package.json +118 -0
package/package.json
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "zklicensing",
|
|
3
|
+
"version": "0.1.0-beta.0",
|
|
4
|
+
"description": "Client SDK for verifying zkLicensing software licenses. Calls the keeper during the on-chain refund window, then verifies fully offline.",
|
|
5
|
+
"license": "BUSL-1.1",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"mina",
|
|
8
|
+
"zkapp",
|
|
9
|
+
"licensing",
|
|
10
|
+
"software-licensing",
|
|
11
|
+
"zk-proof",
|
|
12
|
+
"drm"
|
|
13
|
+
],
|
|
14
|
+
"type": "module",
|
|
15
|
+
"main": "build/index.js",
|
|
16
|
+
"types": "build/index.d.ts",
|
|
17
|
+
"exports": {
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./build/index.d.ts",
|
|
20
|
+
"default": "./build/index.js"
|
|
21
|
+
},
|
|
22
|
+
"./prove": {
|
|
23
|
+
"types": "./build/licenseProof.d.ts",
|
|
24
|
+
"default": "./build/licenseProof.js"
|
|
25
|
+
},
|
|
26
|
+
"./service": {
|
|
27
|
+
"types": "./build/verifyService.d.ts",
|
|
28
|
+
"default": "./build/verifyService.js"
|
|
29
|
+
},
|
|
30
|
+
"./deploy": {
|
|
31
|
+
"types": "./build/deployClient.d.ts",
|
|
32
|
+
"default": "./build/deployClient.js"
|
|
33
|
+
},
|
|
34
|
+
"./buy": {
|
|
35
|
+
"types": "./build/buyClient.d.ts",
|
|
36
|
+
"default": "./build/buyClient.js"
|
|
37
|
+
},
|
|
38
|
+
"./freeze": {
|
|
39
|
+
"types": "./build/freezeClient.d.ts",
|
|
40
|
+
"default": "./build/freezeClient.js"
|
|
41
|
+
},
|
|
42
|
+
"./renew": {
|
|
43
|
+
"types": "./build/renewClient.d.ts",
|
|
44
|
+
"default": "./build/renewClient.js"
|
|
45
|
+
},
|
|
46
|
+
"./migrate": {
|
|
47
|
+
"types": "./build/migrateClient.d.ts",
|
|
48
|
+
"default": "./build/migrateClient.js"
|
|
49
|
+
},
|
|
50
|
+
"./generation": {
|
|
51
|
+
"types": "./build/generationClient.d.ts",
|
|
52
|
+
"default": "./build/generationClient.js"
|
|
53
|
+
},
|
|
54
|
+
"./refund": {
|
|
55
|
+
"types": "./build/refundClient.d.ts",
|
|
56
|
+
"default": "./build/refundClient.js"
|
|
57
|
+
},
|
|
58
|
+
"./stats": {
|
|
59
|
+
"types": "./build/statsClient.d.ts",
|
|
60
|
+
"default": "./build/statsClient.js"
|
|
61
|
+
},
|
|
62
|
+
"./country-stats": {
|
|
63
|
+
"types": "./build/countryStats.d.ts",
|
|
64
|
+
"default": "./build/countryStats.js"
|
|
65
|
+
},
|
|
66
|
+
"./record": {
|
|
67
|
+
"types": "./build/licenseRecord.d.ts",
|
|
68
|
+
"default": "./build/licenseRecord.js"
|
|
69
|
+
},
|
|
70
|
+
"./contractInterface": {
|
|
71
|
+
"types": "./build/contractInterface.d.ts",
|
|
72
|
+
"default": "./build/contractInterface.js"
|
|
73
|
+
},
|
|
74
|
+
"./internal/*": {
|
|
75
|
+
"types": "./build/*.d.ts",
|
|
76
|
+
"default": "./build/*.js"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"bin": {
|
|
80
|
+
"zklicensing-verify": "./build/verifyService.js"
|
|
81
|
+
},
|
|
82
|
+
"dependencies": {
|
|
83
|
+
"express": "^4.19.0"
|
|
84
|
+
},
|
|
85
|
+
"peerDependencies": {
|
|
86
|
+
"o1js": "^2"
|
|
87
|
+
},
|
|
88
|
+
"peerDependenciesMeta": {
|
|
89
|
+
"o1js": {
|
|
90
|
+
"optional": true
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"files": [
|
|
94
|
+
"build/**/*.js",
|
|
95
|
+
"build/**/*.d.ts",
|
|
96
|
+
"README.md",
|
|
97
|
+
"LICENSE"
|
|
98
|
+
],
|
|
99
|
+
"scripts": {
|
|
100
|
+
"build": "tsc && tsc -p tsconfig.prove.json && cp src/licenseProof.d.ts build/licenseProof.d.ts && cp src/contractInterface.d.ts build/contractInterface.d.ts",
|
|
101
|
+
"test": "tsc -p tsconfig.test.json && find build-test -name '*.test.js' -exec node --test {} \\;",
|
|
102
|
+
"prepublishOnly": "npm test && npm run build"
|
|
103
|
+
},
|
|
104
|
+
"engines": {
|
|
105
|
+
"node": ">=20"
|
|
106
|
+
},
|
|
107
|
+
"devDependencies": {
|
|
108
|
+
"@types/express": "^4.17.21",
|
|
109
|
+
"@types/node": "^22.14.1",
|
|
110
|
+
"o1js": "^2",
|
|
111
|
+
"typescript": "^5.4.5"
|
|
112
|
+
},
|
|
113
|
+
"repository": {
|
|
114
|
+
"type": "git",
|
|
115
|
+
"url": "git+https://github.com/zklicensing/zklicensing.git"
|
|
116
|
+
},
|
|
117
|
+
"homepage": "https://zklicensing.com"
|
|
118
|
+
}
|