@prezly/theme-kit-core 8.0.2 → 8.1.0

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.
@@ -7,7 +7,7 @@ exports.RECORDS_LIMIT = void 0;
7
7
  exports.createSharedMemoryCache = createSharedMemoryCache;
8
8
  /* eslint-disable @typescript-eslint/no-use-before-define */
9
9
 
10
- var RECORDS_LIMIT = exports.RECORDS_LIMIT = 1000;
10
+ var RECORDS_LIMIT = exports.RECORDS_LIMIT = 10000;
11
11
  var GC_PROBABILITY = 1 / 100;
12
12
  var CACHE = new Map();
13
13
  function createSharedMemoryCache() {
@@ -1,3 +1,3 @@
1
1
  import type { Cache } from './type';
2
- export declare const RECORDS_LIMIT = 1000;
2
+ export declare const RECORDS_LIMIT = 10000;
3
3
  export declare function createSharedMemoryCache(prefix?: string): Cache;
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable @typescript-eslint/no-use-before-define */
2
2
 
3
- export var RECORDS_LIMIT = 1000;
3
+ export var RECORDS_LIMIT = 10000;
4
4
  var GC_PROBABILITY = 1 / 100;
5
5
  var CACHE = new Map();
6
6
  export function createSharedMemoryCache() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prezly/theme-kit-core",
3
- "version": "8.0.2",
3
+ "version": "8.1.0",
4
4
  "description": "Data layer and utility library for developing Prezly themes with JavaScript",
5
5
  "main": "build/index.mjs",
6
6
  "types": "build/index.d.ts",
@@ -32,7 +32,7 @@
32
32
  "test:build:cjs": "node tests/test-build.cjs"
33
33
  },
34
34
  "peerDependencies": {
35
- "@prezly/sdk": "18.3.0"
35
+ "@prezly/sdk": "19.7.0"
36
36
  },
37
37
  "dependencies": {
38
38
  "@prezly/theme-kit-intl": "^8.0.0",
@@ -70,5 +70,5 @@
70
70
  "publishConfig": {
71
71
  "access": "public"
72
72
  },
73
- "gitHead": "cb10692ae9481a746c3e1b30a685518f071a0bc6"
73
+ "gitHead": "9a73d7920a1e534278e22d590428cb23c5405eb1"
74
74
  }