@crossdelta/infrastructure 0.1.40 → 0.1.41

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.
Files changed (2) hide show
  1. package/README.md +3 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -91,12 +91,13 @@ const config: ServiceConfig = {
91
91
  }
92
92
  ```
93
93
 
94
- ### TCP Service
94
+ ### Internal Service with Custom URL (e.g., NATS)
95
95
 
96
96
  ```typescript
97
97
  const config: ServiceConfig = {
98
98
  name: 'nats',
99
- internalPorts: [{ port: 4222, protocol: 'TCP' }],
99
+ internalPorts: [4222, 8222],
100
+ internalUrl: 'nats://nats:4222',
100
101
  instanceSizeSlug: 'apps-s-1vcpu-1gb',
101
102
  }
102
103
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossdelta/infrastructure",
3
- "version": "0.1.40",
3
+ "version": "0.1.41",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "publishConfig": {