microboard-temp 0.13.80 → 0.13.81

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.
@@ -6185,11 +6185,12 @@ function getSnapshotFromList(list, board) {
6185
6185
  const snapshot = {
6186
6186
  events: list.getConfirmedRecords().map((record) => record.event),
6187
6187
  items: board.serialize(),
6188
- lastIndex: list.getLastIndex()
6188
+ lastIndex: getLastIndexFromList(list)
6189
6189
  };
6190
6190
  list.applyUnconfirmed();
6191
6191
  return snapshot;
6192
6192
  }
6193
+ var init_getSnapshotFromList = () => {};
6193
6194
 
6194
6195
  // src/Events/Log/EventsLog.ts
6195
6196
  class EventsLog {
@@ -6278,6 +6279,7 @@ var init_EventsLog = __esm(() => {
6278
6279
  init_getUndoRecordFromList();
6279
6280
  init_getUnpublishedEventFromList();
6280
6281
  init_insertEventsFromOtherConnectionsIntoList();
6282
+ init_getSnapshotFromList();
6281
6283
  });
6282
6284
 
6283
6285
  // src/Events/Log/index.ts
package/dist/cjs/index.js CHANGED
@@ -6185,11 +6185,12 @@ function getSnapshotFromList(list, board) {
6185
6185
  const snapshot = {
6186
6186
  events: list.getConfirmedRecords().map((record) => record.event),
6187
6187
  items: board.serialize(),
6188
- lastIndex: list.getLastIndex()
6188
+ lastIndex: getLastIndexFromList(list)
6189
6189
  };
6190
6190
  list.applyUnconfirmed();
6191
6191
  return snapshot;
6192
6192
  }
6193
+ var init_getSnapshotFromList = () => {};
6193
6194
 
6194
6195
  // src/Events/Log/EventsLog.ts
6195
6196
  class EventsLog {
@@ -6278,6 +6279,7 @@ var init_EventsLog = __esm(() => {
6278
6279
  init_getUndoRecordFromList();
6279
6280
  init_getUnpublishedEventFromList();
6280
6281
  init_insertEventsFromOtherConnectionsIntoList();
6282
+ init_getSnapshotFromList();
6281
6283
  });
6282
6284
 
6283
6285
  // src/Events/Log/index.ts
package/dist/cjs/node.js CHANGED
@@ -6185,11 +6185,12 @@ function getSnapshotFromList(list, board) {
6185
6185
  const snapshot = {
6186
6186
  events: list.getConfirmedRecords().map((record) => record.event),
6187
6187
  items: board.serialize(),
6188
- lastIndex: list.getLastIndex()
6188
+ lastIndex: getLastIndexFromList(list)
6189
6189
  };
6190
6190
  list.applyUnconfirmed();
6191
6191
  return snapshot;
6192
6192
  }
6193
+ var init_getSnapshotFromList = () => {};
6193
6194
 
6194
6195
  // src/Events/Log/EventsLog.ts
6195
6196
  class EventsLog {
@@ -6278,6 +6279,7 @@ var init_EventsLog = __esm(() => {
6278
6279
  init_getUndoRecordFromList();
6279
6280
  init_getUnpublishedEventFromList();
6280
6281
  init_insertEventsFromOtherConnectionsIntoList();
6282
+ init_getSnapshotFromList();
6281
6283
  });
6282
6284
 
6283
6285
  // src/Events/Log/index.ts
@@ -6157,11 +6157,12 @@ function getSnapshotFromList(list, board) {
6157
6157
  const snapshot = {
6158
6158
  events: list.getConfirmedRecords().map((record) => record.event),
6159
6159
  items: board.serialize(),
6160
- lastIndex: list.getLastIndex()
6160
+ lastIndex: getLastIndexFromList(list)
6161
6161
  };
6162
6162
  list.applyUnconfirmed();
6163
6163
  return snapshot;
6164
6164
  }
6165
+ var init_getSnapshotFromList = () => {};
6165
6166
 
6166
6167
  // src/Events/Log/EventsLog.ts
6167
6168
  class EventsLog {
@@ -6250,6 +6251,7 @@ var init_EventsLog = __esm(() => {
6250
6251
  init_getUndoRecordFromList();
6251
6252
  init_getUnpublishedEventFromList();
6252
6253
  init_insertEventsFromOtherConnectionsIntoList();
6254
+ init_getSnapshotFromList();
6253
6255
  });
6254
6256
 
6255
6257
  // src/Events/Log/index.ts
package/dist/esm/index.js CHANGED
@@ -6150,11 +6150,12 @@ function getSnapshotFromList(list, board) {
6150
6150
  const snapshot = {
6151
6151
  events: list.getConfirmedRecords().map((record) => record.event),
6152
6152
  items: board.serialize(),
6153
- lastIndex: list.getLastIndex()
6153
+ lastIndex: getLastIndexFromList(list)
6154
6154
  };
6155
6155
  list.applyUnconfirmed();
6156
6156
  return snapshot;
6157
6157
  }
6158
+ var init_getSnapshotFromList = () => {};
6158
6159
 
6159
6160
  // src/Events/Log/EventsLog.ts
6160
6161
  class EventsLog {
@@ -6243,6 +6244,7 @@ var init_EventsLog = __esm(() => {
6243
6244
  init_getUndoRecordFromList();
6244
6245
  init_getUnpublishedEventFromList();
6245
6246
  init_insertEventsFromOtherConnectionsIntoList();
6247
+ init_getSnapshotFromList();
6246
6248
  });
6247
6249
 
6248
6250
  // src/Events/Log/index.ts
package/dist/esm/node.js CHANGED
@@ -6152,11 +6152,12 @@ function getSnapshotFromList(list, board) {
6152
6152
  const snapshot = {
6153
6153
  events: list.getConfirmedRecords().map((record) => record.event),
6154
6154
  items: board.serialize(),
6155
- lastIndex: list.getLastIndex()
6155
+ lastIndex: getLastIndexFromList(list)
6156
6156
  };
6157
6157
  list.applyUnconfirmed();
6158
6158
  return snapshot;
6159
6159
  }
6160
+ var init_getSnapshotFromList = () => {};
6160
6161
 
6161
6162
  // src/Events/Log/EventsLog.ts
6162
6163
  class EventsLog {
@@ -6245,6 +6246,7 @@ var init_EventsLog = __esm(() => {
6245
6246
  init_getUndoRecordFromList();
6246
6247
  init_getUnpublishedEventFromList();
6247
6248
  init_insertEventsFromOtherConnectionsIntoList();
6249
+ init_getSnapshotFromList();
6248
6250
  });
6249
6251
 
6250
6252
  // src/Events/Log/index.ts
@@ -1,5 +1,5 @@
1
1
  export declare function getSnapshotFromList(list: any, board: any): {
2
2
  events: any;
3
3
  items: any;
4
- lastIndex: any;
4
+ lastIndex: number;
5
5
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.13.80",
3
+ "version": "0.13.81",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",