service-bridge 1.8.3-dev.42 → 1.8.3-dev.44
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 +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -409,7 +409,7 @@ Registers a scheduled or delayed job.
|
|
|
409
409
|
| `retryPolicyJson` | `string` | Retry policy JSON string. |
|
|
410
410
|
|
|
411
411
|
```ts
|
|
412
|
-
await sb.job("billing
|
|
412
|
+
await sb.job("billing.collect", {
|
|
413
413
|
cron: "0 * * * *",
|
|
414
414
|
timezone: "UTC",
|
|
415
415
|
via: "rpc",
|
|
@@ -1157,12 +1157,12 @@ session.onConfigPush({
|
|
|
1157
1157
|
'payment-svc': { mode: 'proxy', fallbackPolicy: 'fallback_to_direct' },
|
|
1158
1158
|
},
|
|
1159
1159
|
functionOverrides: {
|
|
1160
|
-
'payment-svc
|
|
1160
|
+
'payment-svc.charge': { mode: 'proxy', timeoutMs: 5000 },
|
|
1161
1161
|
},
|
|
1162
1162
|
});
|
|
1163
1163
|
|
|
1164
1164
|
// Разрешить транспорт для функции
|
|
1165
|
-
const mode = session.resolveTransportMode('payment-svc
|
|
1165
|
+
const mode = session.resolveTransportMode('payment-svc.charge'); // 'proxy'
|
|
1166
1166
|
```
|
|
1167
1167
|
|
|
1168
1168
|
### Все события сессии
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "service-bridge",
|
|
3
|
-
"version": "1.8.3-dev.
|
|
3
|
+
"version": "1.8.3-dev.44",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "ServiceBridge SDK for Node.js — one self-hosted runtime for RPC, events, workflows, and jobs without a service mesh or sidecars. Direct gRPC between workers; durable events, jobs, tracing, auto mTLS. One Go runtime + PostgreSQL.",
|
|
6
6
|
"keywords": [
|