@polkadot/types-known 6.12.2-18 → 6.12.2-21

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/package.json CHANGED
@@ -20,12 +20,12 @@
20
20
  "./detectPackage.cjs"
21
21
  ],
22
22
  "type": "module",
23
- "version": "6.12.2-18",
23
+ "version": "6.12.2-21",
24
24
  "main": "index.js",
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.16.5",
27
27
  "@polkadot/networks": "^8.2.2",
28
- "@polkadot/types": "6.12.2-18",
28
+ "@polkadot/types": "6.12.2-21",
29
29
  "@polkadot/util": "^8.2.2"
30
30
  },
31
31
  "exports": {
@@ -37,24 +37,19 @@
37
37
  "require": "./bundle.cjs",
38
38
  "default": "./bundle.js"
39
39
  },
40
- "./bundle.d.ts": "./bundle.d.ts",
41
40
  "./chain": {
42
41
  "require": "./chain/index.cjs",
43
42
  "default": "./chain/index.js"
44
43
  },
45
- "./chain/index.d.ts": "./chain/index.d.ts",
46
44
  "./detectPackage": {
47
45
  "require": "./detectPackage.cjs",
48
46
  "default": "./detectPackage.js"
49
47
  },
50
- "./detectPackage.d.ts": "./detectPackage.d.ts",
51
- "./index.d.ts": "./index.d.ts",
52
48
  "./package.json": "./package.json",
53
49
  "./packageInfo": {
54
50
  "require": "./packageInfo.cjs",
55
51
  "default": "./packageInfo.js"
56
52
  },
57
- "./packageInfo.d.ts": "./packageInfo.d.ts",
58
53
  "./README.md": "./README.md",
59
54
  "./spec": {
60
55
  "require": "./spec/index.cjs",
@@ -64,13 +59,10 @@
64
59
  "require": "./spec/centrifuge-chain.cjs",
65
60
  "default": "./spec/centrifuge-chain.js"
66
61
  },
67
- "./spec/centrifuge-chain.d.ts": "./spec/centrifuge-chain.d.ts",
68
- "./spec/index.d.ts": "./spec/index.d.ts",
69
62
  "./spec/kusama": {
70
63
  "require": "./spec/kusama.cjs",
71
64
  "default": "./spec/kusama.js"
72
65
  },
73
- "./spec/kusama.d.ts": "./spec/kusama.d.ts",
74
66
  "./spec/node": {
75
67
  "require": "./spec/node.cjs",
76
68
  "default": "./spec/node.js"
@@ -79,62 +71,49 @@
79
71
  "require": "./spec/node-template.cjs",
80
72
  "default": "./spec/node-template.js"
81
73
  },
82
- "./spec/node-template.d.ts": "./spec/node-template.d.ts",
83
- "./spec/node.d.ts": "./spec/node.d.ts",
84
74
  "./spec/polkadot": {
85
75
  "require": "./spec/polkadot.cjs",
86
76
  "default": "./spec/polkadot.js"
87
77
  },
88
- "./spec/polkadot.d.ts": "./spec/polkadot.d.ts",
89
78
  "./spec/rococo": {
90
79
  "require": "./spec/rococo.cjs",
91
80
  "default": "./spec/rococo.js"
92
81
  },
93
- "./spec/rococo.d.ts": "./spec/rococo.d.ts",
94
82
  "./spec/shell": {
95
83
  "require": "./spec/shell.cjs",
96
84
  "default": "./spec/shell.js"
97
85
  },
98
- "./spec/shell.d.ts": "./spec/shell.d.ts",
99
86
  "./spec/statemint": {
100
87
  "require": "./spec/statemint.cjs",
101
88
  "default": "./spec/statemint.js"
102
89
  },
103
- "./spec/statemint.d.ts": "./spec/statemint.d.ts",
104
90
  "./spec/westend": {
105
91
  "require": "./spec/westend.cjs",
106
92
  "default": "./spec/westend.js"
107
93
  },
108
- "./spec/westend.d.ts": "./spec/westend.d.ts",
109
94
  "./upgrades": {
110
95
  "require": "./upgrades/index.cjs",
111
96
  "default": "./upgrades/index.js"
112
97
  },
113
- "./upgrades/index.d.ts": "./upgrades/index.d.ts",
114
98
  "./upgrades/kusama": {
115
99
  "require": "./upgrades/kusama.cjs",
116
100
  "default": "./upgrades/kusama.js"
117
101
  },
118
- "./upgrades/kusama.d.ts": "./upgrades/kusama.d.ts",
119
102
  "./upgrades/polkadot": {
120
103
  "require": "./upgrades/polkadot.cjs",
121
104
  "default": "./upgrades/polkadot.js"
122
105
  },
123
- "./upgrades/polkadot.d.ts": "./upgrades/polkadot.d.ts",
124
106
  "./upgrades/types": {
125
107
  "require": "./upgrades/types.cjs",
126
108
  "default": "./upgrades/types.js"
127
109
  },
128
- "./upgrades/types.d.ts": "./upgrades/types.d.ts",
129
110
  "./upgrades/westend": {
130
111
  "require": "./upgrades/westend.cjs",
131
112
  "default": "./upgrades/westend.js"
132
113
  },
133
- "./upgrades/westend.d.ts": "./upgrades/westend.d.ts",
134
114
  "./util": {
135
115
  "require": "./util.cjs",
136
116
  "default": "./util.js"
137
- },
138
- "./util.d.ts": "./util.d.ts"
117
+ }
139
118
  }
140
119
  }
package/packageInfo.cjs CHANGED
@@ -9,6 +9,6 @@ exports.packageInfo = void 0;
9
9
  // Auto-generated by @polkadot/dev, do not edit
10
10
  const packageInfo = {
11
11
  name: '@polkadot/types-known',
12
- version: '6.12.2-18'
12
+ version: '6.12.2-21'
13
13
  };
14
14
  exports.packageInfo = packageInfo;
package/packageInfo.js CHANGED
@@ -3,5 +3,5 @@
3
3
  // Auto-generated by @polkadot/dev, do not edit
4
4
  export const packageInfo = {
5
5
  name: '@polkadot/types-known',
6
- version: '6.12.2-18'
6
+ version: '6.12.2-21'
7
7
  };
package/bundle.d.ts DELETED
@@ -1,3 +0,0 @@
1
- export { mapXcmTypes } from '@polkadot/types-create';
2
- export { packageInfo } from './packageInfo';
3
- export * from './util';
package/chain/index.d.ts DELETED
@@ -1,3 +0,0 @@
1
- import type { OverrideVersionedType } from '@polkadot/types/types';
2
- declare const typesChain: Record<string, OverrideVersionedType[]>;
3
- export default typesChain;
@@ -1 +0,0 @@
1
- export {};
package/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import './detectPackage';
2
- export * from './bundle';
package/packageInfo.d.ts DELETED
@@ -1,4 +0,0 @@
1
- export declare const packageInfo: {
2
- name: string;
3
- version: string;
4
- };
@@ -1,3 +0,0 @@
1
- import type { OverrideVersionedType } from '@polkadot/types/types';
2
- declare const versioned: OverrideVersionedType[];
3
- export default versioned;
package/spec/index.d.ts DELETED
@@ -1,3 +0,0 @@
1
- import type { OverrideVersionedType } from '@polkadot/types/types';
2
- declare const typesSpec: Record<string, OverrideVersionedType[]>;
3
- export default typesSpec;
package/spec/kusama.d.ts DELETED
@@ -1,3 +0,0 @@
1
- import type { OverrideVersionedType } from '@polkadot/types/types';
2
- declare const versioned: OverrideVersionedType[];
3
- export default versioned;
@@ -1,3 +0,0 @@
1
- import type { OverrideVersionedType } from '@polkadot/types/types';
2
- declare const versioned: OverrideVersionedType[];
3
- export default versioned;
package/spec/node.d.ts DELETED
@@ -1,3 +0,0 @@
1
- import type { OverrideVersionedType } from '@polkadot/types/types';
2
- declare const versioned: OverrideVersionedType[];
3
- export default versioned;
@@ -1,3 +0,0 @@
1
- import type { OverrideVersionedType } from '@polkadot/types/types';
2
- declare const versioned: OverrideVersionedType[];
3
- export default versioned;
package/spec/rococo.d.ts DELETED
@@ -1,3 +0,0 @@
1
- import type { OverrideVersionedType } from '@polkadot/types/types';
2
- declare const versioned: OverrideVersionedType[];
3
- export default versioned;
package/spec/shell.d.ts DELETED
@@ -1,3 +0,0 @@
1
- import type { OverrideVersionedType } from '@polkadot/types/types';
2
- declare const versioned: OverrideVersionedType[];
3
- export default versioned;
@@ -1,3 +0,0 @@
1
- import type { OverrideVersionedType } from '@polkadot/types/types';
2
- declare const versioned: OverrideVersionedType[];
3
- export default versioned;
package/spec/westend.d.ts DELETED
@@ -1,3 +0,0 @@
1
- import type { OverrideVersionedType } from '@polkadot/types/types';
2
- declare const versioned: OverrideVersionedType[];
3
- export default versioned;
@@ -1,3 +0,0 @@
1
- import type { ChainUpgrades } from '@polkadot/types/types';
2
- declare const upgrades: ChainUpgrades[];
3
- export default upgrades;
@@ -1,3 +0,0 @@
1
- import type { ChainUpgradesRaw } from './types';
2
- declare const upgrades: ChainUpgradesRaw;
3
- export default upgrades;
@@ -1,3 +0,0 @@
1
- import type { ChainUpgradesRaw } from './types';
2
- declare const upgrades: ChainUpgradesRaw;
3
- export default upgrades;
@@ -1 +0,0 @@
1
- export declare type ChainUpgradesRaw = [number, number][];
@@ -1,3 +0,0 @@
1
- import type { ChainUpgradesRaw } from './types';
2
- declare const upgrades: ChainUpgradesRaw;
3
- export default upgrades;
package/util.d.ts DELETED
@@ -1,27 +0,0 @@
1
- /// <reference types="bn.js" />
2
- import type { ExtDef } from '@polkadot/types/extrinsic/signedExtensions/types';
3
- import type { Hash } from '@polkadot/types/interfaces';
4
- import type { ChainUpgradeVersion, CodecHasher, DefinitionRpc, DefinitionRpcSub, OverrideModuleType, Registry, RegistryTypes } from '@polkadot/types/types';
5
- import type { Text } from '@polkadot/types-codec';
6
- import type { BN } from '@polkadot/util';
7
- /**
8
- * @description Based on the chain and runtimeVersion, get the applicable signed extensions (ready for registration)
9
- */
10
- export declare function getSpecExtensions({ knownTypes }: Registry, chainName: Text | string, specName: Text | string): ExtDef;
11
- /**
12
- * @description Based on the chain and runtimeVersion, get the applicable types (ready for registration)
13
- */
14
- export declare function getSpecTypes({ knownTypes }: Registry, chainName: Text | string, specName: Text | string, specVersion: bigint | BN | number): RegistryTypes;
15
- export declare function getSpecHasher({ knownTypes }: Registry, chainName: Text | string, specName: Text | string): CodecHasher | null;
16
- /**
17
- * @description Based on the chain and runtimeVersion, get the applicable rpc definitions (ready for registration)
18
- */
19
- export declare function getSpecRpc({ knownTypes }: Registry, chainName: Text | string, specName: Text | string): Record<string, Record<string, DefinitionRpc | DefinitionRpcSub>>;
20
- /**
21
- * @description Based on the chain and runtimeVersion, get the applicable alias definitions (ready for registration)
22
- */
23
- export declare function getSpecAlias({ knownTypes }: Registry, chainName: Text | string, specName: Text | string): Record<string, OverrideModuleType>;
24
- /**
25
- * @description Returns a version record for known chains where upgrades are being tracked
26
- */
27
- export declare function getUpgradeVersion(genesisHash: Hash, blockNumber: BN): [ChainUpgradeVersion | undefined, ChainUpgradeVersion | undefined];