@polkadot/types-create 7.2.2-9 → 7.3.2-2

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-create 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,7 +20,7 @@
20
20
  "./detectPackage.cjs"
21
21
  ],
22
22
  "type": "module",
23
- "version": "7.2.2-9",
23
+ "version": "7.3.2-2",
24
24
  "main": "index.cjs",
25
25
  "module": "index.js",
26
26
  "types": "index.d.ts",
@@ -101,7 +101,7 @@
101
101
  },
102
102
  "dependencies": {
103
103
  "@babel/runtime": "^7.16.7",
104
- "@polkadot/types-codec": "7.2.2-9",
105
- "@polkadot/util": "^8.2.3-30"
104
+ "@polkadot/types-codec": "7.3.2-2",
105
+ "@polkadot/util": "^8.3.1"
106
106
  }
107
107
  }
package/packageInfo.cjs CHANGED
@@ -11,6 +11,6 @@ const packageInfo = {
11
11
  name: '@polkadot/types-create',
12
12
  path: typeof __dirname === 'string' ? __dirname : 'auto',
13
13
  type: 'cjs',
14
- version: '7.2.2-9'
14
+ version: '7.3.2-2'
15
15
  };
16
16
  exports.packageInfo = packageInfo;
package/packageInfo.js CHANGED
@@ -5,5 +5,5 @@ export const packageInfo = {
5
5
  name: '@polkadot/types-create',
6
6
  path: new URL('.', import.meta.url).pathname,
7
7
  type: 'esm',
8
- version: '7.2.2-9'
8
+ version: '7.3.2-2'
9
9
  };
@@ -2,4 +2,6 @@ import type { CodecRegistry } from '@polkadot/types-codec/types';
2
2
  import type { TypeDef } from '@polkadot/types-create/types';
3
3
  export declare function paramsNotation<T>(outer: string, inner?: T | T[], transform?: (_: T) => string): string;
4
4
  export declare function encodeTypeDef(CodecRegistry: CodecRegistry, typeDef: TypeDef): string;
5
- export declare function withTypeString(CodecRegistry: CodecRegistry, typeDef: Omit<TypeDef, 'type'>): TypeDef;
5
+ export declare function withTypeString(CodecRegistry: CodecRegistry, typeDef: Omit<TypeDef, 'type'> & {
6
+ type?: string;
7
+ }): TypeDef;