@pezkuwi/types 16.5.10 → 16.5.11

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.
@@ -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.10' };
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.11' };
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<ArrayBuffer>;
8
+ export declare const ACCOUNT_ID_PREFIX: Uint8Array;
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): `0x${string}` | Uint8Array<ArrayBufferLike> | ExtrinsicPayloadValue | {
25
+ export declare function decodeAssetId(registry: Registry, payload?: ExtrinsicPayloadValue | Uint8Array | HexString): Uint8Array | `0x${string}` | 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<ArrayBuffer>;
4
- export declare const IMMORTAL_ERA: Uint8Array<ArrayBuffer>;
3
+ export declare const EMPTY_U8A: Uint8Array;
4
+ export declare const IMMORTAL_ERA: Uint8Array;
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;
@@ -76,7 +76,7 @@ export declare class GeneralExtrinsic extends Struct {
76
76
  *
77
77
  * @description Returns an encoded GeneralExtrinsic
78
78
  */
79
- encode(): Uint8Array<ArrayBufferLike>;
79
+ encode(): Uint8Array;
80
80
  signFake(): void;
81
81
  addSignature(): void;
82
82
  sign(): void;
@@ -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<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>;
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;
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<ArrayBuffer>;
8
+ export declare const ACCOUNT_ID_PREFIX: Uint8Array;
9
9
  /**
10
10
  * @name LookupSource
11
11
  * @description
@@ -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.10' };
4
+ exports.packageInfo = { name: '@pezkuwi/types', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '16.5.11' };
@@ -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<ArrayBuffer>;
8
+ export declare const ACCOUNT_ID_PREFIX: Uint8Array;
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): `0x${string}` | Uint8Array<ArrayBufferLike> | ExtrinsicPayloadValue | {
25
+ export declare function decodeAssetId(registry: Registry, payload?: ExtrinsicPayloadValue | Uint8Array | HexString): Uint8Array | `0x${string}` | 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<ArrayBuffer>;
4
- export declare const IMMORTAL_ERA: Uint8Array<ArrayBuffer>;
3
+ export declare const EMPTY_U8A: Uint8Array;
4
+ export declare const IMMORTAL_ERA: Uint8Array;
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;
@@ -76,7 +76,7 @@ export declare class GeneralExtrinsic extends Struct {
76
76
  *
77
77
  * @description Returns an encoded GeneralExtrinsic
78
78
  */
79
- encode(): Uint8Array<ArrayBufferLike>;
79
+ encode(): Uint8Array;
80
80
  signFake(): void;
81
81
  addSignature(): void;
82
82
  sign(): void;
@@ -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<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>;
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;
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<ArrayBuffer>;
8
+ export declare const ACCOUNT_ID_PREFIX: Uint8Array;
9
9
  /**
10
10
  * @name LookupSource
11
11
  * @description
package/package.json CHANGED
@@ -18,10 +18,10 @@
18
18
  "./cjs/packageDetect.js"
19
19
  ],
20
20
  "type": "module",
21
- "version": "16.5.10",
22
- "main": "./cjs/build/cjs/index.js",
23
- "module": "./build/cjs/index.js",
24
- "types": "./build/cjs/index.d.ts",
21
+ "version": "16.5.11",
22
+ "main": "./cjs/index.js",
23
+ "module": "./cjs/index.js",
24
+ "types": "./cjs/index.d.ts",
25
25
  "exports": {
26
26
  "./cjs/package.json": "./cjs/package.json",
27
27
  "./cjs/*": "./cjs/*.js",
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.10' };
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.11' };