@cloak.ag/sdk 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 ADDED
@@ -0,0 +1,91 @@
1
+ {
2
+ "name": "@cloak.ag/sdk",
3
+ "version": "1.0.0",
4
+ "description": "TypeScript SDK for Cloak Protocol - Private transactions on Solana",
5
+ "type": "module",
6
+ "main": "dist/index.cjs",
7
+ "module": "dist/index.js",
8
+ "types": "dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js",
13
+ "require": "./dist/index.cjs"
14
+ }
15
+ },
16
+ "scripts": {
17
+ "build": "tsup src/index.ts --format cjs,esm --dts",
18
+ "lint": "tsc --noEmit",
19
+ "test": "NODE_OPTIONS=--experimental-vm-modules jest",
20
+ "test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch",
21
+ "test:coverage": "NODE_OPTIONS=--experimental-vm-modules jest --coverage",
22
+ "test:verbose": "NODE_OPTIONS=--experimental-vm-modules jest --verbose",
23
+ "prepublishOnly": "npm run build",
24
+ "example:single": "tsx examples/single-withdraw.ts",
25
+ "example:multiple": "tsx examples/multiple-withdraw.ts",
26
+ "example:swap": "tsx examples/swap.ts"
27
+ },
28
+ "keywords": [
29
+ "solana",
30
+ "cloak",
31
+ "privacy",
32
+ "zero-knowledge",
33
+ "zkp",
34
+ "private-transactions",
35
+ "web3",
36
+ "blockchain"
37
+ ],
38
+ "author": "Cloak Labs",
39
+ "license": "Apache-2.0",
40
+ "repository": {
41
+ "type": "git",
42
+ "url": "git+https://github.com/cloak-ag/sdk.git"
43
+ },
44
+ "homepage": "https://cloak.ag",
45
+ "bugs": {
46
+ "url": "https://github.com/cloak-ag/sdk/issues"
47
+ },
48
+ "dependencies": {
49
+ "@noble/hashes": "^2.0.1",
50
+ "@solana/spl-token": "^0.4.0",
51
+ "@solana/web3.js": "^1.95.0",
52
+ "bs58": "^6.0.0",
53
+ "circomlibjs": "^0.1.7",
54
+ "ffjavascript": "^0.3.0",
55
+ "snarkjs": "^0.7.4",
56
+ "blake3": "^2.1.7",
57
+ "tweetnacl": "^1.0.3",
58
+ "tweetnacl-util": "^0.15.1"
59
+ },
60
+ "devDependencies": {
61
+ "@types/jest": "^29.5.0",
62
+ "@types/node": "^22.0.0",
63
+ "jest": "^29.5.0",
64
+ "ts-jest": "^29.1.0",
65
+ "ts-node": "^10.9.0",
66
+ "tsconfig-paths": "^4.2.0",
67
+ "tsup": "^8.0.0",
68
+ "tsx": "^4.20.6",
69
+ "typescript": "^5.0.0"
70
+ },
71
+ "peerDependencies": {
72
+ "@solana/spl-token": "^0.4.0",
73
+ "@solana/web3.js": "^1.0.0"
74
+ },
75
+ "peerDependenciesMeta": {
76
+ "@solana/spl-token": {
77
+ "optional": true
78
+ }
79
+ },
80
+ "files": [
81
+ "dist",
82
+ "README.md",
83
+ "LICENSE"
84
+ ],
85
+ "publishConfig": {
86
+ "access": "public"
87
+ },
88
+ "engines": {
89
+ "node": ">=18.0.0"
90
+ }
91
+ }