@contentful/optimization-core 0.1.0-alpha7 → 0.1.0-alpha8

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.mjs CHANGED
@@ -823,7 +823,7 @@ class AnalyticsStateless extends analytics_AnalyticsBase {
823
823
  }
824
824
  }
825
825
  const analytics_AnalyticsStateless = AnalyticsStateless;
826
- const OPTIMIZATION_CORE_SDK_VERSION = "0.1.0-alpha7";
826
+ const OPTIMIZATION_CORE_SDK_VERSION = "0.1.0-alpha8";
827
827
  const OPTIMIZATION_CORE_SDK_NAME = "@contentful/optimization-core";
828
828
  const ANONYMOUS_ID_COOKIE = 'ctfl-opt-aid';
829
829
  const ANONYMOUS_ID_KEY = '__ctfl_opt_anonymous_id__';
package/package.json CHANGED
@@ -1,16 +1,21 @@
1
1
  {
2
2
  "name": "@contentful/optimization-core",
3
- "version": "0.1.0-alpha7",
3
+ "version": "0.1.0-alpha8",
4
4
  "license": "MIT",
5
- "type": "commonjs",
5
+ "type": "module",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.mjs",
8
8
  "types": "./dist/index.d.ts",
9
9
  "exports": {
10
10
  ".": {
11
- "types": "./dist/index.d.ts",
12
- "require": "./dist/index.cjs",
13
- "import": "./dist/index.mjs"
11
+ "import": {
12
+ "types": "./dist/index.d.mts",
13
+ "default": "./dist/index.mjs"
14
+ },
15
+ "require": {
16
+ "types": "./dist/index.d.cts",
17
+ "default": "./dist/index.cjs"
18
+ }
14
19
  },
15
20
  "./package.json": "./package.json"
16
21
  },
@@ -24,6 +29,6 @@
24
29
  "es-toolkit": "^1.39.10",
25
30
  "p-retry": "^7.1.0",
26
31
  "zod": "^4.1.5",
27
- "@contentful/optimization-api-client": "0.1.0-alpha7"
32
+ "@contentful/optimization-api-client": "0.1.0-alpha8"
28
33
  }
29
34
  }