diff --git a/apps/browser-extension-wallet/package.json b/apps/browser-extension-wallet/package.json
index 95f3dcc17..c9890dbd8 100644
--- a/apps/browser-extension-wallet/package.json
+++ b/apps/browser-extension-wallet/package.json
@@ -41,15 +41,15 @@
},
"dependencies": {
"@ant-design/icons": "^4.7.0",
- "@cardano-sdk/cardano-services-client": "0.23.2",
- "@cardano-sdk/core": "0.42.1",
- "@cardano-sdk/dapp-connector": "0.12.47",
- "@cardano-sdk/input-selection": "0.13.31",
- "@cardano-sdk/tx-construction": "0.23.0",
+ "@cardano-sdk/cardano-services-client": "0.23.4",
+ "@cardano-sdk/core": "0.42.2",
+ "@cardano-sdk/dapp-connector": "0.12.48",
+ "@cardano-sdk/input-selection": "0.13.32",
+ "@cardano-sdk/tx-construction": "0.24.0",
"@cardano-sdk/util": "0.15.5",
- "@cardano-sdk/util-rxjs": "0.8.0",
- "@cardano-sdk/wallet": "0.46.2",
- "@cardano-sdk/web-extension": "0.36.1",
+ "@cardano-sdk/util-rxjs": "0.9.0",
+ "@cardano-sdk/wallet": "0.47.0",
+ "@cardano-sdk/web-extension": "0.37.0",
"@emurgo/cip14-js": "~3.0.1",
"@input-output-hk/lace-ui-toolkit": "1.21.0",
"@lace/cardano": "0.1.0",
@@ -99,7 +99,7 @@
"zustand": "3.5.14"
},
"devDependencies": {
- "@cardano-sdk/hardware-ledger": "0.12.16",
+ "@cardano-sdk/hardware-ledger": "0.12.17",
"@emurgo/cardano-message-signing-asmjs": "1.0.1",
"@openpgp/web-stream-tools": "0.0.11-patch-0",
"@pdfme/common": "^4.0.2",
diff --git a/apps/browser-extension-wallet/src/components/Crash/Crash.module.scss b/apps/browser-extension-wallet/src/components/Crash/Crash.module.scss
new file mode 100644
index 000000000..ef6ded8e1
--- /dev/null
+++ b/apps/browser-extension-wallet/src/components/Crash/Crash.module.scss
@@ -0,0 +1,12 @@
+@import '../../../../../packages/common/src/ui/styles/theme.scss';
+
+.crashContainer {
+ @include flex-center;
+ flex-direction: column;
+ height: 100%;
+ gap: size_unit(2);
+
+ .crashText {
+ color: var(--text-color-primary);
+ }
+}
diff --git a/apps/browser-extension-wallet/src/components/Crash/Crash.tsx b/apps/browser-extension-wallet/src/components/Crash/Crash.tsx
new file mode 100644
index 000000000..16d2247e6
--- /dev/null
+++ b/apps/browser-extension-wallet/src/components/Crash/Crash.tsx
@@ -0,0 +1,24 @@
+import React from 'react';
+import classNames from 'classnames';
+import { useTranslation } from 'react-i18next';
+import styles from './Crash.module.scss';
+import { Button } from '@input-output-hk/lace-ui-toolkit';
+import { useRuntime } from '@hooks/useRuntime';
+
+export const Crash = (): React.ReactElement => {
+ const { t } = useTranslation();
+ const runtime = useRuntime();
+
+ return (
+
+
+ {t('general.errors.crash')}
+
+
runtime.reload()}
+ label={t('general.errors.reloadExtension')}
+ data-testid="crash-reload"
+ />
+
+ );
+};
diff --git a/apps/browser-extension-wallet/src/components/Crash/index.ts b/apps/browser-extension-wallet/src/components/Crash/index.ts
new file mode 100644
index 000000000..9c2efe9e2
--- /dev/null
+++ b/apps/browser-extension-wallet/src/components/Crash/index.ts
@@ -0,0 +1 @@
+export * from './Crash';
diff --git a/apps/browser-extension-wallet/src/features/nami-migration/NamiMigration.tsx b/apps/browser-extension-wallet/src/features/nami-migration/NamiMigration.tsx
index 80f2732b8..955d14e4e 100644
--- a/apps/browser-extension-wallet/src/features/nami-migration/NamiMigration.tsx
+++ b/apps/browser-extension-wallet/src/features/nami-migration/NamiMigration.tsx
@@ -9,6 +9,8 @@ import { WalletSetupLayout } from '@views/browser/components';
import { Portal } from '@views/browser/features/wallet-setup/components/Portal';
import { useAnalyticsContext } from '@providers';
import { postHogNamiMigrationActions } from '@providers/AnalyticsProvider/analyticsTracker';
+import { useFatalError } from '@hooks/useFatalError';
+import { Crash } from '@components/Crash';
const urlPath = walletRoutePaths.namiMigration;
@@ -23,6 +25,11 @@ export const NamiMigration = (): JSX.Element => {
analytics.sendEventToPostHog(postHogNamiMigrationActions.onboarding.OPEN);
}, [analytics]);
+ const fatalError = useFatalError();
+ if (fatalError) {
+ return ;
+ }
+
return (
diff --git a/apps/browser-extension-wallet/src/hooks/useFatalError.ts b/apps/browser-extension-wallet/src/hooks/useFatalError.ts
new file mode 100644
index 000000000..bbebedac0
--- /dev/null
+++ b/apps/browser-extension-wallet/src/hooks/useFatalError.ts
@@ -0,0 +1,59 @@
+import { ObservableWallet } from '@cardano-sdk/wallet';
+import { useObservable } from '@lace/common';
+import { useBackgroundServiceAPIContext } from '@providers';
+import { useWalletStore } from '@src/stores';
+import { useMemo } from 'react';
+import { catchError, take, of, merge, EMPTY } from 'rxjs';
+import { toEmpty } from '@cardano-sdk/util-rxjs';
+import { getErrorMessage } from '@src/utils/get-error-message';
+
+const anyError = (wallet: ObservableWallet | undefined) =>
+ wallet
+ ? merge(
+ wallet.addresses$,
+ wallet.assetInfo$,
+ wallet.balance.rewardAccounts.deposit$,
+ wallet.balance.rewardAccounts.rewards$,
+ wallet.balance.utxo.available$,
+ wallet.balance.utxo.total$,
+ wallet.balance.utxo.unspendable$,
+ wallet.currentEpoch$,
+ wallet.delegation.distribution$,
+ wallet.delegation.portfolio$,
+ wallet.delegation.rewardAccounts$,
+ wallet.delegation.rewardsHistory$,
+ wallet.eraSummaries$,
+ wallet.genesisParameters$,
+ wallet.handles$,
+ wallet.protocolParameters$,
+ wallet.governance.isRegisteredAsDRep$,
+ wallet.publicStakeKeys$,
+ wallet.syncStatus.isAnyRequestPending$,
+ wallet.syncStatus.isSettled$,
+ wallet.syncStatus.isUpToDate$,
+ wallet.tip$,
+ wallet.transactions.history$,
+ wallet.transactions.rollback$,
+ wallet.utxo.available$,
+ wallet.utxo.total$,
+ wallet.utxo.unspendable$
+ ).pipe(
+ toEmpty,
+ catchError((error) => of({ type: 'base-wallet-error', message: getErrorMessage(error) })),
+ take(1)
+ )
+ : EMPTY;
+
+type FatalError = {
+ type: string;
+ message: string;
+};
+
+export const useFatalError = (): FatalError | undefined => {
+ const backgroundService = useBackgroundServiceAPIContext();
+ const unhandledServiceWorkerError = useObservable(backgroundService.unhandledError$);
+ const { cardanoWallet } = useWalletStore();
+ const walletError$ = useMemo(() => anyError(cardanoWallet?.wallet), [cardanoWallet?.wallet]);
+ const walletError = useObservable(walletError$);
+ return unhandledServiceWorkerError || walletError;
+};
diff --git a/apps/browser-extension-wallet/src/hooks/useRuntime.ts b/apps/browser-extension-wallet/src/hooks/useRuntime.ts
new file mode 100644
index 000000000..6018f2399
--- /dev/null
+++ b/apps/browser-extension-wallet/src/hooks/useRuntime.ts
@@ -0,0 +1,7 @@
+import { runtime } from 'webextension-polyfill';
+
+export type LaceRuntime = { reload: () => void };
+
+export const useRuntime = (): LaceRuntime => ({
+ reload: runtime.reload
+});
diff --git a/apps/browser-extension-wallet/src/hooks/useWalletState.ts b/apps/browser-extension-wallet/src/hooks/useWalletState.ts
index 1ebe909fe..13dc1510c 100644
--- a/apps/browser-extension-wallet/src/hooks/useWalletState.ts
+++ b/apps/browser-extension-wallet/src/hooks/useWalletState.ts
@@ -24,14 +24,16 @@ type RemoveObservableNameSuffix = T extends `${infer S}$` ? S : T;
type FlattenObservableProperties = T extends Map | String | Number | Array | Date | null | BigInt
? T
: T extends object
- ? {
- [k in keyof T as T[k] extends Function ? never : RemoveObservableNameSuffix]: T[k] extends Observable
- ? FlattenObservableProperties
- : FlattenObservableProperties;
- }
- : T;
+ ? {
+ [k in keyof T as T[k] extends Function ? never : RemoveObservableNameSuffix]: T[k] extends Observable<
+ infer O
+ >
+ ? FlattenObservableProperties
+ : FlattenObservableProperties;
+ }
+ : T;
export type ObservableWalletState = FlattenObservableProperties<
- Omit & {
+ Omit & {
transactions: {
history$: ObservableWallet['transactions']['history$'];
outgoing: Pick;
diff --git a/apps/browser-extension-wallet/src/lib/scripts/background/config.ts b/apps/browser-extension-wallet/src/lib/scripts/background/config.ts
index 20ac32585..5c2eb897d 100644
--- a/apps/browser-extension-wallet/src/lib/scripts/background/config.ts
+++ b/apps/browser-extension-wallet/src/lib/scripts/background/config.ts
@@ -26,7 +26,8 @@ export const backgroundServiceProperties: RemoteApiProperties
getBackgroundStorage: RemoteApiPropertyType.MethodReturningPromise,
setBackgroundStorage: RemoteApiPropertyType.MethodReturningPromise,
resetStorage: RemoteApiPropertyType.MethodReturningPromise,
- backendFailures$: RemoteApiPropertyType.HotObservable
+ backendFailures$: RemoteApiPropertyType.HotObservable,
+ unhandledError$: RemoteApiPropertyType.HotObservable
};
const { BLOCKFROST_CONFIGS, BLOCKFROST_RATE_LIMIT_CONFIG } = config();
diff --git a/apps/browser-extension-wallet/src/lib/scripts/background/services/utilityServices.ts b/apps/browser-extension-wallet/src/lib/scripts/background/services/utilityServices.ts
index 9c1b0e1c6..474f0d1ad 100644
--- a/apps/browser-extension-wallet/src/lib/scripts/background/services/utilityServices.ts
+++ b/apps/browser-extension-wallet/src/lib/scripts/background/services/utilityServices.ts
@@ -12,9 +12,10 @@ import {
TokenPrices,
CoinPrices,
ChangeModeData,
- LaceFeaturesApi
+ LaceFeaturesApi,
+ UnhandledError
} from '../../types';
-import { Subject, of, BehaviorSubject } from 'rxjs';
+import { Subject, of, BehaviorSubject, merge, map, fromEvent } from 'rxjs';
import { walletRoutePaths } from '@routes/wallet-paths';
import { backgroundServiceProperties } from '../config';
import { exposeApi } from '@cardano-sdk/web-extension';
@@ -24,6 +25,7 @@ import { getADAPriceFromBackgroundStorage, closeAllLaceWindows } from '../util';
import { currencies as currenciesMap, currencyCode } from '@providers/currency/constants';
import { clearBackgroundStorage, getBackgroundStorage, setBackgroundStorage } from '../storage';
import { laceFeaturesApiProperties, LACE_FEATURES_CHANNEL } from '../injectUtil';
+import { getErrorMessage } from '@src/utils/get-error-message';
export const requestMessage$ = new Subject();
export const backendFailures$ = new BehaviorSubject(0);
@@ -204,6 +206,17 @@ exposeApi(
{ logger: console, runtime }
);
+const toUnhandledError = (error: unknown, type: UnhandledError['type']): UnhandledError => ({
+ type,
+ message: getErrorMessage(error)
+});
+const unhandledError$ = merge(
+ fromEvent(globalThis, 'error').pipe(map((e: ErrorEvent): UnhandledError => toUnhandledError(e, 'error'))),
+ fromEvent(globalThis, 'unhandledrejection').pipe(
+ map((e: PromiseRejectionEvent): UnhandledError => toUnhandledError(e, 'unhandledrejection'))
+ )
+);
+
exposeApi(
{
api$: of({
@@ -222,7 +235,8 @@ exposeApi(
await clearBackgroundStorage();
await webStorage.local.set({ MIGRATION_STATE: { state: 'up-to-date' } as MigrationState });
},
- backendFailures$
+ backendFailures$,
+ unhandledError$
}),
baseChannel: BaseChannels.BACKGROUND_ACTIONS,
properties: backgroundServiceProperties
diff --git a/apps/browser-extension-wallet/src/lib/scripts/background/wallet.ts b/apps/browser-extension-wallet/src/lib/scripts/background/wallet.ts
index b249b01a3..862818c72 100644
--- a/apps/browser-extension-wallet/src/lib/scripts/background/wallet.ts
+++ b/apps/browser-extension-wallet/src/lib/scripts/background/wallet.ts
@@ -11,6 +11,7 @@ import {
createSharedWallet
} from '@cardano-sdk/wallet';
import { handleHttpProvider } from '@cardano-sdk/cardano-services-client';
+import { Cardano, HandleProvider } from '@cardano-sdk/core';
import {
AnyWallet,
StoresFactory,
@@ -28,7 +29,6 @@ import {
walletRepositoryProperties
} from '@cardano-sdk/web-extension';
import { Wallet } from '@lace/cardano';
-import { Cardano, HandleProvider } from '@cardano-sdk/core';
import { cacheActivatedWalletAddressSubscription } from './cache-wallets-address';
import axiosFetchAdapter from '@shiroyasha9/axios-fetch-adapter';
import { SharedWalletScriptKind } from '@lace/core';
diff --git a/apps/browser-extension-wallet/src/lib/scripts/types/background-service.ts b/apps/browser-extension-wallet/src/lib/scripts/types/background-service.ts
index dc0e8ef01..7f2368cd3 100644
--- a/apps/browser-extension-wallet/src/lib/scripts/types/background-service.ts
+++ b/apps/browser-extension-wallet/src/lib/scripts/types/background-service.ts
@@ -1,4 +1,4 @@
-import { BehaviorSubject, Subject } from 'rxjs';
+import { BehaviorSubject, Subject, Observable } from 'rxjs';
import { themes } from '@providers/ThemeProvider';
import { BackgroundStorage, MigrationState } from './storage';
import { CoinPrices } from './prices';
@@ -89,6 +89,11 @@ export type Message =
| OpenBrowserMessage
| ChangeMode;
+export type UnhandledError = {
+ type: 'error' | 'unhandledrejection';
+ message: string;
+};
+
export type BackgroundService = {
handleOpenBrowser: (data: OpenBrowserData, urlSearchParams?: string) => Promise;
handleOpenPopup: () => Promise;
@@ -103,6 +108,7 @@ export type BackgroundService = {
clearBackgroundStorage: typeof clearBackgroundStorage;
resetStorage: () => Promise;
backendFailures$: BehaviorSubject;
+ unhandledError$: Observable;
};
export type WalletMode = {
diff --git a/apps/browser-extension-wallet/src/routes/DappConnectorView.tsx b/apps/browser-extension-wallet/src/routes/DappConnectorView.tsx
index 1637cd6b1..8438f8990 100644
--- a/apps/browser-extension-wallet/src/routes/DappConnectorView.tsx
+++ b/apps/browser-extension-wallet/src/routes/DappConnectorView.tsx
@@ -25,6 +25,8 @@ import { tabs } from 'webextension-polyfill';
import { useTranslation } from 'react-i18next';
import { DappSignDataSuccess } from '@src/features/dapp/components/DappSignDataSuccess';
import { DappSignDataFail } from '@src/features/dapp/components/DappSignDataFail';
+import { Crash } from '@components/Crash';
+import { useFatalError } from '@hooks/useFatalError';
dayjs.extend(duration);
@@ -57,17 +59,22 @@ export const DappConnectorView = (): React.ReactElement => {
}, [isWalletLocked, cardanoWallet]);
const isLoading = useMemo(() => hdDiscoveryStatus !== 'Idle', [hdDiscoveryStatus]);
+ const fatalError = useFatalError();
useEffect(() => {
- if (!isLoading) {
+ if (!isLoading || fatalError) {
document.querySelector('#preloader')?.remove();
}
- }, [isLoading]);
+ }, [isLoading, fatalError]);
const onCloseClick = useCallback(() => {
tabs.create({ url: `app.html#${walletRoutePaths.setup.home}` });
window.close();
}, []);
+ if (fatalError) {
+ return ;
+ }
+
if (hasNoAvailableWallet) {
return (
diff --git a/apps/browser-extension-wallet/src/routes/PopupView.tsx b/apps/browser-extension-wallet/src/routes/PopupView.tsx
index 2fb757c45..fd1c09205 100644
--- a/apps/browser-extension-wallet/src/routes/PopupView.tsx
+++ b/apps/browser-extension-wallet/src/routes/PopupView.tsx
@@ -12,6 +12,8 @@ import { getValueFromLocalStorage } from '@src/utils/local-storage';
import { MainLoader } from '@components/MainLoader';
import { useAppInit } from '@hooks';
import { ILocalStorage } from '@src/types';
+import { useFatalError } from '@hooks/useFatalError';
+import { Crash } from '@components/Crash';
dayjs.extend(duration);
@@ -55,19 +57,24 @@ export const PopupView = (): React.ReactElement => {
// (see useEffect in browser-view routes index)
}, [isWalletLocked, backgroundServices, currentChain, chainName, cardanoWallet]);
+ const fatalError = useFatalError();
const isLoaded = useMemo(
() => !!cardanoWallet && walletInfo && walletState && inMemoryWallet && initialHdDiscoveryCompleted,
[cardanoWallet, walletInfo, walletState, inMemoryWallet, initialHdDiscoveryCompleted]
);
useEffect(() => {
- if (isLoaded) {
+ if (isLoaded || fatalError) {
document.querySelector('#preloader')?.remove();
}
- }, [isLoaded]);
+ }, [isLoaded, fatalError]);
const checkMnemonicVerificationFrequency = () =>
mnemonicVerificationFrequency && isLastValidationExpired(lastMnemonicVerification, mnemonicVerificationFrequency);
+ if (fatalError) {
+ return ;
+ }
+
if (checkMnemonicVerificationFrequency() && walletLock) {
return ;
}
diff --git a/apps/browser-extension-wallet/src/utils/get-error-message.ts b/apps/browser-extension-wallet/src/utils/get-error-message.ts
new file mode 100644
index 000000000..5b08cb921
--- /dev/null
+++ b/apps/browser-extension-wallet/src/utils/get-error-message.ts
@@ -0,0 +1,2 @@
+export const getErrorMessage = (error: unknown): string =>
+ error && typeof error.toString === 'function' ? error.toString() : '';
diff --git a/apps/browser-extension-wallet/src/views/browser-view/routes/index.tsx b/apps/browser-extension-wallet/src/views/browser-view/routes/index.tsx
index 68cc60ec5..31aff3bde 100644
--- a/apps/browser-extension-wallet/src/views/browser-view/routes/index.tsx
+++ b/apps/browser-extension-wallet/src/views/browser-view/routes/index.tsx
@@ -36,6 +36,8 @@ import { BackgroundStorage, Message, MessageTypes } from '@lib/scripts/types';
import { getBackgroundStorage } from '@lib/scripts/background/storage';
import { useTranslation } from 'react-i18next';
import { POPUP_WINDOW_NAMI_TITLE } from '@src/utils/constants';
+import { useFatalError } from '@hooks/useFatalError';
+import { Crash } from '@components/Crash';
export const defaultRoutes: RouteMap = [
{
@@ -211,11 +213,17 @@ export const BrowserViewRoutes = ({ routesMap = defaultRoutes }: { routesMap?: R
[cardanoWallet, isLoadingWalletInfo, namiMigration?.mode]
);
+ const fatalError = useFatalError();
+
useEffect(() => {
- if (isLoaded || isOnboarding || isInNamiMode) {
+ if (isLoaded || isOnboarding || isInNamiMode || fatalError) {
document.querySelector('#preloader')?.remove();
}
- }, [isLoaded, isOnboarding, isInNamiMode]);
+ }, [isLoaded, isOnboarding, isInNamiMode, fatalError]);
+
+ if (fatalError) {
+ return ;
+ }
if (isInNamiMode) {
return (
diff --git a/apps/browser-extension-wallet/src/views/nami-mode/index.tsx b/apps/browser-extension-wallet/src/views/nami-mode/index.tsx
index fa5d14b89..6169b88d4 100644
--- a/apps/browser-extension-wallet/src/views/nami-mode/index.tsx
+++ b/apps/browser-extension-wallet/src/views/nami-mode/index.tsx
@@ -8,6 +8,8 @@ import '../../lib/scripts/keep-alive-ui';
import './index.scss';
import { useBackgroundServiceAPIContext } from '@providers';
import { BrowserViewSections } from '@lib/scripts/types';
+import { Crash } from '@components/Crash';
+import { useFatalError } from '@hooks/useFatalError';
export const NamiPopup = withDappContext((): React.ReactElement => {
const {
@@ -24,11 +26,13 @@ export const NamiPopup = withDappContext((): React.ReactElement => {
() => !!cardanoWallet && walletInfo && walletState && inMemoryWallet && initialHdDiscoveryCompleted && currentChain,
[cardanoWallet, walletInfo, walletState, inMemoryWallet, initialHdDiscoveryCompleted, currentChain]
);
+
+ const fatalError = useFatalError();
useEffect(() => {
- if (isLoaded) {
+ if (isLoaded || fatalError) {
document.querySelector('#preloader')?.remove();
}
- }, [isLoaded]);
+ }, [isLoaded, fatalError]);
useAppInit();
@@ -38,5 +42,9 @@ export const NamiPopup = withDappContext((): React.ReactElement => {
}
}, [backgroundServices, cardanoWallet, deletingWallet]);
+ if (fatalError) {
+ return ;
+ }
+
return {isLoaded ? : }
;
});
diff --git a/apps/browser-extension-wallet/src/views/nami-mode/indexInternal.tsx b/apps/browser-extension-wallet/src/views/nami-mode/indexInternal.tsx
index aea8cec14..b919989d9 100644
--- a/apps/browser-extension-wallet/src/views/nami-mode/indexInternal.tsx
+++ b/apps/browser-extension-wallet/src/views/nami-mode/indexInternal.tsx
@@ -6,10 +6,14 @@ import { withDappContext } from '@src/features/dapp/context';
import { NamiDappConnectorView } from './NamiDappConnectorView';
import '../../lib/scripts/keep-alive-ui';
import './index.scss';
+import { useFatalError } from '@hooks/useFatalError';
+import { Crash } from '@components/Crash';
export const NamiDappConnector = withDappContext((): React.ReactElement => {
const { hdDiscoveryStatus } = useWalletStore();
const isLoaded = useMemo(() => hdDiscoveryStatus === 'Idle', [hdDiscoveryStatus]);
+
+ const fatalError = useFatalError();
useEffect(() => {
if (isLoaded) {
document.querySelector('#preloader')?.remove();
@@ -18,5 +22,9 @@ export const NamiDappConnector = withDappContext((): React.ReactElement => {
useAppInit();
+ if (fatalError) {
+ return ;
+ }
+
return {isLoaded ? : }
;
});
diff --git a/packages/cardano/package.json b/packages/cardano/package.json
index 2df9efaab..2ad7f3a72 100644
--- a/packages/cardano/package.json
+++ b/packages/cardano/package.json
@@ -40,16 +40,16 @@
"watch": "yarn build --watch"
},
"dependencies": {
- "@cardano-sdk/cardano-services-client": "0.23.2",
- "@cardano-sdk/core": "0.42.1",
+ "@cardano-sdk/cardano-services-client": "0.23.4",
+ "@cardano-sdk/core": "0.42.2",
"@cardano-sdk/crypto": "0.1.32",
- "@cardano-sdk/hardware-ledger": "0.12.16",
- "@cardano-sdk/hardware-trezor": "0.6.15",
- "@cardano-sdk/key-management": "0.24.13",
- "@cardano-sdk/tx-construction": "0.23.0",
+ "@cardano-sdk/hardware-ledger": "0.12.17",
+ "@cardano-sdk/hardware-trezor": "0.6.16",
+ "@cardano-sdk/key-management": "0.24.14",
+ "@cardano-sdk/tx-construction": "0.24.0",
"@cardano-sdk/util": "0.15.5",
- "@cardano-sdk/wallet": "0.46.2",
- "@cardano-sdk/web-extension": "0.36.1",
+ "@cardano-sdk/wallet": "0.47.0",
+ "@cardano-sdk/web-extension": "0.37.0",
"@lace/common": "0.1.0",
"@ledgerhq/devices": "^8.4.4",
"@stablelib/chacha20poly1305": "1.0.1",
@@ -73,7 +73,7 @@
},
"devDependencies": {
"@blockfrost/blockfrost-js": "^5.5.0",
- "@cardano-sdk/util-dev": "0.24.1",
+ "@cardano-sdk/util-dev": "0.24.3",
"@emurgo/cardano-message-signing-browser": "1.0.1",
"@types/webextension-polyfill": "0.10.0",
"axios": "^1.7.4",
diff --git a/packages/cardano/src/wallet/test/mocks/ChainHistoryProviderStub.ts b/packages/cardano/src/wallet/test/mocks/ChainHistoryProviderStub.ts
index 8601c52ed..075893949 100644
--- a/packages/cardano/src/wallet/test/mocks/ChainHistoryProviderStub.ts
+++ b/packages/cardano/src/wallet/test/mocks/ChainHistoryProviderStub.ts
@@ -3,7 +3,7 @@ import { Cardano, ChainHistoryProvider } from '@cardano-sdk/core';
import { currentEpoch, queryTransactionsResult } from './ProviderStub';
export const chainHistoryProviderStub = (): ChainHistoryProvider => ({
- transactionsByAddresses: jest.fn().mockResolvedValue(queryTransactionsResult),
+ transactionsByAddresses: jest.fn().mockResolvedValue({ pageResults: queryTransactionsResult }),
transactionsByHashes: jest.fn().mockResolvedValue(queryTransactionsResult),
blocksByHashes: jest.fn().mockResolvedValue([
{
diff --git a/packages/cardano/src/wallet/test/mocks/ProviderStub.ts b/packages/cardano/src/wallet/test/mocks/ProviderStub.ts
index b49f03352..c5d585d00 100644
--- a/packages/cardano/src/wallet/test/mocks/ProviderStub.ts
+++ b/packages/cardano/src/wallet/test/mocks/ProviderStub.ts
@@ -99,6 +99,7 @@ export const queryTransactionsResult: Cardano.HydratedTx[] = [
blockHeader: {
slot: Cardano.Slot(ledgerTip.slot - 100_000)
},
+ id: Cardano.TransactionId('0000000000000000000000000000000000000000000000000000000000000000'),
body: {
certificates: [
{
diff --git a/packages/core/package.json b/packages/core/package.json
index 6314d492f..9f3bb015e 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -43,8 +43,8 @@
},
"dependencies": {
"@ant-design/icons": "^4.7.0",
- "@cardano-sdk/wallet": "0.46.2",
- "@cardano-sdk/web-extension": "0.36.1",
+ "@cardano-sdk/wallet": "0.47.0",
+ "@cardano-sdk/web-extension": "0.37.0",
"@input-output-hk/lace-ui-toolkit": "1.19.0",
"@lace/cardano": "0.1.0",
"@lace/common": "0.1.0",
diff --git a/packages/nami/package.json b/packages/nami/package.json
index 4fa28294b..a9bfc9e97 100644
--- a/packages/nami/package.json
+++ b/packages/nami/package.json
@@ -57,11 +57,11 @@
},
"dependencies": {
"@biglup/is-cid": "^1.0.3",
- "@cardano-sdk/core": "0.42.1",
+ "@cardano-sdk/core": "0.42.2",
"@cardano-sdk/crypto": "0.1.32",
- "@cardano-sdk/tx-construction": "0.23.0",
+ "@cardano-sdk/tx-construction": "0.24.0",
"@cardano-sdk/util": "0.15.5",
- "@cardano-sdk/web-extension": "0.36.1",
+ "@cardano-sdk/web-extension": "0.37.0",
"@chakra-ui/css-reset": "1.0.0",
"@chakra-ui/icons": "1.0.13",
"@chakra-ui/react": "1.6.4",
diff --git a/packages/staking/package.json b/packages/staking/package.json
index 7426ff393..7e2fad0cd 100644
--- a/packages/staking/package.json
+++ b/packages/staking/package.json
@@ -76,12 +76,12 @@
},
"devDependencies": {
"@babel/core": "^7.21.0",
- "@cardano-sdk/core": "0.42.1",
- "@cardano-sdk/input-selection": "0.13.31",
- "@cardano-sdk/tx-construction": "0.23.0",
+ "@cardano-sdk/core": "0.42.2",
+ "@cardano-sdk/input-selection": "0.13.32",
+ "@cardano-sdk/tx-construction": "0.24.0",
"@cardano-sdk/util": "0.15.5",
- "@cardano-sdk/wallet": "0.46.2",
- "@cardano-sdk/web-extension": "0.36.1",
+ "@cardano-sdk/wallet": "0.47.0",
+ "@cardano-sdk/web-extension": "0.37.0",
"@storybook/addon-actions": "^7.6.7",
"@storybook/addon-essentials": "^7.6.7",
"@storybook/addon-interactions": "^7.6.7",
@@ -126,11 +126,11 @@
"wait-on": "^7.0.1"
},
"peerDependencies": {
- "@cardano-sdk/input-selection": "0.13.31",
- "@cardano-sdk/tx-construction": "0.23.0",
+ "@cardano-sdk/input-selection": "0.13.32",
+ "@cardano-sdk/tx-construction": "0.24.0",
"@cardano-sdk/util": "0.15.5",
- "@cardano-sdk/wallet": "0.46.2",
- "@cardano-sdk/web-extension": "0.36.1",
+ "@cardano-sdk/wallet": "0.47.0",
+ "@cardano-sdk/web-extension": "0.37.0",
"@lace/cardano": "^0.1.0",
"@lace/common": "^0.1.0",
"@lace/core": "0.1.0",
diff --git a/packages/translation/src/lib/translations/browser-extension-wallet/en.json b/packages/translation/src/lib/translations/browser-extension-wallet/en.json
index fe16ee0d2..8e0d1c970 100644
--- a/packages/translation/src/lib/translations/browser-extension-wallet/en.json
+++ b/packages/translation/src/lib/translations/browser-extension-wallet/en.json
@@ -670,6 +670,8 @@
"general.errors.maximumInputCountExceeded": "Maximum Input Count Exceeded",
"general.errors.networkError": "Network Error",
"general.errors.somethingWentWrong": "Something went wrong, please try again",
+ "general.errors.crash": "Something went wrong",
+ "general.errors.reloadExtension": "Reload extension",
"general.errors.tryAgain": "Try again",
"general.errors.uhoh": "Uh Oh!",
"general.errors.utxoFullyDepleted": "UTxO Fully Depleted",
diff --git a/yarn.lock b/yarn.lock
index 1b925ff4d..23ad994f3 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -9097,11 +9097,11 @@ __metadata:
languageName: node
linkType: hard
-"@cardano-sdk/cardano-services-client@npm:0.23.2":
- version: 0.23.2
- resolution: "@cardano-sdk/cardano-services-client@npm:0.23.2"
+"@cardano-sdk/cardano-services-client@npm:0.23.4":
+ version: 0.23.4
+ resolution: "@cardano-sdk/cardano-services-client@npm:0.23.4"
dependencies:
- "@cardano-sdk/core": ~0.42.1
+ "@cardano-sdk/core": ~0.42.2
"@cardano-sdk/crypto": ~0.1.32
"@cardano-sdk/util": ~0.15.5
axios: ^1.7.4
@@ -9113,13 +9113,13 @@ __metadata:
ts-custom-error: ^3.2.0
ts-log: ^2.2.4
ws: ^8.17.1
- checksum: 8e136a06eb5e496f449cf4df56a8444afcf1dd9be3bba5fb4c114e0f0e6bfa46958d5ec89d928a28372ccdf85fecc776265cab474dcce1283d80640b0d000ba3
+ checksum: 99dd25e3d2e73dc07acbd6ff0ee074927bf01a577905cce1c411a08f486a398cdd293fadbc34bc8491bccff126d258f3e623a9ba1140a75726bc99fad17bea20
languageName: node
linkType: hard
-"@cardano-sdk/core@npm:0.42.1, @cardano-sdk/core@npm:~0.42.1":
- version: 0.42.1
- resolution: "@cardano-sdk/core@npm:0.42.1"
+"@cardano-sdk/core@npm:0.42.2, @cardano-sdk/core@npm:~0.42.2":
+ version: 0.42.2
+ resolution: "@cardano-sdk/core@npm:0.42.2"
dependencies:
"@biglup/is-cid": ^1.0.3
"@cardano-ogmios/client": 6.9.0
@@ -9139,7 +9139,7 @@ __metadata:
peerDependenciesMeta:
rxjs:
optional: true
- checksum: 307959cb4db226c1029ccb92849790e98683819ba7c7f2d5674e2a75743b71e60b35baca70724d32b4d4b676f7923450786343eb195bfd75f7211f84cca69896
+ checksum: d9d34af309160e8621444dcd3f94a672d9ff426d6bb42f6ac97816003005ef4ccb05a0b0d017be97a34d8d099b2172a5c0377a8fd4da215a8b92eca924c6d1d2
languageName: node
linkType: hard
@@ -9171,30 +9171,30 @@ __metadata:
languageName: node
linkType: hard
-"@cardano-sdk/dapp-connector@npm:0.12.47, @cardano-sdk/dapp-connector@npm:~0.12.47":
- version: 0.12.47
- resolution: "@cardano-sdk/dapp-connector@npm:0.12.47"
+"@cardano-sdk/dapp-connector@npm:0.12.48, @cardano-sdk/dapp-connector@npm:~0.12.48":
+ version: 0.12.48
+ resolution: "@cardano-sdk/dapp-connector@npm:0.12.48"
dependencies:
- "@cardano-sdk/core": ~0.42.1
+ "@cardano-sdk/core": ~0.42.2
"@cardano-sdk/crypto": ~0.1.32
"@cardano-sdk/util": ~0.15.5
ts-custom-error: ^3.2.0
ts-log: ^2.2.4
webextension-polyfill: ^0.8.0
- checksum: fe87026792b6deaa50b05e3e8581873597f03ada95b889b294a4e60bb2be8cc078bc00ed8a88a42744806b8d4c88d8a0c5a89100815c199e12e457c98c711152
+ checksum: c129a1ba847c853bad38d773957ba9bc738d3900e342051e30b0e516a88f2eac47a357787fff29fe4536582913295485bb1303902f673c0a4cd20271521175c9
languageName: node
linkType: hard
-"@cardano-sdk/hardware-ledger@npm:0.12.16, @cardano-sdk/hardware-ledger@npm:~0.12.16":
- version: 0.12.16
- resolution: "@cardano-sdk/hardware-ledger@npm:0.12.16"
+"@cardano-sdk/hardware-ledger@npm:0.12.17, @cardano-sdk/hardware-ledger@npm:~0.12.17":
+ version: 0.12.17
+ resolution: "@cardano-sdk/hardware-ledger@npm:0.12.17"
dependencies:
"@cardano-foundation/ledgerjs-hw-app-cardano": ^7.1.4
- "@cardano-sdk/core": ~0.42.1
+ "@cardano-sdk/core": ~0.42.2
"@cardano-sdk/crypto": ~0.1.32
- "@cardano-sdk/dapp-connector": ~0.12.47
- "@cardano-sdk/key-management": ~0.24.13
- "@cardano-sdk/tx-construction": ~0.23.0
+ "@cardano-sdk/dapp-connector": ~0.12.48
+ "@cardano-sdk/key-management": ~0.24.14
+ "@cardano-sdk/tx-construction": ~0.24.0
"@cardano-sdk/util": ~0.15.5
"@emurgo/cardano-message-signing-nodejs": ^1.0.1
"@ledgerhq/hw-transport": ^6.31.4
@@ -9203,50 +9203,50 @@ __metadata:
node-hid: ^2.1.2
ts-custom-error: ^3.2.0
ts-log: ^2.2.4
- checksum: b428061748e41dd7c0a400439f3776c48bb24ec88d64e67447b7b5466f37b10eb6172fcc27aff65fb63ac1974000a9cf2efb1dedef9a7b03d4cbec5be4419a9b
+ checksum: 7a8e995f3c2d53053b59662c6d826c24868342de460721842ae0aba8ff135aee9ce0898d1a46ce66776260e853d2e3bad36c1fc13623f8772d8d67f968863ff1
languageName: node
linkType: hard
-"@cardano-sdk/hardware-trezor@npm:0.6.15, @cardano-sdk/hardware-trezor@npm:~0.6.15":
- version: 0.6.15
- resolution: "@cardano-sdk/hardware-trezor@npm:0.6.15"
+"@cardano-sdk/hardware-trezor@npm:0.6.16, @cardano-sdk/hardware-trezor@npm:~0.6.16":
+ version: 0.6.16
+ resolution: "@cardano-sdk/hardware-trezor@npm:0.6.16"
dependencies:
- "@cardano-sdk/core": ~0.42.1
+ "@cardano-sdk/core": ~0.42.2
"@cardano-sdk/crypto": ~0.1.32
- "@cardano-sdk/dapp-connector": ~0.12.47
- "@cardano-sdk/key-management": ~0.24.13
- "@cardano-sdk/tx-construction": ~0.23.0
+ "@cardano-sdk/dapp-connector": ~0.12.48
+ "@cardano-sdk/key-management": ~0.24.14
+ "@cardano-sdk/tx-construction": ~0.24.0
"@cardano-sdk/util": ~0.15.5
"@trezor/connect": 9.4.0
"@trezor/connect-web": 9.4.0
lodash: ^4.17.21
ts-custom-error: ^3.2.0
ts-log: ^2.2.4
- checksum: e5ab8ef50e2b1db924505c32c4b805959a0b6a2ff265f7eb2601a331a2e5e46da79b14932d7faee4760e01ed8adae555354d357fec0d9dc307ceef495eb4e9f8
+ checksum: e5f7b1844cff6d8caf45b147d69af3d1b5f0666385dd4650163e7b0cbee002f7b9e464c96840d95c55241b70beb8b6d2df6b1a97c84e172c4a22ae03ef399501
languageName: node
linkType: hard
-"@cardano-sdk/input-selection@npm:0.13.31, @cardano-sdk/input-selection@npm:~0.13.31":
- version: 0.13.31
- resolution: "@cardano-sdk/input-selection@npm:0.13.31"
+"@cardano-sdk/input-selection@npm:0.13.32, @cardano-sdk/input-selection@npm:~0.13.32":
+ version: 0.13.32
+ resolution: "@cardano-sdk/input-selection@npm:0.13.32"
dependencies:
- "@cardano-sdk/core": ~0.42.1
- "@cardano-sdk/key-management": ~0.24.13
+ "@cardano-sdk/core": ~0.42.2
+ "@cardano-sdk/key-management": ~0.24.14
"@cardano-sdk/util": ~0.15.5
bignumber.js: ^9.1.1
lodash: ^4.17.21
ts-custom-error: ^3.2.0
- checksum: 03c4bb1fc1e4b13749814eeed72b143d3b9b70bfc1d91e32be029faff927dc6d831d160630d86f91a6d5542988a76f095ac216be451b9983a5e028a2b8ad9cb6
+ checksum: feca0e6b7cca7ed7830c9dcc86180f525cb12942d5262e64bb5bfd991b8de68f2dc41afe8f5d669d79972d2499d514258b2172b10257d25b604e50d074e3caea
languageName: node
linkType: hard
-"@cardano-sdk/key-management@npm:0.24.13, @cardano-sdk/key-management@npm:~0.24.13":
- version: 0.24.13
- resolution: "@cardano-sdk/key-management@npm:0.24.13"
+"@cardano-sdk/key-management@npm:0.24.14, @cardano-sdk/key-management@npm:~0.24.14":
+ version: 0.24.14
+ resolution: "@cardano-sdk/key-management@npm:0.24.14"
dependencies:
- "@cardano-sdk/core": ~0.42.1
+ "@cardano-sdk/core": ~0.42.2
"@cardano-sdk/crypto": ~0.1.32
- "@cardano-sdk/dapp-connector": ~0.12.47
+ "@cardano-sdk/dapp-connector": ~0.12.48
"@cardano-sdk/util": ~0.15.5
"@emurgo/cardano-message-signing-nodejs": ^1.0.1
bip39: ^3.0.4
@@ -9257,19 +9257,19 @@ __metadata:
rxjs: ^7.4.0
ts-custom-error: ^3.2.0
ts-log: ^2.2.4
- checksum: 127adf0f991312cda93339f8d856c2b173a45c0b3ae1d1cc61ae23665385dc81a4a25667fe18cace35745257e478c1b38ea2a569f6b81eaef1317fdbee667250
+ checksum: 9d336f1fd75bd49faa3c979fa8333eb78d128c4e3eec96613f8d61cc50885342c366db94d1c832ea2af8de2211ddac64438de975e1b9312a2a221d9db6ff13a2
languageName: node
linkType: hard
-"@cardano-sdk/ogmios@npm:~0.18.16":
- version: 0.18.16
- resolution: "@cardano-sdk/ogmios@npm:0.18.16"
+"@cardano-sdk/ogmios@npm:~0.18.18":
+ version: 0.18.18
+ resolution: "@cardano-sdk/ogmios@npm:0.18.18"
dependencies:
"@cardano-ogmios/client": 6.9.0
"@cardano-ogmios/schema": 6.9.0
- "@cardano-sdk/core": ~0.42.1
+ "@cardano-sdk/core": ~0.42.2
"@cardano-sdk/crypto": ~0.1.32
- "@cardano-sdk/projection": ~0.12.16
+ "@cardano-sdk/projection": ~0.12.18
"@cardano-sdk/util": ~0.15.5
backoff-rxjs: ^7.0.0
buffer: 5.7.1
@@ -9278,55 +9278,55 @@ __metadata:
nanoid: ^3.1.31
rxjs: ^7.4.0
ts-log: ^2.2.3
- checksum: 9d2bcf31867bc263a147b8c2bc17ca217752fec373ba56c924f6bb45e2ece057429611ca09270d7dc1f1c92b2745d349d552e45dd48b5049bb345d7c80aeca7f
+ checksum: e2fc5f3f326d252d6122fd58e65289decff16e39f629df1b2900e7f9e6b51778f6416e4000bcd4bff4fab74878e2d57ad590e3f34f2ecde981c46822ebe1c3bb
languageName: node
linkType: hard
-"@cardano-sdk/projection@npm:~0.12.16":
- version: 0.12.16
- resolution: "@cardano-sdk/projection@npm:0.12.16"
+"@cardano-sdk/projection@npm:~0.12.18":
+ version: 0.12.18
+ resolution: "@cardano-sdk/projection@npm:0.12.18"
dependencies:
- "@cardano-sdk/core": ~0.42.1
+ "@cardano-sdk/core": ~0.42.2
"@cardano-sdk/crypto": ~0.1.32
- "@cardano-sdk/ogmios": ~0.18.16
+ "@cardano-sdk/ogmios": ~0.18.18
"@cardano-sdk/util": ~0.15.5
- "@cardano-sdk/util-rxjs": ~0.8.0
+ "@cardano-sdk/util-rxjs": ~0.9.0
lodash: ^4.17.21
rxjs: ^7.4.0
ts-custom-error: ^3.2.0
ts-log: ^2.2.4
tsc-alias: ^1.8.10
- checksum: 56db60498eab64361e8359d47cda99a7e1ef2754daa741a5732d0dec4bc557e7be8451e820417afdef6f82cb9b5ae9f5617519fdc6dbaa3c5ebf401fdaced9ed
+ checksum: d5a6f864c9d9724f0188207bca8a0d56573ee9389e639346e66c459da35b5f7169c04286ed926f4b86125e4b821139c313fee1c19cd284556d35dbb74ffe668f
languageName: node
linkType: hard
-"@cardano-sdk/tx-construction@npm:0.23.0, @cardano-sdk/tx-construction@npm:~0.23.0":
- version: 0.23.0
- resolution: "@cardano-sdk/tx-construction@npm:0.23.0"
+"@cardano-sdk/tx-construction@npm:0.24.0, @cardano-sdk/tx-construction@npm:~0.24.0":
+ version: 0.24.0
+ resolution: "@cardano-sdk/tx-construction@npm:0.24.0"
dependencies:
- "@cardano-sdk/core": ~0.42.1
+ "@cardano-sdk/core": ~0.42.2
"@cardano-sdk/crypto": ~0.1.32
- "@cardano-sdk/input-selection": ~0.13.31
- "@cardano-sdk/key-management": ~0.24.13
+ "@cardano-sdk/input-selection": ~0.13.32
+ "@cardano-sdk/key-management": ~0.24.14
"@cardano-sdk/util": ~0.15.5
- "@cardano-sdk/util-rxjs": ~0.8.0
+ "@cardano-sdk/util-rxjs": ~0.9.0
lodash: ^4.17.21
npm: ^9.3.0
rxjs: ^7.4.0
ts-custom-error: ^3.2.0
ts-log: ^2.2.4
- checksum: 9f4bc73222cfd322554df05ced803b1a98d10e9d697e07cb756f01a632a95d56b988a3ee02e1711c2398f131c87b53d43b0ef41162d52977b7d9139f83709440
+ checksum: ab47f484c38824b50ab05d4fd4bf47de53cb7d0ab4533921b6710914e112a1e96374cdf11c9bf2bb936aa55302758112306a4771c3631106d2d0b8f8a7c572ac
languageName: node
linkType: hard
-"@cardano-sdk/util-dev@npm:0.24.1":
- version: 0.24.1
- resolution: "@cardano-sdk/util-dev@npm:0.24.1"
+"@cardano-sdk/util-dev@npm:0.24.3":
+ version: 0.24.3
+ resolution: "@cardano-sdk/util-dev@npm:0.24.3"
dependencies:
- "@cardano-sdk/core": ~0.42.1
+ "@cardano-sdk/core": ~0.42.2
"@cardano-sdk/crypto": ~0.1.32
- "@cardano-sdk/key-management": ~0.24.13
- "@cardano-sdk/projection": ~0.12.16
+ "@cardano-sdk/key-management": ~0.24.14
+ "@cardano-sdk/projection": ~0.12.18
"@cardano-sdk/util": ~0.15.5
"@types/dockerode": ^3.3.8
axios: ^1.7.4
@@ -9340,19 +9340,19 @@ __metadata:
lodash: ^4.17.21
rxjs: ^7.4.0
ts-log: ^2.2.4
- checksum: e6021a155da7e13b75a5dbad5691a6ce830ba2865a106039832628d064d37df3710718d0d0ca33913e76d5fb98198fd325472ebb7abfb127db6055a2ec129cea
+ checksum: fa0c0233aa6a263612cbea9983eae742c73c299573d6286e93ba5e7ee46d50b8ee4de512db0dab157f03ce063c5ce3c42271c9084e16a67e5c923bb6c424749d
languageName: node
linkType: hard
-"@cardano-sdk/util-rxjs@npm:0.8.0, @cardano-sdk/util-rxjs@npm:~0.8.0":
- version: 0.8.0
- resolution: "@cardano-sdk/util-rxjs@npm:0.8.0"
+"@cardano-sdk/util-rxjs@npm:0.9.0, @cardano-sdk/util-rxjs@npm:~0.9.0":
+ version: 0.9.0
+ resolution: "@cardano-sdk/util-rxjs@npm:0.9.0"
dependencies:
"@cardano-sdk/util": ~0.15.5
backoff-rxjs: ^7.0.0
rxjs: ^7.4.0
ts-log: ^2.2.7
- checksum: ee25bb2228dbdabdd59724d2bf9a5fe7a9997a5b1dcc76c3927e031f4c6b7a148eb19d6c1082a5ec8274eefae82683fcf721d4694f53f4c59cf9f2db53a7137a
+ checksum: 00ff1498b4fb9f0098992ea3be5dc180cd935bfb647c8278d343a4b2ef9bf8366ea617d5a4bd2b0b319cb80da273ded352bb46db0a2bc65a392395497930a962
languageName: node
linkType: hard
@@ -9370,20 +9370,20 @@ __metadata:
languageName: node
linkType: hard
-"@cardano-sdk/wallet@npm:0.46.2, @cardano-sdk/wallet@npm:~0.46.2":
- version: 0.46.2
- resolution: "@cardano-sdk/wallet@npm:0.46.2"
+"@cardano-sdk/wallet@npm:0.47.0, @cardano-sdk/wallet@npm:~0.47.0":
+ version: 0.47.0
+ resolution: "@cardano-sdk/wallet@npm:0.47.0"
dependencies:
- "@cardano-sdk/core": ~0.42.1
+ "@cardano-sdk/core": ~0.42.2
"@cardano-sdk/crypto": ~0.1.32
- "@cardano-sdk/dapp-connector": ~0.12.47
- "@cardano-sdk/hardware-ledger": ~0.12.16
- "@cardano-sdk/hardware-trezor": ~0.6.15
- "@cardano-sdk/input-selection": ~0.13.31
- "@cardano-sdk/key-management": ~0.24.13
- "@cardano-sdk/tx-construction": ~0.23.0
+ "@cardano-sdk/dapp-connector": ~0.12.48
+ "@cardano-sdk/hardware-ledger": ~0.12.17
+ "@cardano-sdk/hardware-trezor": ~0.6.16
+ "@cardano-sdk/input-selection": ~0.13.32
+ "@cardano-sdk/key-management": ~0.24.14
+ "@cardano-sdk/tx-construction": ~0.24.0
"@cardano-sdk/util": ~0.15.5
- "@cardano-sdk/util-rxjs": ~0.8.0
+ "@cardano-sdk/util-rxjs": ~0.9.0
backoff-rxjs: ^7.0.0
bignumber.js: ^9.1.1
delay: ^5.0.0
@@ -9394,24 +9394,24 @@ __metadata:
ts-custom-error: ^3.2.0
ts-log: ^2.2.3
uuid: ^8.3.2
- checksum: 8e131b72f9daf2cc49a916dfbeac5d7e0834637d4c318f29e77bd96c20f382be1d563545ae8a0806473d38dc8f748b1250a2a75c3a5b2501d7725789704a2bce
+ checksum: 66afa41b40c58d1fd1ff53a85832eb4f1650fcdad9552ac14b7ad940f103ff4569d172dd0a997899a59714ec91acbda16e230a8868493810ffcc02aa5082c29d
languageName: node
linkType: hard
-"@cardano-sdk/web-extension@npm:0.36.1":
- version: 0.36.1
- resolution: "@cardano-sdk/web-extension@npm:0.36.1"
+"@cardano-sdk/web-extension@npm:0.37.0":
+ version: 0.37.0
+ resolution: "@cardano-sdk/web-extension@npm:0.37.0"
dependencies:
- "@cardano-sdk/core": ~0.42.1
+ "@cardano-sdk/core": ~0.42.2
"@cardano-sdk/crypto": ~0.1.32
- "@cardano-sdk/dapp-connector": ~0.12.47
- "@cardano-sdk/hardware-ledger": ~0.12.16
- "@cardano-sdk/hardware-trezor": ~0.6.15
- "@cardano-sdk/key-management": ~0.24.13
- "@cardano-sdk/tx-construction": ~0.23.0
+ "@cardano-sdk/dapp-connector": ~0.12.48
+ "@cardano-sdk/hardware-ledger": ~0.12.17
+ "@cardano-sdk/hardware-trezor": ~0.6.16
+ "@cardano-sdk/key-management": ~0.24.14
+ "@cardano-sdk/tx-construction": ~0.24.0
"@cardano-sdk/util": ~0.15.5
- "@cardano-sdk/util-rxjs": ~0.8.0
- "@cardano-sdk/wallet": ~0.46.2
+ "@cardano-sdk/util-rxjs": ~0.9.0
+ "@cardano-sdk/wallet": ~0.47.0
backoff-rxjs: ^7.0.0
lodash: ^4.17.21
rxjs: ^7.4.0
@@ -9419,7 +9419,7 @@ __metadata:
ts-log: ^2.2.3
uuid: ^8.3.2
webextension-polyfill: ^0.8.0
- checksum: acba2fe5c5d2a9edbde731e2339ad763d37f53bb19af678e5331fe27cc2f26a8299481319df584965b1868b18c668e9943b0bf3bdec3285ea1ec40b714e11f08
+ checksum: 8a5953be367fccaac7f318d41d095eb67d547b2ef6e30ad622c804743d99f204c9f09dce3dc29f102f2b19938dd5562f15c81c95a1649297efe2f87b36015e3e
languageName: node
linkType: hard
@@ -13485,16 +13485,16 @@ __metadata:
resolution: "@lace/browser-extension-wallet@workspace:apps/browser-extension-wallet"
dependencies:
"@ant-design/icons": ^4.7.0
- "@cardano-sdk/cardano-services-client": 0.23.2
- "@cardano-sdk/core": 0.42.1
- "@cardano-sdk/dapp-connector": 0.12.47
- "@cardano-sdk/hardware-ledger": 0.12.16
- "@cardano-sdk/input-selection": 0.13.31
- "@cardano-sdk/tx-construction": 0.23.0
+ "@cardano-sdk/cardano-services-client": 0.23.4
+ "@cardano-sdk/core": 0.42.2
+ "@cardano-sdk/dapp-connector": 0.12.48
+ "@cardano-sdk/hardware-ledger": 0.12.17
+ "@cardano-sdk/input-selection": 0.13.32
+ "@cardano-sdk/tx-construction": 0.24.0
"@cardano-sdk/util": 0.15.5
- "@cardano-sdk/util-rxjs": 0.8.0
- "@cardano-sdk/wallet": 0.46.2
- "@cardano-sdk/web-extension": 0.36.1
+ "@cardano-sdk/util-rxjs": 0.9.0
+ "@cardano-sdk/wallet": 0.47.0
+ "@cardano-sdk/web-extension": 0.37.0
"@emurgo/cardano-message-signing-asmjs": 1.0.1
"@emurgo/cip14-js": ~3.0.1
"@input-output-hk/lace-ui-toolkit": 1.21.0
@@ -13572,17 +13572,17 @@ __metadata:
resolution: "@lace/cardano@workspace:packages/cardano"
dependencies:
"@blockfrost/blockfrost-js": ^5.5.0
- "@cardano-sdk/cardano-services-client": 0.23.2
- "@cardano-sdk/core": 0.42.1
+ "@cardano-sdk/cardano-services-client": 0.23.4
+ "@cardano-sdk/core": 0.42.2
"@cardano-sdk/crypto": 0.1.32
- "@cardano-sdk/hardware-ledger": 0.12.16
- "@cardano-sdk/hardware-trezor": 0.6.15
- "@cardano-sdk/key-management": 0.24.13
- "@cardano-sdk/tx-construction": 0.23.0
+ "@cardano-sdk/hardware-ledger": 0.12.17
+ "@cardano-sdk/hardware-trezor": 0.6.16
+ "@cardano-sdk/key-management": 0.24.14
+ "@cardano-sdk/tx-construction": 0.24.0
"@cardano-sdk/util": 0.15.5
- "@cardano-sdk/util-dev": 0.24.1
- "@cardano-sdk/wallet": 0.46.2
- "@cardano-sdk/web-extension": 0.36.1
+ "@cardano-sdk/util-dev": 0.24.3
+ "@cardano-sdk/wallet": 0.47.0
+ "@cardano-sdk/web-extension": 0.37.0
"@emurgo/cardano-message-signing-browser": 1.0.1
"@lace/common": 0.1.0
"@ledgerhq/devices": ^8.4.4
@@ -13647,8 +13647,8 @@ __metadata:
"@babel/preset-env": ^7.22.20
"@babel/preset-react": ^7.22.15
"@babel/preset-typescript": ^7.22.15
- "@cardano-sdk/wallet": 0.46.2
- "@cardano-sdk/web-extension": 0.36.1
+ "@cardano-sdk/wallet": 0.47.0
+ "@cardano-sdk/web-extension": 0.37.0
"@input-output-hk/lace-ui-toolkit": 1.19.0
"@lace/cardano": 0.1.0
"@lace/common": 0.1.0
@@ -13743,11 +13743,11 @@ __metadata:
resolution: "@lace/nami@workspace:packages/nami"
dependencies:
"@biglup/is-cid": ^1.0.3
- "@cardano-sdk/core": 0.42.1
+ "@cardano-sdk/core": 0.42.2
"@cardano-sdk/crypto": 0.1.32
- "@cardano-sdk/tx-construction": 0.23.0
+ "@cardano-sdk/tx-construction": 0.24.0
"@cardano-sdk/util": 0.15.5
- "@cardano-sdk/web-extension": 0.36.1
+ "@cardano-sdk/web-extension": 0.37.0
"@chakra-ui/css-reset": 1.0.0
"@chakra-ui/icons": 1.0.13
"@chakra-ui/react": 1.6.4
@@ -13826,12 +13826,12 @@ __metadata:
dependencies:
"@ant-design/icons": ^4.7.0
"@babel/core": ^7.21.0
- "@cardano-sdk/core": 0.42.1
- "@cardano-sdk/input-selection": 0.13.31
- "@cardano-sdk/tx-construction": 0.23.0
+ "@cardano-sdk/core": 0.42.2
+ "@cardano-sdk/input-selection": 0.13.32
+ "@cardano-sdk/tx-construction": 0.24.0
"@cardano-sdk/util": 0.15.5
- "@cardano-sdk/wallet": 0.46.2
- "@cardano-sdk/web-extension": 0.36.1
+ "@cardano-sdk/wallet": 0.47.0
+ "@cardano-sdk/web-extension": 0.37.0
"@input-output-hk/lace-ui-toolkit": 1.19.0
"@lace/cardano": ^0.1.0
"@lace/common": ^0.1.0
@@ -13896,11 +13896,11 @@ __metadata:
wait-on: ^7.0.1
zustand: ^4.4.1
peerDependencies:
- "@cardano-sdk/input-selection": 0.13.31
- "@cardano-sdk/tx-construction": 0.23.0
+ "@cardano-sdk/input-selection": 0.13.32
+ "@cardano-sdk/tx-construction": 0.24.0
"@cardano-sdk/util": 0.15.5
- "@cardano-sdk/wallet": 0.46.2
- "@cardano-sdk/web-extension": 0.36.1
+ "@cardano-sdk/wallet": 0.47.0
+ "@cardano-sdk/web-extension": 0.37.0
"@lace/cardano": ^0.1.0
"@lace/common": ^0.1.0
"@lace/core": 0.1.0