@luvio/environments 0.108.0 → 0.109.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.
@@ -712,7 +712,9 @@ function makeDurable(environment, { durableStore, instrumentation }) {
712
712
  await Promise.all(pendingPromises);
713
713
  const entries = await durableStore.getEntries(keysAsArray, DefaultDurableSegment);
714
714
  ingestStagingStore = buildIngestStagingStore(environment);
715
- publishDurableStoreEntries(entries, ingestStagingStore.publish.bind(ingestStagingStore),
715
+ publishDurableStoreEntries(entries, (key, record) => {
716
+ ingestStagingStore.records[key] = record;
717
+ },
716
718
  // we don't need to prime metadata
717
719
  () => { });
718
720
  snapshotFromMemoryIngest = ingestAndBroadcastFunc();
@@ -716,7 +716,9 @@
716
716
  await Promise.all(pendingPromises);
717
717
  const entries = await durableStore.getEntries(keysAsArray, DefaultDurableSegment);
718
718
  ingestStagingStore = buildIngestStagingStore(environment);
719
- publishDurableStoreEntries(entries, ingestStagingStore.publish.bind(ingestStagingStore),
719
+ publishDurableStoreEntries(entries, (key, record) => {
720
+ ingestStagingStore.records[key] = record;
721
+ },
720
722
  // we don't need to prime metadata
721
723
  () => { });
722
724
  snapshotFromMemoryIngest = ingestAndBroadcastFunc();
@@ -827,7 +827,9 @@
827
827
  case 2:
828
828
  entries = _a.sent();
829
829
  ingestStagingStore = buildIngestStagingStore(environment);
830
- publishDurableStoreEntries(entries, ingestStagingStore.publish.bind(ingestStagingStore),
830
+ publishDurableStoreEntries(entries, function (key, record) {
831
+ ingestStagingStore.records[key] = record;
832
+ },
831
833
  // we don't need to prime metadata
832
834
  function () { });
833
835
  snapshotFromMemoryIngest = ingestAndBroadcastFunc();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luvio/environments",
3
- "version": "0.108.0",
3
+ "version": "0.109.0",
4
4
  "description": "Luvio Environments",
5
5
  "repository": {
6
6
  "type": "git",
@@ -23,7 +23,7 @@
23
23
  "watch": "yarn build --watch"
24
24
  },
25
25
  "dependencies": {
26
- "@luvio/engine": "0.108.0"
26
+ "@luvio/engine": "0.109.0"
27
27
  },
28
28
  "bundlesize": [
29
29
  {