@polkadot/api-base 8.7.2-11 → 8.7.2-12

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/api-base',
12
12
  path: typeof __dirname === 'string' ? __dirname : 'auto',
13
13
  type: 'cjs',
14
- version: '8.7.2-11'
14
+ version: '8.7.2-12'
15
15
  };
16
16
  exports.packageInfo = packageInfo;
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "./cjs/detectPackage.js"
21
21
  ],
22
22
  "type": "module",
23
- "version": "8.7.2-11",
23
+ "version": "8.7.2-12",
24
24
  "main": "./cjs/index.js",
25
25
  "module": "./index.js",
26
26
  "types": "./index.d.ts",
@@ -111,8 +111,8 @@
111
111
  },
112
112
  "dependencies": {
113
113
  "@babel/runtime": "^7.18.3",
114
- "@polkadot/rpc-core": "8.7.2-11",
115
- "@polkadot/types": "8.7.2-11",
114
+ "@polkadot/rpc-core": "8.7.2-12",
115
+ "@polkadot/types": "8.7.2-12",
116
116
  "@polkadot/util": "^9.4.1",
117
117
  "rxjs": "^7.5.5"
118
118
  }
package/packageInfo.js CHANGED
@@ -5,5 +5,5 @@ export const packageInfo = {
5
5
  name: '@polkadot/api-base',
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.7.2-11'
8
+ version: '8.7.2-12'
9
9
  };
package/types/events.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import type { IsEvent } from '@polkadot/types/metadata/decorate/types';
2
- import type { AnyTuple } from '@polkadot/types/types';
2
+ import type { AnyTuple, Codec } from '@polkadot/types/types';
3
3
  import type { ApiTypes } from './base';
4
4
  export interface AugmentedEvents<ApiType extends ApiTypes> {
5
5
  }
6
6
  export interface DecoratedEvents<ApiType extends ApiTypes> extends AugmentedEvents<ApiType> {
7
7
  [key: string]: ModuleEvents<ApiType>;
8
8
  }
9
- export declare type AugmentedEvent<ApiType extends ApiTypes, T extends AnyTuple = AnyTuple> = IsEvent<T>;
9
+ export declare type AugmentedEvent<ApiType extends ApiTypes, T extends AnyTuple = AnyTuple, N extends Record<string, Codec> = Record<string, Codec>> = IsEvent<T, N>;
10
10
  export interface ModuleEvents<ApiType extends ApiTypes> {
11
- [key: string]: AugmentedEvent<ApiType, AnyTuple>;
11
+ [key: string]: AugmentedEvent<ApiType>;
12
12
  }