@polkadot/types-create 9.10.4 → 9.11.1
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/bundle.js +1 -1
- package/cjs/create/class.js +1 -1
- package/cjs/create/type.js +1 -1
- package/cjs/detectOther.js +1 -1
- package/cjs/detectPackage.js +1 -1
- package/cjs/packageInfo.js +2 -2
- package/cjs/types/types.js +1 -1
- package/cjs/util/encodeTypes.js +1 -1
- package/cjs/util/getTypeDef.js +1 -1
- package/cjs/util/typeSplit.js +1 -1
- package/cjs/util/xcm.js +1 -1
- package/create/class.js +1 -1
- package/create/index.js +1 -1
- package/create/type.js +1 -1
- package/detectOther.js +1 -1
- package/detectPackage.js +1 -1
- package/index.js +1 -1
- package/package.json +4 -4
- package/packageInfo.js +2 -2
- package/types/augmentRegistry.js +1 -1
- package/types/index.js +1 -1
- package/types/types.js +1 -1
- package/util/encodeTypes.js +1 -1
- package/util/getTypeDef.js +1 -1
- package/util/index.js +1 -1
- package/util/typeSplit.js +1 -1
- package/util/xcm.js +1 -1
package/bundle.js
CHANGED
package/cjs/create/class.js
CHANGED
|
@@ -10,7 +10,7 @@ var _typesCodec = require("@polkadot/types-codec");
|
|
|
10
10
|
var _util = require("@polkadot/util");
|
|
11
11
|
var _types = require("../types");
|
|
12
12
|
var _getTypeDef = require("../util/getTypeDef");
|
|
13
|
-
// Copyright 2017-
|
|
13
|
+
// Copyright 2017-2023 @polkadot/types-create authors & contributors
|
|
14
14
|
// SPDX-License-Identifier: Apache-2.0
|
|
15
15
|
|
|
16
16
|
function getTypeDefType(_ref) {
|
package/cjs/create/type.js
CHANGED
|
@@ -7,7 +7,7 @@ exports.createTypeUnsafe = createTypeUnsafe;
|
|
|
7
7
|
var _typesCodec = require("@polkadot/types-codec");
|
|
8
8
|
var _util = require("@polkadot/util");
|
|
9
9
|
var _class = require("./class");
|
|
10
|
-
// Copyright 2017-
|
|
10
|
+
// Copyright 2017-2023 @polkadot/types-create authors & contributors
|
|
11
11
|
// SPDX-License-Identifier: Apache-2.0
|
|
12
12
|
|
|
13
13
|
// With isPedantic, actually check that the encoding matches that supplied. This
|
package/cjs/detectOther.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _packageInfo = require("@polkadot/types-codec/cjs/packageInfo");
|
|
8
|
-
// Copyright 2017-
|
|
8
|
+
// Copyright 2017-2023 @polkadot/types-create authors & contributors
|
|
9
9
|
// SPDX-License-Identifier: Apache-2.0
|
|
10
10
|
var _default = [_packageInfo.packageInfo];
|
|
11
11
|
exports.default = _default;
|
package/cjs/detectPackage.js
CHANGED
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
var _util = require("@polkadot/util");
|
|
5
5
|
var _detectOther = _interopRequireDefault(require("./detectOther"));
|
|
6
6
|
var _packageInfo = require("./packageInfo");
|
|
7
|
-
// Copyright 2017-
|
|
7
|
+
// Copyright 2017-2023 @polkadot/types-create authors & contributors
|
|
8
8
|
// SPDX-License-Identifier: Apache-2.0
|
|
9
9
|
|
|
10
10
|
// Do not edit, auto-generated by @polkadot/dev
|
package/cjs/packageInfo.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.packageInfo = void 0;
|
|
7
|
-
// Copyright 2017-
|
|
7
|
+
// Copyright 2017-2023 @polkadot/types-create authors & contributors
|
|
8
8
|
// SPDX-License-Identifier: Apache-2.0
|
|
9
9
|
|
|
10
10
|
// Do not edit, auto-generated by @polkadot/dev
|
|
@@ -13,6 +13,6 @@ const packageInfo = {
|
|
|
13
13
|
name: '@polkadot/types-create',
|
|
14
14
|
path: typeof __dirname === 'string' ? __dirname : 'auto',
|
|
15
15
|
type: 'cjs',
|
|
16
|
-
version: '9.
|
|
16
|
+
version: '9.11.1'
|
|
17
17
|
};
|
|
18
18
|
exports.packageInfo = packageInfo;
|
package/cjs/types/types.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.TypeDefInfo = void 0;
|
|
7
|
-
// Copyright 2017-
|
|
7
|
+
// Copyright 2017-2023 @polkadot/types-create authors & contributors
|
|
8
8
|
// SPDX-License-Identifier: Apache-2.0
|
|
9
9
|
let TypeDefInfo;
|
|
10
10
|
exports.TypeDefInfo = TypeDefInfo;
|
package/cjs/util/encodeTypes.js
CHANGED
|
@@ -8,7 +8,7 @@ exports.paramsNotation = paramsNotation;
|
|
|
8
8
|
exports.withTypeString = withTypeString;
|
|
9
9
|
var _util = require("@polkadot/util");
|
|
10
10
|
var _types = require("../types");
|
|
11
|
-
// Copyright 2017-
|
|
11
|
+
// Copyright 2017-2023 @polkadot/types-create authors & contributors
|
|
12
12
|
// SPDX-License-Identifier: Apache-2.0
|
|
13
13
|
|
|
14
14
|
const stringIdentity = value => value.toString();
|
package/cjs/util/getTypeDef.js
CHANGED
|
@@ -8,7 +8,7 @@ var _typesCodec = require("@polkadot/types-codec");
|
|
|
8
8
|
var _util = require("@polkadot/util");
|
|
9
9
|
var _types = require("../types");
|
|
10
10
|
var _typeSplit = require("./typeSplit");
|
|
11
|
-
// Copyright 2017-
|
|
11
|
+
// Copyright 2017-2023 @polkadot/types-create authors & contributors
|
|
12
12
|
// SPDX-License-Identifier: Apache-2.0
|
|
13
13
|
|
|
14
14
|
const KNOWN_INTERNALS = ['_alias', '_fallback'];
|
package/cjs/util/typeSplit.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.typeSplit = typeSplit;
|
|
7
|
-
// Copyright 2017-
|
|
7
|
+
// Copyright 2017-2023 @polkadot/types-create authors & contributors
|
|
8
8
|
// SPDX-License-Identifier: Apache-2.0
|
|
9
9
|
|
|
10
10
|
// safely split a string on ', ' while taking care of any nested occurences
|
package/cjs/util/xcm.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.XCM_MAPPINGS = void 0;
|
|
7
7
|
exports.mapXcmTypes = mapXcmTypes;
|
|
8
8
|
var _util = require("@polkadot/util");
|
|
9
|
-
// Copyright 2017-
|
|
9
|
+
// Copyright 2017-2023 @polkadot/types-create authors & contributors
|
|
10
10
|
// SPDX-License-Identifier: Apache-2.0
|
|
11
11
|
|
|
12
12
|
const XCM_MAPPINGS = ['AssetInstance', 'Fungibility', 'Junction', 'Junctions', 'MultiAsset', 'MultiAssetFilter', 'MultiLocation', 'Response', 'WildFungibility', 'WildMultiAsset', 'Xcm', 'XcmError', 'XcmOrder'];
|
package/create/class.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2017-
|
|
1
|
+
// Copyright 2017-2023 @polkadot/types-create authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
|
|
4
4
|
import { BTreeMap, BTreeSet, Bytes, CodecSet, Compact, DoNotConstruct, Enum, HashMap, Int, Null, Option, Range, RangeInclusive, Result, Struct, Tuple, U8aFixed, UInt, Vec, VecFixed, WrapperKeepOpaque, WrapperOpaque } from '@polkadot/types-codec';
|
package/create/index.js
CHANGED
package/create/type.js
CHANGED
package/detectOther.js
CHANGED
package/detectPackage.js
CHANGED
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"./cjs/detectPackage.js"
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "9.
|
|
23
|
+
"version": "9.11.1",
|
|
24
24
|
"main": "./cjs/index.js",
|
|
25
25
|
"module": "./index.js",
|
|
26
26
|
"types": "./index.d.ts",
|
|
@@ -120,8 +120,8 @@
|
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
122
|
"dependencies": {
|
|
123
|
-
"@babel/runtime": "^7.20.
|
|
124
|
-
"@polkadot/types-codec": "9.
|
|
125
|
-
"@polkadot/util": "^10.2.
|
|
123
|
+
"@babel/runtime": "^7.20.7",
|
|
124
|
+
"@polkadot/types-codec": "9.11.1",
|
|
125
|
+
"@polkadot/util": "^10.2.3"
|
|
126
126
|
}
|
|
127
127
|
}
|
package/packageInfo.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2017-
|
|
1
|
+
// Copyright 2017-2023 @polkadot/types-create authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
|
|
4
4
|
// Do not edit, auto-generated by @polkadot/dev
|
|
@@ -7,5 +7,5 @@ export const packageInfo = {
|
|
|
7
7
|
name: '@polkadot/types-create',
|
|
8
8
|
path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
|
|
9
9
|
type: 'esm',
|
|
10
|
-
version: '9.
|
|
10
|
+
version: '9.11.1'
|
|
11
11
|
};
|
package/types/augmentRegistry.js
CHANGED
package/types/index.js
CHANGED
package/types/types.js
CHANGED
package/util/encodeTypes.js
CHANGED
package/util/getTypeDef.js
CHANGED
package/util/index.js
CHANGED
package/util/typeSplit.js
CHANGED
package/util/xcm.js
CHANGED