Skip to content

Commit

Permalink
add buffer dependency and import it (#67)
Browse files Browse the repository at this point in the history
* add buffer dependency and import it

* updated package version
  • Loading branch information
CluEleSsUK authored Jul 3, 2023
1 parent dec761f commit 1d6f1b6
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 3 deletions.
1 change: 1 addition & 0 deletions lib/beacon-verification.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import * as bls from '@noble/bls12-381'
import {PointG1, PointG2, Fp12, pairing} from '@noble/bls12-381';
import {Buffer} from 'buffer'

import {
G2ChainedBeacon,
Expand Down
83 changes: 82 additions & 1 deletion package-lock.json

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

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "drand-client",
"version": "1.1.0",
"version": "1.1.1",
"description": "A client to the drand randomness beacon network.",
"main": "index.js",
"types": "index.d.ts",
Expand Down Expand Up @@ -28,7 +28,8 @@
"typescript-eslint": "^0.0.1-alpha.0"
},
"dependencies": {
"@noble/bls12-381": "^1.4.0"
"@noble/bls12-381": "^1.4.0",
"buffer": "^6.0.3"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 1d6f1b6

Please sign in to comment.