mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-22 11:27:59 +00:00
chore: update to version 14.0.11 and align website URLs
This commit is contained in:
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
import type { U8aLike } from '../types.js';
|
||||
/** @internal */
|
||||
export declare const U8A_WRAP_ETHEREUM: Uint8Array;
|
||||
/** @internal */
|
||||
export declare const U8A_WRAP_PREFIX: Uint8Array;
|
||||
/** @internal */
|
||||
export declare const U8A_WRAP_POSTFIX: Uint8Array;
|
||||
/** @internal */
|
||||
export declare function u8aIsWrapped(u8a: Uint8Array, withEthereum: boolean): boolean;
|
||||
/**
|
||||
* @name u8aUnwrapBytes
|
||||
* @description Removes all <Bytes>...</Bytes> wrappers from the supplied value
|
||||
*/
|
||||
export declare function u8aUnwrapBytes(bytes: U8aLike): Uint8Array;
|
||||
/**
|
||||
* @name u8aWrapBytes
|
||||
* @description
|
||||
* Adds a <Bytes>...</Bytes> wrapper to the supplied value, if
|
||||
* - We don't already have a Bytes wrapper
|
||||
* - The message is not an Ethereum-style message
|
||||
*/
|
||||
export declare function u8aWrapBytes(bytes: U8aLike): Uint8Array;
|
||||
Reference in New Issue
Block a user