Skip to content

Commit

Permalink
Merge pull request #381 from permaweb/twilson63/chore-publish-weavedrive
Browse files Browse the repository at this point in the history
chore: publish 0.0.2 version of weavedrive client pkg
  • Loading branch information
twilson63 authored Oct 21, 2024
2 parents f6d2739 + 7a2b3bf commit dce8967
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
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": {}
}

0 comments on commit dce8967

Please sign in to comment.