@lightprotocol/compressed-token 0.17.1 → 0.17.2-alpha.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightprotocol/compressed-token",
3
- "version": "0.17.1",
3
+ "version": "0.17.2-alpha.1",
4
4
  "description": "JS client to interact with the compressed-token program",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/node/index.cjs",
@@ -21,13 +21,6 @@
21
21
  "files": [
22
22
  "dist"
23
23
  ],
24
- "keywords": [
25
- "zk",
26
- "compression",
27
- "light",
28
- "stateless",
29
- "solana"
30
- ],
31
24
  "maintainers": [
32
25
  {
33
26
  "name": "Light Protocol Maintainers",
@@ -36,17 +29,19 @@
36
29
  ],
37
30
  "license": "Apache-2.0",
38
31
  "peerDependencies": {
39
- "@lightprotocol/stateless.js": "0.17.1"
32
+ "@solana/spl-token": ">=0.3.9",
33
+ "@solana/web3.js": ">=1.73.5",
34
+ "@lightprotocol/stateless.js": "0.17.2-alpha.2"
40
35
  },
41
36
  "dependencies": {
42
- "@coral-xyz/anchor": "0.29.0",
43
- "@solana/web3.js": "1.95.3",
44
- "@solana/spl-token": "0.4.8",
45
- "buffer": "6.0.3",
46
- "tweetnacl": "1.0.3"
37
+ "@coral-xyz/borsh": "^0.29.0",
38
+ "bn.js": "^5.2.1",
39
+ "buffer": "6.0.3"
47
40
  },
48
41
  "devDependencies": {
42
+ "@coral-xyz/anchor": "^0.29.0",
49
43
  "@esbuild-plugins/node-globals-polyfill": "^0.2.3",
44
+ "@lightprotocol/hasher.rs": "0.2.1",
50
45
  "@rollup/plugin-alias": "^5.1.0",
51
46
  "@rollup/plugin-babel": "^6.0.4",
52
47
  "@rollup/plugin-commonjs": "^26.0.1",
@@ -55,6 +50,9 @@
55
50
  "@rollup/plugin-replace": "^5.0.7",
56
51
  "@rollup/plugin-terser": "^0.4.4",
57
52
  "@rollup/plugin-typescript": "^11.1.6",
53
+ "@solana/spl-token": "0.4.8",
54
+ "@solana/web3.js": "1.98.0",
55
+ "@types/bn.js": "^5.1.5",
58
56
  "@types/node": "^22.5.5",
59
57
  "@typescript-eslint/eslint-plugin": "^7.13.1",
60
58
  "@typescript-eslint/parser": "^7.13.1",
@@ -76,9 +74,15 @@
76
74
  "tslib": "^2.7.0",
77
75
  "typescript": "^5.6.2",
78
76
  "vitest": "^2.1.1",
79
- "@lightprotocol/hasher.rs": "0.2.0",
80
77
  "@lightprotocol/programs": "0.3.0"
81
78
  },
79
+ "keywords": [
80
+ "zk",
81
+ "compression",
82
+ "light",
83
+ "stateless",
84
+ "solana"
85
+ ],
82
86
  "nx": {
83
87
  "targets": {
84
88
  "build": {
@@ -96,7 +100,8 @@
96
100
  "test:unit:all": "EXCLUDE_E2E=true vitest run",
97
101
  "test-all:verbose": "vitest run --reporter=verbose",
98
102
  "test-validator": "./../../cli/test_bin/run test-validator --prover-run-mode rpc",
99
- "test:e2e:create-mint": "pnpm test-validator && vitest run tests/e2e/create-mint.test.ts",
103
+ "test:e2e:create-mint": "pnpm test-validator && NODE_OPTIONS='--trace-deprecation' vitest run tests/e2e/create-mint.test.ts --reporter=verbose",
104
+ "test:e2e:layout": "vitest run tests/e2e/layout.test.ts --reporter=verbose",
100
105
  "test:e2e:create-token-pool": "pnpm test-validator && vitest run tests/e2e/create-token-pool.test.ts",
101
106
  "test:e2e:mint-to": "pnpm test-validator && vitest run tests/e2e/mint-to.test.ts --reporter=verbose",
102
107
  "test:e2e:approve-and-mint-to": "pnpm test-validator && vitest run tests/e2e/approve-and-mint-to.test.ts --reporter=verbose",
@@ -106,10 +111,9 @@
106
111
  "test:e2e:compress-spl-token-account": "pnpm test-validator && vitest run tests/e2e/compress-spl-token-account.test.ts --reporter=verbose",
107
112
  "test:e2e:decompress": "pnpm test-validator && vitest run tests/e2e/decompress.test.ts --reporter=verbose",
108
113
  "test:e2e:rpc-token-interop": "pnpm test-validator && vitest run tests/e2e/rpc-token-interop.test.ts --reporter=verbose",
109
- "test:e2e:custom-program-id": "vitest run tests/e2e/custom-program-id.test.ts --reporter=verbose",
110
- "test:e2e:all": "pnpm test-validator && vitest run tests/e2e/create-mint.test.ts && vitest run tests/e2e/mint-to.test.ts && vitest run tests/e2e/transfer.test.ts && vitest run tests/e2e/compress.test.ts && vitest run tests/e2e/compress-spl-token-account.test.ts && vitest run tests/e2e/decompress.test.ts && vitest run tests/e2e/create-token-pool.test.ts && vitest run tests/e2e/approve-and-mint-to.test.ts && vitest run tests/e2e/rpc-token-interop.test.ts && vitest run tests/e2e/custom-program-id.test.ts",
114
+ "test:e2e:all": "pnpm test-validator && vitest run tests/e2e/create-mint.test.ts && vitest run tests/e2e/mint-to.test.ts && vitest run tests/e2e/transfer.test.ts && vitest run tests/e2e/compress.test.ts && vitest run tests/e2e/compress-spl-token-account.test.ts && vitest run tests/e2e/decompress.test.ts && vitest run tests/e2e/create-token-pool.test.ts && vitest run tests/e2e/approve-and-mint-to.test.ts && vitest run tests/e2e/rpc-token-interop.test.ts",
111
115
  "pull-idl": "../../scripts/push-compressed-token-idl.sh",
112
- "build": "rimraf dist && pnpm pull-idl && pnpm build:bundle",
116
+ "build": "rimraf dist && pnpm build:bundle",
113
117
  "build:bundle": "rollup -c",
114
118
  "format": "prettier --write .",
115
119
  "lint": "eslint ."