use waku/rln from npm

This commit is contained in:
danisharora099 2022-12-09 19:31:10 +05:30
parent ca500408e0
commit 83c694d3c6
No known key found for this signature in database
GPG Key ID: FBD2BF500037F135

View File

@ -142,19 +142,12 @@
import { protobuf } from "https://taisukef.github.io/protobuf-es.js/dist/protobuf-es.js"; import { protobuf } from "https://taisukef.github.io/protobuf-es.js/dist/protobuf-es.js";
// import {
// create,
// MembershipKey,
// RLNDecoder,
// RLNEncoder,
// } from "https://unpkg.com/@waku/rln@0.0.12-6875952/bundle/index.js";
import { import {
create, create,
MembershipKey, MembershipKey,
RLNDecoder, RLNDecoder,
RLNEncoder, RLNEncoder,
} from "./bundle/index.js"; } from "https://unpkg.com/@waku/rln@0.0.13/bundle/index.js";
import { ethers } from "https://unpkg.com/ethers@5.7.2/dist/ethers.esm.min.js"; import { ethers } from "https://unpkg.com/ethers@5.7.2/dist/ethers.esm.min.js";