@polkadot/types-codec 7.2.2-7 → 7.3.2-0

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/detectPackage.cjs CHANGED
@@ -11,4 +11,4 @@ var _packageInfo = require("./packageInfo.cjs");
11
11
  // Copyright 2017-2022 @polkadot/types-codec authors & contributors
12
12
  // SPDX-License-Identifier: Apache-2.0
13
13
  // Do not edit, auto-generated by @polkadot/dev
14
- (0, _util.detectPackage)(_packageInfo.packageInfo, _packageInfo.packageInfo.path, _detectOther.default);
14
+ (0, _util.detectPackage)(_packageInfo.packageInfo, null, _detectOther.default);
package/detectPackage.js CHANGED
@@ -4,4 +4,4 @@
4
4
  import { detectPackage } from '@polkadot/util';
5
5
  import others from "./detectOther.js";
6
6
  import { packageInfo } from "./packageInfo.js";
7
- detectPackage(packageInfo, packageInfo.path, others);
7
+ detectPackage(packageInfo, null, others);
package/package.json CHANGED
@@ -20,18 +20,8 @@
20
20
  "./detectPackage.cjs"
21
21
  ],
22
22
  "type": "module",
23
- "version": "7.2.2-7",
23
+ "version": "7.3.2-0",
24
24
  "main": "index.cjs",
25
- "dependencies": {
26
- "@babel/runtime": "^7.16.7",
27
- "@polkadot/util": "^8.2.3-29"
28
- },
29
- "devDependencies": {
30
- "@polkadot/types": "7.2.2-7",
31
- "@polkadot/types-augment": "7.2.2-7",
32
- "@polkadot/types-support": "7.2.2-7",
33
- "@polkadot/util-crypto": "^8.2.3-29"
34
- },
35
25
  "module": "index.js",
36
26
  "types": "index.d.ts",
37
27
  "exports": {
@@ -407,5 +397,9 @@
407
397
  "require": "./utils/util.cjs",
408
398
  "default": "./utils/util.js"
409
399
  }
400
+ },
401
+ "dependencies": {
402
+ "@babel/runtime": "^7.16.7",
403
+ "@polkadot/util": "^8.3.1"
410
404
  }
411
405
  }
package/packageInfo.cjs CHANGED
@@ -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: '7.2.2-7'
14
+ version: '7.3.2-0'
15
15
  };
16
16
  exports.packageInfo = packageInfo;
package/packageInfo.js CHANGED
@@ -5,5 +5,5 @@ export const packageInfo = {
5
5
  name: '@polkadot/types-codec',
6
6
  path: new URL('.', import.meta.url).pathname,
7
7
  type: 'esm',
8
- version: '7.2.2-7'
8
+ version: '7.3.2-0'
9
9
  };
@@ -17,7 +17,7 @@ exports.sanitize = sanitize;
17
17
  // Copyright 2017-2022 @polkadot/types-codec authors & contributors
18
18
  // SPDX-License-Identifier: Apache-2.0
19
19
  const BOUNDED = ['BTreeMap', 'BTreeSet', 'HashMap', 'Vec'];
20
- const ALLOWED_BOXES = BOUNDED.concat(['Compact', 'DoNotConstruct', 'Int', 'Linkage', 'Range', 'RangeInclusive', 'Result', 'Option', 'UInt', 'WrapperOpaque']);
20
+ const ALLOWED_BOXES = BOUNDED.concat(['Compact', 'DoNotConstruct', 'Int', 'Linkage', 'Range', 'RangeInclusive', 'Result', 'Option', 'UInt', 'WrapperKeepOpaque', 'WrapperOpaque']);
21
21
  const BOX_PRECEDING = ['<', '(', '[', '"', ',', ' ']; // start of vec, tuple, fixed array, part of struct def or in tuple
22
22
 
23
23
  const mappings = [// alias <T::InherentOfflineReport as InherentOfflineReport>::Inherent -> InherentOfflineReport
package/utils/sanitize.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // Copyright 2017-2022 @polkadot/types-codec authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  const BOUNDED = ['BTreeMap', 'BTreeSet', 'HashMap', 'Vec'];
4
- const ALLOWED_BOXES = BOUNDED.concat(['Compact', 'DoNotConstruct', 'Int', 'Linkage', 'Range', 'RangeInclusive', 'Result', 'Option', 'UInt', 'WrapperOpaque']);
4
+ const ALLOWED_BOXES = BOUNDED.concat(['Compact', 'DoNotConstruct', 'Int', 'Linkage', 'Range', 'RangeInclusive', 'Result', 'Option', 'UInt', 'WrapperKeepOpaque', 'WrapperOpaque']);
5
5
  const BOX_PRECEDING = ['<', '(', '[', '"', ',', ' ']; // start of vec, tuple, fixed array, part of struct def or in tuple
6
6
 
7
7
  const mappings = [// alias <T::InherentOfflineReport as InherentOfflineReport>::Inherent -> InherentOfflineReport