@ultrade/shared 1.0.11 → 1.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -13,7 +13,7 @@ export declare const getBoxKeyFromHash: (hash: string, prefix: string) => Uint8A
|
|
|
13
13
|
export declare const getAppArgs: (methodSignature: string, args: Array<Uint8Array | Buffer | number>) => Uint8Array[];
|
|
14
14
|
export declare const getDataBytesFromMsg: (message: string, encoding: BufferEncoding, dataBytesLength: number) => Uint8Array<ArrayBufferLike>;
|
|
15
15
|
export declare const getMsgArgs: (message: string, signature: string, signerAddress: string, signerChainId: number, encoding?: BufferEncoding) => Array<Buffer | Uint8Array>;
|
|
16
|
-
export declare const decodeSignature: (signature: string, chain: number) =>
|
|
16
|
+
export declare const decodeSignature: (signature: string, chain: number) => Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>;
|
|
17
17
|
export declare const getPublicKey: (address: string, chain: number, message: string, signature: string, encoding?: BufferEncoding) => Uint8Array | Buffer;
|
|
18
18
|
export declare const getPrefixedMessage: (message: string, encoding: BufferEncoding | undefined, chain: number) => Buffer;
|
|
19
19
|
export declare const getProviderChainId: (technology: TechnologyType) => Chains;
|