@crossdelta/infrastructure 0.8.3 → 0.8.4

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/dist/index.cjs CHANGED
@@ -1015,7 +1015,7 @@ var generateSetupScript = (streams) => {
1015
1015
  `echo "⏳ Waiting for NATS to become available..."`,
1016
1016
  `RETRIES=0`,
1017
1017
  `MAX_RETRIES=30`,
1018
- `until nats $NATS_OPTS server ping --count 1 > /dev/null 2>&1; do`,
1018
+ `until nats $NATS_OPTS rtt > /dev/null 2>&1; do`,
1019
1019
  ` RETRIES=$((RETRIES + 1))`,
1020
1020
  ` if [ "$RETRIES" -ge "$MAX_RETRIES" ]; then`,
1021
1021
  ` echo "❌ NATS not available after $MAX_RETRIES attempts"`,
package/dist/index.js CHANGED
@@ -921,7 +921,7 @@ var generateSetupScript = (streams) => {
921
921
  `echo "⏳ Waiting for NATS to become available..."`,
922
922
  `RETRIES=0`,
923
923
  `MAX_RETRIES=30`,
924
- `until nats $NATS_OPTS server ping --count 1 > /dev/null 2>&1; do`,
924
+ `until nats $NATS_OPTS rtt > /dev/null 2>&1; do`,
925
925
  ` RETRIES=$((RETRIES + 1))`,
926
926
  ` if [ "$RETRIES" -ge "$MAX_RETRIES" ]; then`,
927
927
  ` echo "❌ NATS not available after $MAX_RETRIES attempts"`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossdelta/infrastructure",
3
- "version": "0.8.3",
3
+ "version": "0.8.4",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "publishConfig": {