@polkadot/types-codec 7.2.2-7 → 7.2.2-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.
- package/package.json +4 -4
- package/packageInfo.cjs +1 -1
- package/packageInfo.js +1 -1
- package/utils/sanitize.cjs +1 -1
- package/utils/sanitize.js +1 -1
package/package.json
CHANGED
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
"./detectPackage.cjs"
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "7.2.2-
|
|
23
|
+
"version": "7.2.2-8",
|
|
24
24
|
"main": "index.cjs",
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@babel/runtime": "^7.16.7",
|
|
27
27
|
"@polkadot/util": "^8.2.3-29"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@polkadot/types": "7.2.2-
|
|
31
|
-
"@polkadot/types-augment": "7.2.2-
|
|
32
|
-
"@polkadot/types-support": "7.2.2-
|
|
30
|
+
"@polkadot/types": "7.2.2-8",
|
|
31
|
+
"@polkadot/types-augment": "7.2.2-8",
|
|
32
|
+
"@polkadot/types-support": "7.2.2-8",
|
|
33
33
|
"@polkadot/util-crypto": "^8.2.3-29"
|
|
34
34
|
},
|
|
35
35
|
"module": "index.js",
|
package/packageInfo.cjs
CHANGED
package/packageInfo.js
CHANGED
package/utils/sanitize.cjs
CHANGED
|
@@ -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
|