@polkadot/types-codec 7.2.2-2 → 7.2.2-6
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 +1 -3
- package/detectPackage.js +1 -2
- package/package.json +12 -13
- package/packageInfo.cjs +3 -1
- package/packageInfo.d.ts +2 -0
- package/packageInfo.js +3 -1
- package/cjs/dirname.d.ts +0 -8
- package/cjs/dirname.js +0 -8
- package/cjs/package.json +0 -3
package/detectPackage.cjs
CHANGED
|
@@ -4,8 +4,6 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
|
|
5
5
|
var _util = require("@polkadot/util");
|
|
6
6
|
|
|
7
|
-
var _dirname = _interopRequireDefault(require("./cjs/dirname"));
|
|
8
|
-
|
|
9
7
|
var _detectOther = _interopRequireDefault(require("./detectOther.cjs"));
|
|
10
8
|
|
|
11
9
|
var _packageInfo = require("./packageInfo.cjs");
|
|
@@ -13,4 +11,4 @@ var _packageInfo = require("./packageInfo.cjs");
|
|
|
13
11
|
// Copyright 2017-2022 @polkadot/types-codec authors & contributors
|
|
14
12
|
// SPDX-License-Identifier: Apache-2.0
|
|
15
13
|
// Do not edit, auto-generated by @polkadot/dev
|
|
16
|
-
(0, _util.detectPackage)(_packageInfo.packageInfo,
|
|
14
|
+
(0, _util.detectPackage)(_packageInfo.packageInfo, _packageInfo.packageInfo.path, _detectOther.default);
|
package/detectPackage.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
// Do not edit, auto-generated by @polkadot/dev
|
|
4
4
|
import { detectPackage } from '@polkadot/util';
|
|
5
|
-
import dirname from "./cjs/dirname.js";
|
|
6
5
|
import others from "./detectOther.js";
|
|
7
6
|
import { packageInfo } from "./packageInfo.js";
|
|
8
|
-
detectPackage(packageInfo,
|
|
7
|
+
detectPackage(packageInfo, packageInfo.path, others);
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"author": "Jaco Greeff <jacogr@gmail.com>",
|
|
3
3
|
"bugs": "https://github.com/polkadot-js/api/issues",
|
|
4
4
|
"contributors": [],
|
|
5
|
-
"description": "Implementation of the
|
|
5
|
+
"description": "Implementation of the SCALE codec",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=14.0.0"
|
|
8
8
|
},
|
|
@@ -20,18 +20,20 @@
|
|
|
20
20
|
"./detectPackage.cjs"
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "7.2.2-
|
|
24
|
-
"main": "index.
|
|
23
|
+
"version": "7.2.2-6",
|
|
24
|
+
"main": "index.cjs",
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@babel/runtime": "^7.16.7",
|
|
27
|
-
"@polkadot/util": "^8.2.
|
|
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-
|
|
33
|
-
"@polkadot/util-crypto": "^8.2.
|
|
30
|
+
"@polkadot/types": "7.2.2-6",
|
|
31
|
+
"@polkadot/types-augment": "7.2.2-6",
|
|
32
|
+
"@polkadot/types-support": "7.2.2-6",
|
|
33
|
+
"@polkadot/util-crypto": "^8.2.3-29"
|
|
34
34
|
},
|
|
35
|
+
"module": "index.js",
|
|
36
|
+
"types": "index.d.ts",
|
|
35
37
|
"exports": {
|
|
36
38
|
".": {
|
|
37
39
|
"types": "./index.d.ts",
|
|
@@ -128,11 +130,6 @@
|
|
|
128
130
|
"require": "./bundle.cjs",
|
|
129
131
|
"default": "./bundle.js"
|
|
130
132
|
},
|
|
131
|
-
"./cjs/dirname": {
|
|
132
|
-
"types": "./cjs/dirname.d.ts",
|
|
133
|
-
"default": "./cjs/dirname.js"
|
|
134
|
-
},
|
|
135
|
-
"./cjs/package.json": "./cjs/package.json",
|
|
136
133
|
"./detectOther": {
|
|
137
134
|
"types": "./detectOther.d.ts",
|
|
138
135
|
"require": "./detectOther.cjs",
|
|
@@ -248,6 +245,8 @@
|
|
|
248
245
|
"default": "./native/Text.js"
|
|
249
246
|
},
|
|
250
247
|
"./package.json": "./package.json",
|
|
248
|
+
"./packageInfo.cjs": "./packageInfo.cjs",
|
|
249
|
+
"./packageInfo.js": "./packageInfo.js",
|
|
251
250
|
"./packageInfo": {
|
|
252
251
|
"types": "./packageInfo.d.ts",
|
|
253
252
|
"require": "./packageInfo.cjs",
|
package/packageInfo.cjs
CHANGED
|
@@ -9,6 +9,8 @@ exports.packageInfo = void 0;
|
|
|
9
9
|
// Do not edit, auto-generated by @polkadot/dev
|
|
10
10
|
const packageInfo = {
|
|
11
11
|
name: '@polkadot/types-codec',
|
|
12
|
-
|
|
12
|
+
path: typeof __dirname === 'string' ? __dirname : 'auto',
|
|
13
|
+
type: 'cjs',
|
|
14
|
+
version: '7.2.2-6'
|
|
13
15
|
};
|
|
14
16
|
exports.packageInfo = packageInfo;
|
package/packageInfo.d.ts
CHANGED
package/packageInfo.js
CHANGED
package/cjs/dirname.d.ts
DELETED
package/cjs/dirname.js
DELETED
package/cjs/package.json
DELETED