@polkadot/types-codec 8.3.3-7 → 8.3.3-8

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.
@@ -11,6 +11,6 @@ const packageInfo = {
11
11
  name: '@polkadot/types-codec',
12
12
  path: typeof __dirname === 'string' ? __dirname : 'auto',
13
13
  type: 'cjs',
14
- version: '8.3.3-7'
14
+ version: '8.3.3-8'
15
15
  };
16
16
  exports.packageInfo = packageInfo;
package/native/Text.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { HexString } from '@polkadot/util/types';
2
- import type { AnyU8a, Codec, Inspect, IU8a, Registry } from '../types';
2
+ import type { AnyU8a, Inspect, IText, IU8a, Registry } from '../types';
3
3
  /**
4
4
  * @name Text
5
5
  * @description
@@ -8,7 +8,7 @@ import type { AnyU8a, Codec, Inspect, IU8a, Registry } from '../types';
8
8
  * object, inheriting all methods exposed from `String`.
9
9
  * @noInheritDoc
10
10
  */
11
- export declare class Text extends String implements Codec {
11
+ export declare class Text extends String implements IText {
12
12
  #private;
13
13
  readonly registry: Registry;
14
14
  createdAtHash?: IU8a;
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "./cjs/detectPackage.js"
21
21
  ],
22
22
  "type": "module",
23
- "version": "8.3.3-7",
23
+ "version": "8.3.3-8",
24
24
  "main": "./cjs/index.js",
25
25
  "module": "./index.js",
26
26
  "types": "./index.d.ts",
package/packageInfo.js CHANGED
@@ -5,5 +5,5 @@ export const packageInfo = {
5
5
  name: '@polkadot/types-codec',
6
6
  path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
7
7
  type: 'esm',
8
- version: '8.3.3-7'
8
+ version: '8.3.3-8'
9
9
  };
@@ -47,6 +47,8 @@ export interface IStruct<K = string, V extends Codec = Codec> extends Map<K, V>,
47
47
  getAtIndex(index: number): Codec;
48
48
  toArray(): Codec[];
49
49
  }
50
+ export interface IText extends String, Codec {
51
+ }
50
52
  export declare type ITuple<T extends AnyTuple = Codec[]> = T & Codec;
51
53
  export interface IU8a extends Uint8Array, Codec {
52
54
  readonly isAscii: boolean;