Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Drop the onboarding percentage from the seller SDK type
Damian Legawieca2ba19b4daab
diff --git a/packages/seller-sdk/src/seller-client.ts b/packages/seller-sdk/src/seller-client.tsindex 207a6c7b2b..6e2b9af6a7 100644--- a/packages/seller-sdk/src/seller-client.ts+++ b/packages/seller-sdk/src/seller-client.ts@@ -301,8 +301,12 @@ export interface SellerCountry {export interface OnboardingResponse {/** The seller's lifecycle status, e.g. `onboarding`, `ready_for_review`. */status: string- /** Optional requirements included — this is how far along, not how close to approval. */- progress: { done: number; total: number; percentage: number }+ /**+ * Optional requirements included — this is how far along, not how close to+ * approval. Just the two counts: a percentage is arithmetic over them, and a+ * copy here would be a second definition of the same fact.+ */+ progress: { done: number; total: number }requirements: RequirementStatus[]}