@arcote.tech/arc-react 0.5.2 → 0.5.6
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.js +7 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -401,7 +401,8 @@ var modelProviderFactory = (context, options) => {
|
|
|
401
401
|
localId: event.id,
|
|
402
402
|
type: event.type,
|
|
403
403
|
payload: event.payload,
|
|
404
|
-
createdAt: event.createdAt.toISOString()
|
|
404
|
+
createdAt: event.createdAt.toISOString(),
|
|
405
|
+
authContext: event.authContext ?? null
|
|
405
406
|
}
|
|
406
407
|
]);
|
|
407
408
|
});
|
|
@@ -428,7 +429,8 @@ var modelProviderFactory = (context, options) => {
|
|
|
428
429
|
id: event.hostId,
|
|
429
430
|
type: event.type,
|
|
430
431
|
payload: event.payload,
|
|
431
|
-
createdAt: new Date(event.createdAt)
|
|
432
|
+
createdAt: new Date(event.createdAt),
|
|
433
|
+
authContext: event.authContext ?? null
|
|
432
434
|
});
|
|
433
435
|
} catch (error) {
|
|
434
436
|
console.error(`[Arc] Failed to process event ${event.hostId} (${event.type}):`, error, `
|
|
@@ -461,7 +463,8 @@ Event payload:`, event.payload);
|
|
|
461
463
|
id: event.hostId,
|
|
462
464
|
type: event.type,
|
|
463
465
|
payload: event.payload,
|
|
464
|
-
createdAt: new Date(event.createdAt)
|
|
466
|
+
createdAt: new Date(event.createdAt),
|
|
467
|
+
authContext: event.authContext ?? null
|
|
465
468
|
});
|
|
466
469
|
} catch (error) {
|
|
467
470
|
console.error(`[Arc] Failed to process event ${event.hostId} (${event.type}):`, error);
|
|
@@ -716,4 +719,4 @@ export {
|
|
|
716
719
|
Form
|
|
717
720
|
};
|
|
718
721
|
|
|
719
|
-
//# debugId=
|
|
722
|
+
//# debugId=E9B2B4CFA21F461364756E2164756E21
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcote.tech/arc-react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.6",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "Przemysław Krasiński [arcote.tech]",
|
|
7
7
|
"description": "React client for the Arc framework, providing utilities for querying data and executing commands, enhancing the development of reactive and efficient user interfaces.",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"typescript": "^5.2.2"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@arcote.tech/arc": "^0.5.
|
|
35
|
+
"@arcote.tech/arc": "^0.5.6",
|
|
36
36
|
"react": "^18.0.0 || ^19.0.0",
|
|
37
37
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
38
38
|
"typescript": "^5.0.0"
|