@cosmwasm/ts-codegen 0.11.0 → 0.12.0
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/README.md +5 -0
- package/main/utils/schemas.js +1 -1
- package/module/utils/schemas.js +1 -1
- package/package.json +5 -4
package/README.md
CHANGED
@@ -450,3 +450,8 @@ See the [docs](https://github.com/CosmWasm/ts-codegen/blob/main/packages/wasm-as
|
|
450
450
|
Checkout these related projects:
|
451
451
|
|
452
452
|
* [@osmonauts/telescope](https://github.com/osmosis-labs/telescope) a "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs.
|
453
|
+
|
454
|
+
## Credits
|
455
|
+
|
456
|
+
Built by Cosmology — if you like our tools, please consider delegating to [our validator](https://www.mintscan.io/juno/validators/junovaloper1pr5qgj4jg47lvsnejtfvk78090shvuctgdwdm5)
|
457
|
+
|
package/main/utils/schemas.js
CHANGED
@@ -19,7 +19,7 @@ var _fs = require("fs");
|
|
19
19
|
|
20
20
|
var _cleanse = require("./cleanse");
|
21
21
|
|
22
|
-
var _jsonSchemaToTypescript = require("json-schema-to-typescript");
|
22
|
+
var _jsonSchemaToTypescript = require("@pyramation/json-schema-to-typescript");
|
23
23
|
|
24
24
|
var _parse = require("./parse");
|
25
25
|
|
package/module/utils/schemas.js
CHANGED
@@ -7,7 +7,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
7
7
|
import { sync as glob } from 'glob';
|
8
8
|
import { readFileSync } from 'fs';
|
9
9
|
import { cleanse } from './cleanse';
|
10
|
-
import { compile } from 'json-schema-to-typescript';
|
10
|
+
import { compile } from '@pyramation/json-schema-to-typescript';
|
11
11
|
import { parser } from './parse';
|
12
12
|
;
|
13
13
|
export const readSchemas = async ({
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@cosmwasm/ts-codegen",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.12.0",
|
4
4
|
"description": "@cosmwasm/ts-codegen converts your CosmWasm smart contracts into dev-friendly TypeScript classes so you can focus on shipping code.",
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
6
6
|
"homepage": "https://github.com/cosmwasm/ts-codegen",
|
@@ -80,20 +80,21 @@
|
|
80
80
|
"@babel/runtime": "^7.18.9",
|
81
81
|
"@babel/traverse": "7.18.11",
|
82
82
|
"@babel/types": "7.18.10",
|
83
|
+
"@pyramation/json-schema-to-typescript": " 11.0.4",
|
83
84
|
"case": "1.6.3",
|
84
85
|
"dargs": "7.0.0",
|
86
|
+
"deepmerge": "4.2.2",
|
85
87
|
"dotty": "0.1.2",
|
86
88
|
"fuzzy": "0.1.3",
|
87
89
|
"glob": "8.0.3",
|
88
90
|
"inquirerer": "0.1.3",
|
89
|
-
"json-schema-to-typescript": "11.0.1",
|
90
91
|
"long": "^5.2.0",
|
91
92
|
"minimist": "1.2.6",
|
92
93
|
"mkdirp": "1.0.4",
|
93
94
|
"parse-package-name": "1.0.0",
|
94
95
|
"rimraf": "3.0.2",
|
95
96
|
"shelljs": "0.8.5",
|
96
|
-
"wasm-ast-types": "^0.8.
|
97
|
+
"wasm-ast-types": "^0.8.2"
|
97
98
|
},
|
98
|
-
"gitHead": "
|
99
|
+
"gitHead": "a6ba17d4ba6e02e5c34614e425720d5353f7cc6e"
|
99
100
|
}
|