@arcote.tech/arc-react 0.3.1 → 0.3.2

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/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -450,12 +450,13 @@ Event payload:`, event.payload);
450
450
  }
451
451
  if (cancelled)
452
452
  return;
453
+ const modelEventWire = options.dbAdapterFactory ? eventWire : undefined;
453
454
  const newModel = new Model(context, {
454
455
  adapters: {
455
456
  dataStorage,
456
457
  commandWire,
457
458
  eventPublisher,
458
- eventWire,
459
+ eventWire: modelEventWire,
459
460
  authAdapter,
460
461
  queryWire,
461
462
  streamingCache
@@ -595,4 +596,4 @@ export {
595
596
  Form
596
597
  };
597
598
 
598
- //# debugId=8D2F0AEF850AD66D64756E2164756E21
599
+ //# debugId=C47814C8000DC1A064756E2164756E21
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arcote.tech/arc-react",
3
3
  "type": "module",
4
- "version": "0.3.1",
4
+ "version": "0.3.2",
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.",