@solana-mobile/dapp-store-cli 0.7.2 → 0.7.3

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/lib/CliSetup.js CHANGED
@@ -265,7 +265,6 @@ export var createPublisherCliCmd = createCliCmd.command("publisher").description
265
265
  showMessage("Success", resultText);
266
266
  _state.label = 3;
267
267
  case 3:
268
- process.exit();
269
268
  return [
270
269
  2
271
270
  ];
@@ -337,7 +336,6 @@ export var createAppCliCmd = createCliCmd.command("app").description("Create a a
337
336
  showMessage("Success", resultText);
338
337
  _state.label = 4;
339
338
  case 4:
340
- process.exit();
341
339
  return [
342
340
  2
343
341
  ];
@@ -414,7 +412,6 @@ export var createReleaseCliCmd = createCliCmd.command("release").description("Cr
414
412
  showMessage("Success", resultText);
415
413
  _state.label = 4;
416
414
  case 4:
417
- process.exit();
418
415
  return [
419
416
  2
420
417
  ];
@@ -475,7 +472,6 @@ mainCli.command("validate").description("Validates details prior to publishing")
475
472
  _state.sent();
476
473
  _state.label = 3;
477
474
  case 3:
478
- process.exit();
479
475
  return [
480
476
  2
481
477
  ];
@@ -554,7 +550,6 @@ publishCommand.command("submit").description("Submit a new app to the Solana Mob
554
550
  showMessage("Success", resultText);
555
551
  _state.label = 5;
556
552
  case 5:
557
- process.exit();
558
553
  return [
559
554
  2
560
555
  ];
@@ -642,7 +637,6 @@ publishCommand.command("update").description("Update an existing app on the Sola
642
637
  ];
643
638
  case 1:
644
639
  _state.sent();
645
- process.exit();
646
640
  return [
647
641
  2
648
642
  ];
@@ -711,7 +705,6 @@ publishCommand.command("remove").description("Remove an existing app from the So
711
705
  showMessage("Success", resultText);
712
706
  _state.label = 5;
713
707
  case 5:
714
- process.exit();
715
708
  return [
716
709
  2
717
710
  ];
@@ -789,7 +782,6 @@ publishCommand.command("support <request_details>").description("Submit a suppor
789
782
  showMessage("Success", resultText);
790
783
  _state.label = 5;
791
784
  case 5:
792
- process.exit();
793
785
  return [
794
786
  2
795
787
  ];
package/lib/CliUtils.js CHANGED
@@ -159,7 +159,7 @@ export var Constants = function Constants() {
159
159
  "use strict";
160
160
  _class_call_check(this, Constants);
161
161
  };
162
- _define_property(Constants, "CLI_VERSION", "0.7.1");
162
+ _define_property(Constants, "CLI_VERSION", "0.7.3");
163
163
  _define_property(Constants, "CONFIG_FILE_NAME", "config.yaml");
164
164
  _define_property(Constants, "DEFAULT_RPC_DEVNET", "https://api.devnet.solana.com");
165
165
  _define_property(Constants, "getConfigFilePath", function() {
@@ -178,7 +178,7 @@ var createReleaseNft = function() {
178
178
  ];
179
179
  case 1:
180
180
  txBuilder = _state.sent().txBuilder;
181
- maxTries = 4;
181
+ maxTries = 8;
182
182
  i = 1;
183
183
  _state.label = 2;
184
184
  case 2:
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solana-mobile/dapp-store-cli",
3
- "version": "0.7.1",
3
+ "version": "0.7.3",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -53,7 +53,7 @@
53
53
  "dependencies": {
54
54
  "@aws-sdk/client-s3": "^3.321.1",
55
55
  "@metaplex-foundation/js-plugin-aws": "^0.18.3",
56
- "@solana-mobile/dapp-store-publishing-tools": "workspace:0.7.1",
56
+ "@solana-mobile/dapp-store-publishing-tools": "workspace:0.7.3",
57
57
  "@solana/web3.js": "1.68.0",
58
58
  "@types/semver": "^7.3.13",
59
59
  "ajv": "^8.11.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solana-mobile/dapp-store-cli",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -46,7 +46,7 @@
46
46
  "dependencies": {
47
47
  "@aws-sdk/client-s3": "^3.321.1",
48
48
  "@metaplex-foundation/js-plugin-aws": "^0.18.3",
49
- "@solana-mobile/dapp-store-publishing-tools": "0.7.2",
49
+ "@solana-mobile/dapp-store-publishing-tools": "0.7.3",
50
50
  "@solana/web3.js": "1.68.0",
51
51
  "@types/semver": "^7.3.13",
52
52
  "ajv": "^8.11.0",
package/src/CliSetup.ts CHANGED
@@ -108,7 +108,6 @@ export const createPublisherCliCmd = createCliCmd
108
108
 
109
109
  showMessage("Success", resultText);
110
110
  }
111
- process.exit()
112
111
  });
113
112
  });
114
113
 
@@ -152,7 +151,6 @@ export const createAppCliCmd = createCliCmd
152
151
 
153
152
  showMessage("Success", resultText);
154
153
  }
155
- process.exit()
156
154
  });
157
155
  });
158
156
 
@@ -205,7 +203,6 @@ export const createReleaseCliCmd = createCliCmd
205
203
 
206
204
  showMessage("Success", resultText);
207
205
  }
208
- process.exit()
209
206
  });
210
207
  }
211
208
  );
@@ -238,7 +235,6 @@ mainCli
238
235
  buildToolsPath: resolvedBuildToolsPath,
239
236
  });
240
237
  }
241
- process.exit()
242
238
  });
243
239
  });
244
240
 
@@ -311,7 +307,6 @@ publishCommand
311
307
  const resultText = "Successfully submitted to the Solana Mobile dApp publisher portal";
312
308
  showMessage("Success", resultText);
313
309
  }
314
- process.exit()
315
310
  });
316
311
  }
317
312
  );
@@ -385,7 +380,6 @@ publishCommand
385
380
  showMessage("Success", resultText);
386
381
  }
387
382
  });
388
- process.exit()
389
383
  }
390
384
  );
391
385
 
@@ -451,7 +445,6 @@ publishCommand
451
445
  const resultText = "dApp successfully removed from the publisher portal";
452
446
  showMessage("Success", resultText);
453
447
  }
454
- process.exit()
455
448
  })
456
449
  }
457
450
  );
@@ -512,7 +505,6 @@ publishCommand
512
505
  const resultText = "Support request sent successfully";
513
506
  showMessage("Success", resultText);
514
507
  }
515
- process.exit()
516
508
  });
517
509
  }
518
510
  );
package/src/CliUtils.ts CHANGED
@@ -18,7 +18,7 @@ import { awsStorage } from "@metaplex-foundation/js-plugin-aws";
18
18
  import { S3StorageManager } from "./config/index.js";
19
19
 
20
20
  export class Constants {
21
- static CLI_VERSION = "0.7.2";
21
+ static CLI_VERSION = "0.7.3";
22
22
  static CONFIG_FILE_NAME = "config.yaml";
23
23
  static DEFAULT_RPC_DEVNET = "https://api.devnet.solana.com";
24
24
 
@@ -57,7 +57,7 @@ const createReleaseNft = async ({
57
57
  { metaplex, publisher }
58
58
  );
59
59
 
60
- const maxTries = 4;
60
+ const maxTries = 8;
61
61
  for (let i = 1; i <= maxTries; i++) {
62
62
  try {
63
63
  const blockhash = await connection.getLatestBlockhashAndContext();