applesauce-core 6.0.0 → 6.0.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.
@@ -356,9 +356,9 @@ export function isEventPointerSame(a, b) {
356
356
  a.id === b.id &&
357
357
  // Because event id's are unique, we can skip extra checks if either pointer is missing some fields
358
358
  // If any kind is undefined, ignore it
359
- (a.kind !== undefined || b.kind !== undefined ? a.kind === b.kind : true) &&
359
+ (a.kind !== undefined && b.kind !== undefined ? a.kind === b.kind : true) &&
360
360
  // If any author is undefined, ignore it
361
- (a.author !== undefined || b.author !== undefined ? a.author === b.author : true));
361
+ (a.author !== undefined && b.author !== undefined ? a.author === b.author : true));
362
362
  }
363
363
  /** Checks if an event matches a pointer */
364
364
  export function eventMatchesPointer(event, pointer) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "applesauce-core",
3
- "version": "6.0.0",
3
+ "version": "6.0.2",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",