diff --git a/.pnp.js b/.pnp.js index 9d83a720..3d3001aa 100755 --- a/.pnp.js +++ b/.pnp.js @@ -50,7 +50,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@types/source-map-support", "npm:0.5.4"], ["@typescript-eslint/eslint-plugin", "virtual:6f50bb9424c73c7612c66dab5cf8914d8ec79550c84d8ca5e4888e80022682c708b4b5a1c510d282a03285cc9bb19002b477ae70d15882aa995ea1d5d6bf24ab#npm:4.20.0"], ["@typescript-eslint/parser", "virtual:6f50bb9424c73c7612c66dab5cf8914d8ec79550c84d8ca5e4888e80022682c708b4b5a1c510d282a03285cc9bb19002b477ae70d15882aa995ea1d5d6bf24ab#npm:4.20.0"], - ["ardrive-core-js", "npm:1.17.0"], + ["ardrive-core-js", "npm:1.18.0"], ["arweave", "npm:1.11.4"], ["axios", "npm:0.21.1"], ["bn.js", "npm:5.2.1"], @@ -2063,7 +2063,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@types/source-map-support", "npm:0.5.4"], ["@typescript-eslint/eslint-plugin", "virtual:6f50bb9424c73c7612c66dab5cf8914d8ec79550c84d8ca5e4888e80022682c708b4b5a1c510d282a03285cc9bb19002b477ae70d15882aa995ea1d5d6bf24ab#npm:4.20.0"], ["@typescript-eslint/parser", "virtual:6f50bb9424c73c7612c66dab5cf8914d8ec79550c84d8ca5e4888e80022682c708b4b5a1c510d282a03285cc9bb19002b477ae70d15882aa995ea1d5d6bf24ab#npm:4.20.0"], - ["ardrive-core-js", "npm:1.17.0"], + ["ardrive-core-js", "npm:1.18.0"], ["arweave", "npm:1.11.4"], ["axios", "npm:0.21.1"], ["bn.js", "npm:5.2.1"], @@ -2091,10 +2091,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["ardrive-core-js", [ - ["npm:1.17.0", { - "packageLocation": "./.yarn/cache/ardrive-core-js-npm-1.17.0-0f72b2f998-925e9c0fa0.zip/node_modules/ardrive-core-js/", + ["npm:1.18.0", { + "packageLocation": "./.yarn/cache/ardrive-core-js-npm-1.18.0-a0233d1edc-91e4071368.zip/node_modules/ardrive-core-js/", "packageDependencies": [ - ["ardrive-core-js", "npm:1.17.0"], + ["ardrive-core-js", "npm:1.18.0"], ["@alexsasharegan/simple-cache", "npm:3.3.3"], ["arbundles", "npm:0.6.19"], ["arweave", "npm:1.11.4"], diff --git a/.yarn/cache/ardrive-core-js-npm-1.17.0-0f72b2f998-925e9c0fa0.zip b/.yarn/cache/ardrive-core-js-npm-1.18.0-a0233d1edc-91e4071368.zip similarity index 92% rename from .yarn/cache/ardrive-core-js-npm-1.17.0-0f72b2f998-925e9c0fa0.zip rename to .yarn/cache/ardrive-core-js-npm-1.18.0-a0233d1edc-91e4071368.zip index 62a72da5..bf956e56 100644 Binary files a/.yarn/cache/ardrive-core-js-npm-1.17.0-0f72b2f998-925e9c0fa0.zip and b/.yarn/cache/ardrive-core-js-npm-1.18.0-a0233d1edc-91e4071368.zip differ diff --git a/package.json b/package.json index 4884d948..76a9b101 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ardrive-cli", - "version": "1.21.0", + "version": "1.22.0", "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": { @@ -8,7 +8,7 @@ }, "types": "./lib/index.d.ts", "dependencies": { - "ardrive-core-js": "1.17.0", + "ardrive-core-js": "1.18.0", "arweave": "1.11.4", "axios": "^0.21.1", "bn.js": "^5.2.1", diff --git a/src/CLICommand/parameters_helper.test.ts b/src/CLICommand/parameters_helper.test.ts index 278b632e..32a47d80 100644 --- a/src/CLICommand/parameters_helper.test.ts +++ b/src/CLICommand/parameters_helper.test.ts @@ -723,7 +723,11 @@ describe('ParametersHelper class', () => { 'Tag-1', 'Val 1', 'Tag 2', - 'Val 2' + 'Val 2', + 'App-Name', + 'My arweave app', + 'App-Version', + '1.2.3' ]); await cmd.action.then((options) => { @@ -731,7 +735,12 @@ describe('ParametersHelper class', () => { const metaDataResult = parameters.getCustomMetaData(); expect(metaDataResult).to.deep.equal({ - metaDataGqlTags: { 'Tag 2': 'Val 2', 'Tag-1': 'Val 1' } + metaDataGqlTags: { + 'Tag 2': 'Val 2', + 'Tag-1': 'Val 1', + 'App-Name': 'My arweave app', + 'App-Version': '1.2.3' + } }); }); }); diff --git a/yarn.lock b/yarn.lock index 080eadd0..bc338ab7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1700,7 +1700,7 @@ __metadata: "@types/source-map-support": ^0 "@typescript-eslint/eslint-plugin": ^4.18.0 "@typescript-eslint/parser": ^4.18.0 - ardrive-core-js: 1.17.0 + ardrive-core-js: 1.18.0 arweave: 1.11.4 axios: ^0.21.1 bn.js: ^5.2.1 @@ -1728,9 +1728,9 @@ __metadata: languageName: unknown linkType: soft -"ardrive-core-js@npm:1.17.0": - version: 1.17.0 - resolution: "ardrive-core-js@npm:1.17.0" +"ardrive-core-js@npm:1.18.0": + version: 1.18.0 + resolution: "ardrive-core-js@npm:1.18.0" dependencies: "@alexsasharegan/simple-cache": ^3.3.3 arbundles: ^0.6.19 @@ -1748,7 +1748,7 @@ __metadata: smartweave: ^0.4.49 utf8: ^3.0.0 uuid: ^8.3.2 - checksum: 925e9c0fa08b1063e4cca489f7cb6f054d75b44b64a170a73999267d786bcd91f89647be9211cc5335e46cdcd59dae67411fa2e28f27a21081917b58e5418517 + checksum: 91e407136871d36ebf7cf6522486cf20380325291f78552756b4ec349a41f90fafc62963376a405e1433cf5bd2b6df4c022c043fc501216c9f7f281a6e00640f languageName: node linkType: hard