@polkadot/types-known 10.11.1 → 10.11.3

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/cjs/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- require("./detectPackage.js");
4
+ require("./packageDetect.js");
5
5
  tslib_1.__exportStar(require("./bundle.js"), exports);
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const packageInfo_1 = require("@polkadot/types/cjs/packageInfo");
4
+ const util_1 = require("@polkadot/util");
5
+ const packageInfo_js_1 = require("./packageInfo.js");
6
+ (0, util_1.detectPackage)(packageInfo_js_1.packageInfo, null, [packageInfo_1.packageInfo]);
@@ -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: '@polkadot/types-known', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '10.11.1' };
4
+ exports.packageInfo = { name: '@polkadot/types-known', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '10.11.3' };
@@ -5,7 +5,7 @@ const types_create_1 = require("@polkadot/types-create");
5
5
  /* eslint-disable sort-keys */
6
6
  const sharedTypes = {
7
7
  DispatchErrorModule: 'DispatchErrorModuleU8',
8
- FullIdentification: '()',
8
+ FullIdentification: '()', // No staking, only session (as per config)
9
9
  Keys: 'SessionKeys7B',
10
10
  Weight: 'WeightV1'
11
11
  };
package/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import './detectPackage.js';
1
+ import './packageDetect.js';
2
2
  export * from './bundle.js';
package/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import './detectPackage.js';
1
+ import './packageDetect.js';
2
2
  export * from './bundle.js';
package/package.json CHANGED
@@ -14,11 +14,11 @@
14
14
  "url": "https://github.com/polkadot-js/api.git"
15
15
  },
16
16
  "sideEffects": [
17
- "./detectPackage.js",
18
- "./cjs/detectPackage.js"
17
+ "./packageDetect.js",
18
+ "./cjs/packageDetect.js"
19
19
  ],
20
20
  "type": "module",
21
- "version": "10.11.1",
21
+ "version": "10.11.3",
22
22
  "main": "./cjs/index.js",
23
23
  "module": "./index.js",
24
24
  "types": "./index.d.ts",
@@ -43,22 +43,16 @@
43
43
  "require": "./cjs/chain/index.js",
44
44
  "default": "./chain/index.js"
45
45
  },
46
- "./detectOther": {
47
- "types": "./detectOther.d.ts",
48
- "module": "./detectOther.js",
49
- "require": "./cjs/detectOther.js",
50
- "default": "./detectOther.js"
51
- },
52
- "./detectPackage": {
53
- "types": "./detectPackage.d.ts",
54
- "module": "./detectPackage.js",
55
- "require": "./cjs/detectPackage.js",
56
- "default": "./detectPackage.js"
57
- },
58
46
  "./package.json": {
59
47
  "require": "./cjs/package.json",
60
48
  "default": "./package.json"
61
49
  },
50
+ "./packageDetect": {
51
+ "types": "./packageDetect.d.ts",
52
+ "module": "./packageDetect.js",
53
+ "require": "./cjs/packageDetect.js",
54
+ "default": "./packageDetect.js"
55
+ },
62
56
  "./packageInfo.js": {
63
57
  "types": "./packageInfo.d.ts",
64
58
  "module": "./packageInfo.js",
@@ -211,11 +205,11 @@
211
205
  }
212
206
  },
213
207
  "dependencies": {
214
- "@polkadot/networks": "^12.6.1",
215
- "@polkadot/types": "10.11.1",
216
- "@polkadot/types-codec": "10.11.1",
217
- "@polkadot/types-create": "10.11.1",
218
- "@polkadot/util": "^12.6.1",
208
+ "@polkadot/networks": "^12.6.2",
209
+ "@polkadot/types": "10.11.3",
210
+ "@polkadot/types-codec": "10.11.3",
211
+ "@polkadot/types-create": "10.11.3",
212
+ "@polkadot/util": "^12.6.2",
219
213
  "tslib": "^2.6.2"
220
214
  }
221
215
  }
@@ -0,0 +1,4 @@
1
+ import { packageInfo as typesInfo } from '@polkadot/types/packageInfo';
2
+ import { detectPackage } from '@polkadot/util';
3
+ import { packageInfo } from './packageInfo.js';
4
+ detectPackage(packageInfo, null, [typesInfo]);
package/packageInfo.js CHANGED
@@ -1 +1 @@
1
- export const packageInfo = { name: '@polkadot/types-known', 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: '10.11.1' };
1
+ export const packageInfo = { name: '@polkadot/types-known', 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: '10.11.3' };
package/spec/rococo.js CHANGED
@@ -2,7 +2,7 @@ import { mapXcmTypes } from '@polkadot/types-create';
2
2
  /* eslint-disable sort-keys */
3
3
  const sharedTypes = {
4
4
  DispatchErrorModule: 'DispatchErrorModuleU8',
5
- FullIdentification: '()',
5
+ FullIdentification: '()', // No staking, only session (as per config)
6
6
  Keys: 'SessionKeys7B',
7
7
  Weight: 'WeightV1'
8
8
  };
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const packageInfo_1 = require("@polkadot/types/cjs/packageInfo");
4
- exports.default = [packageInfo_1.packageInfo];
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- const util_1 = require("@polkadot/util");
5
- const detectOther_js_1 = tslib_1.__importDefault(require("./detectOther.js"));
6
- const packageInfo_js_1 = require("./packageInfo.js");
7
- (0, util_1.detectPackage)(packageInfo_js_1.packageInfo, null, detectOther_js_1.default);
package/detectOther.d.ts DELETED
@@ -1,7 +0,0 @@
1
- declare const _default: {
2
- name: string;
3
- path: string;
4
- type: string;
5
- version: string;
6
- }[];
7
- export default _default;
package/detectOther.js DELETED
@@ -1,2 +0,0 @@
1
- import { packageInfo as typesInfo } from '@polkadot/types/packageInfo';
2
- export default [typesInfo];
package/detectPackage.js DELETED
@@ -1,4 +0,0 @@
1
- import { detectPackage } from '@polkadot/util';
2
- import others from './detectOther.js';
3
- import { packageInfo } from './packageInfo.js';
4
- detectPackage(packageInfo, null, others);
File without changes