@equinor/fusion-framework-module-bookmark 2.1.13 → 2.1.15

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.
@@ -5,3 +5,4 @@ export { BookmarkProvider } from './BookmarkProvider';
5
5
  export type { BookmarkCreateArgs, BookmarkUpdateOptions, IBookmarkProvider, BookmarkPayloadGenerator, } from './BookmarkProvider.interface';
6
6
  export { enableBookmark } from './enable-bookmark';
7
7
  export * from './types';
8
+ export { bookmarkWithDataSchema } from './bookmark.schemas';
@@ -1 +1 @@
1
- export declare const version = "2.1.13";
1
+ export declare const version = "2.1.15";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/fusion-framework-module-bookmark",
3
- "version": "2.1.13",
3
+ "version": "2.1.15",
4
4
  "description": "",
5
5
  "main": "./dist/esm/index.js",
6
6
  "types": "./dist/types/index.d.ts",
@@ -41,8 +41,8 @@
41
41
  "immer": "^9.0.16",
42
42
  "rxjs": "^7.8.1",
43
43
  "uuid": "^11.0.3",
44
- "@equinor/fusion-observable": "^8.5.1",
45
44
  "@equinor/fusion-framework-module": "^4.4.2",
45
+ "@equinor/fusion-observable": "^8.5.1",
46
46
  "@equinor/fusion-log": "^1.1.4",
47
47
  "@equinor/fusion-query": "^5.2.11"
48
48
  },
@@ -12,6 +12,9 @@ import { bookmarkActions, type BookmarkActions } from './BookmarkProvider.action
12
12
  import type { BookmarkState } from './BookmarkProvider.store';
13
13
  import type { BookmarkFlowError } from './BookmarkProvider.error';
14
14
  import type { BookmarkWithoutData } from './types';
15
+ import { enableMapSet } from 'immer';
16
+
17
+ enableMapSet();
15
18
 
16
19
  /**
17
20
  * Utility function that extracts the base action type from a given action object.
@@ -168,7 +168,7 @@ export class BookmarkProvider implements IBookmarkProvider {
168
168
  * Gets the currently active bookmark (if any).
169
169
  */
170
170
  public get currentBookmark$(): Observable<Bookmark | null | undefined> {
171
- return this.#store.select(activeBookmarkSelector, deepEqual);
171
+ return this.#store.select(activeBookmarkSelector);
172
172
  }
173
173
 
174
174
  /**
package/src/index.ts CHANGED
@@ -26,3 +26,5 @@ export type {
26
26
  export { enableBookmark } from './enable-bookmark';
27
27
 
28
28
  export * from './types';
29
+
30
+ export { bookmarkWithDataSchema } from './bookmark.schemas';
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '2.1.13';
2
+ export const version = '2.1.15';