@affix-io/sdk 2.0.0 → 2.0.1
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 +3 -5
- package/scripts/postinstall.mjs +0 -19
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@affix-io/sdk",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Post-quantum zero-knowledge proof SDK for Node.js. Noir circuits, ML-DSA-65 attestation, Barretenberg UltraHonk proving, verifiable credentials, and privacy-preserving KYC.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -55,8 +55,7 @@
|
|
|
55
55
|
"NOTICE",
|
|
56
56
|
"SECURITY.md",
|
|
57
57
|
"CONTRIBUTING.md",
|
|
58
|
-
"AUTHORS"
|
|
59
|
-
"scripts/postinstall.mjs"
|
|
58
|
+
"AUTHORS"
|
|
60
59
|
],
|
|
61
60
|
"exports": {
|
|
62
61
|
".": {
|
|
@@ -69,8 +68,7 @@
|
|
|
69
68
|
"affix-sdk-web": "./dist/cli.js"
|
|
70
69
|
},
|
|
71
70
|
"scripts": {
|
|
72
|
-
"start": "node dist/cli.js"
|
|
73
|
-
"postinstall": "node scripts/postinstall.mjs"
|
|
71
|
+
"start": "node dist/cli.js"
|
|
74
72
|
},
|
|
75
73
|
"engines": {
|
|
76
74
|
"node": ">=18"
|
package/scripts/postinstall.mjs
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { chmodSync, existsSync, readdirSync, statSync } from "node:fs";
|
|
2
|
-
import { join } from "node:path";
|
|
3
|
-
|
|
4
|
-
const binDir = join(process.cwd(), "node_modules", ".bin");
|
|
5
|
-
if (!existsSync(binDir)) {
|
|
6
|
-
process.exit(0);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
for (const name of readdirSync(binDir)) {
|
|
10
|
-
const path = join(binDir, name);
|
|
11
|
-
try {
|
|
12
|
-
const mode = statSync(path).mode;
|
|
13
|
-
if ((mode & 0o111) === 0) {
|
|
14
|
-
chmodSync(path, mode | 0o755);
|
|
15
|
-
}
|
|
16
|
-
} catch {
|
|
17
|
-
// ignore broken symlinks
|
|
18
|
-
}
|
|
19
|
-
}
|