@polkadot/types-codec 7.1.2-0 → 7.1.2-4
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/cjs/dirname.d.ts +6 -0
- package/cjs/dirname.js +6 -0
- package/cjs/package.json +3 -0
- package/detectPackage.cjs +5 -1
- package/detectPackage.js +1 -0
- package/package.json +10 -5
- package/packageInfo.cjs +1 -1
- package/packageInfo.js +1 -1
package/cjs/dirname.d.ts
ADDED
package/cjs/dirname.js
ADDED
package/cjs/package.json
ADDED
package/detectPackage.cjs
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
3
5
|
var _util = require("@polkadot/util");
|
|
4
6
|
|
|
7
|
+
var _dirname2 = _interopRequireDefault(require("./cjs/dirname"));
|
|
8
|
+
|
|
5
9
|
var _packageInfo = require("./packageInfo.cjs");
|
|
6
10
|
|
|
7
11
|
// Copyright 2017-2021 @polkadot/types-codec authors & contributors
|
|
8
12
|
// SPDX-License-Identifier: Apache-2.0
|
|
9
|
-
(0, _util.detectPackage)(_packageInfo.packageInfo, typeof
|
|
13
|
+
(0, _util.detectPackage)(_packageInfo.packageInfo, typeof _dirname2.default !== 'undefined' && _dirname2.default, []);
|
package/detectPackage.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// Copyright 2017-2021 @polkadot/types-codec authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
import { detectPackage } from '@polkadot/util';
|
|
4
|
+
import __dirname from "./cjs/dirname.js";
|
|
4
5
|
import { packageInfo } from "./packageInfo.js";
|
|
5
6
|
detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname, []);
|
package/package.json
CHANGED
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
"./detectPackage.cjs"
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "7.1.2-
|
|
23
|
+
"version": "7.1.2-4",
|
|
24
24
|
"main": "index.js",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@babel/runtime": "^7.16.
|
|
26
|
+
"@babel/runtime": "^7.16.7",
|
|
27
27
|
"@polkadot/util": "^8.2.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@polkadot/types": "7.1.2-
|
|
31
|
-
"@polkadot/types-augment": "7.1.2-
|
|
32
|
-
"@polkadot/types-support": "7.1.2-
|
|
30
|
+
"@polkadot/types": "7.1.2-4",
|
|
31
|
+
"@polkadot/types-augment": "7.1.2-4",
|
|
32
|
+
"@polkadot/types-support": "7.1.2-4",
|
|
33
33
|
"@polkadot/util-crypto": "^8.2.2"
|
|
34
34
|
},
|
|
35
35
|
"exports": {
|
|
@@ -128,6 +128,11 @@
|
|
|
128
128
|
"require": "./bundle.cjs",
|
|
129
129
|
"default": "./bundle.js"
|
|
130
130
|
},
|
|
131
|
+
"./cjs/dirname": {
|
|
132
|
+
"types": "./cjs/dirname.d.ts",
|
|
133
|
+
"default": "./cjs/dirname.js"
|
|
134
|
+
},
|
|
135
|
+
"./cjs/package.json": "./cjs/package.json",
|
|
131
136
|
"./detectPackage": {
|
|
132
137
|
"types": "./detectPackage.d.ts",
|
|
133
138
|
"require": "./detectPackage.cjs",
|
package/packageInfo.cjs
CHANGED
package/packageInfo.js
CHANGED