@ironflow/browser 0.38.0 → 0.39.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.
- package/README.md +7 -6
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -53,7 +53,7 @@ ironflow.configure({
|
|
|
53
53
|
},
|
|
54
54
|
reconnect: {
|
|
55
55
|
enabled: true, // Default: true
|
|
56
|
-
maxAttempts: 10, //
|
|
56
|
+
maxAttempts: 10, // Accepted but not enforced — reconnects are unbounded.
|
|
57
57
|
backoff: {
|
|
58
58
|
initial: 1000, // Default: 1000ms
|
|
59
59
|
max: 30000, // Default: 30000ms
|
|
@@ -712,7 +712,8 @@ for (const event of timeline) {
|
|
|
712
712
|
```typescript
|
|
713
713
|
const output = await ironflow.getStepOutputAt('run_abc123', 'step-id', new Date('2026-03-05T10:00:00Z'));
|
|
714
714
|
console.log(output.output);
|
|
715
|
-
console.log(output.patched); // Whether output was
|
|
715
|
+
console.log(output.patched); // Whether output was patched
|
|
716
|
+
console.log(output.injected); // Whether output was injected
|
|
716
717
|
```
|
|
717
718
|
|
|
718
719
|
## Agents (`ironflow.agents.*`)
|
|
@@ -1323,7 +1324,8 @@ const source = await ironflow.webhooks.create({
|
|
|
1323
1324
|
const sources = await ironflow.webhooks.listSources();
|
|
1324
1325
|
const current = await ironflow.webhooks.getSource(source.id);
|
|
1325
1326
|
|
|
1326
|
-
//
|
|
1327
|
+
// name and metadata are full-replace (omitting metadata clears it);
|
|
1328
|
+
// verifyHeader / verifyAlgorithm / verifyConfig are preserve-on-omit.
|
|
1327
1329
|
await ironflow.webhooks.updateSource({
|
|
1328
1330
|
id: current.id,
|
|
1329
1331
|
name: 'Stripe production (EU)',
|
|
@@ -1415,7 +1417,7 @@ function OrderFeed() {
|
|
|
1415
1417
|
return (
|
|
1416
1418
|
<ul>
|
|
1417
1419
|
{orders.map((o, i) => (
|
|
1418
|
-
<li key={i}>{o.
|
|
1420
|
+
<li key={i}>{o.topic}: {JSON.stringify(o.data)}</li>
|
|
1419
1421
|
))}
|
|
1420
1422
|
</ul>
|
|
1421
1423
|
);
|
|
@@ -1502,7 +1504,7 @@ function Dashboard() {
|
|
|
1502
1504
|
<div>
|
|
1503
1505
|
<span>{connected ? 'Connected' : 'Disconnected'}</span>
|
|
1504
1506
|
{events.map((e, i) => (
|
|
1505
|
-
<div key={i}>{e.
|
|
1507
|
+
<div key={i}>{e.topic}</div>
|
|
1506
1508
|
))}
|
|
1507
1509
|
</div>
|
|
1508
1510
|
);
|
|
@@ -1672,7 +1674,6 @@ Common error codes returned by the client:
|
|
|
1672
1674
|
| `TIMEOUT` | Request exceeded the configured timeout |
|
|
1673
1675
|
| `RUN_WAIT_TIMEOUT` | `invoke()` stopped waiting; the durable run continues. `emitSync()` sets `waitTimedOut` per result instead of throwing |
|
|
1674
1676
|
| `REQUEST_FAILED` | Network or fetch failure |
|
|
1675
|
-
| `PATCH_FAILED` | Step patch operation failed |
|
|
1676
1677
|
| `NOT_CONFIGURED` | Client used before `configure()` |
|
|
1677
1678
|
|
|
1678
1679
|
## Browser Compatibility
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ironflow/browser",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.39.0",
|
|
4
4
|
"description": "Browser client for Ironflow event-driven backend platform - real-time subscriptions, workflow triggers, and event emission",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@connectrpc/connect": "^2.1.2",
|
|
23
23
|
"@connectrpc/connect-web": "^2.1.2",
|
|
24
24
|
"zod": "^4.4.3",
|
|
25
|
-
"@ironflow/core": "^0.
|
|
25
|
+
"@ironflow/core": "^0.39.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "^22.20.1",
|