@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 CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-codec authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-codec authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  export { packageInfo } from "./packageInfo.js";
@@ -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-2022 @polkadot/types-create authors & contributors
13
+ // Copyright 2017-2023 @polkadot/types-create authors & contributors
14
14
  // SPDX-License-Identifier: Apache-2.0
15
15
 
16
16
  function getTypeDefType(_ref) {
@@ -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-2022 @polkadot/types-create authors & contributors
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
@@ -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-2022 @polkadot/types-create authors & contributors
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;
@@ -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-2022 @polkadot/types-create authors & contributors
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
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.packageInfo = void 0;
7
- // Copyright 2017-2022 @polkadot/types-create authors & contributors
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.10.4'
16
+ version: '9.11.1'
17
17
  };
18
18
  exports.packageInfo = packageInfo;
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.TypeDefInfo = void 0;
7
- // Copyright 2017-2022 @polkadot/types-create authors & contributors
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;
@@ -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-2022 @polkadot/types-create authors & contributors
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();
@@ -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-2022 @polkadot/types-create authors & contributors
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'];
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.typeSplit = typeSplit;
7
- // Copyright 2017-2022 @polkadot/types-create authors & contributors
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-2022 @polkadot/types-create authors & contributors
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-2022 @polkadot/types-create authors & contributors
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
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-create authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-create authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  export * from "./class.js";
package/create/type.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-create authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-create authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  import { Option } from '@polkadot/types-codec';
package/detectOther.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-create authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-create authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  import { packageInfo as codecInfo } from '@polkadot/types-codec/packageInfo';
package/detectPackage.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-create authors & contributors
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
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-create authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-create authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  import "./detectPackage.js";
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "./cjs/detectPackage.js"
21
21
  ],
22
22
  "type": "module",
23
- "version": "9.10.4",
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.6",
124
- "@polkadot/types-codec": "9.10.4",
125
- "@polkadot/util": "^10.2.1"
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-2022 @polkadot/types-create authors & contributors
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.4'
10
+ version: '9.11.1'
11
11
  };
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-create authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-create authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  // import type lookup before we augment - in some environments
package/types/index.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-create authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-create authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  import "./augmentRegistry.js";
package/types/types.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-create authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-create authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  export let TypeDefInfo;
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-create authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-create authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  import { isNumber, isUndefined, objectSpread, stringify } from '@polkadot/util';
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-create authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-create authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  import { sanitize } from '@polkadot/types-codec';
package/util/index.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-create authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-create authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  export * from "./encodeTypes.js";
package/util/typeSplit.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-create authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-create authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  // safely split a string on ', ' while taking care of any nested occurences
package/util/xcm.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-create authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-create authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  import { objectSpread } from '@polkadot/util';