Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update @here-wallet/core #1155

Merged
merged 5 commits into from
Aug 2, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(here-wallet): remove debug code
  • Loading branch information
AZbang committed Aug 1, 2024
commit 5299f6b967bac6bfc2b6a8a77e78a97f082b85f5
9 changes: 2 additions & 7 deletions packages/here-wallet/src/lib/selector.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
import {
HereWallet,
waitInjectedHereWallet,
WidgetStrategy,
} from "@here-wallet/core";
import type { SelectorInit } from "./types";

export const initHereWallet: SelectorInit = async (config) => {
const { store, logger, emitter, options } = config;
const here = await HereWallet.connect({
defaultStrategy: new WidgetStrategy({
widget: "http://localhost:4173/connector/index.html",
}),
});
const { store, logger, emitter, options, walletOptions } = config;
const here = await HereWallet.connect(walletOptions);

async function getAccounts() {
logger.log("HereWallet:getAccounts");
Expand Down
Loading