@o3r/store-sync 12.1.0-prerelease.9 → 12.1.0-prerelease.91

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.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  <h1 align="center">Otter Store Sync</h1>
2
2
  <p align="center">
3
- <img src="../../../assets/logo/otter.png" alt="Super cute Otter!" width="40%"/>
3
+ <img src="https://raw.githubusercontent.com/AmadeusITGroup/otter/main/assets/logo/otter.png" alt="Super cute Otter!" width="40%"/>
4
4
  </p>
5
5
 
6
6
  This package is an [Otter Framework Module](https://github.com/AmadeusITGroup/otter/tree/main/docs/core/MODULE.md).
@@ -14,7 +14,7 @@ This package is an [Otter Framework Module](https://github.com/AmadeusITGroup/ot
14
14
 
15
15
  This module exposes an NgRx store synchronization solution (synchronous and asynchronous) via the class `StorageSync`.
16
16
 
17
- To facilitate the synchronization, the `StorageSync` class is based on a fork of [ngrx-store-localstorage](https://github.com/btroncone/ngrx-store-localstorage), an exposed package used to sync an NgRx store and the local or session storage.
17
+ To facilitate the synchronization, the `StorageSync` class is based on a fork of [ngrx-store-localstorage](https://github.com/btroncone/ngrx-store-localstorage), an exposed package used to sync an NgRx store and the local or session storage.
18
18
  Compared to the original version of the fork, the **@o3r/store-sync** module includes changes that improve overall synchronization performance.
19
19
 
20
20
  The features to highlight are:
@@ -1 +1 @@
1
- {"version":3,"file":"storage-sync.d.ts","sourceRoot":"","sources":["../../src/core/storage-sync.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EACV,kBAAkB,EACnB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,6BAA6B,EAC9B,MAAM,cAAc,CAAC;AAOtB;;GAEG;AACH,qBAAa,WAAW;IACtB,OAAO,CAAC,QAAQ,CAAC,0BAA0B,CAA0B;IACrE,OAAO,CAAC,WAAW,CAAS;IAC5B,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA8B;IAElD,OAAO,EAAE,kBAAkB,CAAC;gBAEvB,OAAO,CAAC,EAAE,6BAA6B,EAAE,YAAY,CAAC,EAAE;QAAE,gBAAgB,EAAE,OAAO,CAAA;KAAE;IAoBjG;;;;;;;OAOG;IACH,SAAgB,YAAY,UAAW,GAAG,mBAAmB,GAAG,UAAU,GAAG,SAe3E;IAEF;;OAEG;IACI,gBAAgB,kBAQJ,GAAG,sCAoCpB;CACH"}
1
+ {"version":3,"file":"storage-sync.d.ts","sourceRoot":"","sources":["../../src/core/storage-sync.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EACV,kBAAkB,EACnB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,6BAA6B,EAC9B,MAAM,cAAc,CAAC;AAOtB;;GAEG;AACH,qBAAa,WAAW;IACtB,OAAO,CAAC,QAAQ,CAAC,0BAA0B,CAA0B;IACrE,OAAO,CAAC,WAAW,CAAS;IAC5B,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA8B;IAElD,OAAO,EAAE,kBAAkB,CAAC;gBAEvB,OAAO,CAAC,EAAE,6BAA6B,EAAE,YAAY,CAAC,EAAE;QAAE,gBAAgB,EAAE,OAAO,CAAA;KAAE;IAoBjG;;;;;;;OAOG;IACH,SAAgB,YAAY,GAAI,OAAO,GAAG,EAAE,iBAAiB,GAAG,EAAE,QAAQ,GAAG,SAe3E;IAEF;;OAEG;IACI,gBAAgB,SAQb,SAAS,GAAG,sCAoCpB;CACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"storage-sync.helpers.d.ts","sourceRoot":"","sources":["../../src/core/storage-sync.helpers.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,UAAU,EACX,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EACV,iBAAiB,EAClB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EACV,kBAAkB,EACnB,MAAM,cAAc,CAAC;AAEtB;;;;GAIG;AACH,eAAO,MAAM,YAAY,QAAS,GAAG,KAAG,GAAG,IAAI,UAAU,CAAC,GAAG,CAA4F,CAAC;AAE1J;;GAEG;AACH,eAAO,MAAM,sBAAsB,0BAA0B,CAAC;AAE9D;;GAEG;AACH,eAAO,MAAM,eAAe;aACjB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;aAAnB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;0DACzB,CAAC;AAEN;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,YAAa,kBAAkB,KAAG,OAAO,IAAI,iBAA2E,CAAC"}
1
+ {"version":3,"file":"storage-sync.helpers.d.ts","sourceRoot":"","sources":["../../src/core/storage-sync.helpers.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,UAAU,EACX,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EACV,iBAAiB,EAClB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EACV,kBAAkB,EACnB,MAAM,cAAc,CAAC;AAEtB;;;;GAIG;AACH,eAAO,MAAM,YAAY,GAAI,KAAK,GAAG,KAAG,GAAG,IAAI,UAAU,CAAC,GAAG,CAA4F,CAAC;AAE1J;;GAEG;AACH,eAAO,MAAM,sBAAsB,0BAA0B,CAAC;AAE9D;;GAEG;AACH,eAAO,MAAM,eAAe;aACjB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;aAAnB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;0DACzB,CAAC;AAEN;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,GAAI,SAAS,kBAAkB,KAAG,OAAO,IAAI,iBAA2E,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@o3r/store-sync",
3
- "version": "12.1.0-prerelease.9",
3
+ "version": "12.1.0-prerelease.91",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -13,14 +13,14 @@
13
13
  "otter-module"
14
14
  ],
15
15
  "peerDependencies": {
16
- "@ama-sdk/core": "^12.1.0-prerelease.9",
16
+ "@ama-sdk/core": "^12.1.0-prerelease.91",
17
17
  "@angular-devkit/core": "^19.0.0",
18
18
  "@angular-devkit/schematics": "^19.0.0",
19
19
  "@ngrx/entity": "^19.0.0",
20
20
  "@ngrx/store": "^19.0.0",
21
- "@o3r/core": "^12.1.0-prerelease.9",
22
- "@o3r/logger": "^12.1.0-prerelease.9",
23
- "@o3r/schematics": "^12.1.0-prerelease.9",
21
+ "@o3r/core": "^12.1.0-prerelease.91",
22
+ "@o3r/logger": "^12.1.0-prerelease.91",
23
+ "@o3r/schematics": "^12.1.0-prerelease.91",
24
24
  "@schematics/angular": "^19.0.0",
25
25
  "fast-deep-equal": "^3.1.3",
26
26
  "rxjs": "^7.8.1",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "schematics": "./collection.json",
47
47
  "engines": {
48
- "node": "^18.19.1 || ^20.11.1 || >=22.0.0"
48
+ "node": "^20.11.1 || >=22.0.0"
49
49
  },
50
50
  "module": "fesm2022/o3r-store-sync.mjs",
51
51
  "typings": "index.d.ts",
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,IAAI,EACL,MAAM,4BAA4B,CAAC;AAIpC,OAAO,KAAK,EACV,qBAAqB,EACtB,MAAM,UAAU,CAAC;AAmElB;;;GAGG;AACH,eAAO,MAAM,KAAK,YAAa,qBAAqB,KAAG,IAGtD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,IAAI,EACL,MAAM,4BAA4B,CAAC;AAIpC,OAAO,KAAK,EACV,qBAAqB,EACtB,MAAM,UAAU,CAAC;AAmElB;;;GAGG;AACH,eAAO,MAAM,KAAK,GAAI,SAAS,qBAAqB,KAAG,IAKtD,CAAC"}
@@ -60,8 +60,8 @@ function ngAddFn(options) {
60
60
  * @param options
61
61
  */
62
62
  const ngAdd = (options) => async (_, { logger }) => {
63
- const { createSchematicWithMetricsIfInstalled } = await Promise.resolve().then(() => require('@o3r/schematics')).catch(reportMissingSchematicsDep(logger));
64
- return createSchematicWithMetricsIfInstalled(ngAddFn)(options);
63
+ const { createOtterSchematic } = await Promise.resolve().then(() => require('@o3r/schematics')).catch(reportMissingSchematicsDep(logger));
64
+ return createOtterSchematic(ngAddFn)(options);
65
65
  };
66
66
  exports.ngAdd = ngAdd;
67
67
  //# sourceMappingURL=index.js.map
@@ -18,8 +18,7 @@
18
18
  },
19
19
  "exactO3rVersion": {
20
20
  "type": "boolean",
21
- "description": "Use a pinned version for otter packages",
22
- "default": false
21
+ "description": "Use a pinned version for otter packages"
23
22
  }
24
23
  },
25
24
  "additionalProperties": true,
@@ -1 +1 @@
1
- {"version":3,"file":"storage-sync.d.ts","sourceRoot":"","sources":["../../src/sync-storage/storage-sync.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACV,MAAM,EACP,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAEV,WAAW,EACX,iBAAiB,EAElB,MAAM,cAAc,CAAC;AAEtB;;;;GAIG;AACH,eAAO,MAAM,WAAW,SAAU,MAAM,SAAS,GAAG,QAKnD,CAAC;AAqCF;;;;;;;GAOG;AACH,eAAO,MAAM,yBAAyB,SAC9B,WAAW,WACR,OAAO,GAAG,SAAS,wBACN,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,gBAC/B,OAAO,WACb,MAAM,QAiEf,CAAC;AA0BF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,eAAe,UACnB,GAAG,QACJ,WAAW,WACR,OAAO,GAAG,SAAS,wBACN,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,KAAK,MAAM,+CAEtC,CAAC,KAAK,EAAE,GAAG,KAAK,GAAG,WAC3B,MAAM,SA6Ff,CAAC;AAoBF;;;GAGG;AACH,eAAO,MAAM,WAAW,WAAY,iBAAiB,eAAe,GAAG,aA8BtD,GAAG,UAAU,GAAG,QAkChC,CAAC"}
1
+ {"version":3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