@dedot/cli 0.16.0 → 0.16.1-next.fa430c5d.7
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/commands/typink.js +1 -1
- package/package.json +5 -5
package/commands/typink.js
CHANGED
|
@@ -16,7 +16,7 @@ export const typink = {
|
|
|
16
16
|
const spinner = ora().start();
|
|
17
17
|
try {
|
|
18
18
|
spinner.text = `Parsing contract metadata file: ${metadata}`;
|
|
19
|
-
const contractMetadata = JSON.parse(
|
|
19
|
+
const contractMetadata = JSON.parse(fs.readFileSync(metadataFile, 'utf-8'));
|
|
20
20
|
ensureSupportedContractMetadataVersion(contractMetadata);
|
|
21
21
|
spinner.succeed(`Parsed contract metadata file: ${metadata}`);
|
|
22
22
|
spinner.text = 'Generating contract Types & APIs';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/cli",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.1-next.fa430c5d.7+fa430c5d",
|
|
4
4
|
"author": "Thang X. Vu <thang@dedot.dev>",
|
|
5
5
|
"homepage": "https://dedot.dev",
|
|
6
6
|
"repository": {
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"test": "npx vitest --watch=false"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@dedot/api": "0.16.
|
|
26
|
-
"@dedot/codecs": "0.16.
|
|
27
|
-
"@dedot/codegen": "0.16.
|
|
25
|
+
"@dedot/api": "0.16.1-next.fa430c5d.7+fa430c5d",
|
|
26
|
+
"@dedot/codecs": "0.16.1-next.fa430c5d.7+fa430c5d",
|
|
27
|
+
"@dedot/codegen": "0.16.1-next.fa430c5d.7+fa430c5d",
|
|
28
28
|
"@polkadot-api/wasm-executor": "^0.1.2",
|
|
29
29
|
"@polkadot/types-support": "^16.4.6",
|
|
30
30
|
"ora": "^8.2.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"node": ">=18"
|
|
42
42
|
},
|
|
43
43
|
"license": "Apache-2.0",
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "fa430c5d862bc45ec959cb5272619515172ab54b",
|
|
45
45
|
"module": "./index.js",
|
|
46
46
|
"types": "./index.d.ts"
|
|
47
47
|
}
|