diff --git a/src/create.ts b/src/create.ts index 9d7f6e0..3b32302 100644 --- a/src/create.ts +++ b/src/create.ts @@ -1,6 +1,6 @@ import type { RLNInstance } from "./rln.js"; -export async function create(): Promise { +export async function createRLN(): Promise { // 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. diff --git a/src/index.ts b/src/index.ts index 6b53efc..ae89bec 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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,