@uptrademedia/site-kit 1.0.35 → 1.0.37

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.
File without changes
@@ -1,6 +1,6 @@
1
1
  import { C as CommerceOffering, a as CommerceVariant, b as CheckoutResult, c as CommerceSchedule } from '../types-Dz2HtHds.mjs';
2
2
  export { A as AdditionalField, d as AdditionalFieldOption, e as Cart, f as CartItem, g as CheckoutCustomer, h as CheckoutFormProps, i as CommerceApiConfig, j as CommerceCategory, E as EventEmbedProps, k as EventTileProps, F as FetchEventsOptions, l as FetchOfferingsOptions, m as OfferingCardProps, n as OfferingDetailProps, o as OfferingListProps, p as OfferingStatus, O as OfferingType, P as PriceType, q as ProductEmbedProps, R as RegistrationFormProps, U as UpcomingEventsProps } from '../types-Dz2HtHds.mjs';
3
- export { C as CalendarView, a as CheckoutForm, E as EventCalendar, b as EventEmbed, c as EventModal, d as EventTile, O as OfferingCard, e as OfferingList, P as ProductEmbed, R as RegistrationForm, U as UpcomingEvents, f as createCheckoutSession, g as fetchActiveProcessor, h as fetchCategories, i as fetchLatestOffering, j as fetchNextEvent, k as fetchOffering, l as fetchOfferings, m as fetchProductBySlug, n as fetchProducts, o as fetchProductsPublic, p as fetchServices, q as fetchUpcomingEvents, r as formatDate, s as formatDateRange, t as formatDateTime, u as formatPrice, v as formatTime, w as getOfferingUrl, x as getRelativeTimeUntil, y as getSpotsRemaining, z as isEventSoldOut, A as registerForEvent, B as useEventModal } from '../useEventModal-Dbg2fYYk.mjs';
3
+ export { C as CalendarView, a as CheckoutForm, E as EventCalendar, b as EventEmbed, c as EventModal, d as EventTile, O as OfferingCard, e as OfferingList, P as ProductEmbed, R as RegistrationForm, U as UpcomingEvents, f as createCheckoutSession, g as fetchActiveProcessor, h as fetchCategories, i as fetchLatestOffering, j as fetchNextEvent, k as fetchOffering, l as fetchOfferings, m as fetchProcessorConfig, n as fetchProductBySlug, o as fetchProducts, p as fetchProductsPublic, q as fetchServices, r as fetchUpcomingEvents, s as formatDate, t as formatDateRange, u as formatDateTime, v as formatPrice, w as formatTime, x as getOfferingUrl, y as getRelativeTimeUntil, z as getSpotsRemaining, A as isEventSoldOut, B as registerForEvent, D as useEventModal } from '../useEventModal-NSrCRDlG.mjs';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import React__default from 'react';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { C as CommerceOffering, a as CommerceVariant, b as CheckoutResult, c as CommerceSchedule } from '../types-Dz2HtHds.js';
2
2
  export { A as AdditionalField, d as AdditionalFieldOption, e as Cart, f as CartItem, g as CheckoutCustomer, h as CheckoutFormProps, i as CommerceApiConfig, j as CommerceCategory, E as EventEmbedProps, k as EventTileProps, F as FetchEventsOptions, l as FetchOfferingsOptions, m as OfferingCardProps, n as OfferingDetailProps, o as OfferingListProps, p as OfferingStatus, O as OfferingType, P as PriceType, q as ProductEmbedProps, R as RegistrationFormProps, U as UpcomingEventsProps } from '../types-Dz2HtHds.js';
3
- export { C as CalendarView, a as CheckoutForm, E as EventCalendar, b as EventEmbed, c as EventModal, d as EventTile, O as OfferingCard, e as OfferingList, P as ProductEmbed, R as RegistrationForm, U as UpcomingEvents, f as createCheckoutSession, g as fetchActiveProcessor, h as fetchCategories, i as fetchLatestOffering, j as fetchNextEvent, k as fetchOffering, l as fetchOfferings, m as fetchProductBySlug, n as fetchProducts, o as fetchProductsPublic, p as fetchServices, q as fetchUpcomingEvents, r as formatDate, s as formatDateRange, t as formatDateTime, u as formatPrice, v as formatTime, w as getOfferingUrl, x as getRelativeTimeUntil, y as getSpotsRemaining, z as isEventSoldOut, A as registerForEvent, B as useEventModal } from '../useEventModal-DHO4-xhg.js';
3
+ export { C as CalendarView, a as CheckoutForm, E as EventCalendar, b as EventEmbed, c as EventModal, d as EventTile, O as OfferingCard, e as OfferingList, P as ProductEmbed, R as RegistrationForm, U as UpcomingEvents, f as createCheckoutSession, g as fetchActiveProcessor, h as fetchCategories, i as fetchLatestOffering, j as fetchNextEvent, k as fetchOffering, l as fetchOfferings, m as fetchProcessorConfig, n as fetchProductBySlug, o as fetchProducts, p as fetchProductsPublic, q as fetchServices, r as fetchUpcomingEvents, s as formatDate, t as formatDateRange, u as formatDateTime, v as formatPrice, w as formatTime, x as getOfferingUrl, y as getRelativeTimeUntil, z as getSpotsRemaining, A as isEventSoldOut, B as registerForEvent, D as useEventModal } from '../useEventModal-BRRT7ZSv.js';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import React__default from 'react';
6
6
 
@@ -1,161 +1,165 @@
1
1
  'use strict';
2
2
 
3
- var chunkNQWSKGOX_js = require('../chunk-NQWSKGOX.js');
3
+ var chunkEWXFDSZP_js = require('../chunk-EWXFDSZP.js');
4
4
  require('../chunk-ZSMWDLMK.js');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "CalendarView", {
9
9
  enumerable: true,
10
- get: function () { return chunkNQWSKGOX_js.CalendarView; }
10
+ get: function () { return chunkEWXFDSZP_js.CalendarView; }
11
11
  });
12
12
  Object.defineProperty(exports, "CheckoutForm", {
13
13
  enumerable: true,
14
- get: function () { return chunkNQWSKGOX_js.CheckoutForm; }
14
+ get: function () { return chunkEWXFDSZP_js.CheckoutForm; }
15
15
  });
16
16
  Object.defineProperty(exports, "EventCalendar", {
17
17
  enumerable: true,
18
- get: function () { return chunkNQWSKGOX_js.EventCalendar; }
18
+ get: function () { return chunkEWXFDSZP_js.EventCalendar; }
19
19
  });
20
20
  Object.defineProperty(exports, "EventEmbed", {
21
21
  enumerable: true,
22
- get: function () { return chunkNQWSKGOX_js.EventEmbed; }
22
+ get: function () { return chunkEWXFDSZP_js.EventEmbed; }
23
23
  });
24
24
  Object.defineProperty(exports, "EventModal", {
25
25
  enumerable: true,
26
- get: function () { return chunkNQWSKGOX_js.EventModal; }
26
+ get: function () { return chunkEWXFDSZP_js.EventModal; }
27
27
  });
28
28
  Object.defineProperty(exports, "EventTile", {
29
29
  enumerable: true,
30
- get: function () { return chunkNQWSKGOX_js.EventTile; }
30
+ get: function () { return chunkEWXFDSZP_js.EventTile; }
31
31
  });
32
32
  Object.defineProperty(exports, "EventsWidget", {
33
33
  enumerable: true,
34
- get: function () { return chunkNQWSKGOX_js.EventsWidget; }
34
+ get: function () { return chunkEWXFDSZP_js.EventsWidget; }
35
35
  });
36
36
  Object.defineProperty(exports, "OfferingCard", {
37
37
  enumerable: true,
38
- get: function () { return chunkNQWSKGOX_js.OfferingCard; }
38
+ get: function () { return chunkEWXFDSZP_js.OfferingCard; }
39
39
  });
40
40
  Object.defineProperty(exports, "OfferingList", {
41
41
  enumerable: true,
42
- get: function () { return chunkNQWSKGOX_js.OfferingList; }
42
+ get: function () { return chunkEWXFDSZP_js.OfferingList; }
43
43
  });
44
44
  Object.defineProperty(exports, "ProductDetail", {
45
45
  enumerable: true,
46
- get: function () { return chunkNQWSKGOX_js.ProductDetail; }
46
+ get: function () { return chunkEWXFDSZP_js.ProductDetail; }
47
47
  });
48
48
  Object.defineProperty(exports, "ProductEmbed", {
49
49
  enumerable: true,
50
- get: function () { return chunkNQWSKGOX_js.ProductEmbed; }
50
+ get: function () { return chunkEWXFDSZP_js.ProductEmbed; }
51
51
  });
52
52
  Object.defineProperty(exports, "ProductGrid", {
53
53
  enumerable: true,
54
- get: function () { return chunkNQWSKGOX_js.ProductGrid; }
54
+ get: function () { return chunkEWXFDSZP_js.ProductGrid; }
55
55
  });
56
56
  Object.defineProperty(exports, "ProductPage", {
57
57
  enumerable: true,
58
- get: function () { return chunkNQWSKGOX_js.ProductPage; }
58
+ get: function () { return chunkEWXFDSZP_js.ProductPage; }
59
59
  });
60
60
  Object.defineProperty(exports, "RegistrationForm", {
61
61
  enumerable: true,
62
- get: function () { return chunkNQWSKGOX_js.RegistrationForm; }
62
+ get: function () { return chunkEWXFDSZP_js.RegistrationForm; }
63
63
  });
64
64
  Object.defineProperty(exports, "UpcomingEvents", {
65
65
  enumerable: true,
66
- get: function () { return chunkNQWSKGOX_js.UpcomingEvents; }
66
+ get: function () { return chunkEWXFDSZP_js.UpcomingEvents; }
67
67
  });
68
68
  Object.defineProperty(exports, "createCheckoutSession", {
69
69
  enumerable: true,
70
- get: function () { return chunkNQWSKGOX_js.createCheckoutSession; }
70
+ get: function () { return chunkEWXFDSZP_js.createCheckoutSession; }
71
71
  });
72
72
  Object.defineProperty(exports, "fetchActiveProcessor", {
73
73
  enumerable: true,
74
- get: function () { return chunkNQWSKGOX_js.fetchActiveProcessor; }
74
+ get: function () { return chunkEWXFDSZP_js.fetchActiveProcessor; }
75
75
  });
76
76
  Object.defineProperty(exports, "fetchCategories", {
77
77
  enumerable: true,
78
- get: function () { return chunkNQWSKGOX_js.fetchCategories; }
78
+ get: function () { return chunkEWXFDSZP_js.fetchCategories; }
79
79
  });
80
80
  Object.defineProperty(exports, "fetchLatestOffering", {
81
81
  enumerable: true,
82
- get: function () { return chunkNQWSKGOX_js.fetchLatestOffering; }
82
+ get: function () { return chunkEWXFDSZP_js.fetchLatestOffering; }
83
83
  });
84
84
  Object.defineProperty(exports, "fetchNextEvent", {
85
85
  enumerable: true,
86
- get: function () { return chunkNQWSKGOX_js.fetchNextEvent; }
86
+ get: function () { return chunkEWXFDSZP_js.fetchNextEvent; }
87
87
  });
88
88
  Object.defineProperty(exports, "fetchOffering", {
89
89
  enumerable: true,
90
- get: function () { return chunkNQWSKGOX_js.fetchOffering; }
90
+ get: function () { return chunkEWXFDSZP_js.fetchOffering; }
91
91
  });
92
92
  Object.defineProperty(exports, "fetchOfferings", {
93
93
  enumerable: true,
94
- get: function () { return chunkNQWSKGOX_js.fetchOfferings; }
94
+ get: function () { return chunkEWXFDSZP_js.fetchOfferings; }
95
+ });
96
+ Object.defineProperty(exports, "fetchProcessorConfig", {
97
+ enumerable: true,
98
+ get: function () { return chunkEWXFDSZP_js.fetchProcessorConfig; }
95
99
  });
96
100
  Object.defineProperty(exports, "fetchProductBySlug", {
97
101
  enumerable: true,
98
- get: function () { return chunkNQWSKGOX_js.fetchProductBySlug; }
102
+ get: function () { return chunkEWXFDSZP_js.fetchProductBySlug; }
99
103
  });
100
104
  Object.defineProperty(exports, "fetchProducts", {
101
105
  enumerable: true,
102
- get: function () { return chunkNQWSKGOX_js.fetchProducts; }
106
+ get: function () { return chunkEWXFDSZP_js.fetchProducts; }
103
107
  });
104
108
  Object.defineProperty(exports, "fetchProductsPublic", {
105
109
  enumerable: true,
106
- get: function () { return chunkNQWSKGOX_js.fetchProductsPublic; }
110
+ get: function () { return chunkEWXFDSZP_js.fetchProductsPublic; }
107
111
  });
108
112
  Object.defineProperty(exports, "fetchServices", {
109
113
  enumerable: true,
110
- get: function () { return chunkNQWSKGOX_js.fetchServices; }
114
+ get: function () { return chunkEWXFDSZP_js.fetchServices; }
111
115
  });
112
116
  Object.defineProperty(exports, "fetchUpcomingEvents", {
113
117
  enumerable: true,
114
- get: function () { return chunkNQWSKGOX_js.fetchUpcomingEvents; }
118
+ get: function () { return chunkEWXFDSZP_js.fetchUpcomingEvents; }
115
119
  });
116
120
  Object.defineProperty(exports, "formatDate", {
117
121
  enumerable: true,
118
- get: function () { return chunkNQWSKGOX_js.formatDate; }
122
+ get: function () { return chunkEWXFDSZP_js.formatDate; }
119
123
  });
120
124
  Object.defineProperty(exports, "formatDateRange", {
121
125
  enumerable: true,
122
- get: function () { return chunkNQWSKGOX_js.formatDateRange; }
126
+ get: function () { return chunkEWXFDSZP_js.formatDateRange; }
123
127
  });
124
128
  Object.defineProperty(exports, "formatDateTime", {
125
129
  enumerable: true,
126
- get: function () { return chunkNQWSKGOX_js.formatDateTime; }
130
+ get: function () { return chunkEWXFDSZP_js.formatDateTime; }
127
131
  });
128
132
  Object.defineProperty(exports, "formatPrice", {
129
133
  enumerable: true,
130
- get: function () { return chunkNQWSKGOX_js.formatPrice; }
134
+ get: function () { return chunkEWXFDSZP_js.formatPrice; }
131
135
  });
132
136
  Object.defineProperty(exports, "formatTime", {
133
137
  enumerable: true,
134
- get: function () { return chunkNQWSKGOX_js.formatTime; }
138
+ get: function () { return chunkEWXFDSZP_js.formatTime; }
135
139
  });
136
140
  Object.defineProperty(exports, "getOfferingUrl", {
137
141
  enumerable: true,
138
- get: function () { return chunkNQWSKGOX_js.getOfferingUrl; }
142
+ get: function () { return chunkEWXFDSZP_js.getOfferingUrl; }
139
143
  });
140
144
  Object.defineProperty(exports, "getRelativeTimeUntil", {
141
145
  enumerable: true,
142
- get: function () { return chunkNQWSKGOX_js.getRelativeTimeUntil; }
146
+ get: function () { return chunkEWXFDSZP_js.getRelativeTimeUntil; }
143
147
  });
144
148
  Object.defineProperty(exports, "getSpotsRemaining", {
145
149
  enumerable: true,
146
- get: function () { return chunkNQWSKGOX_js.getSpotsRemaining; }
150
+ get: function () { return chunkEWXFDSZP_js.getSpotsRemaining; }
147
151
  });
148
152
  Object.defineProperty(exports, "isEventSoldOut", {
149
153
  enumerable: true,
150
- get: function () { return chunkNQWSKGOX_js.isEventSoldOut; }
154
+ get: function () { return chunkEWXFDSZP_js.isEventSoldOut; }
151
155
  });
152
156
  Object.defineProperty(exports, "registerForEvent", {
153
157
  enumerable: true,
154
- get: function () { return chunkNQWSKGOX_js.registerForEvent; }
158
+ get: function () { return chunkEWXFDSZP_js.registerForEvent; }
155
159
  });
156
160
  Object.defineProperty(exports, "useEventModal", {
157
161
  enumerable: true,
158
- get: function () { return chunkNQWSKGOX_js.useEventModal; }
162
+ get: function () { return chunkEWXFDSZP_js.useEventModal; }
159
163
  });
160
164
  //# sourceMappingURL=index.js.map
161
165
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- export { CalendarView, CheckoutForm, EventCalendar, EventEmbed, EventModal, EventTile, EventsWidget, OfferingCard, OfferingList, ProductDetail, ProductEmbed, ProductGrid, ProductPage, RegistrationForm, UpcomingEvents, createCheckoutSession, fetchActiveProcessor, fetchCategories, fetchLatestOffering, fetchNextEvent, fetchOffering, fetchOfferings, fetchProductBySlug, fetchProducts, fetchProductsPublic, fetchServices, fetchUpcomingEvents, formatDate, formatDateRange, formatDateTime, formatPrice, formatTime, getOfferingUrl, getRelativeTimeUntil, getSpotsRemaining, isEventSoldOut, registerForEvent, useEventModal } from '../chunk-CNPLYTFZ.mjs';
1
+ export { CalendarView, CheckoutForm, EventCalendar, EventEmbed, EventModal, EventTile, EventsWidget, OfferingCard, OfferingList, ProductDetail, ProductEmbed, ProductGrid, ProductPage, RegistrationForm, UpcomingEvents, createCheckoutSession, fetchActiveProcessor, fetchCategories, fetchLatestOffering, fetchNextEvent, fetchOffering, fetchOfferings, fetchProcessorConfig, fetchProductBySlug, fetchProducts, fetchProductsPublic, fetchServices, fetchUpcomingEvents, formatDate, formatDateRange, formatDateTime, formatPrice, formatTime, getOfferingUrl, getRelativeTimeUntil, getSpotsRemaining, isEventSoldOut, registerForEvent, useEventModal } from '../chunk-35ZB446O.mjs';
2
2
  import '../chunk-4XPGGLVP.mjs';
3
3
  //# sourceMappingURL=index.mjs.map
4
4
  //# sourceMappingURL=index.mjs.map
package/dist/index.d.mts CHANGED
@@ -6,7 +6,7 @@ export { C as ChatConfig, h as EngageElement, W as WidgetConfig } from './types-
6
6
  export { a as FormField, F as FormSubmission, M as ManagedFormConfig } from './types-CYPI3-8j.mjs';
7
7
  export { e as BlogAuthor, b as BlogCategory, B as BlogPostType } from './types-CMNYdZwT.mjs';
8
8
  export { e as Cart, f as CartItem, j as CommerceCategory, C as CommerceOffering, c as CommerceSchedule, a as CommerceVariant, O as OfferingType } from './types-Dz2HtHds.mjs';
9
- export { C as CalendarView, a as CheckoutForm, E as EventCalendar, b as EventEmbed, c as EventModal, d as EventTile, O as OfferingCard, e as OfferingList, P as ProductEmbed, R as RegistrationForm, U as UpcomingEvents, f as createCheckoutSession, j as fetchNextEvent, k as fetchOffering, l as fetchOfferings, n as fetchProducts, p as fetchServices, q as fetchUpcomingEvents, r as formatDate, t as formatDateTime, u as formatPrice, w as getOfferingUrl, A as registerForEvent, B as useEventModal } from './useEventModal-Dbg2fYYk.mjs';
9
+ export { C as CalendarView, a as CheckoutForm, E as EventCalendar, b as EventEmbed, c as EventModal, d as EventTile, O as OfferingCard, e as OfferingList, P as ProductEmbed, R as RegistrationForm, U as UpcomingEvents, f as createCheckoutSession, j as fetchNextEvent, k as fetchOffering, l as fetchOfferings, o as fetchProducts, q as fetchServices, r as fetchUpcomingEvents, s as formatDate, u as formatDateTime, v as formatPrice, x as getOfferingUrl, B as registerForEvent, D as useEventModal } from './useEventModal-NSrCRDlG.mjs';
10
10
  export { RedirectConfig, RedirectRule, clearRedirectCache, fetchRedirectRules, generateNextRedirects, handleManagedRedirects } from './redirects/index.mjs';
11
11
  export { I as ImageApiConfig, a as ImageFile, M as ManagedImage, b as ManagedImageData, c as ManagedImageProps, d as assignImageToSlot, e as clearImageSlot, f as fetchManagedImage, g as fetchManagedImages, l as listImageFiles, u as uploadImage } from './api-l44k92vp.mjs';
12
12
  export { S as SetupWizard } from './SetupWizard-Cki06kB0.mjs';
package/dist/index.d.ts CHANGED
@@ -6,7 +6,7 @@ export { C as ChatConfig, h as EngageElement, W as WidgetConfig } from './types-
6
6
  export { a as FormField, F as FormSubmission, M as ManagedFormConfig } from './types-CYPI3-8j.js';
7
7
  export { e as BlogAuthor, b as BlogCategory, B as BlogPostType } from './types-CMNYdZwT.js';
8
8
  export { e as Cart, f as CartItem, j as CommerceCategory, C as CommerceOffering, c as CommerceSchedule, a as CommerceVariant, O as OfferingType } from './types-Dz2HtHds.js';
9
- export { C as CalendarView, a as CheckoutForm, E as EventCalendar, b as EventEmbed, c as EventModal, d as EventTile, O as OfferingCard, e as OfferingList, P as ProductEmbed, R as RegistrationForm, U as UpcomingEvents, f as createCheckoutSession, j as fetchNextEvent, k as fetchOffering, l as fetchOfferings, n as fetchProducts, p as fetchServices, q as fetchUpcomingEvents, r as formatDate, t as formatDateTime, u as formatPrice, w as getOfferingUrl, A as registerForEvent, B as useEventModal } from './useEventModal-DHO4-xhg.js';
9
+ export { C as CalendarView, a as CheckoutForm, E as EventCalendar, b as EventEmbed, c as EventModal, d as EventTile, O as OfferingCard, e as OfferingList, P as ProductEmbed, R as RegistrationForm, U as UpcomingEvents, f as createCheckoutSession, j as fetchNextEvent, k as fetchOffering, l as fetchOfferings, o as fetchProducts, q as fetchServices, r as fetchUpcomingEvents, s as formatDate, u as formatDateTime, v as formatPrice, x as getOfferingUrl, B as registerForEvent, D as useEventModal } from './useEventModal-BRRT7ZSv.js';
10
10
  export { RedirectConfig, RedirectRule, clearRedirectCache, fetchRedirectRules, generateNextRedirects, handleManagedRedirects } from './redirects/index.js';
11
11
  export { I as ImageApiConfig, a as ImageFile, M as ManagedImage, b as ManagedImageData, c as ManagedImageProps, d as assignImageToSlot, e as clearImageSlot, f as fetchManagedImage, g as fetchManagedImages, l as listImageFiles, u as uploadImage } from './api-l44k92vp.js';
12
12
  export { S as SetupWizard } from './SetupWizard-Cki06kB0.js';
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ var chunkKUGMH4ZF_js = require('./chunk-KUGMH4ZF.js');
4
4
  require('./chunk-KHP4AK3O.js');
5
5
  var chunkUJQ73OS6_js = require('./chunk-UJQ73OS6.js');
6
6
  var chunkVOR53RUR_js = require('./chunk-VOR53RUR.js');
7
- var chunkNQWSKGOX_js = require('./chunk-NQWSKGOX.js');
7
+ var chunkEWXFDSZP_js = require('./chunk-EWXFDSZP.js');
8
8
  var chunkY4BW6XYJ_js = require('./chunk-Y4BW6XYJ.js');
9
9
  var chunk4KKQQRZV_js = require('./chunk-4KKQQRZV.js');
10
10
  var chunkG7RSD56P_js = require('./chunk-G7RSD56P.js');
@@ -2868,99 +2868,99 @@ Object.defineProperty(exports, "getSpeakableSelectorsForPage", {
2868
2868
  });
2869
2869
  Object.defineProperty(exports, "CalendarView", {
2870
2870
  enumerable: true,
2871
- get: function () { return chunkNQWSKGOX_js.CalendarView; }
2871
+ get: function () { return chunkEWXFDSZP_js.CalendarView; }
2872
2872
  });
2873
2873
  Object.defineProperty(exports, "CheckoutForm", {
2874
2874
  enumerable: true,
2875
- get: function () { return chunkNQWSKGOX_js.CheckoutForm; }
2875
+ get: function () { return chunkEWXFDSZP_js.CheckoutForm; }
2876
2876
  });
2877
2877
  Object.defineProperty(exports, "EventCalendar", {
2878
2878
  enumerable: true,
2879
- get: function () { return chunkNQWSKGOX_js.EventCalendar; }
2879
+ get: function () { return chunkEWXFDSZP_js.EventCalendar; }
2880
2880
  });
2881
2881
  Object.defineProperty(exports, "EventEmbed", {
2882
2882
  enumerable: true,
2883
- get: function () { return chunkNQWSKGOX_js.EventEmbed; }
2883
+ get: function () { return chunkEWXFDSZP_js.EventEmbed; }
2884
2884
  });
2885
2885
  Object.defineProperty(exports, "EventModal", {
2886
2886
  enumerable: true,
2887
- get: function () { return chunkNQWSKGOX_js.EventModal; }
2887
+ get: function () { return chunkEWXFDSZP_js.EventModal; }
2888
2888
  });
2889
2889
  Object.defineProperty(exports, "EventTile", {
2890
2890
  enumerable: true,
2891
- get: function () { return chunkNQWSKGOX_js.EventTile; }
2891
+ get: function () { return chunkEWXFDSZP_js.EventTile; }
2892
2892
  });
2893
2893
  Object.defineProperty(exports, "OfferingCard", {
2894
2894
  enumerable: true,
2895
- get: function () { return chunkNQWSKGOX_js.OfferingCard; }
2895
+ get: function () { return chunkEWXFDSZP_js.OfferingCard; }
2896
2896
  });
2897
2897
  Object.defineProperty(exports, "OfferingList", {
2898
2898
  enumerable: true,
2899
- get: function () { return chunkNQWSKGOX_js.OfferingList; }
2899
+ get: function () { return chunkEWXFDSZP_js.OfferingList; }
2900
2900
  });
2901
2901
  Object.defineProperty(exports, "ProductEmbed", {
2902
2902
  enumerable: true,
2903
- get: function () { return chunkNQWSKGOX_js.ProductEmbed; }
2903
+ get: function () { return chunkEWXFDSZP_js.ProductEmbed; }
2904
2904
  });
2905
2905
  Object.defineProperty(exports, "RegistrationForm", {
2906
2906
  enumerable: true,
2907
- get: function () { return chunkNQWSKGOX_js.RegistrationForm; }
2907
+ get: function () { return chunkEWXFDSZP_js.RegistrationForm; }
2908
2908
  });
2909
2909
  Object.defineProperty(exports, "UpcomingEvents", {
2910
2910
  enumerable: true,
2911
- get: function () { return chunkNQWSKGOX_js.UpcomingEvents; }
2911
+ get: function () { return chunkEWXFDSZP_js.UpcomingEvents; }
2912
2912
  });
2913
2913
  Object.defineProperty(exports, "createCheckoutSession", {
2914
2914
  enumerable: true,
2915
- get: function () { return chunkNQWSKGOX_js.createCheckoutSession; }
2915
+ get: function () { return chunkEWXFDSZP_js.createCheckoutSession; }
2916
2916
  });
2917
2917
  Object.defineProperty(exports, "fetchNextEvent", {
2918
2918
  enumerable: true,
2919
- get: function () { return chunkNQWSKGOX_js.fetchNextEvent; }
2919
+ get: function () { return chunkEWXFDSZP_js.fetchNextEvent; }
2920
2920
  });
2921
2921
  Object.defineProperty(exports, "fetchOffering", {
2922
2922
  enumerable: true,
2923
- get: function () { return chunkNQWSKGOX_js.fetchOffering; }
2923
+ get: function () { return chunkEWXFDSZP_js.fetchOffering; }
2924
2924
  });
2925
2925
  Object.defineProperty(exports, "fetchOfferings", {
2926
2926
  enumerable: true,
2927
- get: function () { return chunkNQWSKGOX_js.fetchOfferings; }
2927
+ get: function () { return chunkEWXFDSZP_js.fetchOfferings; }
2928
2928
  });
2929
2929
  Object.defineProperty(exports, "fetchProducts", {
2930
2930
  enumerable: true,
2931
- get: function () { return chunkNQWSKGOX_js.fetchProducts; }
2931
+ get: function () { return chunkEWXFDSZP_js.fetchProducts; }
2932
2932
  });
2933
2933
  Object.defineProperty(exports, "fetchServices", {
2934
2934
  enumerable: true,
2935
- get: function () { return chunkNQWSKGOX_js.fetchServices; }
2935
+ get: function () { return chunkEWXFDSZP_js.fetchServices; }
2936
2936
  });
2937
2937
  Object.defineProperty(exports, "fetchUpcomingEvents", {
2938
2938
  enumerable: true,
2939
- get: function () { return chunkNQWSKGOX_js.fetchUpcomingEvents; }
2939
+ get: function () { return chunkEWXFDSZP_js.fetchUpcomingEvents; }
2940
2940
  });
2941
2941
  Object.defineProperty(exports, "formatDate", {
2942
2942
  enumerable: true,
2943
- get: function () { return chunkNQWSKGOX_js.formatDate; }
2943
+ get: function () { return chunkEWXFDSZP_js.formatDate; }
2944
2944
  });
2945
2945
  Object.defineProperty(exports, "formatDateTime", {
2946
2946
  enumerable: true,
2947
- get: function () { return chunkNQWSKGOX_js.formatDateTime; }
2947
+ get: function () { return chunkEWXFDSZP_js.formatDateTime; }
2948
2948
  });
2949
2949
  Object.defineProperty(exports, "formatPrice", {
2950
2950
  enumerable: true,
2951
- get: function () { return chunkNQWSKGOX_js.formatPrice; }
2951
+ get: function () { return chunkEWXFDSZP_js.formatPrice; }
2952
2952
  });
2953
2953
  Object.defineProperty(exports, "getOfferingUrl", {
2954
2954
  enumerable: true,
2955
- get: function () { return chunkNQWSKGOX_js.getOfferingUrl; }
2955
+ get: function () { return chunkEWXFDSZP_js.getOfferingUrl; }
2956
2956
  });
2957
2957
  Object.defineProperty(exports, "registerForEvent", {
2958
2958
  enumerable: true,
2959
- get: function () { return chunkNQWSKGOX_js.registerForEvent; }
2959
+ get: function () { return chunkEWXFDSZP_js.registerForEvent; }
2960
2960
  });
2961
2961
  Object.defineProperty(exports, "useEventModal", {
2962
2962
  enumerable: true,
2963
- get: function () { return chunkNQWSKGOX_js.useEventModal; }
2963
+ get: function () { return chunkEWXFDSZP_js.useEventModal; }
2964
2964
  });
2965
2965
  Object.defineProperty(exports, "SetupWizard", {
2966
2966
  enumerable: true,
package/dist/index.mjs CHANGED
@@ -2,7 +2,7 @@ export { ManagedImage, assignImageToSlot, clearImageSlot, fetchManagedImage, fet
2
2
  import './chunk-CSB2IVNY.mjs';
3
3
  export { TestimonialSection, fetchReviewStats, fetchReviews } from './chunk-QD66FTXZ.mjs';
4
4
  export { AEOBlock, AEOCitedContent, AEOClaim, AEOComparison, AEODefinition, AEOEntity, AEOProvenanceList, AEOStep, AEOSteps, AEOSummary, DEFAULT_SPEAKABLE_SELECTORS, SpeakableSchema, createLLMsFullTxtHandler, createLLMsTxtHandler, createSpeakableSchema, generateLLMsFullTxt, generateLLMsTxt, getBusinessInfo, getFAQItems as getLLMFAQItems, getServices as getLLMServices, getLLMsData, getPageSummaries, getSpeakableSelectorsForPage } from './chunk-CG53ASWX.mjs';
5
- export { CalendarView, CheckoutForm, EventCalendar, EventEmbed, EventModal, EventTile, OfferingCard, OfferingList, ProductEmbed, RegistrationForm, UpcomingEvents, createCheckoutSession, fetchNextEvent, fetchOffering, fetchOfferings, fetchProducts, fetchServices, fetchUpcomingEvents, formatDate, formatDateTime, formatPrice, getOfferingUrl, registerForEvent, useEventModal } from './chunk-CNPLYTFZ.mjs';
5
+ export { CalendarView, CheckoutForm, EventCalendar, EventEmbed, EventModal, EventTile, OfferingCard, OfferingList, ProductEmbed, RegistrationForm, UpcomingEvents, createCheckoutSession, fetchNextEvent, fetchOffering, fetchOfferings, fetchProducts, fetchServices, fetchUpcomingEvents, formatDate, formatDateTime, formatPrice, getOfferingUrl, registerForEvent, useEventModal } from './chunk-35ZB446O.mjs';
6
6
  export { SetupWizard } from './chunk-X66VOCWP.mjs';
7
7
  export { clearRedirectCache, fetchRedirectRules, generateNextRedirects, handleManagedRedirects } from './chunk-ASVFZY6X.mjs';
8
8
  import { SitemapSync } from './chunk-BQOFRBGZ.mjs';
File without changes
@@ -73,7 +73,21 @@ interface CreateCheckoutOptions {
73
73
  customer?: CheckoutCustomer;
74
74
  successUrl?: string;
75
75
  cancelUrl?: string;
76
+ /** Square card nonce from Web Payments SDK for inline card collection (no redirect) */
77
+ sourceId?: string;
76
78
  }
79
+ interface ProcessorConfig {
80
+ processor: 'stripe' | 'square' | null;
81
+ squareAppId?: string;
82
+ squareLocationId?: string;
83
+ squareEnvironment?: string;
84
+ stripePublishableKey?: string;
85
+ }
86
+ /**
87
+ * Fetch client-side SDK config for the active payment processor.
88
+ * Returns public-safe values (app IDs, location IDs) for SDK initialization.
89
+ */
90
+ declare function fetchProcessorConfig(): Promise<ProcessorConfig | null>;
77
91
  /**
78
92
  * Create a checkout session for a product or service
79
93
  * Supports both Stripe and Square based on project configuration
@@ -211,4 +225,4 @@ interface UseEventModalReturn {
211
225
  }
212
226
  declare function useEventModal(): UseEventModalReturn;
213
227
 
214
- export { registerForEvent as A, useEventModal as B, CalendarView as C, EventCalendar as E, OfferingCard as O, ProductEmbed as P, RegistrationForm as R, UpcomingEvents as U, CheckoutForm as a, EventEmbed as b, EventModal as c, EventTile as d, OfferingList as e, createCheckoutSession as f, fetchActiveProcessor as g, fetchCategories as h, fetchLatestOffering as i, fetchNextEvent as j, fetchOffering as k, fetchOfferings as l, fetchProductBySlug as m, fetchProducts as n, fetchProductsPublic as o, fetchServices as p, fetchUpcomingEvents as q, formatDate as r, formatDateRange as s, formatDateTime as t, formatPrice as u, formatTime as v, getOfferingUrl as w, getRelativeTimeUntil as x, getSpotsRemaining as y, isEventSoldOut as z };
228
+ export { isEventSoldOut as A, registerForEvent as B, CalendarView as C, useEventModal as D, EventCalendar as E, OfferingCard as O, ProductEmbed as P, RegistrationForm as R, UpcomingEvents as U, CheckoutForm as a, EventEmbed as b, EventModal as c, EventTile as d, OfferingList as e, createCheckoutSession as f, fetchActiveProcessor as g, fetchCategories as h, fetchLatestOffering as i, fetchNextEvent as j, fetchOffering as k, fetchOfferings as l, fetchProcessorConfig as m, fetchProductBySlug as n, fetchProducts as o, fetchProductsPublic as p, fetchServices as q, fetchUpcomingEvents as r, formatDate as s, formatDateRange as t, formatDateTime as u, formatPrice as v, formatTime as w, getOfferingUrl as x, getRelativeTimeUntil as y, getSpotsRemaining as z };
@@ -73,7 +73,21 @@ interface CreateCheckoutOptions {
73
73
  customer?: CheckoutCustomer;
74
74
  successUrl?: string;
75
75
  cancelUrl?: string;
76
+ /** Square card nonce from Web Payments SDK for inline card collection (no redirect) */
77
+ sourceId?: string;
76
78
  }
79
+ interface ProcessorConfig {
80
+ processor: 'stripe' | 'square' | null;
81
+ squareAppId?: string;
82
+ squareLocationId?: string;
83
+ squareEnvironment?: string;
84
+ stripePublishableKey?: string;
85
+ }
86
+ /**
87
+ * Fetch client-side SDK config for the active payment processor.
88
+ * Returns public-safe values (app IDs, location IDs) for SDK initialization.
89
+ */
90
+ declare function fetchProcessorConfig(): Promise<ProcessorConfig | null>;
77
91
  /**
78
92
  * Create a checkout session for a product or service
79
93
  * Supports both Stripe and Square based on project configuration
@@ -211,4 +225,4 @@ interface UseEventModalReturn {
211
225
  }
212
226
  declare function useEventModal(): UseEventModalReturn;
213
227
 
214
- export { registerForEvent as A, useEventModal as B, CalendarView as C, EventCalendar as E, OfferingCard as O, ProductEmbed as P, RegistrationForm as R, UpcomingEvents as U, CheckoutForm as a, EventEmbed as b, EventModal as c, EventTile as d, OfferingList as e, createCheckoutSession as f, fetchActiveProcessor as g, fetchCategories as h, fetchLatestOffering as i, fetchNextEvent as j, fetchOffering as k, fetchOfferings as l, fetchProductBySlug as m, fetchProducts as n, fetchProductsPublic as o, fetchServices as p, fetchUpcomingEvents as q, formatDate as r, formatDateRange as s, formatDateTime as t, formatPrice as u, formatTime as v, getOfferingUrl as w, getRelativeTimeUntil as x, getSpotsRemaining as y, isEventSoldOut as z };
228
+ export { isEventSoldOut as A, registerForEvent as B, CalendarView as C, useEventModal as D, EventCalendar as E, OfferingCard as O, ProductEmbed as P, RegistrationForm as R, UpcomingEvents as U, CheckoutForm as a, EventEmbed as b, EventModal as c, EventTile as d, OfferingList as e, createCheckoutSession as f, fetchActiveProcessor as g, fetchCategories as h, fetchLatestOffering as i, fetchNextEvent as j, fetchOffering as k, fetchOfferings as l, fetchProcessorConfig as m, fetchProductBySlug as n, fetchProducts as o, fetchProductsPublic as p, fetchServices as q, fetchUpcomingEvents as r, formatDate as s, formatDateRange as t, formatDateTime as u, formatPrice as v, formatTime as w, getOfferingUrl as x, getRelativeTimeUntil as y, getSpotsRemaining as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uptrademedia/site-kit",
3
- "version": "1.0.35",
3
+ "version": "1.0.37",
4
4
  "description": "Complete client-side integration kit for Uptrade Portal - SEO, Analytics, Engage, Forms, Blog",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",
@@ -112,12 +112,6 @@
112
112
  "dist",
113
113
  "README.md"
114
114
  ],
115
- "scripts": {
116
- "build": "tsup",
117
- "dev": "tsup --watch",
118
- "clean": "rm -rf dist",
119
- "typecheck": "tsc --noEmit"
120
- },
121
115
  "peerDependencies": {
122
116
  "next": "^14.0.0 || ^15.0.0 || ^16.0.0",
123
117
  "react": "^18.0.0 || ^19.0.0",
@@ -156,5 +150,11 @@
156
150
  "blog",
157
151
  "nextjs",
158
152
  "react"
159
- ]
160
- }
153
+ ],
154
+ "scripts": {
155
+ "build": "tsup",
156
+ "dev": "tsup --watch",
157
+ "clean": "rm -rf dist",
158
+ "typecheck": "tsc --noEmit"
159
+ }
160
+ }