@ardrive/turbo-sdk 1.16.0-alpha.1 → 1.16.0-alpha.2

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/README.md CHANGED
@@ -738,11 +738,12 @@ turbo top-up --address 'crypto-wallet-public-native-address' --token ethereum --
738
738
 
739
739
  ##### `crypto-fund`
740
740
 
741
- Fund a wallet with Turbo Credits by submitting a payment transaction for the crypto amount to the Turbo wallet and then submitting that transaction id to Turbo Payment Service for top up processing.
741
+ Fund a wallet with Turbo Credits by submitting a payment transaction for the crypto amount to the Turbo wallet and then submitting that transaction id to Turbo Payment Service for top up processing. Alternatively, submit a transaction ID of an existing funding transaction to Turbo Payment Service for top up processing.
742
742
 
743
743
  Command Options:
744
744
 
745
745
  - `-v, --value <value>` - Value of crypto token for fund. e.g: 0.0001 for 0.0001 KYVE
746
+ - `-i, --tx-id <txId>` - Transaction ID of an existing funding transaction
746
747
 
747
748
  e.g:
748
749
 
@@ -750,6 +751,10 @@ e.g:
750
751
  turbo crypto-fund --value 0.0001 --token kyve --private-key 'b27...45c'
751
752
  ```
752
753
 
754
+ ```shell
755
+ turbo crypto-fund --tx-id 'my-valid-arweave-fund-transaction-id' --token arweave
756
+ ```
757
+
753
758
  ##### `upload-folder`
754
759
 
755
760
  Upload a folder of files and create and upload a manifest file for the folder upload to the Turbo Upload Service.
@@ -310504,7 +310504,7 @@ var import_winston = __toESM(require_winston(), 1);
310504
310504
  init_dirname();
310505
310505
  init_buffer2();
310506
310506
  init_process2();
310507
- var version16 = "1.15.0";
310507
+ var version16 = "1.16.0-alpha.1";
310508
310508
 
310509
310509
  // src/common/logger.ts
310510
310510
  var TurboWinstonLogger = class _TurboWinstonLogger {
@@ -34,7 +34,7 @@ const utils_js_1 = require("./utils.js");
34
34
  (0, utils_js_1.applyOptions)(commander_1.program.command('top-up').description('Top up a Turbo address with Fiat'), [...options_js_1.walletOptions, options_js_1.optionMap.address, options_js_1.optionMap.value, options_js_1.optionMap.currency]).action(async (_commandOptions, command) => {
35
35
  await (0, utils_js_1.runCommand)(command, commands_js_1.topUp);
36
36
  });
37
- (0, utils_js_1.applyOptions)(commander_1.program.command('crypto-fund').description('Top up a wallet with crypto'), [...options_js_1.walletOptions, options_js_1.optionMap.value]).action(async (_commandOptions, command) => {
37
+ (0, utils_js_1.applyOptions)(commander_1.program.command('crypto-fund').description('Top up a wallet with crypto'), [...options_js_1.walletOptions, options_js_1.optionMap.value, options_js_1.optionMap.txId]).action(async (_commandOptions, command) => {
38
38
  await (0, utils_js_1.runCommand)(command, commands_js_1.cryptoFund);
39
39
  });
40
40
  (0, utils_js_1.applyOptions)(commander_1.program.command('upload-folder').description('Upload a folder using Turbo'), options_js_1.uploadFolderOptions).action(async (_commandOptions, command) => {
@@ -1,4 +1,7 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.getBalance = getBalance;
4
7
  exports.cryptoFund = cryptoFund;
@@ -24,6 +27,7 @@ exports.uploadFile = uploadFile;
24
27
  */
25
28
  const node_child_process_1 = require("node:child_process");
26
29
  const node_fs_1 = require("node:fs");
30
+ const prompts_1 = __importDefault(require("prompts"));
27
31
  const index_js_1 = require("../node/index.js");
28
32
  const common_js_1 = require("../utils/common.js");
29
33
  const version_js_1 = require("../version.js");
@@ -50,13 +54,34 @@ async function getBalance(options) {
50
54
  /** Fund the connected signer with crypto */
51
55
  async function cryptoFund(options) {
52
56
  const value = options.value;
57
+ const txId = options.txId;
58
+ if (txId !== undefined) {
59
+ const turbo = index_js_1.TurboFactory.unauthenticated((0, utils_js_1.configFromOptions)(options));
60
+ const result = await turbo.submitFundTransaction({ txId: txId });
61
+ console.log('Submitted existing crypto fund transaction to payment service: \n', JSON.stringify(result, null, 2));
62
+ return;
63
+ }
53
64
  if (value === undefined) {
54
- throw new Error('Must provide a --value to top up');
65
+ throw new Error('Must provide a --value or --transaction-id for crypto-fund command');
55
66
  }
56
67
  const turbo = await (0, utils_js_1.turboFromOptions)(options);
57
68
  const token = (0, utils_js_1.tokenFromOptions)(options);
69
+ const tokenAmount = index_js_1.tokenToBaseMap[token](value);
70
+ const { winc } = await turbo.getWincForToken({ tokenAmount });
71
+ if (!options.skipConfirmation) {
72
+ const { confirm } = await (0, prompts_1.default)({
73
+ type: 'confirm',
74
+ name: 'confirm',
75
+ message: `This command will send a payment transaction for ${value} ${token} to the connected bundler's wallet in exchange for ~${(+winc / 1_000_000_000_000).toFixed(12)} Credits. This is in addition to any typical gas fees on the given network. Would you like to proceed with this funding?`,
76
+ initial: true,
77
+ });
78
+ if (!confirm) {
79
+ console.log('Aborted crypto fund transaction');
80
+ return;
81
+ }
82
+ }
58
83
  const result = await turbo.topUpWithTokens({
59
- tokenAmount: index_js_1.tokenToBaseMap[token](value),
84
+ tokenAmount,
60
85
  });
61
86
  console.log('Sent crypto fund transaction: \n', JSON.stringify(result, null, 2));
62
87
  }
@@ -28,6 +28,10 @@ exports.optionMap = {
28
28
  description: 'Fiat currency type to use for the action',
29
29
  default: 'usd',
30
30
  },
31
+ txId: {
32
+ alias: '-i, --tx-id <txId>',
33
+ description: 'Transaction ID or hash to use for action',
34
+ },
31
35
  address: {
32
36
  alias: '-a, --address <nativeAddress>',
33
37
  description: 'Native address to use for action',
@@ -70,6 +74,11 @@ exports.optionMap = {
70
74
  description: 'Disable logging',
71
75
  default: false,
72
76
  },
77
+ skipConfirmation: {
78
+ alias: '--skip-confirmation',
79
+ description: 'Skip all confirmation prompts',
80
+ default: false,
81
+ },
73
82
  folderPath: {
74
83
  alias: '-f, --folder-path <folderPath>',
75
84
  description: 'Directory to upload',
@@ -107,6 +116,7 @@ exports.globalOptions = [
107
116
  exports.optionMap.debug,
108
117
  exports.optionMap.quiet,
109
118
  exports.optionMap.token,
119
+ exports.optionMap.skipConfirmation,
110
120
  ];
111
121
  exports.uploadFolderOptions = [
112
122
  ...exports.walletOptions,
@@ -18,4 +18,4 @@
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
19
  exports.version = void 0;
20
20
  // AUTOMATICALLY GENERATED FILE - DO NOT TOUCH
21
- exports.version = '1.16.0-alpha.1';
21
+ exports.version = '1.16.0-alpha.2';
@@ -32,7 +32,7 @@ applyOptions(program.command('balance').description('Get balance of a Turbo addr
32
32
  applyOptions(program.command('top-up').description('Top up a Turbo address with Fiat'), [...walletOptions, optionMap.address, optionMap.value, optionMap.currency]).action(async (_commandOptions, command) => {
33
33
  await runCommand(command, topUp);
34
34
  });
35
- applyOptions(program.command('crypto-fund').description('Top up a wallet with crypto'), [...walletOptions, optionMap.value]).action(async (_commandOptions, command) => {
35
+ applyOptions(program.command('crypto-fund').description('Top up a wallet with crypto'), [...walletOptions, optionMap.value, optionMap.txId]).action(async (_commandOptions, command) => {
36
36
  await runCommand(command, cryptoFund);
37
37
  });
38
38
  applyOptions(program.command('upload-folder').description('Upload a folder using Turbo'), uploadFolderOptions).action(async (_commandOptions, command) => {
@@ -16,6 +16,7 @@
16
16
  */
17
17
  import { exec } from 'node:child_process';
18
18
  import { createReadStream, statSync } from 'node:fs';
19
+ import prompts from 'prompts';
19
20
  import { TurboFactory, currencyMap, fiatCurrencyTypes, isCurrency, tokenToBaseMap, } from '../node/index.js';
20
21
  import { sleep } from '../utils/common.js';
21
22
  import { version } from '../version.js';
@@ -42,13 +43,34 @@ export async function getBalance(options) {
42
43
  /** Fund the connected signer with crypto */
43
44
  export async function cryptoFund(options) {
44
45
  const value = options.value;
46
+ const txId = options.txId;
47
+ if (txId !== undefined) {
48
+ const turbo = TurboFactory.unauthenticated(configFromOptions(options));
49
+ const result = await turbo.submitFundTransaction({ txId: txId });
50
+ console.log('Submitted existing crypto fund transaction to payment service: \n', JSON.stringify(result, null, 2));
51
+ return;
52
+ }
45
53
  if (value === undefined) {
46
- throw new Error('Must provide a --value to top up');
54
+ throw new Error('Must provide a --value or --transaction-id for crypto-fund command');
47
55
  }
48
56
  const turbo = await turboFromOptions(options);
49
57
  const token = tokenFromOptions(options);
58
+ const tokenAmount = tokenToBaseMap[token](value);
59
+ const { winc } = await turbo.getWincForToken({ tokenAmount });
60
+ if (!options.skipConfirmation) {
61
+ const { confirm } = await prompts({
62
+ type: 'confirm',
63
+ name: 'confirm',
64
+ message: `This command will send a payment transaction for ${value} ${token} to the connected bundler's wallet in exchange for ~${(+winc / 1_000_000_000_000).toFixed(12)} Credits. This is in addition to any typical gas fees on the given network. Would you like to proceed with this funding?`,
65
+ initial: true,
66
+ });
67
+ if (!confirm) {
68
+ console.log('Aborted crypto fund transaction');
69
+ return;
70
+ }
71
+ }
50
72
  const result = await turbo.topUpWithTokens({
51
- tokenAmount: tokenToBaseMap[token](value),
73
+ tokenAmount,
52
74
  });
53
75
  console.log('Sent crypto fund transaction: \n', JSON.stringify(result, null, 2));
54
76
  }
@@ -25,6 +25,10 @@ export const optionMap = {
25
25
  description: 'Fiat currency type to use for the action',
26
26
  default: 'usd',
27
27
  },
28
+ txId: {
29
+ alias: '-i, --tx-id <txId>',
30
+ description: 'Transaction ID or hash to use for action',
31
+ },
28
32
  address: {
29
33
  alias: '-a, --address <nativeAddress>',
30
34
  description: 'Native address to use for action',
@@ -67,6 +71,11 @@ export const optionMap = {
67
71
  description: 'Disable logging',
68
72
  default: false,
69
73
  },
74
+ skipConfirmation: {
75
+ alias: '--skip-confirmation',
76
+ description: 'Skip all confirmation prompts',
77
+ default: false,
78
+ },
70
79
  folderPath: {
71
80
  alias: '-f, --folder-path <folderPath>',
72
81
  description: 'Directory to upload',
@@ -104,6 +113,7 @@ export const globalOptions = [
104
113
  optionMap.debug,
105
114
  optionMap.quiet,
106
115
  optionMap.token,
116
+ optionMap.skipConfirmation,
107
117
  ];
108
118
  export const uploadFolderOptions = [
109
119
  ...walletOptions,
@@ -15,4 +15,4 @@
15
15
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16
16
  */
17
17
  // AUTOMATICALLY GENERATED FILE - DO NOT TOUCH
18
- export const version = '1.16.0-alpha.1';
18
+ export const version = '1.16.0-alpha.2';
@@ -1 +1 @@
1
- {"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../src/cli/commands.ts"],"names":[],"mappings":"AA4BA,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,YAAY,CAAC;AASpB,wBAAsB,UAAU,CAAC,OAAO,EAAE,cAAc,iBAgCvD;AAED,4CAA4C;AAC5C,wBAAsB,UAAU,CAAC,OAAO,EAAE,iBAAiB,iBAkB1D;AAED,wBAAsB,KAAK,CAAC,OAAO,EAAE,YAAY,iBA4DhD;AAED,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,QAWlC;AAQD,wBAAsB,YAAY,CAChC,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC,IAAI,CAAC,CAuBf;AAED,wBAAsB,UAAU,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,CAiB1E"}
1
+ {"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../src/cli/commands.ts"],"names":[],"mappings":"AA6BA,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,YAAY,CAAC;AASpB,wBAAsB,UAAU,CAAC,OAAO,EAAE,cAAc,iBAgCvD;AAED,4CAA4C;AAC5C,wBAAsB,UAAU,CAAC,OAAO,EAAE,iBAAiB,iBAsD1D;AAED,wBAAsB,KAAK,CAAC,OAAO,EAAE,YAAY,iBA4DhD;AAED,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,QAWlC;AAQD,wBAAsB,YAAY,CAChC,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC,IAAI,CAAC,CAuBf;AAED,wBAAsB,UAAU,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,CAiB1E"}
@@ -25,6 +25,10 @@ export declare const optionMap: {
25
25
  readonly description: "Fiat currency type to use for the action";
26
26
  readonly default: "usd";
27
27
  };
28
+ readonly txId: {
29
+ readonly alias: "-i, --tx-id <txId>";
30
+ readonly description: "Transaction ID or hash to use for action";
31
+ };
28
32
  readonly address: {
29
33
  readonly alias: "-a, --address <nativeAddress>";
30
34
  readonly description: "Native address to use for action";
@@ -65,6 +69,11 @@ export declare const optionMap: {
65
69
  readonly description: "Disable logging";
66
70
  readonly default: false;
67
71
  };
72
+ readonly skipConfirmation: {
73
+ readonly alias: "--skip-confirmation";
74
+ readonly description: "Skip all confirmation prompts";
75
+ readonly default: false;
76
+ };
68
77
  readonly folderPath: {
69
78
  readonly alias: "-f, --folder-path <folderPath>";
70
79
  readonly description: "Directory to upload";
@@ -121,6 +130,10 @@ export declare const globalOptions: ({
121
130
  readonly alias: "--quiet";
122
131
  readonly description: "Disable logging";
123
132
  readonly default: false;
133
+ } | {
134
+ readonly alias: "--skip-confirmation";
135
+ readonly description: "Skip all confirmation prompts";
136
+ readonly default: false;
124
137
  })[];
125
138
  export declare const uploadFolderOptions: ({
126
139
  readonly alias: "-w, --wallet-file <filePath>";
@@ -1 +1 @@
1
- {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../src/cli/options.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkFZ,CAAC;AAEX,eAAO,MAAM,aAAa;;;;;;;;;IAIzB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;IAMzB,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;IAO/B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;IAAyC,CAAC"}
1
+ {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../src/cli/options.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2FZ,CAAC;AAEX,eAAO,MAAM,aAAa;;;;;;;;;IAIzB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;IAOzB,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;IAO/B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;IAAyC,CAAC"}
@@ -19,6 +19,7 @@ export type GlobalOptions = {
19
19
  gateway: string | undefined;
20
20
  debug: boolean;
21
21
  quiet: boolean;
22
+ skipConfirmation: boolean;
22
23
  token: string;
23
24
  };
24
25
  export type WalletOptions = GlobalOptions & {
@@ -45,5 +46,6 @@ export type UploadFileOptions = WalletOptions & {
45
46
  };
46
47
  export type CryptoFundOptions = WalletOptions & {
47
48
  value: string | undefined;
49
+ txId: string | undefined;
48
50
  };
49
51
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/cli/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,MAAM,MAAM,aAAa,GAAG;IAC1B,GAAG,EAAE,OAAO,CAAC;IACb,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,aAAa,GAAG;IAC1C,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,aAAa,GAAG;IAC3C,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,cAAc,GAAG;IAC1C,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,aAAa,GAAG;IAChD,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,aAAa,GAAG;IAC9C,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,aAAa,GAAG;IAC9C,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/cli/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,MAAM,MAAM,aAAa,GAAG;IAC1B,GAAG,EAAE,OAAO,CAAC;IACb,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,OAAO,CAAC;IACf,gBAAgB,EAAE,OAAO,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,aAAa,GAAG;IAC1C,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,aAAa,GAAG;IAC3C,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,cAAc,GAAG;IAC1C,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,aAAa,GAAG;IAChD,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,aAAa,GAAG;IAC9C,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,aAAa,GAAG;IAC9C,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B,CAAC"}
@@ -14,5 +14,5 @@
14
14
  * You should have received a copy of the GNU Affero General Public License
15
15
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16
16
  */
17
- export declare const version = "1.15.0";
17
+ export declare const version = "1.16.0-alpha.1";
18
18
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,eAAO,MAAM,OAAO,WAAW,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,eAAO,MAAM,OAAO,mBAAmB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ardrive/turbo-sdk",
3
- "version": "1.16.0-alpha.1",
3
+ "version": "1.16.0-alpha.2",
4
4
  "main": "./lib/cjs/node/index.js",
5
5
  "types": "./lib/types/node/index.d.ts",
6
6
  "module": "./lib/esm/node/index.js",
@@ -91,6 +91,7 @@
91
91
  "ethers": "^6.12.0",
92
92
  "mime-types": "^2.1.35",
93
93
  "plimit-lit": "^3.0.1",
94
+ "prompts": "^2.4.2",
94
95
  "tweetnacl": "^1.0.3",
95
96
  "winston": "^3.14.1"
96
97
  },
@@ -106,6 +107,7 @@
106
107
  "@types/mime-types": "^2.1.4",
107
108
  "@types/mocha": "^10.0.1",
108
109
  "@types/node": "^20.4.8",
110
+ "@types/prompts": "^2.4.9",
109
111
  "@types/sinon": "^10.0.15",
110
112
  "@typescript-eslint/eslint-plugin": "^5.62.0",
111
113
  "@typescript-eslint/parser": "^6.4.0",