@dfns/blockchain-integration
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -1,1 +0,2 @@ | ||
export declare function createLambdaHandler(WalletImplementation: any, prefix: string): (lambdaEvent: any, context: any) => Promise<any>; | ||
import { WalletInterface } from "../types/wallet"; | ||
export declare function createLambdaHandler(WalletImplementation: WalletInterface, prefix: string): (lambdaEvent: any, context: any) => Promise<any>; |
/// <reference types="node" /> | ||
import { Signature } from "../types/requests"; | ||
import { TransactionResponse } from "../types/responses"; | ||
export interface SignerAsync { | ||
getPublicKey(): Promise<Buffer>; | ||
sign(hash: Buffer): Promise<Signature>; | ||
} | ||
export declare type SendPaymentTxParams = { | ||
to?: string; | ||
value?: string; | ||
}; | ||
export interface WalletInterface { | ||
getAddress(): Promise<string>; | ||
getBalance(): Promise<string>; | ||
getTransactions(): Promise<TransactionResponse>; | ||
sendTransaction(paymentTxParams: SendPaymentTxParams): Promise<string>; | ||
} | ||
import { SignerAsync } from "../types/signer"; | ||
export declare class Signer implements SignerAsync { | ||
@@ -19,0 +4,0 @@ private groupId; |
@@ -6,1 +6,5 @@ export declare type Signature = { | ||
}; | ||
export declare type SendPaymentTxParams = { | ||
to?: string; | ||
value?: string; | ||
}; |
{ | ||
"name": "@dfns/blockchain-integration", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Blockchain integration Kit for DFNS", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
8350
19
192
0