injectivejs 0.8.0 → 1.0.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 +9 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -396,18 +396,25 @@ When first cloning the repo, first `bootstrap` + `build`:
|
|
|
396
396
|
|
|
397
397
|
```
|
|
398
398
|
yarn
|
|
399
|
-
yarn bootstrap
|
|
400
399
|
yarn build
|
|
401
400
|
```
|
|
402
401
|
|
|
403
402
|
### Codegen
|
|
404
403
|
|
|
405
|
-
Look inside of `scripts/codegen.js` and configure the settings for bundling your SDK and contracts into `injectivejs`:
|
|
404
|
+
Contract schemas live in `./contracts`, and protos in `./protos`. Look inside of `scripts/codegen.js` and configure the settings for bundling your SDK and contracts into `injectivejs`:
|
|
406
405
|
|
|
407
406
|
```
|
|
408
407
|
yarn codegen
|
|
409
408
|
```
|
|
410
409
|
|
|
410
|
+
### Publishing
|
|
411
|
+
|
|
412
|
+
Build the types and then publish:
|
|
413
|
+
|
|
414
|
+
```
|
|
415
|
+
yarn build:ts
|
|
416
|
+
yarn publish
|
|
417
|
+
```
|
|
411
418
|
## Credits
|
|
412
419
|
|
|
413
420
|
🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator)
|