@lightprotocol/compressed-token 0.12.0 → 0.13.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/dist/cjs/browser/index.cjs +3051 -2074
- package/dist/cjs/browser/index.cjs.map +1 -1
- package/dist/cjs/node/index.cjs +1234 -489
- package/dist/cjs/node/index.cjs.map +1 -1
- package/dist/es/browser/index.js +2978 -2037
- package/dist/es/browser/index.js.map +1 -1
- package/dist/types/index.d.ts +296 -100
- package/package.json +8 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightprotocol/compressed-token",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.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",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
],
|
|
37
37
|
"license": "Apache-2.0",
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@lightprotocol/stateless.js": "0.
|
|
39
|
+
"@lightprotocol/stateless.js": "0.13.1"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@coral-xyz/anchor": "0.29.0",
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
"tslib": "^2.7.0",
|
|
77
77
|
"typescript": "^5.6.2",
|
|
78
78
|
"vitest": "^2.1.1",
|
|
79
|
-
"@lightprotocol/
|
|
80
|
-
"@lightprotocol/
|
|
79
|
+
"@lightprotocol/programs": "0.3.0",
|
|
80
|
+
"@lightprotocol/hasher.rs": "0.2.0"
|
|
81
81
|
},
|
|
82
82
|
"nx": {
|
|
83
83
|
"targets": {
|
|
@@ -95,16 +95,17 @@
|
|
|
95
95
|
"test-all": "vitest run",
|
|
96
96
|
"test:unit:all": "EXCLUDE_E2E=true vitest run",
|
|
97
97
|
"test-all:verbose": "vitest run --reporter=verbose",
|
|
98
|
-
"test-validator": "./../../cli/test_bin/run test-validator",
|
|
98
|
+
"test-validator": "./../../cli/test_bin/run test-validator --prover-run-mode rpc",
|
|
99
99
|
"test:e2e:create-mint": "pnpm test-validator && vitest run tests/e2e/create-mint.test.ts",
|
|
100
|
-
"test:e2e:
|
|
100
|
+
"test:e2e:create-token-pool": "pnpm test-validator && vitest run tests/e2e/create-token-pool.test.ts",
|
|
101
101
|
"test:e2e:mint-to": "pnpm test-validator && vitest run tests/e2e/mint-to.test.ts --reporter=verbose",
|
|
102
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",
|
|
103
104
|
"test:e2e:transfer": "pnpm test-validator && vitest run tests/e2e/transfer.test.ts --reporter=verbose",
|
|
104
105
|
"test:e2e:compress": "pnpm test-validator && vitest run tests/e2e/compress.test.ts --reporter=verbose",
|
|
105
106
|
"test:e2e:decompress": "pnpm test-validator && vitest run tests/e2e/decompress.test.ts --reporter=verbose",
|
|
106
107
|
"test:e2e:rpc-token-interop": "pnpm test-validator && vitest run tests/e2e/rpc-token-interop.test.ts --reporter=verbose",
|
|
107
|
-
"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",
|
|
108
109
|
"pull-idl": "../../scripts/push-compressed-token-idl.sh",
|
|
109
110
|
"build": "rimraf dist && pnpm pull-idl && pnpm build:bundle",
|
|
110
111
|
"build:bundle": "rollup -c",
|