From 7a2b3bf65f12d8ade03f947b3ec15c6845070de4 Mon Sep 17 00:00:00 2001 From: Tom Wilson Date: Mon, 21 Oct 2024 15:15:54 +0000 Subject: [PATCH] chore: publish 0.0.2 version of weavedrive client pkg --- extensions/weavedrive/client/README.md | 15 ++++++++++++++- extensions/weavedrive/client/apm.json | 17 +++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 extensions/weavedrive/client/apm.json 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