diff --git a/extensions/weavedrive/client/README.md b/extensions/weavedrive/client/README.md index ba4d78ff..b83697e2 100644 --- a/extensions/weavedrive/client/README.md +++ b/extensions/weavedrive/client/README.md @@ -1,6 +1,6 @@ # WeaveDrive Client -Version: 0.0.1 +Version: 0.0.2 This client allows users to connect to WeaveDrive and access the block headers and transaction headers for Arweave. @@ -29,6 +29,11 @@ getTx takes a arweave txId and returns the transaction headers for that tx > NOTE: It is important to note that the owner Wallet Address is added to this result set. +### getDataItem(id) + +getDataItem takes a L2 or bundled txId and returns the MetaData for that `id` + + ### getBlock(blockHeight) getBlock takes a blockHeight and returns the blockHeight Headers @@ -220,3 +225,11 @@ getBlock takes a blockHeight and returns the blockHeight Headers } } ``` + +## Publish + +``` +npm i -g apm-tool +apm publish +``` + diff --git a/extensions/weavedrive/client/apm.json b/extensions/weavedrive/client/apm.json new file mode 100644 index 00000000..09bbfae5 --- /dev/null +++ b/extensions/weavedrive/client/apm.json @@ -0,0 +1,17 @@ +{ + "$schema": "https://raw.githubusercontent.com/ankushKun/apm-cli/main/apm.schema.json", + "name": "WeaveDrive", + "vendor": "@rakis", + "description": "WeaveDrive is a client that provides an interface to WeaveDrive for wasm64 processes", + "main": "main.lua", + "version": "0.0.2", + "repository": "https://github.com/permaweb/aos/extensions/weavedrive", + "license": "MIT", + "keywords": [], + "authors": [], + "warnings": { + "modifiesGlobalState": false, + "installMessage": "" + }, + "dependencies": {} +} \ No newline at end of file