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

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.
@@ -1 +1 @@
1
- export declare const version = "2.1.12";
1
+ export declare const version = "2.1.13";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/fusion-framework-module-bookmark",
3
- "version": "2.1.12",
3
+ "version": "2.1.13",
4
4
  "description": "",
5
5
  "main": "./dist/esm/index.js",
6
6
  "types": "./dist/types/index.d.ts",
@@ -41,20 +41,20 @@
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",
44
45
  "@equinor/fusion-framework-module": "^4.4.2",
45
46
  "@equinor/fusion-log": "^1.1.4",
46
- "@equinor/fusion-observable": "^8.5.1",
47
47
  "@equinor/fusion-query": "^5.2.11"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@types/uuid": "^9.0.8",
51
51
  "typescript": "^5.8.2",
52
52
  "zod": "^3.23.8",
53
- "@equinor/fusion-framework-module-context": "^6.0.6",
54
53
  "@equinor/fusion-framework-module-app": "^6.1.16",
54
+ "@equinor/fusion-framework-module-event": "^4.3.6",
55
+ "@equinor/fusion-framework-module-context": "^6.0.6",
55
56
  "@equinor/fusion-framework-module-http": "^6.3.3",
56
- "@equinor/fusion-framework-module-services": "^6.0.3",
57
- "@equinor/fusion-framework-module-event": "^4.3.6"
57
+ "@equinor/fusion-framework-module-services": "^6.0.3"
58
58
  },
59
59
  "scripts": {
60
60
  "build": "tsc -b"
@@ -593,10 +593,7 @@ export class BookmarkProvider implements IBookmarkProvider {
593
593
  public setCurrentBookmark<T extends BookmarkData>(
594
594
  bookmark_or_id: Bookmark<T> | string | null,
595
595
  ): Observable<Bookmark<T> | null> {
596
- // check if the bookmark is already the current bookmark
597
- if (bookmark_or_id == this.currentBookmark) return of(bookmark_or_id);
598
-
599
- this._log?.debug(`setting current bookmark`, bookmark_or_id);
596
+ this._log?.debug('setting current bookmark', bookmark_or_id);
600
597
 
601
598
  // resolve the next bookmark
602
599
  const next$: Observable<Bookmark<T> | null> =
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '2.1.12';
2
+ export const version = '2.1.13';