Additional __PURE__ annotations (#1787)
* Additional __PURE__ annotations * Revert as const (This _could_ yield breaking external changes)
This commit is contained in:
@@ -10,13 +10,13 @@ import { u8aEq } from './eq.js';
|
||||
import { u8aToU8a } from './toU8a.js';
|
||||
|
||||
/** @internal */
|
||||
export const U8A_WRAP_ETHEREUM = u8aToU8a('\x19Ethereum Signed Message:\n');
|
||||
export const U8A_WRAP_ETHEREUM = /*#__PURE__*/ u8aToU8a('\x19Ethereum Signed Message:\n');
|
||||
|
||||
/** @internal */
|
||||
export const U8A_WRAP_PREFIX = u8aToU8a('<Bytes>');
|
||||
export const U8A_WRAP_PREFIX = /*#__PURE__*/ u8aToU8a('<Bytes>');
|
||||
|
||||
/** @internal */
|
||||
export const U8A_WRAP_POSTFIX = u8aToU8a('</Bytes>');
|
||||
export const U8A_WRAP_POSTFIX = /*#__PURE__*/ u8aToU8a('</Bytes>');
|
||||
|
||||
const WRAP_LEN = U8A_WRAP_PREFIX.length + U8A_WRAP_POSTFIX.length;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user