Skip to content

Commit

Permalink
fix: readme and example, add repo
Browse files Browse the repository at this point in the history
  • Loading branch information
beqaabu committed Jan 21, 2025
1 parent 70c0ffb commit 0fdba4a
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 4 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ name = "bls-signatures-bindings"
version = "0.1.0"
edition = "2021"
license = "MIT AND Apache-2.0"
repository = "https://github.com/gluwa/bls-signatures-bindings"

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Creates bindings for https://github.com/gluwa/bls-signatures.

## Installation
```bash
npm install @gluwa/bls-signatures-bindings
npm install bls-signatures-bindings
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion pkg/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Creates bindings for https://github.com/gluwa/bls-signatures.

## Installation
```bash
npm install @gluwa/bls-signatures-bindings
npm install bls-signatures-bindings
```

## Usage
Expand Down
4 changes: 4 additions & 0 deletions pkg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"description": "Bindings for no_std Aggregate BLS Signatures",
"version": "0.1.0",
"license": "MIT AND Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/gluwa/bls-signatures-bindings"
},
"files": [
"bls_signatures_bindings_bg.wasm",
"bls_signatures_bindings.js",
Expand Down
8 changes: 8 additions & 0 deletions ts-example/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions ts-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,8 @@
"@types/node": "^22.10.1",
"typescript": "^5.7.2",
"wasm-pack": "^0.13.1"
},
"dependencies": {
"bls-signatures-bindings": "^0.1.0"
}
}
1 change: 0 additions & 1 deletion ts-example/pkg

This file was deleted.

2 changes: 1 addition & 1 deletion ts-example/src/test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { WasmPrivateKey } from '../pkg/bls_signatures_bindings.js';
import { WasmPrivateKey } from 'bls-signatures-bindings';

async function main() {
const seed = new Uint8Array(32);
Expand Down

0 comments on commit 0fdba4a

Please sign in to comment.