@lightprotocol/compressed-token 0.17.0 → 0.17.2-alpha.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/dist/cjs/browser/index.cjs +1 -2827
- package/dist/cjs/browser/index.cjs.map +1 -1
- package/dist/cjs/node/index.cjs +1 -2827
- package/dist/cjs/node/index.cjs.map +1 -1
- package/dist/es/browser/index.js +1 -2802
- package/dist/es/browser/index.js.map +1 -1
- package/dist/types/index.d.ts +34 -1841
- package/package.json +19 -17
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightprotocol/compressed-token",
|
|
3
|
-
"version": "0.17.0",
|
|
3
|
+
"version": "0.17.2-alpha.0",
|
|
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,18 @@
|
|
|
36
29
|
],
|
|
37
30
|
"license": "Apache-2.0",
|
|
38
31
|
"peerDependencies": {
|
|
39
|
-
"@
|
|
32
|
+
"@solana/web3.js": ">=1.73.5",
|
|
33
|
+
"@lightprotocol/stateless.js": "0.17.2-alpha.1"
|
|
40
34
|
},
|
|
41
35
|
"dependencies": {
|
|
42
|
-
"@coral-xyz/
|
|
43
|
-
"@solana/web3.js": "1.95.3",
|
|
36
|
+
"@coral-xyz/borsh": "^0.29.0",
|
|
44
37
|
"@solana/spl-token": "0.4.8",
|
|
45
|
-
"
|
|
46
|
-
"
|
|
38
|
+
"bn.js": "^5.2.1",
|
|
39
|
+
"buffer": "6.0.3"
|
|
47
40
|
},
|
|
48
41
|
"devDependencies": {
|
|
49
42
|
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
|
|
43
|
+
"@lightprotocol/hasher.rs": "0.2.1",
|
|
50
44
|
"@rollup/plugin-alias": "^5.1.0",
|
|
51
45
|
"@rollup/plugin-babel": "^6.0.4",
|
|
52
46
|
"@rollup/plugin-commonjs": "^26.0.1",
|
|
@@ -55,6 +49,8 @@
|
|
|
55
49
|
"@rollup/plugin-replace": "^5.0.7",
|
|
56
50
|
"@rollup/plugin-terser": "^0.4.4",
|
|
57
51
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
52
|
+
"@solana/web3.js": "1.98.0",
|
|
53
|
+
"@types/bn.js": "^5.1.5",
|
|
58
54
|
"@types/node": "^22.5.5",
|
|
59
55
|
"@typescript-eslint/eslint-plugin": "^7.13.1",
|
|
60
56
|
"@typescript-eslint/parser": "^7.13.1",
|
|
@@ -76,9 +72,15 @@
|
|
|
76
72
|
"tslib": "^2.7.0",
|
|
77
73
|
"typescript": "^5.6.2",
|
|
78
74
|
"vitest": "^2.1.1",
|
|
79
|
-
"@lightprotocol/hasher.rs": "0.2.0",
|
|
80
75
|
"@lightprotocol/programs": "0.3.0"
|
|
81
76
|
},
|
|
77
|
+
"keywords": [
|
|
78
|
+
"zk",
|
|
79
|
+
"compression",
|
|
80
|
+
"light",
|
|
81
|
+
"stateless",
|
|
82
|
+
"solana"
|
|
83
|
+
],
|
|
82
84
|
"nx": {
|
|
83
85
|
"targets": {
|
|
84
86
|
"build": {
|
|
@@ -97,6 +99,7 @@
|
|
|
97
99
|
"test-all:verbose": "vitest run --reporter=verbose",
|
|
98
100
|
"test-validator": "./../../cli/test_bin/run test-validator --prover-run-mode rpc",
|
|
99
101
|
"test:e2e:create-mint": "pnpm test-validator && vitest run tests/e2e/create-mint.test.ts",
|
|
102
|
+
"test:e2e:layout": "vitest run tests/e2e/layout.test.ts --reporter=verbose",
|
|
100
103
|
"test:e2e:create-token-pool": "pnpm test-validator && vitest run tests/e2e/create-token-pool.test.ts",
|
|
101
104
|
"test:e2e:mint-to": "pnpm test-validator && vitest run tests/e2e/mint-to.test.ts --reporter=verbose",
|
|
102
105
|
"test:e2e:approve-and-mint-to": "pnpm test-validator && vitest run tests/e2e/approve-and-mint-to.test.ts --reporter=verbose",
|
|
@@ -106,10 +109,9 @@
|
|
|
106
109
|
"test:e2e:compress-spl-token-account": "pnpm test-validator && vitest run tests/e2e/compress-spl-token-account.test.ts --reporter=verbose",
|
|
107
110
|
"test:e2e:decompress": "pnpm test-validator && vitest run tests/e2e/decompress.test.ts --reporter=verbose",
|
|
108
111
|
"test:e2e:rpc-token-interop": "pnpm test-validator && vitest run tests/e2e/rpc-token-interop.test.ts --reporter=verbose",
|
|
109
|
-
"test:e2e:
|
|
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",
|
|
112
|
+
"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
113
|
"pull-idl": "../../scripts/push-compressed-token-idl.sh",
|
|
112
|
-
"build": "rimraf dist && pnpm
|
|
114
|
+
"build": "rimraf dist && pnpm build:bundle",
|
|
113
115
|
"build:bundle": "rollup -c",
|
|
114
116
|
"format": "prettier --write .",
|
|
115
117
|
"lint": "eslint ."
|