Socket
Socket
Sign inDemoInstall

@atomicfinance/bitcoin-js-wallet-provider

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atomicfinance/bitcoin-js-wallet-provider - npm Package Compare versions

Comparing version 3.2.1 to 3.2.2

11

CHANGELOG.md
# @atomicfinance/bitcoin-js-wallet-provider
## 3.2.2
### Patch Changes
- e5ff4c2: custom starting addressIndex
- Updated dependencies [e5ff4c2]
- @atomicfinance/bitcoin-wallet-provider@3.2.2
- @atomicfinance/bitcoin-utils@3.2.2
- @atomicfinance/types@3.2.2
- @atomicfinance/utils@3.2.2
## 3.2.1

@@ -4,0 +15,0 @@

2

dist/BitcoinJsWalletProvider.d.ts

@@ -14,2 +14,3 @@ /// <reference types="node" />

addressType?: bT.AddressType;
addressIndex?: number;
}

@@ -24,2 +25,3 @@ declare const BitcoinJsWalletProvider_base: (new (...args: any[]) => {

_addressType: bT.AddressType;
_addressIndex: number;
_derivationCache: {

@@ -26,0 +28,0 @@ [index: string]: Address;

4

dist/BitcoinJsWalletProvider.js

@@ -39,4 +39,4 @@ "use strict";

constructor(options) {
const { network, mnemonic, baseDerivationPath, addressType = types_1.bitcoin.AddressType.BECH32, } = options;
super({ network, baseDerivationPath, addressType });
const { network, mnemonic, baseDerivationPath, addressType = types_1.bitcoin.AddressType.BECH32, addressIndex = 0, } = options;
super({ network, baseDerivationPath, addressType, addressIndex });
if (!mnemonic)

@@ -43,0 +43,0 @@ throw new Error('Mnemonic should not be empty');

@@ -41,2 +41,3 @@ import {

addressType?: bT.AddressType;
addressIndex?: number;
}

@@ -57,4 +58,5 @@

addressType = bT.AddressType.BECH32,
addressIndex = 0,
} = options;
super({ network, baseDerivationPath, addressType });
super({ network, baseDerivationPath, addressType, addressIndex });

@@ -61,0 +63,0 @@ if (!mnemonic) throw new Error('Mnemonic should not be empty');

{
"name": "@atomicfinance/bitcoin-js-wallet-provider",
"version": "3.2.1",
"version": "3.2.2",
"description": "",

@@ -27,6 +27,6 @@ "module": "dist/index.js",

"dependencies": {
"@atomicfinance/bitcoin-utils": "^3.2.1",
"@atomicfinance/bitcoin-wallet-provider": "^3.2.1",
"@atomicfinance/types": "^3.2.1",
"@atomicfinance/utils": "^3.2.1",
"@atomicfinance/bitcoin-utils": "^3.2.2",
"@atomicfinance/bitcoin-wallet-provider": "^3.2.2",
"@atomicfinance/types": "^3.2.2",
"@atomicfinance/utils": "^3.2.2",
"@babel/runtime": "^7.12.1",

@@ -33,0 +33,0 @@ "bip32": "^2.0.6",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc