@businessdash/sdk 0.9.80 → 0.9.90

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.
Files changed (264) hide show
  1. package/README.md +133 -949
  2. package/assets/{biab-sw.js → bd-sw.js} +2 -2
  3. package/dist/account-core/index.d.ts +1 -1
  4. package/dist/account-core/index.d.ts.map +1 -1
  5. package/dist/adapters-revalidate.d.ts +2 -2
  6. package/dist/adapters-revalidate.js +2 -2
  7. package/dist/adapters-revalidate.js.map +1 -1
  8. package/dist/analytics-core.d.ts +6 -6
  9. package/dist/analytics-core.d.ts.map +1 -1
  10. package/dist/analytics-core.js +4 -4
  11. package/dist/analytics-core.js.map +1 -1
  12. package/dist/analytics-server.d.ts +6 -6
  13. package/dist/analytics-server.d.ts.map +1 -1
  14. package/dist/analytics-server.js +5 -5
  15. package/dist/auth-handler.d.ts +14 -14
  16. package/dist/auth-handler.d.ts.map +1 -1
  17. package/dist/auth-handler.js +16 -16
  18. package/dist/auth-handler.js.map +1 -1
  19. package/dist/auth-links.d.ts +2 -2
  20. package/dist/auth-links.d.ts.map +1 -1
  21. package/dist/auth-links.js +2 -2
  22. package/dist/auth-links.js.map +1 -1
  23. package/dist/{biab-forms.css → bd-forms.css} +158 -158
  24. package/dist/cli.d.ts +4 -4
  25. package/dist/cli.js +78 -78
  26. package/dist/cli.js.map +1 -1
  27. package/dist/client.d.ts +158 -147
  28. package/dist/client.d.ts.map +1 -1
  29. package/dist/client.js +156 -137
  30. package/dist/client.js.map +1 -1
  31. package/dist/consent-core/index.cjs +2 -2
  32. package/dist/consent-core/index.d.ts +2 -2
  33. package/dist/consent-core/index.d.ts.map +1 -1
  34. package/dist/consent-core/index.js +10 -8
  35. package/dist/consent-core/index.js.map +1 -1
  36. package/dist/contracts.d.ts +411 -52
  37. package/dist/contracts.d.ts.map +1 -1
  38. package/dist/contracts.js +89 -15
  39. package/dist/contracts.js.map +1 -1
  40. package/dist/data-model-schema.d.ts +15 -15
  41. package/dist/data-model-schema.d.ts.map +1 -1
  42. package/dist/data-model-schema.js +19 -17
  43. package/dist/data-model-schema.js.map +1 -1
  44. package/dist/distribution.d.ts +5 -5
  45. package/dist/distribution.d.ts.map +1 -1
  46. package/dist/distribution.js +4 -4
  47. package/dist/element.d.ts +36 -36
  48. package/dist/element.d.ts.map +1 -1
  49. package/dist/element.js +43 -43
  50. package/dist/element.js.map +1 -1
  51. package/dist/embed-protocol.d.ts +11 -11
  52. package/dist/embed-protocol.d.ts.map +1 -1
  53. package/dist/embed-protocol.js +1 -1
  54. package/dist/embed-protocol.js.map +1 -1
  55. package/dist/errors.d.ts +15 -15
  56. package/dist/errors.d.ts.map +1 -1
  57. package/dist/errors.js +18 -18
  58. package/dist/errors.js.map +1 -1
  59. package/dist/forms-core/autocomplete.d.ts +3 -3
  60. package/dist/forms-core/autocomplete.d.ts.map +1 -1
  61. package/dist/forms-core/autocomplete.js +2 -2
  62. package/dist/forms-core/controller.d.ts +10 -10
  63. package/dist/forms-core/controller.d.ts.map +1 -1
  64. package/dist/forms-core/controller.js +4 -4
  65. package/dist/forms-core/controller.js.map +1 -1
  66. package/dist/forms-core/elements.d.ts +4 -4
  67. package/dist/forms-core/elements.d.ts.map +1 -1
  68. package/dist/forms-core/elements.js +7 -7
  69. package/dist/forms-core/elements.js.map +1 -1
  70. package/dist/forms-core/formula.d.ts +1 -1
  71. package/dist/forms-core/formula.js +1 -1
  72. package/dist/forms-core/index.d.ts +6 -6
  73. package/dist/forms-core/index.d.ts.map +1 -1
  74. package/dist/forms-core/index.js +5 -5
  75. package/dist/forms-core/index.js.map +1 -1
  76. package/dist/forms-core/units.d.ts +1 -1
  77. package/dist/forms-core/units.js +1 -1
  78. package/dist/forms-core/us-states.d.ts +1 -1
  79. package/dist/forms-core/us-states.js +1 -1
  80. package/dist/forms-core/validation.d.ts +12 -3
  81. package/dist/forms-core/validation.d.ts.map +1 -1
  82. package/dist/forms-core/validation.js +152 -17
  83. package/dist/forms-core/validation.js.map +1 -1
  84. package/dist/forms.d.ts +2 -2
  85. package/dist/forms.d.ts.map +1 -1
  86. package/dist/forms.js +2 -2
  87. package/dist/forms.js.map +1 -1
  88. package/dist/framework-support.js +1 -1
  89. package/dist/framework-support.js.map +1 -1
  90. package/dist/gallery-types.d.ts +1 -1
  91. package/dist/graphql.d.ts +3 -3
  92. package/dist/graphql.d.ts.map +1 -1
  93. package/dist/graphql.js +3 -3
  94. package/dist/graphql.js.map +1 -1
  95. package/dist/index.cjs +351 -272
  96. package/dist/index.d.cts +5 -5
  97. package/dist/index.d.mts +5 -5
  98. package/dist/index.d.ts +5 -5
  99. package/dist/index.d.ts.map +1 -1
  100. package/dist/index.js +5 -5
  101. package/dist/index.js.map +1 -1
  102. package/dist/legal-core/index.cjs +8 -8
  103. package/dist/legal-core/index.d.ts +3 -3
  104. package/dist/legal-core/index.d.ts.map +1 -1
  105. package/dist/legal-core/index.js +11 -11
  106. package/dist/legal-core/index.js.map +1 -1
  107. package/dist/marketing-core/index.d.ts +51 -1
  108. package/dist/marketing-core/index.d.ts.map +1 -1
  109. package/dist/marketing-core/index.js +35 -0
  110. package/dist/marketing-core/index.js.map +1 -1
  111. package/dist/marketing-schema.d.ts +9 -9
  112. package/dist/marketing-schema.d.ts.map +1 -1
  113. package/dist/marketing-schema.js +1 -1
  114. package/dist/mcp.d.ts +4 -4
  115. package/dist/mcp.js +4 -4
  116. package/dist/native.d.ts +6 -6
  117. package/dist/native.d.ts.map +1 -1
  118. package/dist/native.js +4 -4
  119. package/dist/native.js.map +1 -1
  120. package/dist/next-revalidate.d.ts +8 -8
  121. package/dist/next-revalidate.d.ts.map +1 -1
  122. package/dist/next-revalidate.js +7 -7
  123. package/dist/next-revalidate.js.map +1 -1
  124. package/dist/notifications-core/index.d.ts +1 -1
  125. package/dist/notifications-core/index.js +1 -1
  126. package/dist/parallel-pages.d.ts +4 -4
  127. package/dist/parallel-pages.d.ts.map +1 -1
  128. package/dist/parallel-pages.js +5 -5
  129. package/dist/parallel-pages.js.map +1 -1
  130. package/dist/portal-core/index.d.ts +1 -1
  131. package/dist/portal-core/index.js +1 -1
  132. package/dist/proxy.d.ts +18 -18
  133. package/dist/proxy.d.ts.map +1 -1
  134. package/dist/proxy.js +10 -10
  135. package/dist/proxy.js.map +1 -1
  136. package/dist/push-core/index.cjs +6 -2
  137. package/dist/push-core/index.d.ts +1 -1
  138. package/dist/push-core/index.d.ts.map +1 -1
  139. package/dist/push-core/index.js +6 -2
  140. package/dist/push-core/index.js.map +1 -1
  141. package/dist/react-analytics.d.ts +14 -14
  142. package/dist/react-analytics.d.ts.map +1 -1
  143. package/dist/react-analytics.js +15 -15
  144. package/dist/react-analytics.js.map +1 -1
  145. package/dist/react-attribution.d.ts +2 -2
  146. package/dist/react-attribution.d.ts.map +1 -1
  147. package/dist/react-attribution.js +1 -1
  148. package/dist/react-marketing.js +5 -5
  149. package/dist/react-marketing.js.map +1 -1
  150. package/dist/react.d.ts +38 -61
  151. package/dist/react.d.ts.map +1 -1
  152. package/dist/react.js +247 -261
  153. package/dist/react.js.map +1 -1
  154. package/dist/reserved-paths.d.ts +2 -2
  155. package/dist/reserved-paths.js +3 -3
  156. package/dist/reserved-paths.js.map +1 -1
  157. package/dist/revalidate-verify.d.ts +3 -3
  158. package/dist/revalidate-verify.d.ts.map +1 -1
  159. package/dist/revalidate-verify.js +1 -1
  160. package/dist/revalidate-verify.js.map +1 -1
  161. package/dist/sdk.d.ts +51 -45
  162. package/dist/sdk.d.ts.map +1 -1
  163. package/dist/sdk.js +48 -50
  164. package/dist/sdk.js.map +1 -1
  165. package/dist/seed-core/index.js +8 -8
  166. package/dist/seed-core/index.js.map +1 -1
  167. package/dist/seo-core/blog.d.ts +1 -1
  168. package/dist/seo-core/blog.js +1 -1
  169. package/dist/seo-core/blog.js.map +1 -1
  170. package/dist/seo-core/index.cjs +2 -2
  171. package/dist/seo-core/index.js +1 -1
  172. package/dist/seo-core/index.js.map +1 -1
  173. package/dist/seo.d.ts +1 -1
  174. package/dist/seo.d.ts.map +1 -1
  175. package/dist/seo.js +1 -1
  176. package/dist/seo.js.map +1 -1
  177. package/dist/sitemap-core/index.cjs +5 -5
  178. package/dist/sitemap-core/index.d.ts +13 -5
  179. package/dist/sitemap-core/index.d.ts.map +1 -1
  180. package/dist/sitemap-core/index.js +4 -4
  181. package/dist/sitemap-core/index.js.map +1 -1
  182. package/dist/socials.d.ts +6 -6
  183. package/dist/socials.d.ts.map +1 -1
  184. package/dist/socials.js +5 -5
  185. package/dist/socials.js.map +1 -1
  186. package/dist/solid-compat.d.ts +1 -1
  187. package/dist/solid-compat.js +4 -4
  188. package/dist/solid-compat.js.map +1 -1
  189. package/dist/store-core/index.d.ts +1 -1
  190. package/dist/vanilla.d.ts +12 -12
  191. package/dist/vanilla.d.ts.map +1 -1
  192. package/dist/vanilla.js +192 -145
  193. package/dist/vanilla.js.map +1 -1
  194. package/openapi.json +264 -1
  195. package/package.json +8 -8
  196. package/src/account-core/index.ts +1 -1
  197. package/src/adapters-revalidate.ts +3 -3
  198. package/src/analytics-core.ts +8 -8
  199. package/src/analytics-server.ts +6 -6
  200. package/src/angular/{biab-form.component.ts → bd-form.component.ts} +269 -161
  201. package/src/angular/headless.ts +12 -12
  202. package/src/angular/index.ts +9 -9
  203. package/src/auth-handler.ts +22 -22
  204. package/src/auth-links.ts +2 -2
  205. package/src/cli.ts +81 -81
  206. package/src/client.ts +218 -193
  207. package/src/consent-core/index.ts +10 -8
  208. package/src/contracts.ts +99 -15
  209. package/src/data-model-schema.ts +29 -26
  210. package/src/distribution.ts +5 -5
  211. package/src/element.ts +54 -54
  212. package/src/embed-protocol.ts +14 -14
  213. package/src/errors.ts +27 -27
  214. package/src/forms-core/autocomplete.ts +3 -3
  215. package/src/forms-core/controller.ts +12 -12
  216. package/src/forms-core/elements.ts +7 -7
  217. package/src/forms-core/formula.ts +1 -1
  218. package/src/forms-core/index.ts +8 -8
  219. package/src/forms-core/units.ts +1 -1
  220. package/src/forms-core/us-states.ts +1 -1
  221. package/src/forms-core/validation.ts +158 -14
  222. package/src/forms.ts +2 -2
  223. package/src/framework-support.ts +1 -1
  224. package/src/gallery-types.ts +1 -1
  225. package/src/graphql.ts +4 -4
  226. package/src/index.ts +38 -38
  227. package/src/legal-core/index.ts +12 -12
  228. package/src/marketing-core/index.ts +62 -0
  229. package/src/marketing-schema.ts +9 -9
  230. package/src/mcp.ts +4 -4
  231. package/src/native.ts +14 -14
  232. package/src/next-revalidate.ts +10 -10
  233. package/src/notifications-core/index.ts +1 -1
  234. package/src/parallel-pages.ts +6 -6
  235. package/src/portal-core/index.ts +1 -1
  236. package/src/proxy.ts +28 -28
  237. package/src/push-core/index.ts +11 -5
  238. package/src/qwik.tsx +262 -166
  239. package/src/react-analytics.tsx +17 -17
  240. package/src/react-attribution.tsx +2 -2
  241. package/src/react-marketing.tsx +5 -5
  242. package/src/react.tsx +541 -500
  243. package/src/reserved-paths.ts +3 -3
  244. package/src/revalidate-verify.ts +5 -5
  245. package/src/sdk.ts +131 -101
  246. package/src/seed-core/index.ts +8 -8
  247. package/src/seo-core/blog.ts +2 -2
  248. package/src/seo-core/index.ts +1 -1
  249. package/src/seo.ts +1 -1
  250. package/src/sitemap-core/index.ts +17 -9
  251. package/src/socials.ts +6 -6
  252. package/src/solid-compat.tsx +5 -5
  253. package/src/solid-surfaces.tsx +28 -28
  254. package/src/solid.tsx +264 -175
  255. package/src/store-core/index.ts +1 -1
  256. package/src/styles/{biab-forms.css → bd-forms.css} +158 -158
  257. package/src/svelte/{BiabForm.svelte → BdForm.svelte} +240 -173
  258. package/src/svelte/context.ts +16 -16
  259. package/src/svelte/headless.ts +10 -10
  260. package/src/svelte/index.ts +16 -16
  261. package/src/vanilla.ts +250 -169
  262. package/src/vue/{BiabForm.vue → BdForm.vue} +270 -157
  263. package/src/vue/headless.ts +11 -11
  264. package/src/vue/index.ts +26 -26
@@ -1,18 +1,18 @@
1
1
  /**
2
- * Svelte-native glue for `<BiabForm>` — kept in its own module (no `.svelte`
3
- * import) so both `index.ts` and `BiabForm.svelte` can import it without a
2
+ * Svelte-native glue for `<BdForm>` — kept in its own module (no `.svelte`
3
+ * import) so both `index.ts` and `BdForm.svelte` can import it without a
4
4
  * circular dependency through the component.
5
5
  *
6
6
  * • `formStore(controller)` — a Svelte readable store over the controller's
7
7
  * immutable `snapshot()`. The idiomatic reactive primitive for this binding.
8
- * • `setBiabClient` / `getBiabClient` — Svelte context DI for the
9
- * `BiabClient` (the `<BiabProvider>` equivalent).
8
+ * • `setBdClient` / `getBdClient` — Svelte context DI for the
9
+ * `BdClient` (the `<BdProvider>` equivalent).
10
10
  */
11
11
 
12
12
  import { type Readable, readable } from "svelte/store";
13
13
  import { getContext, setContext } from "svelte";
14
14
 
15
- import type { BiabClient } from "../sdk.js";
15
+ import type { BdClient } from "../sdk.js";
16
16
  import type { FormController, FormSnapshot } from "../forms-core/index.js";
17
17
 
18
18
  /**
@@ -32,26 +32,26 @@ export function formStore(controller: FormController): Readable<FormSnapshot> {
32
32
  });
33
33
  }
34
34
 
35
- const BIAB_CLIENT_KEY = Symbol("biab.client");
35
+ const BD_CLIENT_KEY = Symbol("bd.client");
36
36
 
37
37
  /**
38
- * Provide a {@link BiabClient} to every descendant `<BiabForm>` via Svelte
38
+ * Provide a {@link BdClient} to every descendant `<BdForm>` via Svelte
39
39
  * context. Call this in a layout/parent `<script>` so nested forms can omit the
40
- * `client` prop. Mirrors React's `<BiabProvider>` DI.
40
+ * `client` prop. Mirrors React's `<BdProvider>` DI.
41
41
  *
42
- * NOTE: a `BiabClient` carries the org's bearer key, so only set it in a context
42
+ * NOTE: a `BdClient` carries the org's bearer key, so only set it in a context
43
43
  * that never reaches the browser bundle (e.g. a fully server-rendered tree). For
44
44
  * the common SvelteKit pattern, prefer the `schema` + `submitAction` props on
45
- * `<BiabForm>` so the key stays in `$lib/server`.
45
+ * `<BdForm>` so the key stays in `$lib/server`.
46
46
  */
47
- export function setBiabClient(client: BiabClient): void {
48
- setContext(BIAB_CLIENT_KEY, client);
47
+ export function setBdClient(client: BdClient): void {
48
+ setContext(BD_CLIENT_KEY, client);
49
49
  }
50
50
 
51
- /** Read the {@link BiabClient} provided by an ancestor `setBiabClient`, if any. */
52
- export function getBiabClient(): BiabClient | undefined {
53
- return getContext<BiabClient | undefined>(BIAB_CLIENT_KEY);
51
+ /** Read the {@link BdClient} provided by an ancestor `setBdClient`, if any. */
52
+ export function getBdClient(): BdClient | undefined {
53
+ return getContext<BdClient | undefined>(BD_CLIENT_KEY);
54
54
  }
55
55
 
56
56
  /** Context key, exported so advanced consumers can read the same slot. */
57
- export const BIAB_CLIENT_CONTEXT = BIAB_CLIENT_KEY;
57
+ export const BD_CLIENT_CONTEXT = BD_CLIENT_KEY;
@@ -28,7 +28,7 @@ import {
28
28
  type ChatSnapshot,
29
29
  createChatController,
30
30
  } from "../chat-core/index.js";
31
- import { BiabDevClient } from "../client.js";
31
+ import { BdApiClient } from "../client.js";
32
32
  import {
33
33
  createPortalController,
34
34
  type PortalSnapshot,
@@ -59,7 +59,7 @@ import {
59
59
  type CheckoutSnapshot,
60
60
  createCheckoutController,
61
61
  } from "../checkout-core/index.js";
62
- import { createBiabClient } from "../sdk.js";
62
+ import { createBdClient } from "../sdk.js";
63
63
 
64
64
  import type {
65
65
  BlogCommentPostInput,
@@ -132,7 +132,7 @@ export function createStorefront(
132
132
  options: CreateStorefrontOptions,
133
133
  ): StorefrontHandle {
134
134
  const controller = createStoreController({
135
- client: new BiabDevClient({
135
+ client: new BdApiClient({
136
136
  apiKey: options.apiKey,
137
137
  baseUrl: options.baseUrl,
138
138
  }),
@@ -177,7 +177,7 @@ export type ChatHandle = {
177
177
  */
178
178
  export function createChat(options: CreateChatOptions): ChatHandle {
179
179
  const controller = createChatController({
180
- client: new BiabDevClient({
180
+ client: new BdApiClient({
181
181
  apiKey: options.apiKey,
182
182
  baseUrl: options.baseUrl,
183
183
  }),
@@ -211,7 +211,7 @@ export type BlogHandle = {
211
211
  /** Headless blog — the native alternative to `<Blog>`. */
212
212
  export function createBlog(options: CreateBlogOptions): BlogHandle {
213
213
  const controller = createBlogController({
214
- client: new BiabDevClient({
214
+ client: new BdApiClient({
215
215
  apiKey: options.apiKey,
216
216
  baseUrl: options.baseUrl,
217
217
  }),
@@ -241,7 +241,7 @@ export type CreateCheckoutResult = {
241
241
  /** Headless checkout. `start()` mints a session; `redirect()` navigates. */
242
242
  export function createCheckout(options: CreateCheckoutOptions): CreateCheckoutResult {
243
243
  const controller = createCheckoutController({
244
- client: new BiabDevClient({
244
+ client: new BdApiClient({
245
245
  apiKey: options.apiKey,
246
246
  baseUrl: options.baseUrl,
247
247
  }),
@@ -282,7 +282,7 @@ export function createFollowers(
282
282
  options: CreateFollowersOptions,
283
283
  ): CreateFollowersResult {
284
284
  const controller = createFollowersController({
285
- client: createBiabClient({
285
+ client: createBdClient({
286
286
  apiKey: options.token,
287
287
  siteId: options.siteId,
288
288
  ...(options.baseUrl ? { baseUrl: options.baseUrl } : {}),
@@ -318,7 +318,7 @@ export type CreateMarketingOptions = {
318
318
  /** Headless marketing pages — the index, plus one page at a time. */
319
319
  export function createMarketing(options: CreateMarketingOptions) {
320
320
  const controller = createMarketingController({
321
- client: createBiabClient({
321
+ client: createBdClient({
322
322
  apiKey: options.token,
323
323
  siteId: options.siteId,
324
324
  ...(options.baseUrl ? { baseUrl: options.baseUrl } : {}),
@@ -348,7 +348,7 @@ export type CreateVerifyOptions = {
348
348
  export function createVerify(options: CreateVerifyOptions) {
349
349
  const { apiKey, baseUrl, ...rest } = options;
350
350
  const controller = createVerifyController({
351
- client: new BiabDevClient({ apiKey, baseUrl }),
351
+ client: new BdApiClient({ apiKey, baseUrl }),
352
352
  ...rest,
353
353
  });
354
354
  const state = toStore(controller);
@@ -382,7 +382,7 @@ export type CreatePortalOptions = {
382
382
  */
383
383
  export function createPortal(options: CreatePortalOptions) {
384
384
  const controller = createPortalController({
385
- client: new BiabDevClient({
385
+ client: new BdApiClient({
386
386
  apiKey: options.apiKey,
387
387
  baseUrl: options.baseUrl,
388
388
  }),
@@ -1,8 +1,8 @@
1
1
  /**
2
- * `@businessdash/sdk/svelte` — the Svelte 5 `<BiabForm>` drop-in binding.
2
+ * `@businessdash/sdk/svelte` — the Svelte 5 `<BdForm>` drop-in binding.
3
3
  *
4
4
  * Ship mode: SOURCE. This subpath resolves straight to `.svelte` + `.ts`
5
- * source (see `biab-dev/package.json` `"./svelte"`), so the CONSUMER's
5
+ * source (see `sdk/package.json` `"./svelte"`), so the CONSUMER's
6
6
  * `svelte` / `vite-plugin-svelte` toolchain compiles it. Nothing here is
7
7
  * pre-compiled to `dist`.
8
8
  *
@@ -14,29 +14,29 @@
14
14
  * 1. `formStore(controller)` — a Svelte **readable store** over the
15
15
  * controller's `snapshot()`. `$store` gives the live `FormSnapshot` with
16
16
  * fine-grained reactivity.
17
- * 2. A Svelte **context** provider (`setBiabClient` / `getBiabClient`) for
18
- * DI-ing the `BiabClient` — the idiomatic `<BiabProvider>` equivalent.
17
+ * 2. A Svelte **context** provider (`setBdClient` / `getBdClient`) for
18
+ * DI-ing the `BdClient` — the idiomatic `<BdProvider>` equivalent.
19
19
  *
20
- * `<BiabForm>` renders the full field tree (`visibleFields` + nested
20
+ * `<BdForm>` renders the full field tree (`visibleFields` + nested
21
21
  * `children`), applies `schema.settings` (animation, multi-step + progress,
22
- * concurrent reveal, org icon), and uses the `biab-*` light-DOM class
22
+ * concurrent reveal, org icon), and uses the `bd-*` light-DOM class
23
23
  * convention so the org's CSS cascades — a 1:1 match with the dashboard
24
24
  * `FormPreview` renderer.
25
25
  */
26
26
 
27
- export { default as BiabForm } from "./BiabForm.svelte";
27
+ export { default as BdForm } from "./BdForm.svelte";
28
28
  export type {
29
- BiabFormProps,
30
- BiabFormSubmitAction,
31
- BiabFormSuccess,
32
- BiabFormFailure,
33
- } from "./BiabForm.svelte";
29
+ BdFormProps,
30
+ BdFormSubmitAction,
31
+ BdFormSuccess,
32
+ BdFormFailure,
33
+ } from "./BdForm.svelte";
34
34
 
35
35
  export {
36
- BIAB_CLIENT_CONTEXT,
36
+ BD_CLIENT_CONTEXT,
37
37
  formStore,
38
- getBiabClient,
39
- setBiabClient,
38
+ getBdClient,
39
+ setBdClient,
40
40
  } from "./context.js";
41
41
 
42
42
  // Re-export the headless core surface so a Svelte consumer can reach the
@@ -76,7 +76,7 @@ export type {
76
76
  FormValidationResult,
77
77
  FormsResource,
78
78
  } from "../forms-core/index.js";
79
- export type { BiabClient } from "../sdk.js";
79
+ export type { BdClient } from "../sdk.js";
80
80
 
81
81
  // Headless storefront + chat — the native (non-iframe) surfaces.
82
82
  export * from "./headless.js";