@pezkuwi/typegen 16.5.10 → 16.5.14
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/fromChain.js +2 -2
- package/cjs/fromDefs.js +1 -1
- package/cjs/packageInfo.js +1 -1
- package/package.json +5 -5
- package/packageInfo.js +1 -1
package/cjs/fromChain.js
CHANGED
|
@@ -16,7 +16,7 @@ async function generate(metaHex, pkg, output, isStrict) {
|
|
|
16
16
|
let customLookupDefinitions = { rpc: {}, types: {} };
|
|
17
17
|
if (pkg) {
|
|
18
18
|
try {
|
|
19
|
-
const defCont = await
|
|
19
|
+
const defCont = await import((0, index_js_2.assertFile)(node_path_1.default.join(outputPath, 'definitions.ts')));
|
|
20
20
|
extraTypes = {
|
|
21
21
|
[pkg]: defCont
|
|
22
22
|
};
|
|
@@ -26,7 +26,7 @@ async function generate(metaHex, pkg, output, isStrict) {
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
try {
|
|
29
|
-
const lookCont = await
|
|
29
|
+
const lookCont = await import((0, index_js_2.assertFile)(node_path_1.default.join(outputPath, 'lookup.ts')));
|
|
30
30
|
customLookupDefinitions = {
|
|
31
31
|
rpc: {},
|
|
32
32
|
types: lookCont.default
|
package/cjs/fromDefs.js
CHANGED
|
@@ -32,7 +32,7 @@ async function mainPromise() {
|
|
|
32
32
|
const inputPath = (0, index_js_2.assertDir)(node_path_1.default.join(process.cwd(), input));
|
|
33
33
|
let userDefs = {};
|
|
34
34
|
try {
|
|
35
|
-
const defCont = await
|
|
35
|
+
const defCont = await import((0, index_js_2.assertFile)(node_path_1.default.join(inputPath, 'definitions.ts')));
|
|
36
36
|
userDefs = defCont;
|
|
37
37
|
}
|
|
38
38
|
catch (error) {
|
package/cjs/packageInfo.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.packageInfo = void 0;
|
|
4
|
-
exports.packageInfo = { name: '@pezkuwi/typegen', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '16.5.
|
|
4
|
+
exports.packageInfo = { name: '@pezkuwi/typegen', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '16.5.14' };
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"author": "
|
|
2
|
+
"author": "Dijital Kurdistan Tech Institute <dev@pezkuwichain.io>",
|
|
3
3
|
"bugs": "https://github.com/pezkuwichain/pezkuwi-api/issues",
|
|
4
4
|
"description": "Type generation scripts",
|
|
5
5
|
"engines": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"./cjs/packageDetect.js"
|
|
19
19
|
],
|
|
20
20
|
"type": "module",
|
|
21
|
-
"version": "16.5.
|
|
21
|
+
"version": "16.5.14",
|
|
22
22
|
"bin": {
|
|
23
23
|
"pezkuwi-types-chain-info": "./scripts/pezkuwi-types-chain-info.mjs",
|
|
24
24
|
"pezkuwi-types-from-chain": "./scripts/pezkuwi-types-from-chain.mjs",
|
|
@@ -537,9 +537,9 @@
|
|
|
537
537
|
"@pezkuwi/types-codec": "16.5.9",
|
|
538
538
|
"@pezkuwi/types-create": "16.5.9",
|
|
539
539
|
"@pezkuwi/types-support": "16.5.9",
|
|
540
|
-
"@pezkuwi/util": "14.0.
|
|
541
|
-
"@pezkuwi/util-crypto": "14.0.
|
|
542
|
-
"@pezkuwi/x-ws": "14.0.
|
|
540
|
+
"@pezkuwi/util": "14.0.12",
|
|
541
|
+
"@pezkuwi/util-crypto": "14.0.12",
|
|
542
|
+
"@pezkuwi/x-ws": "14.0.12",
|
|
543
543
|
"comment-parser": "^1.4.1",
|
|
544
544
|
"handlebars": "^4.7.8",
|
|
545
545
|
"tslib": "^2.8.1",
|
package/packageInfo.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageInfo = { name: '@pezkuwi/typegen', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '16.5.
|
|
1
|
+
export const packageInfo = { name: '@pezkuwi/typegen', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '16.5.14' };
|