@vostokplatform/signature-generator
Advanced tools
Comparing version 1.6.7-RC2 to 1.6.7-RC3
@@ -13,6 +13,8 @@ export * from './constants'; | ||
import { concatUint8Arrays } from './utils/concat'; | ||
import { BigNumber } from 'bignumber.js'; | ||
import { TBuffer, IKeyPairBytes } from './interface'; | ||
export declare const libs: { | ||
base64: typeof base64; | ||
base58: { | ||
encode(buffer: import("./interface").TBuffer): string; | ||
encode(buffer: TBuffer): string; | ||
decode(string?: string): Uint8Array; | ||
@@ -59,5 +61,5 @@ }; | ||
IntToByteArray(input: number): number[]; | ||
bytesToByteArrayWithSize(input: import("./interface").TBuffer): number[]; | ||
bytesToByteArrayWithSize(input: TBuffer): number[]; | ||
longToByteArray(input: number): number[]; | ||
bigNumberToByteArray(input: import("bignumber.js").default): number[]; | ||
bigNumberToByteArray(input: BigNumber): number[]; | ||
stringToByteArray(input: string): number[]; | ||
@@ -70,3 +72,3 @@ stringToByteArrayWithSize(input: string, maxLengthBytesCount?: number): number[]; | ||
buildTransactionId(dataBytes: Uint8Array): string; | ||
buildKeyPair(seed: string): import("./interface").IKeyPairBytes; | ||
buildKeyPair(seed: string): IKeyPairBytes; | ||
isValidAddress(address: string): boolean; | ||
@@ -82,3 +84,3 @@ buildRawAddress(publicKeyBytes: Uint8Array): string; | ||
buildTransactionId(dataBytes: Uint8Array): string; | ||
buildKeyPair(seed: string): import("./interface").IKeyPairBytes; | ||
buildKeyPair(seed: string): IKeyPairBytes; | ||
isValidAddress(address: string): boolean; | ||
@@ -85,0 +87,0 @@ buildRawAddress(publicKeyBytes: ArrayBuffer | Uint8Array): string; |
{ | ||
"name": "@vostokplatform/signature-generator", | ||
"version": "1.6.7-RC2", | ||
"version": "1.6.7-RC3", | ||
"main": "dist/index.js", | ||
"files": [ | ||
"dist", | ||
"src" | ||
"dist" | ||
], | ||
@@ -9,0 +8,0 @@ "types": "dist/index.d.ts", |
Sorry, the diff of this file is not supported yet
5983886
71
102262