haxball.js 3.2.0-dev → 3.2.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.
@@ -24,7 +24,12 @@ jobs:
24
24
 
25
25
  - name: 🚀 Publish to NPM
26
26
  run: |
27
- echo "📦 Publishing version $(node -p "require('./package.json').version")"
27
+ VERSION=$(node -p "require('./package.json').version")
28
+ echo "📦 Preparing to publish version $VERSION"
29
+ if [[ "$VERSION" == *-* ]]; then
30
+ echo "⛔ Pre-release version detected [$VERSION], skipping publish."
31
+ exit 0
32
+ fi
28
33
  npm publish --access public
29
34
  env:
30
35
  NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "haxball.js",
3
- "version": "3.2.0-dev",
3
+ "version": "3.2.0",
4
4
  "description": "A powerful library for interacting with the Haxball Headless API",
5
5
  "main": "src/index.js",
6
6
  "types": "types/index.d.ts",
@@ -20,7 +20,7 @@
20
20
  "author": "mertushka",
21
21
  "license": "MIT",
22
22
  "dependencies": {
23
- "@mertushka/node-datachannel": "^0.33.0",
23
+ "@mertushka/node-datachannel": "^0.35.0",
24
24
  "@peculiar/webcrypto": "^1.5.0",
25
25
  "@types/haxball-headless-browser": "^0.4.0",
26
26
  "https-proxy-agent": "^7.0.6",