@axcode/axcloud-sdk 0.3.2 → 0.4.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.
package/dist/public.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { QueryClient } from '@tanstack/react-query';
3
- import { A as AxCloudAnalyticsOptions } from './useContent-1WbKvPY4.mjs';
4
- export { l as AnalyticsEventData, m as AnalyticsEventValue, o as AnalyticsRuntime, p as AnalyticsRuntimeConfig, a6 as ContentBlock, t as ContentItem, a7 as ContentItemOptions, c as ContentListResponse, C as ContentQueryOptions, u as ContentSlotImage, v as ContentSlotMap, w as ContentSlotReader, x as ContentSlotValue, P as Page, I as PageContentState, Q as createContentSlotReader, T as getContentSlotMap, Z as useAnalytics, _ as useAnalyticsRuntime, $ as useAxCloudContext, a0 as useContent, a1 as useContentItem, a2 as usePageContent } from './useContent-1WbKvPY4.mjs';
3
+ import { A as AxCloudAnalyticsOptions } from './useContent-aln3Xpis.mjs';
4
+ export { l as AnalyticsEventData, m as AnalyticsEventValue, o as AnalyticsRuntime, p as AnalyticsRuntimeConfig, a6 as ContentBlock, t as ContentItem, a7 as ContentItemOptions, c as ContentListResponse, C as ContentQueryOptions, u as ContentSlotImage, v as ContentSlotMap, w as ContentSlotReader, x as ContentSlotValue, P as Page, I as PageContentState, Q as createContentSlotReader, T as getContentSlotMap, Z as useAnalytics, _ as useAnalyticsRuntime, $ as useAxCloudContext, a0 as useContent, a1 as useContentItem, a2 as usePageContent } from './useContent-aln3Xpis.mjs';
5
5
  import './client-FOpKwe3e.mjs';
6
6
 
7
7
  interface AxCloudPublicProviderProps {
package/dist/public.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { QueryClient } from '@tanstack/react-query';
3
- import { A as AxCloudAnalyticsOptions } from './useContent-Cl7dvERE.js';
4
- export { l as AnalyticsEventData, m as AnalyticsEventValue, o as AnalyticsRuntime, p as AnalyticsRuntimeConfig, a6 as ContentBlock, t as ContentItem, a7 as ContentItemOptions, c as ContentListResponse, C as ContentQueryOptions, u as ContentSlotImage, v as ContentSlotMap, w as ContentSlotReader, x as ContentSlotValue, P as Page, I as PageContentState, Q as createContentSlotReader, T as getContentSlotMap, Z as useAnalytics, _ as useAnalyticsRuntime, $ as useAxCloudContext, a0 as useContent, a1 as useContentItem, a2 as usePageContent } from './useContent-Cl7dvERE.js';
3
+ import { A as AxCloudAnalyticsOptions } from './useContent-Cr-3N5gS.js';
4
+ export { l as AnalyticsEventData, m as AnalyticsEventValue, o as AnalyticsRuntime, p as AnalyticsRuntimeConfig, a6 as ContentBlock, t as ContentItem, a7 as ContentItemOptions, c as ContentListResponse, C as ContentQueryOptions, u as ContentSlotImage, v as ContentSlotMap, w as ContentSlotReader, x as ContentSlotValue, P as Page, I as PageContentState, Q as createContentSlotReader, T as getContentSlotMap, Z as useAnalytics, _ as useAnalyticsRuntime, $ as useAxCloudContext, a0 as useContent, a1 as useContentItem, a2 as usePageContent } from './useContent-Cr-3N5gS.js';
5
5
  import './client-FOpKwe3e.js';
6
6
 
7
7
  interface AxCloudPublicProviderProps {
@@ -262,6 +262,14 @@ interface AxCloudConfig {
262
262
  /** Optional privacy-safe web analytics collection. */
263
263
  analytics?: AxCloudAnalyticsOptions;
264
264
  auth0: {
265
+ /**
266
+ * Stable public AxCloud identity-provider identifier.
267
+ *
268
+ * Include this when the organization uses a customer-owned identity
269
+ * provider so shared SDK caches are isolated across provider rotations.
270
+ * This is not an Auth0 secret and is not sent to Auth0.
271
+ */
272
+ identityProviderId?: string;
265
273
  domain: string;
266
274
  clientId: string;
267
275
  redirectUri: string;
@@ -262,6 +262,14 @@ interface AxCloudConfig {
262
262
  /** Optional privacy-safe web analytics collection. */
263
263
  analytics?: AxCloudAnalyticsOptions;
264
264
  auth0: {
265
+ /**
266
+ * Stable public AxCloud identity-provider identifier.
267
+ *
268
+ * Include this when the organization uses a customer-owned identity
269
+ * provider so shared SDK caches are isolated across provider rotations.
270
+ * This is not an Auth0 secret and is not sent to Auth0.
271
+ */
272
+ identityProviderId?: string;
265
273
  domain: string;
266
274
  clientId: string;
267
275
  redirectUri: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axcode/axcloud-sdk",
3
- "version": "0.3.2",
3
+ "version": "0.4.0",
4
4
  "description": "SDK for building websites with AxCloud CMS and member management",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -53,7 +53,7 @@
53
53
  "@vitest/coverage-v8": "4.1.10",
54
54
  "eslint": "^9.17.0",
55
55
  "eslint-plugin-react": "^7.37.4",
56
- "globals": "^16.5.0",
56
+ "globals": "^17.11.0",
57
57
  "react": "^19.2.8",
58
58
  "react-dom": "^19.2.8",
59
59
  "tsup": "^8.3.5",