@lightprotocol/compressed-token 0.11.1 → 0.13.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 +3090 -2195
- package/dist/cjs/browser/index.cjs.map +1 -1
- package/dist/cjs/node/index.cjs +1273 -610
- package/dist/cjs/node/index.cjs.map +1 -1
- package/dist/es/browser/index.js +3017 -2158
- package/dist/es/browser/index.js.map +1 -1
- package/dist/types/index.d.ts +303 -218
- package/package.json +23 -21
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightprotocol/compressed-token",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.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",
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
],
|
|
37
37
|
"license": "Apache-2.0",
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@
|
|
40
|
-
"@lightprotocol/stateless.js": "0.11.0"
|
|
39
|
+
"@lightprotocol/stateless.js": "0.13.0"
|
|
41
40
|
},
|
|
42
41
|
"dependencies": {
|
|
43
42
|
"@coral-xyz/anchor": "0.29.0",
|
|
44
|
-
"@solana/
|
|
43
|
+
"@solana/web3.js": "^1.95.3",
|
|
44
|
+
"@solana/spl-token": "^0.4.8",
|
|
45
45
|
"buffer": "^6.0.3",
|
|
46
46
|
"tweetnacl": "^1.0.3"
|
|
47
47
|
},
|
|
@@ -49,32 +49,33 @@
|
|
|
49
49
|
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
|
|
50
50
|
"@rollup/plugin-alias": "^5.1.0",
|
|
51
51
|
"@rollup/plugin-babel": "^6.0.4",
|
|
52
|
-
"@rollup/plugin-commonjs": "^
|
|
52
|
+
"@rollup/plugin-commonjs": "^26.0.1",
|
|
53
53
|
"@rollup/plugin-json": "^6.1.0",
|
|
54
54
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
55
|
-
"@rollup/plugin-replace": "^5.0.
|
|
55
|
+
"@rollup/plugin-replace": "^5.0.7",
|
|
56
56
|
"@rollup/plugin-terser": "^0.4.4",
|
|
57
|
-
"@rollup/plugin-typescript": "^11.1.
|
|
58
|
-
"@types/node": "^
|
|
59
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
57
|
+
"@rollup/plugin-typescript": "^11.1.6",
|
|
58
|
+
"@types/node": "^22.5.5",
|
|
59
|
+
"@typescript-eslint/eslint-plugin": "^7.13.1",
|
|
60
|
+
"@typescript-eslint/parser": "^7.13.1",
|
|
60
61
|
"add": "^2.0.6",
|
|
61
62
|
"crypto-browserify": "^3.12.0",
|
|
62
|
-
"eslint": "8.
|
|
63
|
-
"eslint-plugin-import": "^2.
|
|
64
|
-
"eslint-plugin-n": "^
|
|
65
|
-
"eslint-plugin-promise": "^
|
|
63
|
+
"eslint": "^8.56.0",
|
|
64
|
+
"eslint-plugin-import": "^2.30.0",
|
|
65
|
+
"eslint-plugin-n": "^17.10.2",
|
|
66
|
+
"eslint-plugin-promise": "^7.1.0",
|
|
66
67
|
"eslint-plugin-vitest": "^0.5.4",
|
|
67
68
|
"prettier": "^3.3.3",
|
|
68
|
-
"rimraf": "^
|
|
69
|
-
"rollup": "^4.
|
|
69
|
+
"rimraf": "^6.0.1",
|
|
70
|
+
"rollup": "^4.21.3",
|
|
70
71
|
"rollup-plugin-copy": "^3.5.0",
|
|
71
|
-
"rollup-plugin-dts": "^6.1.
|
|
72
|
+
"rollup-plugin-dts": "^6.1.1",
|
|
72
73
|
"rollup-plugin-polyfill-node": "^0.13.0",
|
|
73
74
|
"rollup-plugin-visualizer": "^5.12.0",
|
|
74
75
|
"ts-node": "^10.9.2",
|
|
75
|
-
"tslib": "^2.
|
|
76
|
-
"typescript": "^5.
|
|
77
|
-
"vitest": "^1.
|
|
76
|
+
"tslib": "^2.7.0",
|
|
77
|
+
"typescript": "^5.6.2",
|
|
78
|
+
"vitest": "^2.1.1",
|
|
78
79
|
"@lightprotocol/hasher.rs": "0.2.0",
|
|
79
80
|
"@lightprotocol/programs": "0.3.0"
|
|
80
81
|
},
|
|
@@ -96,14 +97,15 @@
|
|
|
96
97
|
"test-all:verbose": "vitest run --reporter=verbose",
|
|
97
98
|
"test-validator": "./../../cli/test_bin/run test-validator",
|
|
98
99
|
"test:e2e:create-mint": "pnpm test-validator && vitest run tests/e2e/create-mint.test.ts",
|
|
99
|
-
"test:e2e:
|
|
100
|
+
"test:e2e:create-token-pool": "pnpm test-validator && vitest run tests/e2e/create-token-pool.test.ts",
|
|
100
101
|
"test:e2e:mint-to": "pnpm test-validator && vitest run tests/e2e/mint-to.test.ts --reporter=verbose",
|
|
101
102
|
"test:e2e:approve-and-mint-to": "pnpm test-validator && vitest run tests/e2e/approve-and-mint-to.test.ts --reporter=verbose",
|
|
103
|
+
"test:e2e:merge-token-accounts": "pnpm test-validator && vitest run tests/e2e/merge-token-accounts.test.ts --reporter=verbose",
|
|
102
104
|
"test:e2e:transfer": "pnpm test-validator && vitest run tests/e2e/transfer.test.ts --reporter=verbose",
|
|
103
105
|
"test:e2e:compress": "pnpm test-validator && vitest run tests/e2e/compress.test.ts --reporter=verbose",
|
|
104
106
|
"test:e2e:decompress": "pnpm test-validator && vitest run tests/e2e/decompress.test.ts --reporter=verbose",
|
|
105
107
|
"test:e2e:rpc-token-interop": "pnpm test-validator && vitest run tests/e2e/rpc-token-interop.test.ts --reporter=verbose",
|
|
106
|
-
"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/decompress.test.ts && vitest run tests/e2e/
|
|
108
|
+
"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/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",
|
|
107
109
|
"pull-idl": "../../scripts/push-compressed-token-idl.sh",
|
|
108
110
|
"build": "rimraf dist && pnpm pull-idl && pnpm build:bundle",
|
|
109
111
|
"build:bundle": "rollup -c",
|