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

@ledgerhq/types-live

Package Overview
Dependencies
Maintainers
8
Versions
258
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ledgerhq/types-live - npm Package Compare versions

Comparing version 6.55.0-nightly.2 to 6.55.0-nightly.3

7

lib-es/bridge.d.ts

@@ -0,1 +1,2 @@

/// <reference types="node" />
import { BigNumber } from "bignumber.js";

@@ -91,3 +92,3 @@ import type { Observable } from "rxjs";

*/
export interface AccountBridge<T extends TransactionCommon, A extends Account = Account, U extends TransactionStatusCommon = TransactionStatusCommon, R extends AccountRaw = AccountRaw> {
interface SendReceiveAccountBridge<T extends TransactionCommon, A extends Account = Account, U extends TransactionStatusCommon = TransactionStatusCommon, R extends AccountRaw = AccountRaw> {
sync(initialAccount: A, syncConfig: SyncConfig): Observable<(arg0: A) => A>;

@@ -143,2 +144,6 @@ receive(account: A, arg1: {

}
type AccountBridgeWithExchange<A extends Account = Account> = {
getSerializedAddressParameters: (account: A, addressFormat?: string) => Buffer;
};
export type AccountBridge<T extends TransactionCommon, A extends Account = Account, U extends TransactionStatusCommon = TransactionStatusCommon, R extends AccountRaw = AccountRaw> = SendReceiveAccountBridge<T, A, U, R> & AccountBridgeWithExchange<A>;
type ExpectFn = (...args: Array<any>) => any;

@@ -145,0 +150,0 @@ type CurrencyTransaction<T extends TransactionCommon> = {

@@ -0,1 +1,2 @@

/// <reference types="node" />
import { BigNumber } from "bignumber.js";

@@ -91,3 +92,3 @@ import type { Observable } from "rxjs";

*/
export interface AccountBridge<T extends TransactionCommon, A extends Account = Account, U extends TransactionStatusCommon = TransactionStatusCommon, R extends AccountRaw = AccountRaw> {
interface SendReceiveAccountBridge<T extends TransactionCommon, A extends Account = Account, U extends TransactionStatusCommon = TransactionStatusCommon, R extends AccountRaw = AccountRaw> {
sync(initialAccount: A, syncConfig: SyncConfig): Observable<(arg0: A) => A>;

@@ -143,2 +144,6 @@ receive(account: A, arg1: {

}
type AccountBridgeWithExchange<A extends Account = Account> = {
getSerializedAddressParameters: (account: A, addressFormat?: string) => Buffer;
};
export type AccountBridge<T extends TransactionCommon, A extends Account = Account, U extends TransactionStatusCommon = TransactionStatusCommon, R extends AccountRaw = AccountRaw> = SendReceiveAccountBridge<T, A, U, R> & AccountBridgeWithExchange<A>;
type ExpectFn = (...args: Array<any>) => any;

@@ -145,0 +150,0 @@ type CurrencyTransaction<T extends TransactionCommon> = {

2

package.json
{
"name": "@ledgerhq/types-live",
"version": "6.55.0-nightly.2",
"version": "6.55.0-nightly.3",
"description": "Ledger Live main types.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -135,3 +135,3 @@ // NB this new "bridge" is a re-take of live-desktop bridge ideas

*/
export interface AccountBridge<
interface SendReceiveAccountBridge<
T extends TransactionCommon,

@@ -224,2 +224,13 @@ A extends Account = Account,

type AccountBridgeWithExchange<A extends Account = Account> = {
getSerializedAddressParameters: (account: A, addressFormat?: string) => Buffer;
};
export type AccountBridge<
T extends TransactionCommon,
A extends Account = Account,
U extends TransactionStatusCommon = TransactionStatusCommon,
R extends AccountRaw = AccountRaw,
> = SendReceiveAccountBridge<T, A, U, R> & AccountBridgeWithExchange<A>;
type ExpectFn = (...args: Array<any>) => any;

@@ -226,0 +237,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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