@burdenoff/website-sdk 2026.925.3 → 2026.927.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 +43 -1
- package/dist/utils/index.d.ts +43 -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.js
CHANGED
|
@@ -426,6 +426,30 @@ var EXPLORE_SHARED_CONVERSATION_QUERY = (
|
|
|
426
426
|
`
|
|
427
427
|
);
|
|
428
428
|
|
|
429
|
+
// src/utils/product-slug.ts
|
|
430
|
+
var PRODUCT_SLUG_RENAMES = Object.freeze(
|
|
431
|
+
[Object.freeze({ legacy: "botlit", current: "botmanor" })]
|
|
432
|
+
);
|
|
433
|
+
Object.freeze(
|
|
434
|
+
Object.fromEntries(PRODUCT_SLUG_RENAMES.map((r) => [r.legacy, r.current]))
|
|
435
|
+
);
|
|
436
|
+
var PRODUCT_SLUG_EMIT = Object.freeze({ productSlug: "current" });
|
|
437
|
+
function findRename(slug) {
|
|
438
|
+
const wanted = slug.toLowerCase();
|
|
439
|
+
return PRODUCT_SLUG_RENAMES.find(
|
|
440
|
+
(r) => r.legacy === wanted || r.current === wanted
|
|
441
|
+
);
|
|
442
|
+
}
|
|
443
|
+
function normalizeProductSlug(slug) {
|
|
444
|
+
return findRename(slug)?.current ?? slug;
|
|
445
|
+
}
|
|
446
|
+
function legacyProductSlug(slug) {
|
|
447
|
+
return findRename(slug)?.legacy ?? slug;
|
|
448
|
+
}
|
|
449
|
+
function emitProductSlug(slug) {
|
|
450
|
+
return PRODUCT_SLUG_EMIT.productSlug === "current" ? normalizeProductSlug(slug) : legacyProductSlug(slug);
|
|
451
|
+
}
|
|
452
|
+
|
|
429
453
|
// src/data/products.ts
|
|
430
454
|
var ECOSYSTEM_PRODUCTS = [
|
|
431
455
|
{
|
|
@@ -448,7 +472,12 @@ var ECOSYSTEM_PRODUCTS = [
|
|
|
448
472
|
},
|
|
449
473
|
// BotManor ships on www.botmanor.com (the apex redirects there; the old botlit.ai domain
|
|
450
474
|
// still serves the same site but is no longer the name we link to).
|
|
451
|
-
|
|
475
|
+
// The slug follows the botlit → botmanor rename switch (utils/product-slug.ts).
|
|
476
|
+
{
|
|
477
|
+
slug: emitProductSlug("botmanor"),
|
|
478
|
+
name: "BotManor",
|
|
479
|
+
websiteUrl: "https://www.botmanor.com"
|
|
480
|
+
},
|
|
452
481
|
{
|
|
453
482
|
slug: "bigconsole",
|
|
454
483
|
name: "BigConsole",
|