@burdenoff/website-sdk 2026.925.3 → 2026.926.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/components/contact.js +8 -0
- package/dist/components/contact.js.map +1 -1
- package/dist/components/contact.mjs +8 -0
- package/dist/components/contact.mjs.map +1 -1
- package/dist/components/explore.js +55 -18
- package/dist/components/explore.js.map +1 -1
- package/dist/components/explore.mjs +55 -18
- package/dist/components/explore.mjs.map +1 -1
- package/dist/components/newsletter.js +8 -0
- package/dist/components/newsletter.js.map +1 -1
- package/dist/components/newsletter.mjs +8 -0
- package/dist/components/newsletter.mjs.map +1 -1
- package/dist/components/partners.js +8 -0
- package/dist/components/partners.js.map +1 -1
- package/dist/components/partners.mjs +8 -0
- package/dist/components/partners.mjs.map +1 -1
- package/dist/components/resource-links.js +8 -0
- package/dist/components/resource-links.js.map +1 -1
- package/dist/components/resource-links.mjs +8 -0
- package/dist/components/resource-links.mjs.map +1 -1
- package/dist/components/social-links.js +8 -0
- package/dist/components/social-links.js.map +1 -1
- package/dist/components/social-links.mjs +8 -0
- package/dist/components/social-links.mjs.map +1 -1
- package/dist/components/waitlist.js +8 -0
- package/dist/components/waitlist.js.map +1 -1
- package/dist/components/waitlist.mjs +8 -0
- package/dist/components/waitlist.mjs.map +1 -1
- package/dist/content/index.js +8 -0
- package/dist/content/index.js.map +1 -1
- package/dist/content/index.mjs +8 -0
- package/dist/content/index.mjs.map +1 -1
- package/dist/hooks/index.js +30 -1
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +30 -1
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +103 -35
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +95 -36
- package/dist/index.mjs.map +1 -1
- package/dist/product/index.d.mts +16 -1
- package/dist/product/index.d.ts +16 -1
- package/dist/product/index.js +61 -17
- package/dist/product/index.js.map +1 -1
- package/dist/product/index.mjs +61 -18
- package/dist/product/index.mjs.map +1 -1
- package/dist/store/index.js +8 -0
- package/dist/store/index.js.map +1 -1
- package/dist/store/index.mjs +8 -0
- package/dist/store/index.mjs.map +1 -1
- package/dist/utils/index.d.mts +41 -1
- package/dist/utils/index.d.ts +41 -1
- package/dist/utils/index.js +42 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/index.mjs +35 -1
- package/dist/utils/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/hooks/index.mjs
CHANGED
|
@@ -424,6 +424,30 @@ var EXPLORE_SHARED_CONVERSATION_QUERY = (
|
|
|
424
424
|
`
|
|
425
425
|
);
|
|
426
426
|
|
|
427
|
+
// src/utils/product-slug.ts
|
|
428
|
+
var PRODUCT_SLUG_RENAMES = Object.freeze(
|
|
429
|
+
[Object.freeze({ legacy: "botlit", current: "botmanor" })]
|
|
430
|
+
);
|
|
431
|
+
Object.freeze(
|
|
432
|
+
Object.fromEntries(PRODUCT_SLUG_RENAMES.map((r) => [r.legacy, r.current]))
|
|
433
|
+
);
|
|
434
|
+
var PRODUCT_SLUG_EMIT = Object.freeze({ productSlug: "legacy" });
|
|
435
|
+
function findRename(slug) {
|
|
436
|
+
const wanted = slug.toLowerCase();
|
|
437
|
+
return PRODUCT_SLUG_RENAMES.find(
|
|
438
|
+
(r) => r.legacy === wanted || r.current === wanted
|
|
439
|
+
);
|
|
440
|
+
}
|
|
441
|
+
function normalizeProductSlug(slug) {
|
|
442
|
+
return findRename(slug)?.current ?? slug;
|
|
443
|
+
}
|
|
444
|
+
function legacyProductSlug(slug) {
|
|
445
|
+
return findRename(slug)?.legacy ?? slug;
|
|
446
|
+
}
|
|
447
|
+
function emitProductSlug(slug) {
|
|
448
|
+
return PRODUCT_SLUG_EMIT.productSlug === "current" ? normalizeProductSlug(slug) : legacyProductSlug(slug);
|
|
449
|
+
}
|
|
450
|
+
|
|
427
451
|
// src/data/products.ts
|
|
428
452
|
var ECOSYSTEM_PRODUCTS = [
|
|
429
453
|
{
|
|
@@ -446,7 +470,12 @@ var ECOSYSTEM_PRODUCTS = [
|
|
|
446
470
|
},
|
|
447
471
|
// BotManor ships on www.botmanor.com (the apex redirects there; the old botlit.ai domain
|
|
448
472
|
// still serves the same site but is no longer the name we link to).
|
|
449
|
-
|
|
473
|
+
// The slug follows the botlit → botmanor rename switch (utils/product-slug.ts).
|
|
474
|
+
{
|
|
475
|
+
slug: emitProductSlug("botmanor"),
|
|
476
|
+
name: "BotManor",
|
|
477
|
+
websiteUrl: "https://www.botmanor.com"
|
|
478
|
+
},
|
|
450
479
|
{
|
|
451
480
|
slug: "bigconsole",
|
|
452
481
|
name: "BigConsole",
|