@burdenoff/website-sdk 2026.824.2 → 2026.828.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/README.md +88 -0
- package/dist/client/index.d.mts +2 -3
- package/dist/client/index.d.ts +2 -3
- package/dist/client/index.js +13 -7
- package/dist/client/index.js.map +1 -1
- package/dist/client/index.mjs +13 -7
- package/dist/client/index.mjs.map +1 -1
- package/dist/components/contact.d.mts +2 -2
- package/dist/components/contact.d.ts +2 -2
- package/dist/components/contact.js +13 -7
- package/dist/components/contact.js.map +1 -1
- package/dist/components/contact.mjs +13 -7
- package/dist/components/contact.mjs.map +1 -1
- package/dist/components/electron-download.d.mts +2 -2
- package/dist/components/electron-download.d.ts +2 -2
- package/dist/components/explore-cta.d.mts +26 -0
- package/dist/components/explore-cta.d.ts +26 -0
- package/dist/components/explore-cta.js +95 -0
- package/dist/components/explore-cta.js.map +1 -0
- package/dist/components/explore-cta.mjs +93 -0
- package/dist/components/explore-cta.mjs.map +1 -0
- package/dist/components/explore.d.mts +43 -0
- package/dist/components/explore.d.ts +43 -0
- package/dist/components/explore.js +2219 -0
- package/dist/components/explore.js.map +1 -0
- package/dist/components/explore.mjs +2193 -0
- package/dist/components/explore.mjs.map +1 -0
- package/dist/components/launch-countdown.d.mts +2 -2
- package/dist/components/launch-countdown.d.ts +2 -2
- package/dist/components/newsletter.d.mts +3 -3
- package/dist/components/newsletter.d.ts +3 -3
- package/dist/components/newsletter.js +13 -7
- package/dist/components/newsletter.js.map +1 -1
- package/dist/components/newsletter.mjs +13 -7
- package/dist/components/newsletter.mjs.map +1 -1
- package/dist/components/partners.d.mts +2 -2
- package/dist/components/partners.d.ts +2 -2
- package/dist/components/partners.js +13 -7
- package/dist/components/partners.js.map +1 -1
- package/dist/components/partners.mjs +13 -7
- package/dist/components/partners.mjs.map +1 -1
- package/dist/components/pricing.d.mts +3 -3
- package/dist/components/pricing.d.ts +3 -3
- package/dist/components/pricing.js +13 -7
- package/dist/components/pricing.js.map +1 -1
- package/dist/components/pricing.mjs +13 -7
- package/dist/components/pricing.mjs.map +1 -1
- package/dist/components/problems-solved.d.mts +2 -2
- package/dist/components/problems-solved.d.ts +2 -2
- package/dist/components/resource-links.d.mts +2 -2
- package/dist/components/resource-links.d.ts +2 -2
- package/dist/components/resource-links.js +13 -7
- package/dist/components/resource-links.js.map +1 -1
- package/dist/components/resource-links.mjs +13 -7
- package/dist/components/resource-links.mjs.map +1 -1
- package/dist/components/social-links.d.mts +2 -2
- package/dist/components/social-links.d.ts +2 -2
- package/dist/components/social-links.js +13 -7
- package/dist/components/social-links.js.map +1 -1
- package/dist/components/social-links.mjs +13 -7
- package/dist/components/social-links.mjs.map +1 -1
- package/dist/components/unsubscribe.d.mts +2 -2
- package/dist/components/unsubscribe.d.ts +2 -2
- package/dist/components/unsubscribe.js +13 -7
- package/dist/components/unsubscribe.js.map +1 -1
- package/dist/components/unsubscribe.mjs +13 -7
- package/dist/components/unsubscribe.mjs.map +1 -1
- package/dist/components/waitlist.d.mts +3 -3
- package/dist/components/waitlist.d.ts +3 -3
- package/dist/components/waitlist.js +13 -7
- package/dist/components/waitlist.js.map +1 -1
- package/dist/components/waitlist.mjs +13 -7
- package/dist/components/waitlist.mjs.map +1 -1
- package/dist/components/website-switcher.d.mts +2 -2
- package/dist/components/website-switcher.d.ts +2 -2
- package/dist/content/index.d.mts +2 -3
- package/dist/content/index.d.ts +2 -3
- package/dist/content/index.js +13 -7
- package/dist/content/index.js.map +1 -1
- package/dist/content/index.mjs +13 -7
- package/dist/content/index.mjs.map +1 -1
- package/dist/{graphql-client-Cv6TO6hn.d.mts → graphql-client-BXn6RYV0.d.mts} +31 -4
- package/dist/{graphql-client-Cv6TO6hn.d.ts → graphql-client-BXn6RYV0.d.ts} +31 -4
- package/dist/hooks/index.d.mts +1 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +1145 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/hooks/index.mjs +1140 -0
- package/dist/hooks/index.mjs.map +1 -0
- package/dist/{index-CFsUFxYo.d.ts → index-BXg7cQLm.d.ts} +11 -11
- package/dist/index-CUJTTlYx.d.mts +244 -0
- package/dist/index-CUJTTlYx.d.ts +244 -0
- package/dist/{index-CuMRiKGB.d.mts → index-DYxQiEm5.d.mts} +11 -11
- package/dist/index.d.mts +17 -15
- package/dist/index.d.ts +17 -15
- package/dist/index.js +1987 -426
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1977 -428
- package/dist/index.mjs.map +1 -1
- package/dist/product/index.d.mts +2 -2
- package/dist/product/index.d.ts +2 -2
- package/dist/product/index.js +13 -7
- package/dist/product/index.js.map +1 -1
- package/dist/product/index.mjs +13 -7
- package/dist/product/index.mjs.map +1 -1
- package/dist/{product-card-DL9O3Ez9.d.mts → product-card-CGxETsFa.d.mts} +7 -7
- package/dist/{product-card-DL9O3Ez9.d.ts → product-card-CGxETsFa.d.ts} +7 -7
- package/dist/{provider-D-Do5PmD.d.ts → provider-CUfI8meE.d.mts} +3 -3
- package/dist/{provider-BhsbxVPo.d.mts → provider-D_uUM7_e.d.ts} +3 -3
- package/dist/seo/index.d.mts +2 -2
- package/dist/seo/index.d.ts +2 -2
- package/dist/store/index.d.mts +3 -3
- package/dist/store/index.d.ts +3 -3
- package/dist/store/index.js +13 -7
- package/dist/store/index.js.map +1 -1
- package/dist/store/index.mjs +13 -7
- package/dist/store/index.mjs.map +1 -1
- package/dist/utils/index.d.mts +49 -1
- package/dist/utils/index.d.ts +49 -1
- package/dist/utils/index.js +70 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/index.mjs +68 -1
- package/dist/utils/index.mjs.map +1 -1
- package/package.json +40 -30
package/dist/store/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { B as BrowseStoreResult, G as GroupedStoreProducts, P as ProductCard, a as ProductCategory, R as RatingDistribution, S as SearchSuggestion, b as StarRating, c as StoreBrowsePage, d as StoreBrowsePageProps, e as StoreFacet, f as StoreFacets, g as StoreHomePage, h as StoreHomePageProps, i as StorePageProps, j as StoreProduct, k as StoreProductDetailPage, l as StoreProductDetailPageProps, m as StoreProductDetails, n as StorePublisher, o as StoreReview, p as StoreTerminology, q as StoreTypeFilter, T as TypeBadge, r as formatDownloads, s as formatPrice } from '../product-card-
|
|
2
|
-
import * as
|
|
1
|
+
export { B as BrowseStoreResult, G as GroupedStoreProducts, P as ProductCard, a as ProductCategory, R as RatingDistribution, S as SearchSuggestion, b as StarRating, c as StoreBrowsePage, d as StoreBrowsePageProps, e as StoreFacet, f as StoreFacets, g as StoreHomePage, h as StoreHomePageProps, i as StorePageProps, j as StoreProduct, k as StoreProductDetailPage, l as StoreProductDetailPageProps, m as StoreProductDetails, n as StorePublisher, o as StoreReview, p as StoreTerminology, q as StoreTypeFilter, T as TypeBadge, r as formatDownloads, s as formatPrice } from '../product-card-CGxETsFa.js';
|
|
2
|
+
import * as react from 'react';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* WorkflowEmbed — iframe wrapper around the FluidGrids public read-only
|
|
@@ -25,6 +25,6 @@ interface WorkflowEmbedProps {
|
|
|
25
25
|
/** Called when the viewer reports it could not load the workflow */
|
|
26
26
|
onError?: (message: string) => void;
|
|
27
27
|
}
|
|
28
|
-
declare function WorkflowEmbed({ appUrl, productId, theme, clickToInteract, hideCta, className, onError, }: WorkflowEmbedProps):
|
|
28
|
+
declare function WorkflowEmbed({ appUrl, productId, theme, clickToInteract, hideCta, className, onError, }: WorkflowEmbedProps): react.JSX.Element | null;
|
|
29
29
|
|
|
30
30
|
export { WorkflowEmbed, type WorkflowEmbedProps };
|
package/dist/store/index.js
CHANGED
|
@@ -284,9 +284,15 @@ var _WebSDKClient = class _WebSDKClient {
|
|
|
284
284
|
return this.config;
|
|
285
285
|
}
|
|
286
286
|
/**
|
|
287
|
-
* Execute a GraphQL query (with deduplication and caching)
|
|
287
|
+
* Execute a GraphQL query (with deduplication and caching).
|
|
288
|
+
*
|
|
289
|
+
* Pass `{ cache: false }` to bypass the cache entirely — required for poll
|
|
290
|
+
* loops, where every tick must reach the network.
|
|
288
291
|
*/
|
|
289
|
-
async query(query, variables) {
|
|
292
|
+
async query(query, variables, options) {
|
|
293
|
+
if (options?.cache === false) {
|
|
294
|
+
return this.request(query, variables, true, options.timeoutMs);
|
|
295
|
+
}
|
|
290
296
|
const cacheKey = JSON.stringify({ query, variables });
|
|
291
297
|
const cached = this.queryCache.get(cacheKey);
|
|
292
298
|
if (cached) {
|
|
@@ -299,7 +305,7 @@ var _WebSDKClient = class _WebSDKClient {
|
|
|
299
305
|
if (existing) {
|
|
300
306
|
return existing;
|
|
301
307
|
}
|
|
302
|
-
const promise = this.request(query, variables).then((result) => {
|
|
308
|
+
const promise = this.request(query, variables, true, options?.timeoutMs).then((result) => {
|
|
303
309
|
if (result.data && !result.errors?.length) {
|
|
304
310
|
if (this.queryCache.size >= _WebSDKClient.MAX_CACHE_ENTRIES) {
|
|
305
311
|
const oldestEntry = this.queryCache.keys().next().value;
|
|
@@ -319,8 +325,8 @@ var _WebSDKClient = class _WebSDKClient {
|
|
|
319
325
|
/**
|
|
320
326
|
* Execute a GraphQL mutation
|
|
321
327
|
*/
|
|
322
|
-
async mutate(mutation, variables) {
|
|
323
|
-
return this.request(mutation, variables, false);
|
|
328
|
+
async mutate(mutation, variables, options) {
|
|
329
|
+
return this.request(mutation, variables, false, options?.timeoutMs);
|
|
324
330
|
}
|
|
325
331
|
/** HTTP statuses worth another attempt — transient server/edge conditions. */
|
|
326
332
|
static isRetriableStatus(status) {
|
|
@@ -391,8 +397,8 @@ var _WebSDKClient = class _WebSDKClient {
|
|
|
391
397
|
clearTimeout(timer);
|
|
392
398
|
}
|
|
393
399
|
}
|
|
394
|
-
async request(query, variables, retry = true) {
|
|
395
|
-
const timeoutMs = this.config.timeoutMs ?? _WebSDKClient.DEFAULT_TIMEOUT_MS;
|
|
400
|
+
async request(query, variables, retry = true, timeoutOverrideMs) {
|
|
401
|
+
const timeoutMs = timeoutOverrideMs ?? this.config.timeoutMs ?? _WebSDKClient.DEFAULT_TIMEOUT_MS;
|
|
396
402
|
const maxRetries = retry ? this.config.maxRetries ?? _WebSDKClient.DEFAULT_MAX_RETRIES : 0;
|
|
397
403
|
let last;
|
|
398
404
|
for (let i = 0; i <= maxRetries; i++) {
|