Skip to content

Commit a671625

Browse files
committed
feat: update bitcoindevkit dependency
1 parent 854d084 commit a671625

41 files changed

Lines changed: 70 additions & 65 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/snap/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
"test:integration": "./integration-test/run-integration.sh"
3636
},
3737
"devDependencies": {
38+
"@bitcoindevkit/bdk-wallet-web": "^0.2.0",
3839
"@jest/globals": "^30.0.5",
39-
"@metamask/bitcoindevkit": "^0.1.13",
4040
"@metamask/key-tree": "^10.1.1",
4141
"@metamask/keyring-api": "^21.3.0",
4242
"@metamask/keyring-snap-sdk": "^7.1.1",

packages/snap/snap.manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://github.com/MetaMask/snap-bitcoin-wallet.git"
88
},
99
"source": {
10-
"shasum": "Zm/sd/qBHb5IBLwlsjtAij6VGTVRJ6mwXrs2/SRviH0=",
10+
"shasum": "6mDIoXAmEvcQg3CeW31TZq6xa4hq8blIGWXJLGG4Zuc=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",

packages/snap/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable no-restricted-globals */
22

3-
import type { AddressType } from '@metamask/bitcoindevkit';
3+
import type { AddressType } from '@bitcoindevkit/bdk-wallet-web';
44

55
import { LogLevel, type SnapConfig } from './entities';
66

packages/snap/src/entities/account.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import type {
1414
Amount,
1515
ScriptBuf,
1616
Address,
17-
} from '@metamask/bitcoindevkit';
17+
} from '@bitcoindevkit/bdk-wallet-web';
1818

1919
import type { Inscription } from './meta-protocols';
2020
import type { TransactionBuilder } from './transaction';

packages/snap/src/entities/chain.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type {
22
FeeEstimates,
33
Network,
44
Transaction,
5-
} from '@metamask/bitcoindevkit';
5+
} from '@bitcoindevkit/bdk-wallet-web';
66

77
import type { BitcoinAccount } from './account';
88

packages/snap/src/entities/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { AddressType, Network } from '@metamask/bitcoindevkit';
1+
import type { AddressType, Network } from '@bitcoindevkit/bdk-wallet-web';
22

33
import type { LogLevel } from './logger';
44

packages/snap/src/entities/confirmation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Network } from '@metamask/bitcoindevkit';
1+
import type { Network } from '@bitcoindevkit/bdk-wallet-web';
22

33
import type { BitcoinAccount } from './account';
44

packages/snap/src/entities/currency.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Network } from '@metamask/bitcoindevkit';
1+
import type { Network } from '@bitcoindevkit/bdk-wallet-web';
22

33
export enum CurrencyUnit {
44
Bitcoin = 'BTC',

packages/snap/src/entities/send-flow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Network } from '@metamask/bitcoindevkit';
1+
import type { Network } from '@bitcoindevkit/bdk-wallet-web';
22
import type { CurrencyRate } from '@metamask/snaps-sdk';
33

44
import type { CurrencyUnit } from './currency';

packages/snap/src/entities/snap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { WalletTx } from '@metamask/bitcoindevkit';
1+
import type { WalletTx } from '@bitcoindevkit/bdk-wallet-web';
22
import type { JsonSLIP10Node, SLIP10Node } from '@metamask/key-tree';
33
import type {
44
ComponentOrElement,

0 commit comments

Comments
 (0)