diff --git a/package.json b/package.json index 8c54c274..7cf24425 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ardrive-cli", - "version": "1.13.0", + "version": "1.13.1", "description": "The ArDrive Command Line Interface (CLI is a Node.js application for terminal-based ArDrive workflows. It also offers utility operations for securely interacting with Arweave wallets and inspecting various Arweave blockchain conditions.", "main": "./lib/index.js", "bin": { diff --git a/src/commands/upload_file.ts b/src/commands/upload_file.ts index bb2d32df..797a0bc2 100644 --- a/src/commands/upload_file.ts +++ b/src/commands/upload_file.ts @@ -10,7 +10,6 @@ import { LocalFilePathParameter_DEPRECATED, LocalFilesParameter_DEPRECATED, ParentFolderIdParameter, - WalletFileParameter, LocalPathParameter, LocalCSVParameter, GatewayParameter, @@ -26,7 +25,6 @@ import { DriveKey, wrapFileOrFolder, EID, - readJWKFile, EntityKey, ArDriveUploadStats } from 'ardrive-core-js'; @@ -162,7 +160,7 @@ new CLICommand({ return getSingleFile(parameters, parentFolderId); })(); if (filesToUpload.length) { - const wallet = parameters.getRequiredParameterValue(WalletFileParameter, readJWKFile); + const wallet = await parameters.getRequiredWallet(); const conflictResolution = parameters.getFileNameConflictResolution(); const shouldBundle = !!parameters.getParameterValue(ShouldBundleParameter); @@ -170,7 +168,7 @@ new CLICommand({ const arweave = getArweaveFromURL(parameters.getGateway()); const arDrive = cliArDriveFactory({ - wallet: wallet, + wallet, feeMultiple: parameters.getOptionalBoostSetting(), dryRun: parameters.isDryRun(), shouldBundle,