@orangecheck/sdk 0.1.4 → 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,107 +1,110 @@
1
1
  {
2
- "name": "@orangecheck/sdk",
3
- "version": "0.1.4",
4
- "description": "OrangeCheck SDK — proof of Bitcoin stake for the open web. A sybil-resistance primitive for any app.",
5
- "keywords": [
6
- "bitcoin",
7
- "sybil-resistance",
8
- "bip322",
9
- "nostr",
10
- "attestation",
11
- "anti-spam",
12
- "verification",
13
- "orangecheck"
14
- ],
15
- "author": "OrangeCheck",
16
- "license": "MIT",
17
- "repository": {
18
- "type": "git",
19
- "url": "https://github.com/orangecheck/oc-packages.git",
20
- "directory": "sdk"
2
+ "name": "@orangecheck/sdk",
3
+ "version": "1.0.0",
4
+ "description": "OrangeCheck SDK \u2014 proof of Bitcoin stake for the open web. A sybil-resistance primitive for any app.",
5
+ "keywords": [
6
+ "bitcoin",
7
+ "sybil-resistance",
8
+ "bip322",
9
+ "nostr",
10
+ "attestation",
11
+ "anti-spam",
12
+ "verification",
13
+ "orangecheck"
14
+ ],
15
+ "author": "OrangeCheck",
16
+ "license": "MIT",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "https://github.com/orangecheck/oc-packages.git",
20
+ "directory": "sdk"
21
+ },
22
+ "homepage": "https://ochk.io",
23
+ "bugs": {
24
+ "url": "https://github.com/orangecheck/oc-packages/issues"
25
+ },
26
+ "main": "./dist/index.js",
27
+ "module": "./dist/index.mjs",
28
+ "types": "./dist/index.d.ts",
29
+ "exports": {
30
+ ".": {
31
+ "types": "./dist/index.d.ts",
32
+ "import": "./dist/index.mjs",
33
+ "require": "./dist/index.js"
21
34
  },
22
- "homepage": "https://ochk.io",
23
- "bugs": {
24
- "url": "https://github.com/orangecheck/oc-web/issues"
35
+ "./canonical": {
36
+ "types": "./dist/canonical.d.ts",
37
+ "import": "./dist/canonical.mjs",
38
+ "require": "./dist/canonical.js"
25
39
  },
26
- "main": "./dist/index.js",
27
- "module": "./dist/index.mjs",
28
- "types": "./dist/index.d.ts",
29
- "exports": {
30
- ".": {
31
- "types": "./dist/index.d.ts",
32
- "import": "./dist/index.mjs",
33
- "require": "./dist/index.js"
34
- },
35
- "./canonical": {
36
- "types": "./dist/canonical.d.ts",
37
- "import": "./dist/canonical.mjs",
38
- "require": "./dist/canonical.js"
39
- },
40
- "./verify": {
41
- "types": "./dist/verify.d.ts",
42
- "import": "./dist/verify.mjs",
43
- "require": "./dist/verify.js"
44
- },
45
- "./attestation": {
46
- "types": "./dist/attestation.d.ts",
47
- "import": "./dist/attestation.mjs",
48
- "require": "./dist/attestation.js"
49
- },
50
- "./nostr": {
51
- "types": "./dist/nostr.d.ts",
52
- "import": "./dist/nostr.mjs",
53
- "require": "./dist/nostr.js"
54
- },
55
- "./identity": {
56
- "types": "./dist/identity.d.ts",
57
- "import": "./dist/identity.mjs",
58
- "require": "./dist/identity.js"
59
- },
60
- "./scoring": {
61
- "types": "./dist/scoring.d.ts",
62
- "import": "./dist/scoring.mjs",
63
- "require": "./dist/scoring.js"
64
- },
65
- "./challenge": {
66
- "types": "./dist/challenge.d.ts",
67
- "import": "./dist/challenge.mjs",
68
- "require": "./dist/challenge.js"
69
- }
40
+ "./verify": {
41
+ "types": "./dist/verify.d.ts",
42
+ "import": "./dist/verify.mjs",
43
+ "require": "./dist/verify.js"
70
44
  },
71
- "files": [
72
- "dist",
73
- "README.md",
74
- "LICENSE"
75
- ],
76
- "scripts": {
77
- "build": "tsup",
78
- "dev": "tsup --watch",
79
- "type-check": "tsc --noEmit",
80
- "test": "vitest run",
81
- "test:watch": "vitest",
82
- "clean": "rm -rf dist",
83
- "prepublishOnly": "npm run clean && npm run build",
84
- "test:pack": "npm pack",
85
- "version:patch": "npm version patch",
86
- "version:minor": "npm version minor",
87
- "version:major": "npm version major"
45
+ "./attestation": {
46
+ "types": "./dist/attestation.d.ts",
47
+ "import": "./dist/attestation.mjs",
48
+ "require": "./dist/attestation.js"
88
49
  },
89
- "dependencies": {
90
- "@bitcoinerlab/secp256k1": "^1.1.1",
91
- "@noble/curves": "^2.2.0",
92
- "@noble/hashes": "^1.5.0",
93
- "@scure/base": "^1.1.9",
94
- "bip322-js": "^3.0.0",
95
- "bitcoinjs-message": "^2.2.0",
96
- "buffer": "^6.0.3"
50
+ "./nostr": {
51
+ "types": "./dist/nostr.d.ts",
52
+ "import": "./dist/nostr.mjs",
53
+ "require": "./dist/nostr.js"
97
54
  },
98
- "devDependencies": {
99
- "@types/node": "^22.10.2",
100
- "tsup": "^8.3.5",
101
- "typescript": "^5.7.2",
102
- "vitest": "^3.2.4"
55
+ "./identity": {
56
+ "types": "./dist/identity.d.ts",
57
+ "import": "./dist/identity.mjs",
58
+ "require": "./dist/identity.js"
103
59
  },
104
- "engines": {
105
- "node": ">=18.0.0"
60
+ "./scoring": {
61
+ "types": "./dist/scoring.d.ts",
62
+ "import": "./dist/scoring.mjs",
63
+ "require": "./dist/scoring.js"
64
+ },
65
+ "./challenge": {
66
+ "types": "./dist/challenge.d.ts",
67
+ "import": "./dist/challenge.mjs",
68
+ "require": "./dist/challenge.js"
106
69
  }
70
+ },
71
+ "files": [
72
+ "dist",
73
+ "README.md",
74
+ "LICENSE"
75
+ ],
76
+ "scripts": {
77
+ "build": "tsup",
78
+ "dev": "tsup --watch",
79
+ "type-check": "tsc --noEmit",
80
+ "test": "vitest run",
81
+ "test:watch": "vitest",
82
+ "clean": "rm -rf dist",
83
+ "prepublishOnly": "npm run clean && npm run build",
84
+ "test:pack": "npm pack",
85
+ "version:patch": "npm version patch",
86
+ "version:minor": "npm version minor",
87
+ "version:major": "npm version major"
88
+ },
89
+ "dependencies": {
90
+ "@bitcoinerlab/secp256k1": "^1.1.1",
91
+ "@noble/curves": "^2.2.0",
92
+ "@noble/hashes": "^1.5.0",
93
+ "@scure/base": "^1.1.9",
94
+ "bip322-js": "^3.0.0",
95
+ "bitcoinjs-message": "^2.2.0",
96
+ "buffer": "^6.0.3"
97
+ },
98
+ "devDependencies": {
99
+ "@types/node": "^22.10.2",
100
+ "tsup": "^8.3.5",
101
+ "typescript": "^5.7.2",
102
+ "vitest": "^3.2.4"
103
+ },
104
+ "engines": {
105
+ "node": ">=18.0.0"
106
+ },
107
+ "publishConfig": {
108
+ "access": "public"
109
+ }
107
110
  }