@lightprotocol/zk-compression-cli 0.16.0 → 0.18.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/bin/cargo-generate +0 -0
- package/dist/commands/init/index.js +17 -9
- package/dist/utils/process.js +10 -8
- package/oclif.manifest.json +125 -125
- package/package.json +3 -3
|
Binary file
|
|
@@ -11,14 +11,12 @@ const psp_utils_1 = require("../../psp-utils");
|
|
|
11
11
|
const constants_1 = require("../../utils/constants");
|
|
12
12
|
const utils_1 = require("../../utils");
|
|
13
13
|
const case_anything_1 = require("case-anything");
|
|
14
|
-
const child_process_1 = require("child_process");
|
|
15
14
|
class InitCommand extends core_1.Command {
|
|
16
15
|
async run() {
|
|
17
16
|
const { args, flags } = await this.parse(InitCommand);
|
|
18
17
|
const { name } = args;
|
|
19
18
|
this.log("Initializing project...");
|
|
20
19
|
await (0, exports.initRepo)(name, flags);
|
|
21
|
-
this.log("✅ Project initialized successfully");
|
|
22
20
|
}
|
|
23
21
|
}
|
|
24
22
|
InitCommand.description = "Initialize a compressed account project.";
|
|
@@ -40,13 +38,10 @@ const initRepo = async (name, flags) => {
|
|
|
40
38
|
const kebabCaseName = (0, case_anything_1.kebabCase)(name);
|
|
41
39
|
const snakeCaseName = (0, case_anything_1.snakeCase)(name);
|
|
42
40
|
const camelCaseName = (0, case_anything_1.pascalCase)(name);
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
process.env.CC = (0, child_process_1.execSync)("xcrun -find clang").toString().trim();
|
|
46
|
-
process.env.SDKROOT = (0, child_process_1.execSync)("xcrun --show-sdk-path").toString().trim();
|
|
47
|
-
}
|
|
41
|
+
let command = localFilePath;
|
|
42
|
+
let env = { ...process.env };
|
|
48
43
|
await (0, process_1.executeCommand)({
|
|
49
|
-
command
|
|
44
|
+
command,
|
|
50
45
|
args: [
|
|
51
46
|
"generate",
|
|
52
47
|
"--name",
|
|
@@ -91,8 +86,21 @@ const initRepo = async (name, flags) => {
|
|
|
91
86
|
`tokio-version=${constants_1.TOKIO_VERSION}`,
|
|
92
87
|
],
|
|
93
88
|
logFile: true,
|
|
94
|
-
env:
|
|
89
|
+
env: env,
|
|
95
90
|
});
|
|
91
|
+
console.log("✅ Project initialized successfully");
|
|
92
|
+
if (os.platform() === "darwin") {
|
|
93
|
+
console.log(`
|
|
94
|
+
🧢 Important for macOS users 🧢
|
|
95
|
+
===============================
|
|
96
|
+
|
|
97
|
+
Run this command in your terminal before building your project:
|
|
98
|
+
|
|
99
|
+
----------------------------------------------------------------------------------------------------
|
|
100
|
+
echo 'export CPATH="/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include:$CPATH"' >> ~/.zshrc && source ~/.zshrc
|
|
101
|
+
----------------------------------------------------------------------------------------------------
|
|
102
|
+
`);
|
|
103
|
+
}
|
|
96
104
|
await (0, stateless_js_1.sleep)(1000);
|
|
97
105
|
};
|
|
98
106
|
exports.initRepo = initRepo;
|
package/dist/utils/process.js
CHANGED
|
@@ -35,14 +35,18 @@ async function killProcessByPort(port) {
|
|
|
35
35
|
*/
|
|
36
36
|
async function executeCommand({ command, args, additionalPath, logFile = true, env, }) {
|
|
37
37
|
return new Promise((resolve, reject) => {
|
|
38
|
-
const
|
|
38
|
+
const commandParts = command.split(' && ');
|
|
39
|
+
const finalCommand = commandParts.pop() || '';
|
|
40
|
+
const preCommands = commandParts.join(' && ');
|
|
41
|
+
const fullCommand = preCommands ? `${preCommands} && ${finalCommand} ${args.join(' ')}` : `${finalCommand} ${args.join(' ')}`;
|
|
42
|
+
const commandBase = path_1.default.basename(finalCommand);
|
|
39
43
|
let stdoutData = "";
|
|
40
44
|
const childPathEnv = additionalPath
|
|
41
45
|
? process.env.PATH + path_1.default.delimiter + additionalPath
|
|
42
46
|
: process.env.PATH;
|
|
43
47
|
const options = {
|
|
44
|
-
env: env ||
|
|
45
|
-
|
|
48
|
+
env: env || (childPathEnv ? { ...process.env, PATH: childPathEnv } : process.env),
|
|
49
|
+
shell: true,
|
|
46
50
|
detached: true,
|
|
47
51
|
};
|
|
48
52
|
let logStream = null;
|
|
@@ -52,14 +56,12 @@ async function executeCommand({ command, args, additionalPath, logFile = true, e
|
|
|
52
56
|
if (!fs_1.default.existsSync(folderName)) {
|
|
53
57
|
fs_1.default.mkdirSync(folderName);
|
|
54
58
|
}
|
|
55
|
-
logStream = fs_1.default.createWriteStream(file, {
|
|
56
|
-
flags: "a",
|
|
57
|
-
});
|
|
59
|
+
logStream = fs_1.default.createWriteStream(file, { flags: "a" });
|
|
58
60
|
}
|
|
59
|
-
console.log(`Executing command ${
|
|
61
|
+
console.log(`Executing command: ${fullCommand}`);
|
|
60
62
|
let childProcess;
|
|
61
63
|
try {
|
|
62
|
-
childProcess = (0, child_process_1.spawn)(
|
|
64
|
+
childProcess = (0, child_process_1.spawn)(fullCommand, [], options);
|
|
63
65
|
}
|
|
64
66
|
catch (e) {
|
|
65
67
|
throw new Error(`Failed to execute command ${commandBase}: ${e}`);
|
package/oclif.manifest.json
CHANGED
|
@@ -1,46 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
-
"balance": {
|
|
4
|
-
"aliases": [],
|
|
5
|
-
"args": {},
|
|
6
|
-
"examples": [
|
|
7
|
-
"$ light balance --mint=<ADDRESS> --owner=<ADDRESS>"
|
|
8
|
-
],
|
|
9
|
-
"flags": {
|
|
10
|
-
"owner": {
|
|
11
|
-
"description": "Address of the compressed token owner.",
|
|
12
|
-
"name": "owner",
|
|
13
|
-
"required": true,
|
|
14
|
-
"hasDynamicHelp": false,
|
|
15
|
-
"multiple": false,
|
|
16
|
-
"type": "option"
|
|
17
|
-
},
|
|
18
|
-
"mint": {
|
|
19
|
-
"description": "Mint address of the compressed token account.",
|
|
20
|
-
"name": "mint",
|
|
21
|
-
"required": true,
|
|
22
|
-
"hasDynamicHelp": false,
|
|
23
|
-
"multiple": false,
|
|
24
|
-
"type": "option"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"hasDynamicHelp": false,
|
|
28
|
-
"hiddenAliases": [],
|
|
29
|
-
"id": "balance",
|
|
30
|
-
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
31
|
-
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
32
|
-
"pluginType": "core",
|
|
33
|
-
"strict": true,
|
|
34
|
-
"summary": "Get balance",
|
|
35
|
-
"enableJsonFlag": false,
|
|
36
|
-
"isESM": false,
|
|
37
|
-
"relativePath": [
|
|
38
|
-
"dist",
|
|
39
|
-
"commands",
|
|
40
|
-
"balance",
|
|
41
|
-
"index.js"
|
|
42
|
-
]
|
|
43
|
-
},
|
|
44
3
|
"approve-and-mint-to": {
|
|
45
4
|
"aliases": [],
|
|
46
5
|
"args": {},
|
|
@@ -98,24 +57,24 @@
|
|
|
98
57
|
"index.js"
|
|
99
58
|
]
|
|
100
59
|
},
|
|
101
|
-
"
|
|
60
|
+
"balance": {
|
|
102
61
|
"aliases": [],
|
|
103
62
|
"args": {},
|
|
104
63
|
"examples": [
|
|
105
|
-
"$ light
|
|
64
|
+
"$ light balance --mint=<ADDRESS> --owner=<ADDRESS>"
|
|
106
65
|
],
|
|
107
66
|
"flags": {
|
|
108
|
-
"
|
|
109
|
-
"description": "
|
|
110
|
-
"name": "
|
|
67
|
+
"owner": {
|
|
68
|
+
"description": "Address of the compressed token owner.",
|
|
69
|
+
"name": "owner",
|
|
111
70
|
"required": true,
|
|
112
71
|
"hasDynamicHelp": false,
|
|
113
72
|
"multiple": false,
|
|
114
73
|
"type": "option"
|
|
115
74
|
},
|
|
116
|
-
"
|
|
117
|
-
"description": "
|
|
118
|
-
"name": "
|
|
75
|
+
"mint": {
|
|
76
|
+
"description": "Mint address of the compressed token account.",
|
|
77
|
+
"name": "mint",
|
|
119
78
|
"required": true,
|
|
120
79
|
"hasDynamicHelp": false,
|
|
121
80
|
"multiple": false,
|
|
@@ -124,18 +83,18 @@
|
|
|
124
83
|
},
|
|
125
84
|
"hasDynamicHelp": false,
|
|
126
85
|
"hiddenAliases": [],
|
|
127
|
-
"id": "
|
|
86
|
+
"id": "balance",
|
|
128
87
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
129
88
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
130
89
|
"pluginType": "core",
|
|
131
90
|
"strict": true,
|
|
132
|
-
"summary": "
|
|
91
|
+
"summary": "Get balance",
|
|
133
92
|
"enableJsonFlag": false,
|
|
134
93
|
"isESM": false,
|
|
135
94
|
"relativePath": [
|
|
136
95
|
"dist",
|
|
137
96
|
"commands",
|
|
138
|
-
"
|
|
97
|
+
"balance",
|
|
139
98
|
"index.js"
|
|
140
99
|
]
|
|
141
100
|
},
|
|
@@ -188,192 +147,233 @@
|
|
|
188
147
|
"index.js"
|
|
189
148
|
]
|
|
190
149
|
},
|
|
191
|
-
"
|
|
150
|
+
"create-token-pool": {
|
|
192
151
|
"aliases": [],
|
|
193
152
|
"args": {},
|
|
194
|
-
"description": "Initialize or update the configuration values. The default config path is ~/.config/light/config.json you can set up a custom path with an environment variable export LIGHT_PROTOCOL_CONFIG=path/to/config.json",
|
|
195
153
|
"examples": [
|
|
196
|
-
"$ light
|
|
154
|
+
"$ light create-token-pool --mint-decimals 5"
|
|
197
155
|
],
|
|
198
156
|
"flags": {
|
|
199
|
-
"
|
|
200
|
-
"description": "
|
|
201
|
-
"name": "
|
|
157
|
+
"mint": {
|
|
158
|
+
"description": "Provide a base58 encoded mint address to register",
|
|
159
|
+
"name": "mint",
|
|
160
|
+
"required": true,
|
|
202
161
|
"hasDynamicHelp": false,
|
|
203
162
|
"multiple": false,
|
|
204
163
|
"type": "option"
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"hasDynamicHelp": false,
|
|
167
|
+
"hiddenAliases": [],
|
|
168
|
+
"id": "create-token-pool",
|
|
169
|
+
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
170
|
+
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
171
|
+
"pluginType": "core",
|
|
172
|
+
"strict": true,
|
|
173
|
+
"summary": "Register an existing mint with the CompressedToken program",
|
|
174
|
+
"enableJsonFlag": false,
|
|
175
|
+
"isESM": false,
|
|
176
|
+
"relativePath": [
|
|
177
|
+
"dist",
|
|
178
|
+
"commands",
|
|
179
|
+
"create-token-pool",
|
|
180
|
+
"index.js"
|
|
181
|
+
]
|
|
182
|
+
},
|
|
183
|
+
"create-mint": {
|
|
184
|
+
"aliases": [],
|
|
185
|
+
"args": {},
|
|
186
|
+
"examples": [
|
|
187
|
+
"$ light create-mint --mint-decimals 5"
|
|
188
|
+
],
|
|
189
|
+
"flags": {
|
|
190
|
+
"mint-keypair": {
|
|
191
|
+
"description": "Provide a path to a mint keypair file. Defaults to a random keypair",
|
|
192
|
+
"name": "mint-keypair",
|
|
193
|
+
"required": false,
|
|
209
194
|
"hasDynamicHelp": false,
|
|
210
195
|
"multiple": false,
|
|
211
196
|
"type": "option"
|
|
212
197
|
},
|
|
213
|
-
"
|
|
214
|
-
"description": "
|
|
215
|
-
"name": "
|
|
198
|
+
"mint-authority": {
|
|
199
|
+
"description": "Address of the mint authority. Defaults to the fee payer",
|
|
200
|
+
"name": "mint-authority",
|
|
201
|
+
"required": false,
|
|
216
202
|
"hasDynamicHelp": false,
|
|
217
203
|
"multiple": false,
|
|
218
204
|
"type": "option"
|
|
219
205
|
},
|
|
220
|
-
"
|
|
221
|
-
"description": "
|
|
222
|
-
"name": "
|
|
206
|
+
"mint-decimals": {
|
|
207
|
+
"description": "Number of base 10 digits to the right of the decimal place [default: 9]",
|
|
208
|
+
"name": "mint-decimals",
|
|
223
209
|
"required": false,
|
|
224
|
-
"
|
|
225
|
-
"
|
|
210
|
+
"default": 9,
|
|
211
|
+
"hasDynamicHelp": false,
|
|
212
|
+
"multiple": false,
|
|
213
|
+
"type": "option"
|
|
226
214
|
}
|
|
227
215
|
},
|
|
228
216
|
"hasDynamicHelp": false,
|
|
229
217
|
"hiddenAliases": [],
|
|
230
|
-
"id": "
|
|
218
|
+
"id": "create-mint",
|
|
231
219
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
232
220
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
233
221
|
"pluginType": "core",
|
|
234
222
|
"strict": true,
|
|
223
|
+
"summary": "Create a new compressed token mint",
|
|
235
224
|
"enableJsonFlag": false,
|
|
236
225
|
"isESM": false,
|
|
237
226
|
"relativePath": [
|
|
238
227
|
"dist",
|
|
239
228
|
"commands",
|
|
240
|
-
"
|
|
229
|
+
"create-mint",
|
|
241
230
|
"index.js"
|
|
242
231
|
]
|
|
243
232
|
},
|
|
244
|
-
"
|
|
233
|
+
"compress-sol": {
|
|
245
234
|
"aliases": [],
|
|
246
235
|
"args": {},
|
|
247
|
-
"description": "Initialize or update the configuration values. The default config path is ~/.config/light/config.json you can set up a custom path with an environment variable export LIGHT_PROTOCOL_CONFIG=path/to/config.json",
|
|
248
236
|
"examples": [
|
|
249
|
-
"$ light
|
|
237
|
+
"$ light compress-sol --to PublicKey --amount 10"
|
|
250
238
|
],
|
|
251
239
|
"flags": {
|
|
252
|
-
"
|
|
253
|
-
"description": "
|
|
254
|
-
"name": "
|
|
255
|
-
"
|
|
256
|
-
"multiple": false,
|
|
257
|
-
"type": "option"
|
|
258
|
-
},
|
|
259
|
-
"indexerUrl": {
|
|
260
|
-
"description": "Indexer url",
|
|
261
|
-
"name": "indexerUrl",
|
|
240
|
+
"to": {
|
|
241
|
+
"description": "Specify the recipient address.",
|
|
242
|
+
"name": "to",
|
|
243
|
+
"required": true,
|
|
262
244
|
"hasDynamicHelp": false,
|
|
263
245
|
"multiple": false,
|
|
264
246
|
"type": "option"
|
|
265
247
|
},
|
|
266
|
-
"
|
|
267
|
-
"description": "
|
|
268
|
-
"name": "
|
|
248
|
+
"amount": {
|
|
249
|
+
"description": "Amount to compress, in lamports.",
|
|
250
|
+
"name": "amount",
|
|
251
|
+
"required": true,
|
|
269
252
|
"hasDynamicHelp": false,
|
|
270
253
|
"multiple": false,
|
|
271
254
|
"type": "option"
|
|
272
|
-
},
|
|
273
|
-
"get": {
|
|
274
|
-
"description": "Gets the current config values",
|
|
275
|
-
"name": "get",
|
|
276
|
-
"required": false,
|
|
277
|
-
"allowNo": false,
|
|
278
|
-
"type": "boolean"
|
|
279
255
|
}
|
|
280
256
|
},
|
|
281
257
|
"hasDynamicHelp": false,
|
|
282
258
|
"hiddenAliases": [],
|
|
283
|
-
"id": "
|
|
259
|
+
"id": "compress-sol",
|
|
284
260
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
285
261
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
286
262
|
"pluginType": "core",
|
|
287
263
|
"strict": true,
|
|
264
|
+
"summary": "Compress SOL.",
|
|
288
265
|
"enableJsonFlag": false,
|
|
289
266
|
"isESM": false,
|
|
290
267
|
"relativePath": [
|
|
291
268
|
"dist",
|
|
292
269
|
"commands",
|
|
293
|
-
"
|
|
270
|
+
"compress-sol",
|
|
294
271
|
"index.js"
|
|
295
272
|
]
|
|
296
273
|
},
|
|
297
|
-
"
|
|
274
|
+
"config:config": {
|
|
298
275
|
"aliases": [],
|
|
299
276
|
"args": {},
|
|
277
|
+
"description": "Initialize or update the configuration values. The default config path is ~/.config/light/config.json you can set up a custom path with an environment variable export LIGHT_PROTOCOL_CONFIG=path/to/config.json",
|
|
300
278
|
"examples": [
|
|
301
|
-
"$ light
|
|
279
|
+
"$ light config --solanaRpcUrl https://solana-api.example.com"
|
|
302
280
|
],
|
|
303
281
|
"flags": {
|
|
304
|
-
"
|
|
305
|
-
"description": "
|
|
306
|
-
"name": "
|
|
307
|
-
"required": false,
|
|
282
|
+
"solanaRpcUrl": {
|
|
283
|
+
"description": "Solana RPC url",
|
|
284
|
+
"name": "solanaRpcUrl",
|
|
308
285
|
"hasDynamicHelp": false,
|
|
309
286
|
"multiple": false,
|
|
310
287
|
"type": "option"
|
|
311
288
|
},
|
|
312
|
-
"
|
|
313
|
-
"description": "
|
|
314
|
-
"name": "
|
|
315
|
-
"required": false,
|
|
289
|
+
"indexerUrl": {
|
|
290
|
+
"description": "Indexer url",
|
|
291
|
+
"name": "indexerUrl",
|
|
316
292
|
"hasDynamicHelp": false,
|
|
317
293
|
"multiple": false,
|
|
318
294
|
"type": "option"
|
|
319
295
|
},
|
|
320
|
-
"
|
|
321
|
-
"description": "
|
|
322
|
-
"name": "
|
|
323
|
-
"required": false,
|
|
324
|
-
"default": 9,
|
|
296
|
+
"proverUrl": {
|
|
297
|
+
"description": "Prover url",
|
|
298
|
+
"name": "proverUrl",
|
|
325
299
|
"hasDynamicHelp": false,
|
|
326
300
|
"multiple": false,
|
|
327
301
|
"type": "option"
|
|
302
|
+
},
|
|
303
|
+
"get": {
|
|
304
|
+
"description": "Gets the current config values",
|
|
305
|
+
"name": "get",
|
|
306
|
+
"required": false,
|
|
307
|
+
"allowNo": false,
|
|
308
|
+
"type": "boolean"
|
|
328
309
|
}
|
|
329
310
|
},
|
|
330
311
|
"hasDynamicHelp": false,
|
|
331
312
|
"hiddenAliases": [],
|
|
332
|
-
"id": "
|
|
313
|
+
"id": "config:config",
|
|
333
314
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
334
315
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
335
316
|
"pluginType": "core",
|
|
336
317
|
"strict": true,
|
|
337
|
-
"summary": "Create a new compressed token mint",
|
|
338
318
|
"enableJsonFlag": false,
|
|
339
319
|
"isESM": false,
|
|
340
320
|
"relativePath": [
|
|
341
321
|
"dist",
|
|
342
322
|
"commands",
|
|
343
|
-
"
|
|
323
|
+
"config",
|
|
344
324
|
"index.js"
|
|
345
325
|
]
|
|
346
326
|
},
|
|
347
|
-
"
|
|
327
|
+
"config": {
|
|
348
328
|
"aliases": [],
|
|
349
329
|
"args": {},
|
|
330
|
+
"description": "Initialize or update the configuration values. The default config path is ~/.config/light/config.json you can set up a custom path with an environment variable export LIGHT_PROTOCOL_CONFIG=path/to/config.json",
|
|
350
331
|
"examples": [
|
|
351
|
-
"$ light
|
|
332
|
+
"$ light config --solanaRpcUrl https://solana-api.example.com"
|
|
352
333
|
],
|
|
353
334
|
"flags": {
|
|
354
|
-
"
|
|
355
|
-
"description": "
|
|
356
|
-
"name": "
|
|
357
|
-
"
|
|
335
|
+
"solanaRpcUrl": {
|
|
336
|
+
"description": "Solana RPC url",
|
|
337
|
+
"name": "solanaRpcUrl",
|
|
338
|
+
"hasDynamicHelp": false,
|
|
339
|
+
"multiple": false,
|
|
340
|
+
"type": "option"
|
|
341
|
+
},
|
|
342
|
+
"indexerUrl": {
|
|
343
|
+
"description": "Indexer url",
|
|
344
|
+
"name": "indexerUrl",
|
|
358
345
|
"hasDynamicHelp": false,
|
|
359
346
|
"multiple": false,
|
|
360
347
|
"type": "option"
|
|
348
|
+
},
|
|
349
|
+
"proverUrl": {
|
|
350
|
+
"description": "Prover url",
|
|
351
|
+
"name": "proverUrl",
|
|
352
|
+
"hasDynamicHelp": false,
|
|
353
|
+
"multiple": false,
|
|
354
|
+
"type": "option"
|
|
355
|
+
},
|
|
356
|
+
"get": {
|
|
357
|
+
"description": "Gets the current config values",
|
|
358
|
+
"name": "get",
|
|
359
|
+
"required": false,
|
|
360
|
+
"allowNo": false,
|
|
361
|
+
"type": "boolean"
|
|
361
362
|
}
|
|
362
363
|
},
|
|
363
364
|
"hasDynamicHelp": false,
|
|
364
365
|
"hiddenAliases": [],
|
|
365
|
-
"id": "
|
|
366
|
+
"id": "config",
|
|
366
367
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
367
368
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
368
369
|
"pluginType": "core",
|
|
369
370
|
"strict": true,
|
|
370
|
-
"summary": "Register an existing mint with the CompressedToken program",
|
|
371
371
|
"enableJsonFlag": false,
|
|
372
372
|
"isESM": false,
|
|
373
373
|
"relativePath": [
|
|
374
374
|
"dist",
|
|
375
375
|
"commands",
|
|
376
|
-
"
|
|
376
|
+
"config",
|
|
377
377
|
"index.js"
|
|
378
378
|
]
|
|
379
379
|
},
|
|
@@ -831,5 +831,5 @@
|
|
|
831
831
|
]
|
|
832
832
|
}
|
|
833
833
|
},
|
|
834
|
-
"version": "0.
|
|
834
|
+
"version": "0.18.0"
|
|
835
835
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightprotocol/zk-compression-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "ZK Compression: Secure Scaling on Solana",
|
|
5
5
|
"maintainers": [
|
|
6
6
|
{
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"tweetnacl": "^1.0.3",
|
|
45
45
|
"wait-on": "^7.2.0",
|
|
46
46
|
"which": "^4.0.0",
|
|
47
|
+
"@lightprotocol/stateless.js": "0.13.0",
|
|
47
48
|
"@lightprotocol/compressed-token": "0.13.0",
|
|
48
|
-
"@lightprotocol/hasher.rs": "0.2.0"
|
|
49
|
-
"@lightprotocol/stateless.js": "0.13.0"
|
|
49
|
+
"@lightprotocol/hasher.rs": "0.2.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@oclif/test": "2.3.9",
|