New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

crosslightning-base

Package Overview
Dependencies
Maintainers
0
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crosslightning-base - npm Package Compare versions

Comparing version 6.0.3 to 6.1.0-dev0

dist/swaps/SameChainSwapData.d.ts

1

dist/btcrelay/BtcRelay.d.ts

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

/// <reference types="node" />
import { BtcStoredHeader } from "./types/BtcStoredHeader";

@@ -3,0 +2,0 @@ import { BtcBlock } from "./types/BtcBlock";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

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

/// <reference types="node" />
import { BtcBlock } from "../types/BtcBlock";

@@ -3,0 +2,0 @@ export type BtcVout = {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ import { BtcStoredHeader } from "../types/BtcStoredHeader";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

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

/// <reference types="node" />
export interface BtcBlock {

@@ -3,0 +2,0 @@ getVersion(): number;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

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

/// <reference types="node" />
export interface BtcHeader {

@@ -3,0 +2,0 @@ getVersion(): number;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

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

/// <reference types="node" />
import { BtcHeader } from "./BtcHeader";

@@ -3,0 +2,0 @@ export interface BtcStoredHeader<T extends BtcHeader> {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

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

/// <reference types="node" />
export declare class StatePredictorUtils {

@@ -3,0 +2,0 @@ static readonly DIFF_ADJUSTMENT_PERIOD = 2016;

@@ -0,0 +0,0 @@ "use strict";

export declare class CannotInitializeATAError extends Error {
constructor(msg: string);
}

@@ -0,0 +0,0 @@ "use strict";

export declare class SignatureVerificationError extends Error {
constructor(msg: string);
}

@@ -0,0 +0,0 @@ "use strict";

export declare class SwapDataVerificationError extends Error {
constructor(msg: string);
}

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { SwapEvent } from "./types/SwapEvent";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ import { SwapEvent } from "./SwapEvent";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { SwapEvent } from "./SwapEvent";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { SwapEvent } from "./SwapEvent";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { SwapData } from "../../swaps/SwapData";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export * from "./btcrelay/BtcRelay";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export declare class Lockable {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { StorageObject } from "./StorageObject";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
export interface StorageObject {
serialize(): any;
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ export declare enum ChainSwapType {

@@ -10,2 +10,2 @@ "use strict";

ChainSwapType[ChainSwapType["CHAIN_TXID"] = 3] = "CHAIN_TXID";
})(ChainSwapType = exports.ChainSwapType || (exports.ChainSwapType = {}));
})(ChainSwapType || (exports.ChainSwapType = ChainSwapType = {}));

@@ -0,0 +0,0 @@ export declare enum SwapCommitStatus {

@@ -11,2 +11,2 @@ "use strict";

SwapCommitStatus[SwapCommitStatus["REFUNDABLE"] = 4] = "REFUNDABLE";
})(SwapCommitStatus = exports.SwapCommitStatus || (exports.SwapCommitStatus = {}));
})(SwapCommitStatus || (exports.SwapCommitStatus = SwapCommitStatus = {}));

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

/// <reference types="node" />
import { SwapData } from "./SwapData";

@@ -98,3 +97,3 @@ import { TokenAddress } from "./TokenAddress";

setUsAsOfferer(swapData: T): any;
getHashForOnchain(outputScript: Buffer, amount: BN, nonce: BN): Buffer;
getHashForOnchain(outputScript: Buffer, amount: BN, nonce: BN): Promise<Buffer>;
getNativeCurrencyAddress(): TokenAddress;

@@ -101,0 +100,0 @@ withdraw(token: TokenAddress, amount: BN, waitForConfirmation?: boolean, abortSignal?: AbortSignal): Promise<string>;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ import { ChainSwapType } from "./ChainSwapType";

@@ -0,0 +0,0 @@ "use strict";

export type TokenAddress = any;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
{
"name": "crosslightning-base",
"version": "6.0.3",
"version": "6.1.0-dev0",
"description": "Base classes and interfaces of SolLightning",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

@@ -0,0 +0,0 @@ import {BtcStoredHeader} from "./types/BtcStoredHeader";

@@ -0,0 +0,0 @@ import {BtcBlock} from "../types/BtcBlock";

@@ -0,0 +0,0 @@ import {BtcStoredHeader} from "../types/BtcStoredHeader";

@@ -0,0 +0,0 @@ import {BtcHeader} from "./BtcHeader";

@@ -0,0 +0,0 @@ import {SwapEvent} from "./types/SwapEvent";

@@ -0,0 +0,0 @@ import {SwapEvent} from "./SwapEvent";

@@ -0,0 +0,0 @@ import {SwapEvent} from "./SwapEvent";

@@ -0,0 +0,0 @@ import {SwapEvent} from "./SwapEvent";

@@ -0,0 +0,0 @@ import {SwapData} from "../../swaps/SwapData";

@@ -0,0 +0,0 @@ export * from "./btcrelay/BtcRelay";

@@ -0,0 +0,0 @@

@@ -0,0 +0,0 @@ import {StorageObject} from "./StorageObject";

@@ -0,0 +0,0 @@ export enum ChainSwapType {

@@ -130,3 +130,3 @@ import {SwapData} from "./SwapData";

getHashForOnchain(outputScript: Buffer, amount: BN, nonce: BN): Buffer;
getHashForOnchain(outputScript: Buffer, amount: BN, nonce: BN): Promise<Buffer>;

@@ -133,0 +133,0 @@ getNativeCurrencyAddress(): TokenAddress;

@@ -0,0 +0,0 @@ import {ChainSwapType} from "./ChainSwapType";

export type TokenAddress = any;

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