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

@dfns/blockchain-integration

Package Overview
Dependencies
Maintainers
2
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dfns/blockchain-integration - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

lib/types/signer.d.ts

3

lib/lambda-handler/lambda-handler.d.ts

@@ -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",

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