From 5bacde6367a2d49b48c9cc6afe03bd553e09029e Mon Sep 17 00:00:00 2001 From: dafuga Date: Thu, 22 Aug 2024 17:27:48 -0700 Subject: [PATCH] chore: exporting snap origins --- src/index.ts | 1 + src/snaps.ts | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 src/snaps.ts diff --git a/src/index.ts b/src/index.ts index 25b7157..d9defdf 100644 --- a/src/index.ts +++ b/src/index.ts @@ -21,6 +21,7 @@ export type Request = (params: RequestArguments) => Promise export type GetSnapsResponse = Record export * from './metamask' +export * from './snaps' export interface WalletPluginMetaMaskConfig { snapOrigin?: string diff --git a/src/snaps.ts b/src/snaps.ts new file mode 100644 index 0000000..3a8add2 --- /dev/null +++ b/src/snaps.ts @@ -0,0 +1,4 @@ +export const snapOrigins = new Map([ + ['eos', 'local:http://localhost:8080'], + ['jungle4', 'local:http://localhost:8080'], +])