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

@onekeyfe/onekey-private-external-account-provider

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@onekeyfe/onekey-private-external-account-provider - npm Package Compare versions

Comparing version 2.0.0-alpha.6 to 2.0.0-alpha.7

4

dist/ProviderPrivateExternalAccount.d.ts
import { IInpageProviderConfig } from "@onekeyfe/cross-inpage-provider-core";
import { ProviderPrivateExternalAccountBase } from "./ProviderPrivateExternalAccountBase";
import { PrivateExternalAccountProviderEventsMap, IExternalAccount, IProviderPrivateExternalAccount, IEncodedTxBtc, IBtcNetwork, ISignTxRes } from "./types";
import { PrivateExternalAccountProviderEventsMap, IExternalAccount, IProviderPrivateExternalAccount, IBtcNetwork, ISignTxRes } from "./types";
declare class ProviderPrivateExternalAccount extends ProviderPrivateExternalAccountBase implements IProviderPrivateExternalAccount {

@@ -15,3 +15,3 @@ constructor(props: IInpageProviderConfig);

btc_signTransaction(params: {
encodedTx: IEncodedTxBtc;
psbtHex: string;
network: IBtcNetwork;

@@ -18,0 +18,0 @@ }): Promise<ISignTxRes>;

@@ -42,3 +42,3 @@ import { IJsonRpcRequest } from '@onekeyfe/cross-inpage-provider-types';

btc_signTransaction: (params: {
encodedTx: IEncodedTxBtc;
psbtHex: string;
network: IBtcNetwork;

@@ -65,40 +65,2 @@ }) => Promise<ISignTxRes>;

};
declare type IBtcInput = {
txid: string;
vout: number;
value: string;
address: string;
path: string;
};
declare type IBtcOutput = {
address: string;
value: string;
payload?: {
isCharge?: boolean;
bip44Path?: string;
opReturn?: string;
};
};
declare type ICoinSelectUTXO = {
txId: string;
vout: number;
value: number;
address: string;
path: string;
forceSelect?: boolean;
};
declare type IInputsForCoinSelect = ICoinSelectUTXO[];
declare type IOutputsForCoinSelect = {
address: string;
value?: number;
isMax?: boolean;
script?: string;
}[];
export declare type IEncodedTxBtc = {
inputs: IBtcInput[];
outputs: IBtcOutput[];
inputsForCoinSelect: IInputsForCoinSelect;
outputsForCoinSelect: IOutputsForCoinSelect;
fee: string;
};
export {};
{
"name": "@onekeyfe/onekey-private-external-account-provider",
"version": "2.0.0-alpha.6",
"version": "2.0.0-alpha.7",
"keywords": [

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

"dependencies": {
"@onekeyfe/cross-inpage-provider-core": "2.0.0-alpha.6",
"@onekeyfe/cross-inpage-provider-errors": "2.0.0-alpha.6",
"@onekeyfe/cross-inpage-provider-types": "2.0.0-alpha.6",
"@onekeyfe/extension-bridge-injected": "2.0.0-alpha.6"
"@onekeyfe/cross-inpage-provider-core": "2.0.0-alpha.7",
"@onekeyfe/cross-inpage-provider-errors": "2.0.0-alpha.7",
"@onekeyfe/cross-inpage-provider-types": "2.0.0-alpha.7",
"@onekeyfe/extension-bridge-injected": "2.0.0-alpha.7"
},
"gitHead": "d3e3f224c0436a4189b243da3b2f39d71308c8d5"
"gitHead": "4973c47364a6f6c8533596b11edbb308db360893"
}
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