@c1m-public/channel-client 0.23.0 → 0.25.0

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.
@@ -1,5 +1,5 @@
1
- import { isChannelAPIError, createChannelClient } from './chunk-HNTW6N5F.js';
2
- import { parseChannelWebhookEvent, isChannelWebhookVerificationError, isChannelWebhookEventType, ChannelConfigurationError } from './chunk-WZXLYXDN.js';
1
+ import { isChannelAPIError, createChannelClient } from './chunk-UX7PRF5Z.js';
2
+ import { parseChannelWebhookEvent, isChannelWebhookVerificationError, isChannelWebhookEventType, ChannelConfigurationError } from './chunk-P3HX34X7.js';
3
3
  import 'server-only';
4
4
 
5
5
  var MAX_AGE_SECONDS = 60 * 60 * 24 * 30;
@@ -1,4 +1,4 @@
1
- import { createChannelClient } from './chunk-HNTW6N5F.js';
1
+ import { createChannelClient } from './chunk-UX7PRF5Z.js';
2
2
  import 'server-only';
3
3
 
4
4
  function narrow(client) {
@@ -9,24 +9,11 @@ function isChannelConfigurationError(error) {
9
9
  return error instanceof ChannelConfigurationError || typeof error === "object" && error !== null && error.name === "ChannelConfigurationError";
10
10
  }
11
11
 
12
+ // src/generated/webhook-events.ts
13
+ var GENERATED_CHANNEL_WEBHOOK_EVENT_TYPES = ["order.created", "order.paid", "order.updated", "order.cancelled", "order.refunded", "lead.created", "review.submitted", "review.published", "page.published", "page.updated", "page.deleted", "menu.updated", "product.created", "product.updated", "product.deleted"];
14
+
12
15
  // src/webhooks.ts
13
- var CHANNEL_WEBHOOK_EVENT_TYPES = [
14
- "order.created",
15
- "order.paid",
16
- "order.updated",
17
- "order.cancelled",
18
- "order.refunded",
19
- "lead.created",
20
- "review.submitted",
21
- "review.published",
22
- "page.published",
23
- "page.updated",
24
- "page.deleted",
25
- "menu.updated",
26
- "product.created",
27
- "product.updated",
28
- "product.deleted"
29
- ];
16
+ var CHANNEL_WEBHOOK_EVENT_TYPES = GENERATED_CHANNEL_WEBHOOK_EVENT_TYPES;
30
17
  function isChannelWebhookEventType(value) {
31
18
  return CHANNEL_WEBHOOK_EVENT_TYPES.includes(value);
32
19
  }
@@ -1,32 +1,8 @@
1
- import { ChannelConfigurationError } from './chunk-WZXLYXDN.js';
1
+ import { ChannelConfigurationError } from './chunk-P3HX34X7.js';
2
2
  import 'server-only';
3
3
 
4
- // ../transport/src/index.ts
4
+ // ../resilience/src/index.ts
5
5
  var RETRYABLE_STATUSES = /* @__PURE__ */ new Set([429, 502, 503, 504]);
6
- var TransportError = class extends Error {
7
- constructor(failure) {
8
- super(failure.message || failure.outcome);
9
- this.failure = failure;
10
- this.name = "TransportError";
11
- }
12
- failure;
13
- };
14
- function isTransportError(error) {
15
- return error instanceof TransportError || typeof error === "object" && error !== null && error.name === "TransportError";
16
- }
17
- function positiveNumber(value, label, fail) {
18
- if (typeof value !== "number" || !Number.isFinite(value) || value <= 0) throw fail(`${label} must be a positive finite number`);
19
- return value;
20
- }
21
- function nonNegativeInteger(value, label, fail) {
22
- if (typeof value !== "number" || !Number.isSafeInteger(value) || value < 0) throw fail(`${label} must be a non-negative safe integer`);
23
- return value;
24
- }
25
- function requiredString(value, label, fail) {
26
- const normalized = typeof value === "string" ? value.trim() : "";
27
- if (!normalized) throw fail(`${label} is required`);
28
- return normalized;
29
- }
30
6
  function backoffDelay(attempt, maxDelayMs) {
31
7
  const base = Math.min(250 * 2 ** Math.max(attempt, 0), maxDelayMs);
32
8
  return Math.floor(Math.random() * base);
@@ -52,6 +28,32 @@ function isRetryableRequest(method, headers, retry) {
52
28
  if (method === "GET") return true;
53
29
  return retry.idempotentWrites === true && headers.has("Idempotency-Key");
54
30
  }
31
+
32
+ // ../transport/src/index.ts
33
+ var TransportError = class extends Error {
34
+ constructor(failure) {
35
+ super(failure.message || failure.outcome);
36
+ this.failure = failure;
37
+ this.name = "TransportError";
38
+ }
39
+ failure;
40
+ };
41
+ function isTransportError(error) {
42
+ return error instanceof TransportError || typeof error === "object" && error !== null && error.name === "TransportError";
43
+ }
44
+ function positiveNumber(value, label, fail) {
45
+ if (typeof value !== "number" || !Number.isFinite(value) || value <= 0) throw fail(`${label} must be a positive finite number`);
46
+ return value;
47
+ }
48
+ function nonNegativeInteger(value, label, fail) {
49
+ if (typeof value !== "number" || !Number.isSafeInteger(value) || value < 0) throw fail(`${label} must be a non-negative safe integer`);
50
+ return value;
51
+ }
52
+ function requiredString(value, label, fail) {
53
+ const normalized = typeof value === "string" ? value.trim() : "";
54
+ if (!normalized) throw fail(`${label} is required`);
55
+ return normalized;
56
+ }
55
57
  async function performRequest(transport, url, init, observe, decode) {
56
58
  const method = (init.method ?? "GET").toUpperCase();
57
59
  const headers = new Headers(init.headers);
@@ -364,9 +366,7 @@ function createChannelClient(options) {
364
366
  },
365
367
  // Checkout is addressed by the ORDER the cart became: the server mounts
366
368
  // /checkout/{order_id}/... (the cart is an orders row, and every cart call
367
- // returns its order.id). 0.5.0 shipped these without the order_id segment,
368
- // so every checkout call 404'd — the signature change is safe because the
369
- // old shape never worked.
369
+ // returns its order.id).
370
370
  checkout: {
371
371
  options: (orderId, cartToken) => request("channel.checkout.options", appendQuery(`/checkout/${encodePath(orderId)}/options`, {
372
372
  cart_token: required(cartToken, "cartToken")
package/dist/dash-next.js CHANGED
@@ -1,7 +1,7 @@
1
- import { createNextChannelClient } from './chunk-LSVDR73B.js';
2
- import { narrow } from './chunk-SRHMGRCV.js';
3
- import './chunk-HNTW6N5F.js';
4
- import './chunk-WZXLYXDN.js';
1
+ import { createNextChannelClient } from './chunk-BANE7WSW.js';
2
+ import { narrow } from './chunk-O4N7PQJF.js';
3
+ import './chunk-UX7PRF5Z.js';
4
+ import './chunk-P3HX34X7.js';
5
5
  import 'server-only';
6
6
 
7
7
  function createNextDashChannelClient(options) {
package/dist/dash.js CHANGED
@@ -1,3 +1,3 @@
1
- export { createDashChannelClient, narrow as narrowToDash } from './chunk-SRHMGRCV.js';
2
- import './chunk-HNTW6N5F.js';
3
- import './chunk-WZXLYXDN.js';
1
+ export { createDashChannelClient, narrow as narrowToDash } from './chunk-O4N7PQJF.js';
2
+ import './chunk-UX7PRF5Z.js';
3
+ import './chunk-P3HX34X7.js';
package/dist/index.d.ts CHANGED
@@ -12,12 +12,18 @@ interface WorkspaceInfo {
12
12
  is_active: boolean;
13
13
  status?: string;
14
14
  }
15
+ /** Public availability only; never participant data or an access grant. */
16
+ interface WaitlistPublicStatus {
17
+ enabled: boolean;
18
+ accepting_entries: boolean;
19
+ display: "page" | "block";
20
+ }
15
21
  interface PublicWorkspaceInit {
16
22
  workspace: WorkspaceInfo;
17
23
  branding?: Record<string, unknown>;
18
24
  preferences?: Record<string, unknown>;
19
25
  profile?: Record<string, unknown>;
20
- launch?: Record<string, unknown>;
26
+ waitlist?: WaitlistPublicStatus;
21
27
  features?: Array<{
22
28
  key: string;
23
29
  name: string;
@@ -50,6 +56,7 @@ interface SiteRef {
50
56
  * (`menus.get`) and theme (`theme.get`) stay separate, parallel reads.
51
57
  */
52
58
  interface LightInitResponse {
59
+ waitlist?: WaitlistPublicStatus;
53
60
  workspace_id: string;
54
61
  workspace_name: string;
55
62
  workspace_slug?: string;
@@ -59,8 +66,8 @@ interface LightInitResponse {
59
66
  logo_dark_url?: string;
60
67
  logo_square_url?: string;
61
68
  enabled_features: string[];
62
- preferences?: {
63
- currency?: string;
69
+ settings?: {
70
+ currency_code?: string;
64
71
  locale?: string;
65
72
  timezone?: string;
66
73
  };
@@ -106,6 +113,7 @@ interface DashLocaleInfo {
106
113
  * `dash.profile()` remains for the full profile page (gallery, about template).
107
114
  */
108
115
  interface DashInitResponse {
116
+ waitlist?: WaitlistPublicStatus;
109
117
  tenant: DashTenantInfo;
110
118
  public_profile: DashPublicProfileInfo;
111
119
  branding?: DashBrandingInfo;
@@ -118,7 +126,7 @@ interface DashInitResponse {
118
126
  }
119
127
  interface DashPublicPage {
120
128
  profile: DashPublicProfileInfo & {
121
- tenant_id: string;
129
+ dash_id: string;
122
130
  status: string;
123
131
  display_name?: string;
124
132
  is_private: boolean;
@@ -1291,7 +1299,7 @@ interface StartSubscriptionInput {
1291
1299
  * malformed token, invalid retry/timeout/cache options, missing fetch, missing
1292
1300
  * webhook secret — as opposed to ChannelAPIError, which describes what the
1293
1301
  * network or the API did. Callers can branch on this without string-matching
1294
- * messages; both starters previously invented a local equivalent.
1302
+ * messages.
1295
1303
  */
1296
1304
  declare class ChannelConfigurationError extends Error {
1297
1305
  constructor(message: string);
@@ -1658,4 +1666,4 @@ declare function createChannelClient(options: CreateChannelClientOptions): {
1658
1666
  };
1659
1667
  };
1660
1668
 
1661
- export { type AddCartItemInput, type BlogPost, type BlogPostResponse, type CartResponse, type CatalogBrand, type CatalogCategory, type CatalogCollection, type CatalogProduct, type CatalogProductsResponse, ChannelAPIError, type ChannelCheckoutStatusParams, ChannelConfigurationError, type ChannelGeo, type ChannelInvoiceListParams, type ChannelLeadInput, type ChannelListParams, type ChannelMutationOptions, type ChannelOperation, type ChannelPing, type ChannelProductListParams, type ChannelRequestObservation, type ChannelRequestObserver, type ChannelRequestOutcome, type ChannelRetryPolicy, type ChannelSiteResolveParams, type ChannelSubscriptionCancelParams, type ChannelSubscriptionListParams, type ChannelVisitor, type CheckoutAddress, type CheckoutAddressesInput, type CheckoutCustomerInput, type CheckoutFulfillmentInput, type CheckoutOptions, type CheckoutPayInput, type CheckoutPayResponse, type CheckoutStatus, type CheckoutStatusResponse, type CreateChannelClientOptions, type Customer, type CustomerAuthSession, type CustomerResponse, type CustomerSecurityActivity, type CustomerSecurityActivityPage, type CustomerSession, type CustomerSignupResponse, DEFAULT_CHANNEL_API_URL, type DashBrandingInfo, type DashDirectoryEntry, type DashDirectoryListParams, type DashDirectoryProfile, type DashDirectoryProfileResponse, type DashDirectoryRegion, type DashInitResponse, type DashLead, type DashLeadPortalMatch, type DashLeadPortalMovingSummary, type DashLeadPortalRequest, type DashLeadPortalRequestLinkInput, type DashLeadPortalRequestLinkResponse, type DashLeadPortalRequestStatus, type DashLeadPortalView, type DashLocaleInfo, type DashPlan, type DashPlanPricing, type DashPlanRegion, type DashPlansResponse, type DashProfileResponse, type DashPublicPage, type DashPublicProfileInfo, type DashTenantInfo, type DiningAvailability, type DiningAvailabilityRule, type DiningComboChoice, type DiningComboGroup, type DiningItemSize, type DiningMenu, type DiningMenuItem, type DiningModifier, type DiningModifierGroup, type DiningOffer, type DiningOfferBadge, type GivingEntry, type GivingIntent, type GivingIntentListResponse, type LeadResponse, type LightInitResponse, type ListResponse, type Menu, type MenuItem, type MenuResponse, type MergeCartInput, type Order, type OrderItem, type OrderSummary, type PaymentCollectionAvailability, type PaymentLinkCheckoutInput, type PaymentLinkCheckoutResponse, type PaymentLinkRedemptionStatus, type PaymentLinkRedemptionStatusResponse, type PaymentMethodConfirmInput, type PaymentMethodMutationResponse, type PaymentMethodOption, type PaymentMethodSetupInput, type PaymentMethodSetupResult, type PaymentReadiness, type PrintBranding, type PrintIntakeInput, type PrintIntakeLimits, type PrintJob, type PrintJobFile, type PrintOptionsSelection, type PrintPaperSize, type PrintPerPagePricing, type PrintPriceBreakdown, type PrintPriceLine, type PrintPricing, type PrintPricingOption, type PrintQuoteResponse, type PrintSettingsResponse, type Product, type ProductAsset, type PublicPage, type PublicPageSummary, type PublicPaymentLink, type PublicPaymentLinkResponse, type PublicSubmitReviewInput, type PublicWorkspaceInit, type Review, type ReviewSummaryResponse, type SavedAddress, type SavedAddressDefaultKind, type SavedAddressInput, type SavedAddressResponse, type SavedAddressUpdateInput, type SavedPaymentMethod, type SendCodeResponse, type ShippingMethodOption, type SiteDocument, type SiteGatedDocument, type SiteRef, type SiteResolvedDocument, type SiteSubject, type StartGivingInput, type StartGivingResponse, type StartSubscriptionInput, type SubscriptionAgreement, type SubscriptionAgreementResponse, type SubscriptionInvoice, type SubscriptionInvoiceListResponse, type SubscriptionInvoiceResponse, type SubscriptionListResponse, type SubscriptionPlanListResponse, type SubscriptionPlanOffer, type SubscriptionPlanResponse, type SubscriptionSourceDisplay, type SubscriptionSourceResponse, type ThemeResponse, type UpdateCartItemInput, type WorkspaceInfo, createChannelClient, isChannelAPIError, isChannelConfigurationError };
1669
+ export { type AddCartItemInput, type BlogPost, type BlogPostResponse, type CartResponse, type CatalogBrand, type CatalogCategory, type CatalogCollection, type CatalogProduct, type CatalogProductsResponse, ChannelAPIError, type ChannelCheckoutStatusParams, ChannelConfigurationError, type ChannelGeo, type ChannelInvoiceListParams, type ChannelLeadInput, type ChannelListParams, type ChannelMutationOptions, type ChannelOperation, type ChannelPing, type ChannelProductListParams, type ChannelRequestObservation, type ChannelRequestObserver, type ChannelRequestOutcome, type ChannelRetryPolicy, type ChannelSiteResolveParams, type ChannelSubscriptionCancelParams, type ChannelSubscriptionListParams, type ChannelVisitor, type CheckoutAddress, type CheckoutAddressesInput, type CheckoutCustomerInput, type CheckoutFulfillmentInput, type CheckoutOptions, type CheckoutPayInput, type CheckoutPayResponse, type CheckoutStatus, type CheckoutStatusResponse, type CreateChannelClientOptions, type Customer, type CustomerAuthSession, type CustomerResponse, type CustomerSecurityActivity, type CustomerSecurityActivityPage, type CustomerSession, type CustomerSignupResponse, DEFAULT_CHANNEL_API_URL, type DashBrandingInfo, type DashDirectoryEntry, type DashDirectoryListParams, type DashDirectoryProfile, type DashDirectoryProfileResponse, type DashDirectoryRegion, type DashInitResponse, type DashLead, type DashLeadPortalMatch, type DashLeadPortalMovingSummary, type DashLeadPortalRequest, type DashLeadPortalRequestLinkInput, type DashLeadPortalRequestLinkResponse, type DashLeadPortalRequestStatus, type DashLeadPortalView, type DashLocaleInfo, type DashPlan, type DashPlanPricing, type DashPlanRegion, type DashPlansResponse, type DashProfileResponse, type DashPublicPage, type DashPublicProfileInfo, type DashTenantInfo, type DiningAvailability, type DiningAvailabilityRule, type DiningComboChoice, type DiningComboGroup, type DiningItemSize, type DiningMenu, type DiningMenuItem, type DiningModifier, type DiningModifierGroup, type DiningOffer, type DiningOfferBadge, type GivingEntry, type GivingIntent, type GivingIntentListResponse, type LeadResponse, type LightInitResponse, type ListResponse, type Menu, type MenuItem, type MenuResponse, type MergeCartInput, type Order, type OrderItem, type OrderSummary, type PaymentCollectionAvailability, type PaymentLinkCheckoutInput, type PaymentLinkCheckoutResponse, type PaymentLinkRedemptionStatus, type PaymentLinkRedemptionStatusResponse, type PaymentMethodConfirmInput, type PaymentMethodMutationResponse, type PaymentMethodOption, type PaymentMethodSetupInput, type PaymentMethodSetupResult, type PaymentReadiness, type PrintBranding, type PrintIntakeInput, type PrintIntakeLimits, type PrintJob, type PrintJobFile, type PrintOptionsSelection, type PrintPaperSize, type PrintPerPagePricing, type PrintPriceBreakdown, type PrintPriceLine, type PrintPricing, type PrintPricingOption, type PrintQuoteResponse, type PrintSettingsResponse, type Product, type ProductAsset, type PublicPage, type PublicPageSummary, type PublicPaymentLink, type PublicPaymentLinkResponse, type PublicSubmitReviewInput, type PublicWorkspaceInit, type Review, type ReviewSummaryResponse, type SavedAddress, type SavedAddressDefaultKind, type SavedAddressInput, type SavedAddressResponse, type SavedAddressUpdateInput, type SavedPaymentMethod, type SendCodeResponse, type ShippingMethodOption, type SiteDocument, type SiteGatedDocument, type SiteRef, type SiteResolvedDocument, type SiteSubject, type StartGivingInput, type StartGivingResponse, type StartSubscriptionInput, type SubscriptionAgreement, type SubscriptionAgreementResponse, type SubscriptionInvoice, type SubscriptionInvoiceListResponse, type SubscriptionInvoiceResponse, type SubscriptionListResponse, type SubscriptionPlanListResponse, type SubscriptionPlanOffer, type SubscriptionPlanResponse, type SubscriptionSourceDisplay, type SubscriptionSourceResponse, type ThemeResponse, type UpdateCartItemInput, type WaitlistPublicStatus, type WorkspaceInfo, createChannelClient, isChannelAPIError, isChannelConfigurationError };
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { ChannelAPIError, DEFAULT_CHANNEL_API_URL, createChannelClient, isChannelAPIError } from './chunk-HNTW6N5F.js';
2
- export { CHANNEL_WEBHOOK_EVENT_ID_HEADER, CHANNEL_WEBHOOK_EVENT_TYPES, CHANNEL_WEBHOOK_SIGNATURE_HEADER, CHANNEL_WEBHOOK_TIMESTAMP_HEADER, ChannelConfigurationError, ChannelWebhookVerificationError, DEFAULT_TOLERANCE_SECONDS, isChannelConfigurationError, isChannelWebhookEventType, isChannelWebhookVerificationError, isKnownChannelWebhookEvent, parseChannelWebhookEvent, verifyChannelWebhookSignature } from './chunk-WZXLYXDN.js';
1
+ export { ChannelAPIError, DEFAULT_CHANNEL_API_URL, createChannelClient, isChannelAPIError } from './chunk-UX7PRF5Z.js';
2
+ export { CHANNEL_WEBHOOK_EVENT_ID_HEADER, CHANNEL_WEBHOOK_EVENT_TYPES, CHANNEL_WEBHOOK_SIGNATURE_HEADER, CHANNEL_WEBHOOK_TIMESTAMP_HEADER, ChannelConfigurationError, ChannelWebhookVerificationError, DEFAULT_TOLERANCE_SECONDS, isChannelConfigurationError, isChannelWebhookEventType, isChannelWebhookVerificationError, isKnownChannelWebhookEvent, parseChannelWebhookEvent, verifyChannelWebhookSignature } from './chunk-P3HX34X7.js';
package/dist/next.d.ts CHANGED
@@ -4,9 +4,8 @@ import { ChannelWebhookEventDataMap, ChannelWebhookEvent } from './webhooks.js';
4
4
  /**
5
5
  * Customer-session kit for Next.js sites.
6
6
  *
7
- * Every headless C1M site needs the same ~250 lines: an httpOnly cookie codec,
8
- * a refresh-skew decision, and — the part nobody gets right twice — the
9
- * contested-vs-expired distinction. This kit ships them once.
7
+ * An httpOnly cookie codec, a refresh-skew decision, and the
8
+ * contested-vs-expired distinction.
10
9
  *
11
10
  * Framework-honest: no `next` imports. The codec returns names, values and
12
11
  * attribute objects; the app applies them with `next/headers` or `NextResponse`
@@ -129,10 +128,8 @@ type CustomerSessionKit = ReturnType<typeof createCustomerSession>;
129
128
  * invalidate: { revalidatePath, revalidateTag },
130
129
  * });
131
130
  *
132
- * The invalidator is injected rather than imported here on purpose: it keeps
133
- * this module free of `next` (bundler-safe, unit-testable with a fake), and it
134
- * is the app's two-line import — not eighty lines of verification, dispatch,
135
- * path-safety and error-mapping boilerplate.
131
+ * The invalidator is injected rather than imported: it keeps this module free
132
+ * of `next` (bundler-safe, unit-testable with a fake).
136
133
  */
137
134
  /** The cache tag every anonymous site read is filed under. */
138
135
  declare const CHANNEL_SITE_CACHE_TAG = "channel:site";
package/dist/next.js CHANGED
@@ -1,3 +1,3 @@
1
- export { CHANNEL_CATALOG_CACHE_TAG, CHANNEL_SITE_CACHE_TAG, cartCookie, createCart, createChannelWebhookRoute, createCustomerSession, createNextChannelClient, defaultChannelCacheTags, safePublishedPath, sessionCookie } from './chunk-LSVDR73B.js';
2
- import './chunk-HNTW6N5F.js';
3
- import './chunk-WZXLYXDN.js';
1
+ export { CHANNEL_CATALOG_CACHE_TAG, CHANNEL_SITE_CACHE_TAG, cartCookie, createCart, createChannelWebhookRoute, createCustomerSession, createNextChannelClient, defaultChannelCacheTags, safePublishedPath, sessionCookie } from './chunk-BANE7WSW.js';
2
+ import './chunk-UX7PRF5Z.js';
3
+ import './chunk-P3HX34X7.js';
package/dist/webhooks.js CHANGED
@@ -1 +1 @@
1
- export { CHANNEL_WEBHOOK_EVENT_ID_HEADER, CHANNEL_WEBHOOK_EVENT_TYPES, CHANNEL_WEBHOOK_SIGNATURE_HEADER, CHANNEL_WEBHOOK_TIMESTAMP_HEADER, ChannelWebhookVerificationError, DEFAULT_TOLERANCE_SECONDS, isChannelWebhookEventType, isChannelWebhookVerificationError, isKnownChannelWebhookEvent, parseChannelWebhookEvent, verifyChannelWebhookSignature } from './chunk-WZXLYXDN.js';
1
+ export { CHANNEL_WEBHOOK_EVENT_ID_HEADER, CHANNEL_WEBHOOK_EVENT_TYPES, CHANNEL_WEBHOOK_SIGNATURE_HEADER, CHANNEL_WEBHOOK_TIMESTAMP_HEADER, ChannelWebhookVerificationError, DEFAULT_TOLERANCE_SECONDS, isChannelWebhookEventType, isChannelWebhookVerificationError, isKnownChannelWebhookEvent, parseChannelWebhookEvent, verifyChannelWebhookSignature } from './chunk-P3HX34X7.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c1m-public/channel-client",
3
- "version": "0.23.0",
3
+ "version": "0.25.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Typed server-side client for the MML headless Channel API",
@@ -67,11 +67,12 @@
67
67
  }
68
68
  },
69
69
  "devDependencies": {
70
+ "tsup": "^8.5.1",
70
71
  "typescript": "5.9.3",
71
- "zod": "^4.3.6",
72
72
  "vitest": "^4.1.4",
73
- "tsup": "^8.5.1",
74
- "@c1m-public/transport": "0.0.0"
73
+ "zod": "^4.3.6",
74
+ "@c1m-public/transport": "0.0.0",
75
+ "@c1m-public/resilience": "0.1.0"
75
76
  },
76
77
  "scripts": {
77
78
  "clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",