Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@onekeyfe/onekey-btc-provider

Package Overview
Dependencies
Maintainers
2
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@onekeyfe/onekey-btc-provider - npm Package Compare versions

Comparing version 1.1.59 to 1.1.60

LICENSE.md

6

dist/cjs/ProviderBtcWallet.js

@@ -99,3 +99,9 @@ "use strict";

}
getBTCTipHeight() {
return this._request({
method: types_1.ProviderMethods.GET_BTC_TIP_HEIGHT,
params: undefined,
});
}
}
exports.ProviderBtcWallet = ProviderBtcWallet;

1

dist/cjs/types.js

@@ -36,2 +36,3 @@ "use strict";

ProviderMethods["GET_UTXOS"] = "getUtxos";
ProviderMethods["GET_BTC_TIP_HEIGHT"] = "getBTCTipHeight";
})(ProviderMethods = exports.ProviderMethods || (exports.ProviderMethods = {}));

@@ -21,4 +21,5 @@ import { ProviderBtc } from "./ProviderBtc";

getUtxos(address: string, amount: number): Promise<UTXO[]>;
getBTCTipHeight(): Promise<number>;
}
export { ProviderBtcWallet };
export { IProviderBtcWallet };

@@ -96,3 +96,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

}
getBTCTipHeight() {
return this._request({
method: ProviderMethods.GET_BTC_TIP_HEIGHT,
params: undefined,
});
}
}
export { ProviderBtcWallet };

3

dist/types.d.ts

@@ -63,3 +63,4 @@ import { IInpageProviderConfig } from '@onekeyfe/cross-inpage-provider-core';

GET_NETWORK_FEES = "getNetworkFees",
GET_UTXOS = "getUtxos"
GET_UTXOS = "getUtxos",
GET_BTC_TIP_HEIGHT = "getBTCTipHeight"
}

@@ -66,0 +67,0 @@ export declare type OneKeyBtcProviderProps = IInpageProviderConfig & {

@@ -33,2 +33,3 @@ export var ProviderEvents;

ProviderMethods["GET_UTXOS"] = "getUtxos";
ProviderMethods["GET_BTC_TIP_HEIGHT"] = "getBTCTipHeight";
})(ProviderMethods || (ProviderMethods = {}));
{
"name": "@onekeyfe/onekey-btc-provider",
"version": "1.1.59",
"version": "1.1.60",
"keywords": [

@@ -31,8 +31,8 @@ "cross-inpage-provider"

"dependencies": {
"@onekeyfe/cross-inpage-provider-core": "1.1.59",
"@onekeyfe/cross-inpage-provider-errors": "1.1.59",
"@onekeyfe/cross-inpage-provider-types": "1.1.59",
"@onekeyfe/extension-bridge-injected": "1.1.59"
"@onekeyfe/cross-inpage-provider-core": "1.1.60",
"@onekeyfe/cross-inpage-provider-errors": "1.1.60",
"@onekeyfe/cross-inpage-provider-types": "1.1.60",
"@onekeyfe/extension-bridge-injected": "1.1.60"
},
"gitHead": "9eec6a9cb2f44712431e356dfa384ddf17a3a0a8"
"gitHead": "3719f88ed1c9c0f256b40818d43ce555768fec1b"
}
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