mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2025-12-28 11:24:28 +01:00
update to mutiny-wasm
This commit is contained in:
@@ -2,7 +2,7 @@ import { useMegaStore } from "~/state/megaStore";
|
||||
import { Card, Hr, SmallHeader, Button, InnerCard } from "~/components/layout";
|
||||
import PeerConnectModal from "~/components/PeerConnectModal";
|
||||
import { For, Show, Suspense, createResource, createSignal } from "solid-js";
|
||||
import { MutinyChannel, MutinyPeer } from "@mutinywallet/node-manager";
|
||||
import { MutinyChannel, MutinyPeer } from "@mutinywallet/mutiny-wasm";
|
||||
import { TextField } from "@kobalte/core";
|
||||
import mempoolTxUrl from "~/utils/mempoolTxUrl";
|
||||
import eify from "~/utils/eify";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
import init, { NodeManager } from '@mutinywallet/node-manager';
|
||||
import init, { NodeManager } from '@mutinywallet/mutiny-wasm';
|
||||
|
||||
export type NodeManagerSettingStrings = {
|
||||
network?: string, proxy?: string, esplora?: string, rgs?: string, lsp?: string,
|
||||
|
||||
@@ -6,7 +6,7 @@ import { Button, ButtonLink, DefaultMain, LargeHeader, SafeArea, SmallHeader } f
|
||||
import { Paste } from "~/assets/svg/Paste";
|
||||
import { Scan } from "~/assets/svg/Scan";
|
||||
import { useMegaStore } from "~/state/megaStore";
|
||||
import { MutinyInvoice, NodeManager } from "@mutinywallet/node-manager";
|
||||
import { MutinyInvoice, NodeManager } from "@mutinywallet/mutiny-wasm";
|
||||
import { bip21decode } from "~/utils/TEMPbip21";
|
||||
import { AmountEditable } from "~/components/AmountEditable";
|
||||
import { useLocation } from "solid-start";
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
import { ParentComponent, createContext, createEffect, onMount, useContext } from "solid-js";
|
||||
import { createStore } from "solid-js/store";
|
||||
import { setupNodeManager } from "~/logic/nodeManagerSetup";
|
||||
import { MutinyBalance, NodeManager } from "@mutinywallet/node-manager";
|
||||
import { MutinyBalance, NodeManager } from "@mutinywallet/mutiny-wasm";
|
||||
|
||||
const MegaStoreContext = createContext<MegaStore>();
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { NodeManager } from "@mutinywallet/node-manager";
|
||||
import { NodeManager } from "@mutinywallet/mutiny-wasm";
|
||||
|
||||
export function satsToUsd(amount: number | undefined, price: number, formatted: boolean): string {
|
||||
if (typeof amount !== "number" || isNaN(amount)) {
|
||||
|
||||
Reference in New Issue
Block a user