@ninetailed/experience.js-next-esr 3.0.0-beta.14 → 3.0.0-beta.15

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/index.esm.js CHANGED
@@ -89,7 +89,10 @@ const fetchEdgeProfile = ({
89
89
  properties: {},
90
90
  location
91
91
  });
92
- const profile = yield apiClient.upsertProfile([pageEvent], anonymousId, {
92
+ const profile = yield apiClient.upsertProfile({
93
+ events: [pageEvent],
94
+ profileId: anonymousId
95
+ }, {
93
96
  ip,
94
97
  preflight: true
95
98
  });
package/index.umd.js CHANGED
@@ -128,7 +128,10 @@
128
128
  });
129
129
  return [4
130
130
  /*yield*/
131
- , apiClient.upsertProfile([pageEvent], anonymousId, {
131
+ , apiClient.upsertProfile({
132
+ events: [pageEvent],
133
+ profileId: anonymousId
134
+ }, {
132
135
  ip: ip,
133
136
  preflight: true
134
137
  })];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ninetailed/experience.js-next-esr",
3
- "version": "3.0.0-beta.14",
3
+ "version": "3.0.0-beta.15",
4
4
  "dependencies": {
5
5
  "next": "12.1.0"
6
6
  },
@@ -8,17 +8,17 @@
8
8
  "module": "./index.esm.js",
9
9
  "typings": "./index.d.ts",
10
10
  "peerDependencies": {
11
- "@ninetailed/experience.js-shared": "3.0.0-beta.14",
11
+ "@ninetailed/experience.js-shared": "3.0.0-beta.15",
12
12
  "ts-toolbelt": "^9.6.0",
13
13
  "diary": "^0.3.1",
14
14
  "zod": "^3.18.0",
15
15
  "locale-enum": "^1.1.1",
16
16
  "i18n-iso-countries": "^7.3.0",
17
17
  "uuid": "^8.3.2",
18
- "@ninetailed/experience.js-plugin-ssr": "3.0.0-beta.14",
18
+ "@ninetailed/experience.js-plugin-ssr": "3.0.0-beta.15",
19
19
  "analytics": "^0.8.0",
20
20
  "js-cookie": "^3.0.1",
21
- "@ninetailed/experience.js": "3.0.0-beta.14",
21
+ "@ninetailed/experience.js": "3.0.0-beta.15",
22
22
  "lodash": "^4.17.21",
23
23
  "murmurhash-js": "^1.0.0"
24
24
  }