@xenia-martech/sdk-js 1.1.0-dev.3 → 1.1.0-rc.1
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/client/react/index.d.cts +2 -1
- package/dist/client/react/index.d.ts +2 -1
- package/dist/next/index.d.cts +1 -1
- package/dist/next/index.d.ts +1 -1
- package/dist/server/index.d.cts +1 -1
- package/dist/server/index.d.ts +1 -1
- package/dist/{xenia-server-DDtQp6Wi.d.ts → xenia-server-D-ozqSgv.d.ts} +1 -1
- package/dist/{xenia-server-Cti94W49.d.cts → xenia-server-rs3Gpbw7.d.cts} +1 -1
- package/package.json +14 -17
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
1
2
|
import * as react from 'react';
|
|
2
3
|
import { ReactNode, ElementType, ComponentType } from 'react';
|
|
3
4
|
import { y as XeniaClientOptions, x as XeniaClient, s as ResolveResult, q as ResolveBatchResult, J as JsonValue, t as WebhookResponse, R as ResolveBatchItem, g as AnalyticsEventName, T as TrackOptions, e as XeniaAction, I as InteractionType, o as MessageMountContext, c as MessageComponentRenderer } from '../../actions-CKeiofxJ.cjs';
|
|
@@ -23,7 +24,7 @@ interface XeniaProviderProps extends XeniaClientOptions {
|
|
|
23
24
|
* </XeniaProvider>
|
|
24
25
|
* ```
|
|
25
26
|
*/
|
|
26
|
-
declare function XeniaProvider({ children, client, ...options }: XeniaProviderProps):
|
|
27
|
+
declare function XeniaProvider({ children, client, ...options }: XeniaProviderProps): react_jsx_runtime.JSX.Element;
|
|
27
28
|
|
|
28
29
|
/** React context carrying the singleton {@link XeniaClient}. */
|
|
29
30
|
declare const XeniaContext: react.Context<XeniaClient | null>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
1
2
|
import * as react from 'react';
|
|
2
3
|
import { ReactNode, ElementType, ComponentType } from 'react';
|
|
3
4
|
import { y as XeniaClientOptions, x as XeniaClient, s as ResolveResult, q as ResolveBatchResult, J as JsonValue, t as WebhookResponse, R as ResolveBatchItem, g as AnalyticsEventName, T as TrackOptions, e as XeniaAction, I as InteractionType, o as MessageMountContext, c as MessageComponentRenderer } from '../../actions-CKeiofxJ.js';
|
|
@@ -23,7 +24,7 @@ interface XeniaProviderProps extends XeniaClientOptions {
|
|
|
23
24
|
* </XeniaProvider>
|
|
24
25
|
* ```
|
|
25
26
|
*/
|
|
26
|
-
declare function XeniaProvider({ children, client, ...options }: XeniaProviderProps):
|
|
27
|
+
declare function XeniaProvider({ children, client, ...options }: XeniaProviderProps): react_jsx_runtime.JSX.Element;
|
|
27
28
|
|
|
28
29
|
/** React context carrying the singleton {@link XeniaClient}. */
|
|
29
30
|
declare const XeniaContext: react.Context<XeniaClient | null>;
|
package/dist/next/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NextRequest, NextResponse } from 'next/server';
|
|
2
2
|
import { V as VisitorCookieOptions, d as ConsentState, t as XeniaConfig } from '../api-URhxxi4x.cjs';
|
|
3
|
-
import { X as XeniaServer } from '../xenia-server-
|
|
3
|
+
import { X as XeniaServer } from '../xenia-server-rs3Gpbw7.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* `@xenia-martech/sdk-js/next` — Next.js (App Router, 15+) glue for the server SDK.
|
package/dist/next/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NextRequest, NextResponse } from 'next/server';
|
|
2
2
|
import { V as VisitorCookieOptions, d as ConsentState, t as XeniaConfig } from '../api-URhxxi4x.js';
|
|
3
|
-
import { X as XeniaServer } from '../xenia-server-
|
|
3
|
+
import { X as XeniaServer } from '../xenia-server-D-ozqSgv.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* `@xenia-martech/sdk-js/next` — Next.js (App Router, 15+) glue for the server SDK.
|
package/dist/server/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { S as ServerResolveOptions, a as ServerTrackOptions, b as ServerWebhookOptions, W as WithFallback, X as XeniaServer, c as createXeniaServer } from '../xenia-server-
|
|
1
|
+
export { S as ServerResolveOptions, a as ServerTrackOptions, b as ServerWebhookOptions, W as WithFallback, X as XeniaServer, c as createXeniaServer } from '../xenia-server-rs3Gpbw7.cjs';
|
|
2
2
|
import { d as ConsentState } from '../api-URhxxi4x.cjs';
|
|
3
3
|
export { A as AnalyticsContext, a as AnalyticsEventName, b as AnalyticsIdentity, c as AnalyticsIngestResponse, C as CircuitBreakerConfig, E as EventContext, e as EventIdentity, I as IdentifyRequest, f as IdentifyResponse, J as JsonValue, P as PersonalizationSwap, R as ResolveBatchItem, j as ResolveBatchResult, k as ResolveOptions, l as ResolveResult, W as WebhookResponse, s as XeniaApi, t as XeniaConfig, u as XeniaEvent } from '../api-URhxxi4x.cjs';
|
|
4
4
|
export { C as CONSENT_COOKIE, a as CircuitOpenError, V as VISITOR_COOKIE, f as consentCookie, g as consentCookieName, p as parseActions, v as visitorCookieName } from '../cookie-names-QYMiEMAq.cjs';
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { S as ServerResolveOptions, a as ServerTrackOptions, b as ServerWebhookOptions, W as WithFallback, X as XeniaServer, c as createXeniaServer } from '../xenia-server-
|
|
1
|
+
export { S as ServerResolveOptions, a as ServerTrackOptions, b as ServerWebhookOptions, W as WithFallback, X as XeniaServer, c as createXeniaServer } from '../xenia-server-D-ozqSgv.js';
|
|
2
2
|
import { d as ConsentState } from '../api-URhxxi4x.js';
|
|
3
3
|
export { A as AnalyticsContext, a as AnalyticsEventName, b as AnalyticsIdentity, c as AnalyticsIngestResponse, C as CircuitBreakerConfig, E as EventContext, e as EventIdentity, I as IdentifyRequest, f as IdentifyResponse, J as JsonValue, P as PersonalizationSwap, R as ResolveBatchItem, j as ResolveBatchResult, k as ResolveOptions, l as ResolveResult, W as WebhookResponse, s as XeniaApi, t as XeniaConfig, u as XeniaEvent } from '../api-URhxxi4x.js';
|
|
4
4
|
export { C as CONSENT_COOKIE, a as CircuitOpenError, V as VISITOR_COOKIE, f as consentCookie, g as consentCookieName, p as parseActions, v as visitorCookieName } from '../cookie-names-8FxbGKGS.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { k as ResolveOptions, v as CallerIdentity, A as AnalyticsContext, J as JsonValue, d as ConsentState, e as EventIdentity, E as EventContext, s as XeniaApi, t as XeniaConfig, a as AnalyticsEventName, c as AnalyticsIngestResponse, W as WebhookResponse, I as IdentifyRequest, f as IdentifyResponse, l as ResolveResult, R as ResolveBatchItem, j as ResolveBatchResult } from './api-URhxxi4x.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Extra per-call identity/context for server-side webhook calls — an override on top of whatever the
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { k as ResolveOptions, v as CallerIdentity, A as AnalyticsContext, J as JsonValue, d as ConsentState, e as EventIdentity, E as EventContext, s as XeniaApi, t as XeniaConfig, a as AnalyticsEventName, c as AnalyticsIngestResponse, W as WebhookResponse, I as IdentifyRequest, f as IdentifyResponse, l as ResolveResult, R as ResolveBatchItem, j as ResolveBatchResult } from './api-URhxxi4x.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Extra per-call identity/context for server-side webhook calls — an override on top of whatever the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xenia-martech/sdk-js",
|
|
3
|
-
"version": "1.1.0-
|
|
3
|
+
"version": "1.1.0-rc.1",
|
|
4
4
|
"description": "Xenia Marketer SDK for web (pull) channels — declarative event tracking, webhook request/response with in-page actions (swap/hide/banner/popup/modal), and content personalization. Client and server builds.",
|
|
5
5
|
"author": "Xenia Martech",
|
|
6
6
|
"license": "MIT",
|
|
@@ -114,9 +114,9 @@
|
|
|
114
114
|
"nextjs"
|
|
115
115
|
],
|
|
116
116
|
"peerDependencies": {
|
|
117
|
-
"next": ">=15.0.0",
|
|
118
117
|
"react": ">=18.0.0",
|
|
119
|
-
"react-dom": ">=18.0.0"
|
|
118
|
+
"react-dom": ">=18.0.0",
|
|
119
|
+
"next": ">=15.0.0"
|
|
120
120
|
},
|
|
121
121
|
"peerDependenciesMeta": {
|
|
122
122
|
"react": {
|
|
@@ -131,28 +131,28 @@
|
|
|
131
131
|
},
|
|
132
132
|
"devDependencies": {
|
|
133
133
|
"@eslint/js": "^10.0.1",
|
|
134
|
-
"@semantic-release/changelog": "^
|
|
134
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
135
135
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
136
|
-
"@semantic-release/exec": "^
|
|
137
|
-
"@semantic-release/git": "^
|
|
136
|
+
"@semantic-release/exec": "^6.0.3",
|
|
137
|
+
"@semantic-release/git": "^10.0.1",
|
|
138
138
|
"@semantic-release/github": "^12.0.9",
|
|
139
139
|
"@semantic-release/npm": "^13.1.5",
|
|
140
140
|
"@semantic-release/release-notes-generator": "^14.1.0",
|
|
141
|
-
"@testing-library/react": "^16.
|
|
141
|
+
"@testing-library/react": "^16.0.0",
|
|
142
142
|
"@types/node": "^26.1.1",
|
|
143
|
-
"@types/react": "^
|
|
144
|
-
"@types/react-dom": "^
|
|
145
|
-
"@vitest/coverage-v8": "^
|
|
143
|
+
"@types/react": "^18.3.0",
|
|
144
|
+
"@types/react-dom": "^18.3.0",
|
|
145
|
+
"@vitest/coverage-v8": "^4.1.6",
|
|
146
146
|
"eslint": "^10.7.0",
|
|
147
|
-
"jsdom": "^
|
|
147
|
+
"jsdom": "^29.1.1",
|
|
148
148
|
"next": "^16.3.8",
|
|
149
|
-
"react": "^
|
|
150
|
-
"react-dom": "^
|
|
149
|
+
"react": "^18.3.0",
|
|
150
|
+
"react-dom": "^18.3.0",
|
|
151
151
|
"semantic-release": "^25.0.7",
|
|
152
152
|
"tsup": "^8.5.1",
|
|
153
153
|
"typescript": "^6.0.2",
|
|
154
154
|
"typescript-eslint": "^8.63.0",
|
|
155
|
-
"vitest": "^
|
|
155
|
+
"vitest": "^4.1.6"
|
|
156
156
|
},
|
|
157
157
|
"engines": {
|
|
158
158
|
"node": ">=18.0.0"
|
|
@@ -160,8 +160,5 @@
|
|
|
160
160
|
"publishConfig": {
|
|
161
161
|
"registry": "https://registry.npmjs.org/",
|
|
162
162
|
"access": "public"
|
|
163
|
-
},
|
|
164
|
-
"overrides": {
|
|
165
|
-
"esbuild": "^0.28.2"
|
|
166
163
|
}
|
|
167
164
|
}
|