rename to createRLN

This commit is contained in:
Sasha 2024-01-24 20:45:50 +01:00
parent 2bdc3c2530
commit 82a986437a
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
import type { RLNInstance } from "./rln.js";
export async function create(): Promise<RLNInstance> {
export async function createRLN(): Promise<RLNInstance> {
// A dependency graph that contains any wasm must all be imported
// asynchronously. This file does the single async import, so
// that no one else needs to worry about it again.

View File

@ -4,7 +4,7 @@ import {
RLN_STORAGE_ABI,
SEPOLIA_CONTRACT,
} from "./constants.js";
import { create } from "./create.js";
import { createRLN } from "./create.js";
import { Keystore } from "./keystore/index.js";
import {
IdentityCredential,
@ -16,7 +16,7 @@ import { RLNContract } from "./rln_contract.js";
import { MerkleRootTracker } from "./root_tracker.js";
export {
create,
createRLN,
Keystore,
RLNInstance,
IdentityCredential,