diff --git a/.pnp.js b/.pnp.js index 1fabd428..06f74b96 100755 --- a/.pnp.js +++ b/.pnp.js @@ -48,7 +48,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.12.0"], + ["ardrive-core-js", "npm:1.13.0"], ["arweave", "npm:1.10.18"], ["axios", "npm:0.21.1"], ["chai", "npm:4.3.4"], @@ -1879,7 +1879,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.12.0"], + ["ardrive-core-js", "npm:1.13.0"], ["arweave", "npm:1.10.18"], ["axios", "npm:0.21.1"], ["chai", "npm:4.3.4"], @@ -1905,10 +1905,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["ardrive-core-js", [ - ["npm:1.12.0", { - "packageLocation": "./.yarn/cache/ardrive-core-js-npm-1.12.0-ac87fde185-631befa51d.zip/node_modules/ardrive-core-js/", + ["npm:1.13.0", { + "packageLocation": "./.yarn/cache/ardrive-core-js-npm-1.13.0-550896318c-d363267352.zip/node_modules/ardrive-core-js/", "packageDependencies": [ - ["ardrive-core-js", "npm:1.12.0"], + ["ardrive-core-js", "npm:1.13.0"], ["@alexsasharegan/simple-cache", "npm:3.3.3"], ["arbundles", "npm:0.5.5"], ["arweave", "npm:1.10.18"], diff --git a/.yarn/cache/ardrive-core-js-npm-1.12.0-ac87fde185-631befa51d.zip b/.yarn/cache/ardrive-core-js-npm-1.13.0-550896318c-d363267352.zip similarity index 77% rename from .yarn/cache/ardrive-core-js-npm-1.12.0-ac87fde185-631befa51d.zip rename to .yarn/cache/ardrive-core-js-npm-1.13.0-550896318c-d363267352.zip index 339e57b0..b5eb5b58 100644 Binary files a/.yarn/cache/ardrive-core-js-npm-1.12.0-ac87fde185-631befa51d.zip and b/.yarn/cache/ardrive-core-js-npm-1.13.0-550896318c-d363267352.zip differ diff --git a/README.md b/README.md index 6986cf78..dba07829 100644 --- a/README.md +++ b/README.md @@ -11,12 +11,16 @@ ardrive create-drive --wallet-file /path/to/my/wallet.json --drive-name "Teenage { "type": "drive", "metadataTxId": "giv2R8Xj0bbe6l5taBTQJk_38zwIrMH_g1-knSCisjU", - "entityId": "898687ea-b678-4f86-b4e7-49560b190356" + "entityId": "898687ea-b678-4f86-b4e7-49560b190356", + "bundledIn": "Vj2x4IBEAezBvhj5RgtA247W_q3S10suI6l0E30GPoE", + "entityName": "Teenage Love Poetry" }, { "type": "folder", "metadataTxId": "VljnttwUxRStnVuPYakF9e2whjhYJVWB0nSxD5dVyJ8", - "entityId": "f0c58c11-430c-4383-8e54-4d864cc7e927" + "entityId": "f0c58c11-430c-4383-8e54-4d864cc7e927", + "bundledIn": "Vj2x4IBEAezBvhj5RgtA247W_q3S10suI6l0E30GPoE", + "entityName": "Teenage Love Poetry" }, { "type": "bundle", @@ -34,9 +38,12 @@ ardrive upload-file --wallet-file /path/to/my/wallet.json --parent-folder-id "f0 "created": [ { "type": "file", - "metadataTxId": "EvE06MmE9IKeUzFMnxSgY1M5tJX4uHU64-n8Pf_lZfU", + "entityName": "ode_to_ardrive.txt", + "entityId": "bd2ce978-6ede-4b0d-8f79-2d7bc235a0e0", "dataTxId": "tSMcfvAQu_tKLUkdvRRbqdX93oAf3h6c9eJsSj8mXL4", - "entityId": "bd2ce978-6ede-4b0d-8f79-2d7bc235a0e0" + "metadataTxId": "EvE06MmE9IKeUzFMnxSgY1M5tJX4uHU64-n8Pf_lZfU", + "bundledIn": "qjdHiQoWlSjCvhj5RgtA247W_q3S10suI6l0E30GPoE", + "sourceUri": "file://Users/BestArDriver/Uploads/helloworld.txt" }, { "type": "bundle", @@ -351,7 +358,7 @@ At the root of every data tree is a "Drive" entity. When a drive is created, a R # Use `tee` to keep a receipt of the full set of transactions info and `jq` to focus on the data of interest ardrive create-drive --wallet-file /path/to/my/wallet.json --drive-name "Teenage Love Poetry" | tee created_drive.json | -jq '[.created[] | del(.metadataTxId)]' +jq '[.created[] | del(.metadataTxId, .entityName, .bundledIn)]' [ { "type": "drive", @@ -547,7 +554,8 @@ Example output: "type": "folder", "metadataTxId": "AYFMBVmwqhbg9y5Fbj3Iasy5oxUqhauOW7PcS1sl4Dk", "entityId": "d1b7c514-fb12-4603-aad8-002cf63015d3", - "key": "yHdCjpCKD2cuhQcKNx2d/XF5ReEjoKfZVqKunlCnPEk" + "key": "yHdCjpCKD2cuhQcKNx2d/XF5ReEjoKfZVqKunlCnPEk", + "entityName": "My Awesome Folder" } ], "tips": [], @@ -712,9 +720,12 @@ Example output: "created": [ { "type": "file", - "metadataTxId": "YfdDXUyerPCpBbGTm_gv_x5hR3tu5fnz8bM-jPL__JE", - "dataTxId": "l4iNWyBapfAIj7OU-nB8z9XrBhawyqzs5O9qhk-3EnI", + "entityName": "file.txt" "entityId": "6613395a-cf19-4420-846a-f88b7b765c05" + "dataTxId": "l4iNWyBapfAIj7OU-nB8z9XrBhawyqzs5O9qhk-3EnI", + "metadataTxId": "YfdDXUyerPCpBbGTm_gv_x5hR3tu5fnz8bM-jPL__JE", + "bundledIn": "1zwdfZAIV8E26YjBs2ZQ4xjjP_1ewalvRgD_GyYw7f8", + "sourceUri": "file:///path/to/file.txt" }, { "type": "bundle", diff --git a/package.json b/package.json index 7cf24425..2c0fc228 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ardrive-cli", - "version": "1.13.1", + "version": "1.14.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.12.0", + "ardrive-core-js": "1.13.0", "arweave": "1.10.18", "axios": "^0.21.1", "commander": "^8.2.0", diff --git a/yarn.lock b/yarn.lock index c40b53ec..cfd427ca 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1538,7 +1538,7 @@ __metadata: "@types/source-map-support": ^0 "@typescript-eslint/eslint-plugin": ^4.18.0 "@typescript-eslint/parser": ^4.18.0 - ardrive-core-js: 1.12.0 + ardrive-core-js: 1.13.0 arweave: 1.10.18 axios: ^0.21.1 chai: ^4.3.4 @@ -1564,9 +1564,9 @@ __metadata: languageName: unknown linkType: soft -"ardrive-core-js@npm:1.12.0": - version: 1.12.0 - resolution: "ardrive-core-js@npm:1.12.0" +"ardrive-core-js@npm:1.13.0": + version: 1.13.0 + resolution: "ardrive-core-js@npm:1.13.0" dependencies: "@alexsasharegan/simple-cache": ^3.3.3 arbundles: ^0.5.5 @@ -1584,7 +1584,7 @@ __metadata: smartweave: ^0.4.45 utf8: ^3.0.0 uuid: ^8.3.2 - checksum: 631befa51d89947efdc99efaa8b092a3bde03f25b894c93563848e41acfa7cfb5c7e235bbd244a3a12f362538f716026f83c32a374cd093add302d814ccbb2ab + checksum: d363267352a24aa2f4ca494dff76facf63722457bad2366b5f90ad7c32d87a8d32a9e502c2923b4c456c911b900157db9bd42ad653c50f1ba34160daff2dc214 languageName: node linkType: hard