@lightprotocol/compressed-token 0.2.0 → 0.3.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 +950 -473
- package/dist/cjs/browser/index.cjs.map +1 -1
- package/dist/cjs/node/index.cjs +950 -473
- package/dist/cjs/node/index.cjs.map +1 -1
- package/dist/es/browser/index.js +956 -477
- package/dist/es/browser/index.js.map +1 -1
- package/dist/types/index.d.ts +1128 -562
- package/package.json +27 -17
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightprotocol/compressed-token",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "JS client to interact with the compressed-token program",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
"license": "Apache-2.0",
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"@solana/web3.js": "^1.91.8",
|
|
45
|
-
"@lightprotocol/stateless.js": "0.
|
|
45
|
+
"@lightprotocol/stateless.js": "0.4.0"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@coral-xyz/anchor": "0.29.0",
|
|
49
|
-
"@solana/spl-token": "^0.3.
|
|
49
|
+
"@solana/spl-token": "^0.3.11",
|
|
50
50
|
"buffer": "^6.0.3",
|
|
51
51
|
"tweetnacl": "^1.0.3"
|
|
52
52
|
},
|
|
@@ -60,29 +60,39 @@
|
|
|
60
60
|
"@rollup/plugin-replace": "^5.0.5",
|
|
61
61
|
"@rollup/plugin-terser": "^0.4.4",
|
|
62
62
|
"@rollup/plugin-typescript": "^11.1.5",
|
|
63
|
-
"@types/node": "^20.
|
|
64
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
63
|
+
"@types/node": "^20.12.8",
|
|
64
|
+
"@typescript-eslint/eslint-plugin": "^7.6.0",
|
|
65
65
|
"add": "^2.0.6",
|
|
66
66
|
"crypto-browserify": "^3.12.0",
|
|
67
|
-
"eslint": "
|
|
68
|
-
"eslint-config-standard-with-typescript": "^39.1.0",
|
|
67
|
+
"eslint": "8.57.0",
|
|
69
68
|
"eslint-plugin-import": "^2.25.2",
|
|
70
|
-
"eslint-plugin-n": "^15.0.0 || ^16.0.0
|
|
69
|
+
"eslint-plugin-n": "^15.0.0 || ^16.0.0",
|
|
71
70
|
"eslint-plugin-promise": "^6.0.0",
|
|
72
|
-
"eslint-plugin-vitest": "^0.
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"rimraf": "^5.0.5",
|
|
71
|
+
"eslint-plugin-vitest": "^0.5.4",
|
|
72
|
+
"prettier": "^3.3.2",
|
|
73
|
+
"rimraf": "^5.0.7",
|
|
76
74
|
"rollup": "^4.6.1",
|
|
77
75
|
"rollup-plugin-copy": "^3.5.0",
|
|
78
76
|
"rollup-plugin-dts": "^6.1.0",
|
|
79
77
|
"rollup-plugin-polyfill-node": "^0.13.0",
|
|
80
78
|
"rollup-plugin-visualizer": "^5.12.0",
|
|
81
|
-
"ts-node": "^10.9.
|
|
79
|
+
"ts-node": "^10.9.2",
|
|
82
80
|
"tslib": "^2.6.2",
|
|
83
|
-
"typescript": "5.
|
|
84
|
-
"vitest": "^
|
|
85
|
-
"@lightprotocol/hasher.rs": "0.
|
|
81
|
+
"typescript": "^5.4.5",
|
|
82
|
+
"vitest": "^1.6.0",
|
|
83
|
+
"@lightprotocol/hasher.rs": "0.2.0",
|
|
84
|
+
"@lightprotocol/programs": "0.3.0"
|
|
85
|
+
},
|
|
86
|
+
"nx": {
|
|
87
|
+
"targets": {
|
|
88
|
+
"build": {
|
|
89
|
+
"inputs": [
|
|
90
|
+
"{workspaceRoot}/cli",
|
|
91
|
+
"{workspaceRoot}/target/idl",
|
|
92
|
+
"{workspaceRoot}/target/types"
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
}
|
|
86
96
|
},
|
|
87
97
|
"scripts": {
|
|
88
98
|
"test": "pnpm test:e2e:all",
|
|
@@ -100,7 +110,7 @@
|
|
|
100
110
|
"test:e2e:rpc-token-interop": "pnpm test-validator && vitest run tests/e2e/rpc-token-interop.test.ts --reporter=verbose",
|
|
101
111
|
"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/register-mint.test.ts && vitest run tests/e2e/approve-and-mint-to.test.ts && vitest run tests/e2e/rpc-token-interop.test.ts",
|
|
102
112
|
"pull-idl": "../../scripts/push-compressed-token-idl.sh",
|
|
103
|
-
"build": "rimraf dist && pnpm
|
|
113
|
+
"build": "rimraf dist && pnpm pull-idl && pnpm build:bundle",
|
|
104
114
|
"build:bundle": "rollup -c",
|
|
105
115
|
"format": "prettier --write .",
|
|
106
116
|
"lint": "eslint ."
|