mirror of
https://github.com/logos-messaging/js-rln.git
synced 2026-01-07 16:13:07 +00:00
fix: merkle root import (#64)
This commit is contained in:
parent
7e93896538
commit
fa1d3f8222
7
example/package-lock.json
generated
7
example/package-lock.json
generated
@ -18,7 +18,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"..": {
|
"..": {
|
||||||
"version": "0.1.0",
|
"name": "@waku/rln",
|
||||||
|
"version": "0.1.1",
|
||||||
"license": "MIT OR Apache-2.0",
|
"license": "MIT OR Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@waku/utils": "^0.0.5",
|
"@waku/utils": "^0.0.5",
|
||||||
@ -42,7 +43,7 @@
|
|||||||
"@typescript-eslint/eslint-plugin": "^5.8.1",
|
"@typescript-eslint/eslint-plugin": "^5.8.1",
|
||||||
"@typescript-eslint/parser": "^5.8.1",
|
"@typescript-eslint/parser": "^5.8.1",
|
||||||
"@waku/core": "^0.0.17",
|
"@waku/core": "^0.0.17",
|
||||||
"@waku/interfaces": "^0.0.11",
|
"@waku/interfaces": "^0.0.12",
|
||||||
"@waku/message-encryption": "^0.0.15",
|
"@waku/message-encryption": "^0.0.15",
|
||||||
"@web/rollup-plugin-import-meta-assets": "^1.0.7",
|
"@web/rollup-plugin-import-meta-assets": "^1.0.7",
|
||||||
"app-root-path": "^3.0.0",
|
"app-root-path": "^3.0.0",
|
||||||
@ -3958,7 +3959,7 @@
|
|||||||
"@typescript-eslint/eslint-plugin": "^5.8.1",
|
"@typescript-eslint/eslint-plugin": "^5.8.1",
|
||||||
"@typescript-eslint/parser": "^5.8.1",
|
"@typescript-eslint/parser": "^5.8.1",
|
||||||
"@waku/core": "^0.0.17",
|
"@waku/core": "^0.0.17",
|
||||||
"@waku/interfaces": "^0.0.11",
|
"@waku/interfaces": "^0.0.12",
|
||||||
"@waku/message-encryption": "^0.0.15",
|
"@waku/message-encryption": "^0.0.15",
|
||||||
"@waku/utils": "^0.0.5",
|
"@waku/utils": "^0.0.5",
|
||||||
"@waku/zerokit-rln-wasm": "^0.0.10",
|
"@waku/zerokit-rln-wasm": "^0.0.10",
|
||||||
|
|||||||
@ -2,7 +2,7 @@ import { ethers } from "ethers";
|
|||||||
|
|
||||||
import { RLN_ABI } from "./constants.js";
|
import { RLN_ABI } from "./constants.js";
|
||||||
import { IdentityCredential, RLNInstance } from "./rln.js";
|
import { IdentityCredential, RLNInstance } from "./rln.js";
|
||||||
import { MerkleRootTracker } from "./root_tracker";
|
import { MerkleRootTracker } from "./root_tracker.js";
|
||||||
|
|
||||||
type Member = {
|
type Member = {
|
||||||
pubkey: string;
|
pubkey: string;
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
import { assert, expect } from "chai";
|
import { assert, expect } from "chai";
|
||||||
|
|
||||||
import { MerkleRootTracker } from "./root_tracker";
|
import { MerkleRootTracker } from "./root_tracker.js";
|
||||||
|
|
||||||
describe("js-rln", () => {
|
describe("js-rln", () => {
|
||||||
it("should track merkle roots and backfill from block number", async function () {
|
it("should track merkle roots and backfill from block number", async function () {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user