@pezkuwi/types 16.5.9 → 16.5.10
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.
- package/bundle-pezkuwi-types.js +1 -1
- package/cjs/ethereum/LookupSource.d.ts +1 -1
- package/cjs/extrinsic/ExtrinsicPayload.d.ts +1 -1
- package/cjs/extrinsic/constants.d.ts +2 -2
- package/cjs/extrinsic/v5/GeneralExtrinsic.d.ts +1 -1
- package/cjs/generic/ConsensusEngineId.d.ts +5 -5
- package/cjs/generic/LookupSource.d.ts +1 -1
- package/cjs/packageInfo.js +1 -1
- package/ethereum/LookupSource.d.ts +1 -1
- package/extrinsic/ExtrinsicPayload.d.ts +1 -1
- package/extrinsic/constants.d.ts +2 -2
- package/extrinsic/v5/GeneralExtrinsic.d.ts +1 -1
- package/generic/ConsensusEngineId.d.ts +5 -5
- package/generic/LookupSource.d.ts +1 -1
- package/package.json +1 -1
- package/packageInfo.js +1 -1
package/bundle-pezkuwi-types.js
CHANGED
|
@@ -16116,7 +16116,7 @@
|
|
|
16116
16116
|
}));
|
|
16117
16117
|
}
|
|
16118
16118
|
|
|
16119
|
-
const packageInfo = { name: '@pezkuwi/types', path: (({ url: (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('bundle-pezkuwi-types.js', document.baseURI).href)) }) && (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('bundle-pezkuwi-types.js', document.baseURI).href))) ? new URL((typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('bundle-pezkuwi-types.js', document.baseURI).href))).pathname.substring(0, new URL((typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('bundle-pezkuwi-types.js', document.baseURI).href))).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '16.5.
|
|
16119
|
+
const packageInfo = { name: '@pezkuwi/types', path: (({ url: (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('bundle-pezkuwi-types.js', document.baseURI).href)) }) && (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('bundle-pezkuwi-types.js', document.baseURI).href))) ? new URL((typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('bundle-pezkuwi-types.js', document.baseURI).href))).pathname.substring(0, new URL((typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('bundle-pezkuwi-types.js', document.baseURI).href))).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '16.5.10' };
|
|
16120
16120
|
|
|
16121
16121
|
function flattenUniq(list, result = []) {
|
|
16122
16122
|
for (let i = 0, count = list.length; i < count; i++) {
|
|
@@ -5,7 +5,7 @@ import { AbstractBase } from '@pezkuwi/types-codec';
|
|
|
5
5
|
import { GenericAccountIndex } from '../generic/AccountIndex.js';
|
|
6
6
|
import { GenericEthereumAccountId } from './AccountId.js';
|
|
7
7
|
type AnyAddress = bigint | BN | GenericEthereumLookupSource | GenericEthereumAccountId | GenericAccountIndex | number[] | Uint8Array | number | string;
|
|
8
|
-
export declare const ACCOUNT_ID_PREFIX: Uint8Array
|
|
8
|
+
export declare const ACCOUNT_ID_PREFIX: Uint8Array<ArrayBuffer>;
|
|
9
9
|
/**
|
|
10
10
|
* @name GenericEthereumLookupSource
|
|
11
11
|
* @description
|
|
@@ -22,7 +22,7 @@ type ExtrinsicPayloadVx = ExtrinsicPayloadV5;
|
|
|
22
22
|
* ref: https://github.com/pezkuwichain/pezkuwi-api/pull/5968
|
|
23
23
|
* ref: https://github.com/pezkuwichain/pezkuwi-api/pull/5967
|
|
24
24
|
*/
|
|
25
|
-
export declare function decodeAssetId(registry: Registry, payload?: ExtrinsicPayloadValue | Uint8Array | HexString):
|
|
25
|
+
export declare function decodeAssetId(registry: Registry, payload?: ExtrinsicPayloadValue | Uint8Array | HexString): `0x${string}` | Uint8Array<ArrayBufferLike> | ExtrinsicPayloadValue | {
|
|
26
26
|
assetId: AnyJson;
|
|
27
27
|
blockHash: import("@pezkuwi/types-codec/types").AnyU8a;
|
|
28
28
|
era: import("@pezkuwi/types-codec/types").AnyU8a | import("../types/extrinsic.js").IExtrinsicEra;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const BIT_SIGNED = 128;
|
|
2
2
|
export declare const BIT_UNSIGNED = 0;
|
|
3
|
-
export declare const EMPTY_U8A: Uint8Array
|
|
4
|
-
export declare const IMMORTAL_ERA: Uint8Array
|
|
3
|
+
export declare const EMPTY_U8A: Uint8Array<ArrayBuffer>;
|
|
4
|
+
export declare const IMMORTAL_ERA: Uint8Array<ArrayBuffer>;
|
|
5
5
|
export declare const UNMASK_VERSION = 127;
|
|
6
6
|
export declare const DEFAULT_PREAMBLE = "bare";
|
|
7
7
|
export declare const LATEST_EXTRINSIC_VERSION = 4;
|
|
@@ -2,11 +2,11 @@ import type { Bytes } from '@pezkuwi/types-codec';
|
|
|
2
2
|
import type { AnyU8a, Registry } from '@pezkuwi/types-codec/types';
|
|
3
3
|
import type { AccountId } from '../interfaces/index.js';
|
|
4
4
|
import { U8aFixed } from '@pezkuwi/types-codec';
|
|
5
|
-
export declare const CID_AURA: Uint8Array
|
|
6
|
-
export declare const CID_BABE: Uint8Array
|
|
7
|
-
export declare const CID_GRPA: Uint8Array
|
|
8
|
-
export declare const CID_POW: Uint8Array
|
|
9
|
-
export declare const CID_NMBS: Uint8Array
|
|
5
|
+
export declare const CID_AURA: Uint8Array<ArrayBufferLike>;
|
|
6
|
+
export declare const CID_BABE: Uint8Array<ArrayBufferLike>;
|
|
7
|
+
export declare const CID_GRPA: Uint8Array<ArrayBufferLike>;
|
|
8
|
+
export declare const CID_POW: Uint8Array<ArrayBufferLike>;
|
|
9
|
+
export declare const CID_NMBS: Uint8Array<ArrayBufferLike>;
|
|
10
10
|
/**
|
|
11
11
|
* @name GenericConsensusEngineId
|
|
12
12
|
* @description
|
|
@@ -5,7 +5,7 @@ import { AbstractBase } from '@pezkuwi/types-codec';
|
|
|
5
5
|
import { GenericAccountId } from './AccountId.js';
|
|
6
6
|
import { GenericAccountIndex } from './AccountIndex.js';
|
|
7
7
|
type AnyAddress = bigint | BN | GenericLookupSource | GenericAccountId | GenericAccountIndex | number[] | Uint8Array | number | string;
|
|
8
|
-
export declare const ACCOUNT_ID_PREFIX: Uint8Array
|
|
8
|
+
export declare const ACCOUNT_ID_PREFIX: Uint8Array<ArrayBuffer>;
|
|
9
9
|
/**
|
|
10
10
|
* @name LookupSource
|
|
11
11
|
* @description
|
package/cjs/packageInfo.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.packageInfo = void 0;
|
|
4
|
-
exports.packageInfo = { name: '@pezkuwi/types', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '16.5.
|
|
4
|
+
exports.packageInfo = { name: '@pezkuwi/types', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '16.5.10' };
|
|
@@ -5,7 +5,7 @@ import { AbstractBase } from '@pezkuwi/types-codec';
|
|
|
5
5
|
import { GenericAccountIndex } from '../generic/AccountIndex.js';
|
|
6
6
|
import { GenericEthereumAccountId } from './AccountId.js';
|
|
7
7
|
type AnyAddress = bigint | BN | GenericEthereumLookupSource | GenericEthereumAccountId | GenericAccountIndex | number[] | Uint8Array | number | string;
|
|
8
|
-
export declare const ACCOUNT_ID_PREFIX: Uint8Array
|
|
8
|
+
export declare const ACCOUNT_ID_PREFIX: Uint8Array<ArrayBuffer>;
|
|
9
9
|
/**
|
|
10
10
|
* @name GenericEthereumLookupSource
|
|
11
11
|
* @description
|
|
@@ -22,7 +22,7 @@ type ExtrinsicPayloadVx = ExtrinsicPayloadV5;
|
|
|
22
22
|
* ref: https://github.com/pezkuwichain/pezkuwi-api/pull/5968
|
|
23
23
|
* ref: https://github.com/pezkuwichain/pezkuwi-api/pull/5967
|
|
24
24
|
*/
|
|
25
|
-
export declare function decodeAssetId(registry: Registry, payload?: ExtrinsicPayloadValue | Uint8Array | HexString):
|
|
25
|
+
export declare function decodeAssetId(registry: Registry, payload?: ExtrinsicPayloadValue | Uint8Array | HexString): `0x${string}` | Uint8Array<ArrayBufferLike> | ExtrinsicPayloadValue | {
|
|
26
26
|
assetId: AnyJson;
|
|
27
27
|
blockHash: import("@pezkuwi/types-codec/types").AnyU8a;
|
|
28
28
|
era: import("@pezkuwi/types-codec/types").AnyU8a | import("../types/extrinsic.js").IExtrinsicEra;
|
package/extrinsic/constants.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const BIT_SIGNED = 128;
|
|
2
2
|
export declare const BIT_UNSIGNED = 0;
|
|
3
|
-
export declare const EMPTY_U8A: Uint8Array
|
|
4
|
-
export declare const IMMORTAL_ERA: Uint8Array
|
|
3
|
+
export declare const EMPTY_U8A: Uint8Array<ArrayBuffer>;
|
|
4
|
+
export declare const IMMORTAL_ERA: Uint8Array<ArrayBuffer>;
|
|
5
5
|
export declare const UNMASK_VERSION = 127;
|
|
6
6
|
export declare const DEFAULT_PREAMBLE = "bare";
|
|
7
7
|
export declare const LATEST_EXTRINSIC_VERSION = 4;
|
|
@@ -2,11 +2,11 @@ import type { Bytes } from '@pezkuwi/types-codec';
|
|
|
2
2
|
import type { AnyU8a, Registry } from '@pezkuwi/types-codec/types';
|
|
3
3
|
import type { AccountId } from '../interfaces/index.js';
|
|
4
4
|
import { U8aFixed } from '@pezkuwi/types-codec';
|
|
5
|
-
export declare const CID_AURA: Uint8Array
|
|
6
|
-
export declare const CID_BABE: Uint8Array
|
|
7
|
-
export declare const CID_GRPA: Uint8Array
|
|
8
|
-
export declare const CID_POW: Uint8Array
|
|
9
|
-
export declare const CID_NMBS: Uint8Array
|
|
5
|
+
export declare const CID_AURA: Uint8Array<ArrayBufferLike>;
|
|
6
|
+
export declare const CID_BABE: Uint8Array<ArrayBufferLike>;
|
|
7
|
+
export declare const CID_GRPA: Uint8Array<ArrayBufferLike>;
|
|
8
|
+
export declare const CID_POW: Uint8Array<ArrayBufferLike>;
|
|
9
|
+
export declare const CID_NMBS: Uint8Array<ArrayBufferLike>;
|
|
10
10
|
/**
|
|
11
11
|
* @name GenericConsensusEngineId
|
|
12
12
|
* @description
|
|
@@ -5,7 +5,7 @@ import { AbstractBase } from '@pezkuwi/types-codec';
|
|
|
5
5
|
import { GenericAccountId } from './AccountId.js';
|
|
6
6
|
import { GenericAccountIndex } from './AccountIndex.js';
|
|
7
7
|
type AnyAddress = bigint | BN | GenericLookupSource | GenericAccountId | GenericAccountIndex | number[] | Uint8Array | number | string;
|
|
8
|
-
export declare const ACCOUNT_ID_PREFIX: Uint8Array
|
|
8
|
+
export declare const ACCOUNT_ID_PREFIX: Uint8Array<ArrayBuffer>;
|
|
9
9
|
/**
|
|
10
10
|
* @name LookupSource
|
|
11
11
|
* @description
|
package/package.json
CHANGED
package/packageInfo.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageInfo = { name: '@pezkuwi/types', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '16.5.
|
|
1
|
+
export const packageInfo = { name: '@pezkuwi/types', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '16.5.10' };
|