zklighter-perps 1.0.1 → 1.0.3

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.
@@ -44,6 +44,10 @@ jobs:
44
44
  name: Generate TS client using OpenAPI Generator
45
45
  command: |
46
46
  java -jar openapi-generator-cli.jar generate -i ./openapi.json -g typescript-fetch -o . -c config.yaml
47
+ - run:
48
+ name: Increase package version
49
+ command: |
50
+ jq '.version |= (split(".") | .[2] = ((.[2] | tonumber) + 1 | tostring) | join("."))' package.json > tmp.json && mv tmp.json package.json
47
51
  - run:
48
52
  name: push to new branch
49
53
  command: |
@@ -74,7 +78,6 @@ jobs:
74
78
  git config --global user.email "hasan@lighter.xyz"
75
79
  git config --global user.name "CircleCI Hasan"
76
80
  npm set //registry.npmjs.org/:_authToken=$NPM_TOKEN
77
- npm version patch
78
81
  npm publish
79
82
 
80
83
  parameters:
package/openapi.json CHANGED
@@ -3765,7 +3765,7 @@
3765
3765
  "block_height": {
3766
3766
  "type": "integer",
3767
3767
  "format": "int64",
3768
- "example": "45434"
3768
+ "example": "45436"
3769
3769
  },
3770
3770
  "timestamp": {
3771
3771
  "type": "integer",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zklighter-perps",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "zkLighter Perps SDK",
5
5
  "main": "index.ts",
6
6
  "directories": {