@prampta/sdk 0.4.0 → 0.7.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": "@prampta/sdk",
3
- "version": "0.4.0",
4
- "description": "PRAMPTA SDK \u2014 authorization before generation",
3
+ "version": "0.7.0",
4
+ "description": "PRAMPTA SDK — authorization before generation",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
7
7
  "types": "dist/index.d.ts",
@@ -16,11 +16,16 @@
16
16
  "dist",
17
17
  "LICENSE"
18
18
  ],
19
+ "publishConfig": {
20
+ "access": "public"
21
+ },
19
22
  "scripts": {
20
23
  "build": "tsup src/index.ts --format cjs,esm --dts --clean",
21
24
  "typecheck": "tsc --noEmit",
22
25
  "test": "vitest run",
23
- "typecheck:examples": "tsc -p tsconfig.examples.json"
26
+ "typecheck:examples": "tsc -p tsconfig.examples.json",
27
+ "prepublishOnly": "npm run typecheck && npm run typecheck:examples && npm test",
28
+ "prepack": "npm run build"
24
29
  },
25
30
  "keywords": [
26
31
  "prampta",
@@ -32,20 +37,22 @@
32
37
  "license": "Apache-2.0",
33
38
  "devDependencies": {
34
39
  "@types/node": "^20.0.0",
40
+ "fast-check": "^4.9.0",
35
41
  "tsup": "^8.0.0",
36
42
  "typescript": "^5.4.0",
37
43
  "vitest": "^4.1.8"
38
44
  },
39
45
  "engines": {
40
- "node": ">=18.0.0"
46
+ "node": "^20.19.0 || >=22.12.0"
41
47
  },
42
48
  "dependencies": {
43
- "@noble/ed25519": "^3.1.0"
49
+ "@noble/ed25519": "^3.1.0",
50
+ "@pregen/verify": "^0.4.0"
44
51
  },
45
52
  "repository": {
46
53
  "type": "git",
47
- "url": "https://github.com/Pastheroza/PRE-GEN-PRAMPTA.git",
48
- "directory": "typescript"
54
+ "url": "git+https://github.com/Pastheroza/PPlicence.git",
55
+ "directory": "sdk/typescript"
49
56
  },
50
- "homepage": "https://github.com/Pastheroza/PRE-GEN-PRAMPTA"
57
+ "homepage": "https://github.com/Pastheroza/PPlicence/tree/main/sdk/typescript"
51
58
  }