Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: publish 0.0.2 version of weavedrive client pkg #381

Merged
merged 1 commit into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion extensions/weavedrive/client/README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -220,3 +225,11 @@ getBlock takes a blockHeight and returns the blockHeight Headers
}
}
```

## Publish

```
npm i -g apm-tool
apm publish
```

17 changes: 17 additions & 0 deletions extensions/weavedrive/client/apm.json
Original file line number Diff line number Diff line change
@@ -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": {}
}
Loading