@nexushub/client 1.1.7 → 1.1.8

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/dist/index.cjs CHANGED
@@ -903,7 +903,8 @@ var ContentEngine = class {
903
903
  this.localCache = new LocalCacheProxy();
904
904
  this.memoryCache = new MemoryCache({
905
905
  maxSize: 500,
906
- ttl: 60 * 1e3
906
+ ttl: 5 * 1e3
907
+ // 👈 5 seconds
907
908
  });
908
909
  if (!this.isServer) {
909
910
  this.browserCache = new BrowserCache(config.projectId);
package/dist/index.js CHANGED
@@ -847,7 +847,8 @@ var ContentEngine = class {
847
847
  this.localCache = new LocalCacheProxy();
848
848
  this.memoryCache = new MemoryCache({
849
849
  maxSize: 500,
850
- ttl: 60 * 1e3
850
+ ttl: 5 * 1e3
851
+ // 👈 5 seconds
851
852
  });
852
853
  if (!this.isServer) {
853
854
  this.browserCache = new BrowserCache(config.projectId);
package/dist/react.cjs CHANGED
@@ -829,7 +829,8 @@ var ContentEngine = class {
829
829
  this.localCache = new LocalCacheProxy();
830
830
  this.memoryCache = new MemoryCache({
831
831
  maxSize: 500,
832
- ttl: 60 * 1e3
832
+ ttl: 5 * 1e3
833
+ // 👈 5 seconds
833
834
  });
834
835
  if (!this.isServer) {
835
836
  this.browserCache = new BrowserCache(config.projectId);
package/dist/react.js CHANGED
@@ -829,7 +829,8 @@ var ContentEngine = class {
829
829
  this.localCache = new LocalCacheProxy();
830
830
  this.memoryCache = new MemoryCache({
831
831
  maxSize: 500,
832
- ttl: 60 * 1e3
832
+ ttl: 5 * 1e3
833
+ // 👈 5 seconds
833
834
  });
834
835
  if (!this.isServer) {
835
836
  this.browserCache = new BrowserCache(config.projectId);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nexushub/client",
3
3
  "private": false,
4
- "version": "1.1.7",
4
+ "version": "1.1.8",
5
5
  "description": "GN-Apex zero-config production runtime SDK",
6
6
  "type": "module",
7
7
  "main": "./dist/index.cjs",