The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.
TypeScript b2b-marketplacecomposable-commerceecommerceenterpriseheadless-commercemarketplacemedusamedusajsmulti-vendortypescript
docs: remove canary warnings, switch to @latest, make 2.0 default, update payout docs
vholikea2e3e68c568
diff --git a/apps/docs/docs.json b/apps/docs/docs.jsonindex ed1b3e1c3..529a85947 100644--- a/apps/docs/docs.json+++ b/apps/docs/docs.json@@ -26,7 +26,6 @@"versions": [{"version": "1.x",- "default": true,"tabs": [{"tab": "Docs",@@ -331,7 +330,8 @@]},{- "version": "canary",+ "version": "2.0",+ "default": true,"tabs": [{"tab": "Welcome",diff --git a/apps/docs/snippets/canary-warning.mdx b/apps/docs/snippets/canary-warning.mdxdeleted file mode 100644index 5c999d0d8..000000000--- a/apps/docs/snippets/canary-warning.mdx+++ /dev/null@@ -1,3 +0,0 @@-<Warning>- **Canary Release** — This is the canary version of Mercur. It is **not production-ready** and may contain breaking changes, incomplete features, and unstable APIs. For the stable version, switch to [1.x](/introduction).-</Warning>diff --git a/apps/docs/v2/core-concepts/commission.mdx b/apps/docs/v2/core-concepts/commission.mdxindex 9dc8ac001..5d508f9de 100644--- a/apps/docs/v2/core-concepts/commission.mdx+++ b/apps/docs/v2/core-concepts/commission.mdx@@ -3,8 +3,6 @@ title: "Commission"description: "How marketplace commissions work in Mercur — rates, rules, calculation, and the commission pipeline."----<Snippet file="canary-warning.mdx" />-Commissions are how the marketplace earns revenue. Rather than storing a single commission percentage, Mercur uses a **rule-based system** where commission rates are matched to line items and shipping methods based on configurable conditions.## Commission ratesdiff --git a/apps/docs/v2/core-concepts/payout.mdx b/apps/docs/v2/core-concepts/payout.mdxindex 40b394570..bc67ab81d 100644--- a/apps/docs/v2/core-concepts/payout.mdx+++ b/apps/docs/v2/core-concepts/payout.mdx@@ -1,15 +1,13 @@---title: "Payout"-description: "How seller payouts work in Mercur — accounts, balances, transactions, and the payout pipeline."+description: "How seller payouts work in Mercur — accounts, onboarding, payment capture, and the transfer pipeline."----<Snippet file="canary-warning.mdx" />--The payout module handles the financial side of a marketplace — tracking how much each seller has earned, maintaining their balance, and processing transfers to their bank accounts or payment accounts.+The payout module handles the financial side of a marketplace — onboarding sellers to a payment provider, capturing authorized payments, and transferring funds to sellers after fulfillment.## Payout account-Every seller that wants to receive funds needs a **PayoutAccount**. This account is the central entity that links a seller to their financial balance and to an external payment provider (e.g. Stripe Connect).+Every seller that wants to receive funds needs a **PayoutAccount**. This account links a seller to an external payment provider (e.g. Stripe Connect).### Account lifecycle@@ -28,57 +26,63 @@ PENDING → ACTIVE### Onboarding-When a payout account is created, an **Onboarding** record is attached to it. This stores provider-specific data needed for identity verification or account setup (e.g. Stripe Connect onboarding links). The onboarding data is merged with the account data before being sent to the provider.+When a payout account is created, an **Onboarding** record is attached to it. This stores provider-specific data needed for identity verification or account setup (e.g. Stripe Connect onboarding links).-<Info>- Payout account creation uses idempotency keys to prevent duplicate accounts if the request is retried.-</Info>+## The payout pipeline-## Balance tracking+The payout flow is fully automated through two scheduled jobs and event-driven subscribers. No manual intervention is needed after configuration.-Each payout account maintains a **PayoutBalance** per currency. The balance is updated automatically when transactions are added or removed.+### 1. Capture check (every 15 minutes)-Balances are stored with dual precision:-- `balance` — Display value for UI-- `raw_balance` — High-precision value (string with 20-digit precision) for accurate financial calculations+A scheduled job scans for orders that are ready for payment capture. For each order, it checks:-All balance calculations use `BigNumber` arithmetic to avoid floating-point errors.+- Payment is in `authorized` status+- Seller has an `ACTIVE` payout account+- Order meets the required fulfillment status (configurable, default: `fulfilled`)+- No payout has been created yet-## Transactions+When the capture deadline approaches (authorization window minus safety buffer), the job emits an `order.capture_requested` event. If the authorization has already expired, it emits `order.authorization_expired` instead.-A **PayoutTransaction** represents a credit or debit against a seller's payout account. Transactions are the building blocks of the balance — every balance change is backed by a transaction record.+### 2. Payment capture (event-driven)-Each transaction stores:+A subscriber listens for `order.capture_requested` events and runs the Medusa `capturePaymentWorkflow` to capture the authorized payment. On success, the order is marked as captured. On failure, the order is flagged so it won't be retried.-| Field | Description |-|-------|-------------|-| `amount` | The transaction amount |-| `currency_code` | Currency of the transaction |-| `reference` | Type of source (e.g. `"order"`) |-| `reference_id` | ID of the source entity |+### 3. Daily payouts (once per day)-<Info>- Balance updates use `SERIALIZABLE` transaction isolation to prevent race conditions when multiple orders are credited simultaneously.-</Info>+A daily scheduled job (1 AM UTC) scans for captured orders that haven't been paid out yet. For each eligible order, it emits a `payout.requested` event.-## The payout pipeline+An order qualifies for payout when:+- Payment has been captured (`metadata.captured = true`)+- No existing payout transfer+- Seller has an `ACTIVE` payout account-### Crediting an order+### 4. Payout transfer (event-driven)-When an order is completed, the `creditOrderToPayoutAccountWorkflow` calculates the seller's earnings and credits their account:+A subscriber listens for `payout.requested` events and runs the `createPayoutWorkflow`:-1. **Fetch order** — Loads the order with its items, commission lines, and seller's payout account-2. **Validate account** — Confirms the seller has a linked payout account-3. **Calculate net earnings** — Sums commission amounts across all items and subtracts from the order total:+1. **Fetch order** — Loads the order with its seller, payout account, and commission lines+2. **Calculate payout amount** — Subtracts commission from the order total:```- net_amount = order.total - total_commission+ payout_amount = order.total - total_commission```-4. **Create transaction** — Records a `PayoutTransaction` with `reference: "order"` pointing to the order ID-5. **Update balance** — Adds the transaction amount to the seller's `PayoutBalance` for that currency+3. **Create payout** — Calls the payment provider to initiate the transfer and creates a `Payout` record+4. **Link payout** — Associates the payout with the seller-### Processing payouts+### Payout statuses-The `processPayoutWorkflow` handles webhook events from the external payment provider. It uses conditional branching to update the correct entity:+| Status | Description |+|--------|-------------|+| `PENDING` | Payout created, transfer initiated |+| `PROCESSING` | Provider is processing the transfer |+| `PAID` | Funds successfully transferred |+| `FAILED` | Transfer failed |+| `CANCELED` | Transfer was canceled |++Payout statuses are updated via webhook events from the payment provider.++### Webhook handling++A subscriber listens for `payout.webhook_received` events and delegates to the `processPayoutForWebhookWorkflow`. The provider parses the raw webhook payload and returns an action:**Account events:**- `account.activated` → Status set to `ACTIVE`@@ -91,20 +95,24 @@ The `processPayoutWorkflow` handles webhook events from the external payment pro- `payout.failed` → Status set to `FAILED`- `payout.canceled` → Status set to `CANCELED`-### Payout validation+## Configuration++The payout module accepts the following options in `medusa-config.ts`:-Before a payout is initiated, the system validates:-1. The account status is `ACTIVE`-2. The account has sufficient balance in the requested currency+| Option | Default | Description |+|--------|---------|-------------|+| `disabled` | `false` | Disables both scheduled jobs |+| `authorizationWindowMs` | 7 days | How long a payment authorization is valid |+| `sellerActionWindowMs` | 72 hours | Time for seller to fulfill the order |+| `captureSafetyBufferMs` | 24 hours | Safety margin before authorization expiry to trigger capture |+| `requiredFulfillmentStatus` | `"fulfilled"` | Minimum fulfillment status before capture is allowed |## Data model overview```PayoutAccount├── Onboarding (one-to-one)-├── PayoutBalance (one-to-many, per currency)-├── PayoutTransaction (one-to-many, credits/debits)-└── Payout (one-to-many, actual transfers)+└── Payout (one-to-many, per-order transfers)```## Provider abstractiondiff --git a/apps/docs/v2/core-concepts/seller.mdx b/apps/docs/v2/core-concepts/seller.mdxindex 928f79057..b6c9e60f8 100644--- a/apps/docs/v2/core-concepts/seller.mdx+++ b/apps/docs/v2/core-concepts/seller.mdx@@ -3,8 +3,6 @@ title: "Seller"description: "How sellers work in Mercur — registration, lifecycle, product ownership, and order splitting."----<Snippet file="canary-warning.mdx" />-In a marketplace, the **Seller** is the central actor. Every product, order, shipment, and payout ultimately ties back to a seller. Mercur's seller module manages the full vendor lifecycle — from registration through order fulfillment.## Seller lifecyclediff --git a/apps/docs/v2/developer-guide/api-client.mdx b/apps/docs/v2/developer-guide/api-client.mdxindex cf316266b..d08ebab17 100644--- a/apps/docs/v2/developer-guide/api-client.mdx+++ b/apps/docs/v2/developer-guide/api-client.mdx@@ -3,8 +3,6 @@ title: "API Client"description: "Type-safe client for consuming Mercur APIs."----<Snippet file="canary-warning.mdx" />-`@mercurjs/client` provides a type-safe way to interact with your Mercur backend. Every endpoint, request input, and response is fully typed — inferred directly from your backend routes.## Installation@@ -25,7 +23,7 @@ export const client = createClient<Routes>({```<Info>- The `Routes` type is generated from your backend using `@mercurjs/cli@canary+ The `Routes` type is generated from your backend using `@mercurjs/cli@latestcodegen`. This gives the client full type safety with zero manual typedefinitions.</Info>diff --git a/apps/docs/v2/developer-guide/blocks.mdx b/apps/docs/v2/developer-guide/blocks.mdxindex 8f9fd312d..2fb5b04a2 100644--- a/apps/docs/v2/developer-guide/blocks.mdx+++ b/apps/docs/v2/developer-guide/blocks.mdx@@ -3,15 +3,13 @@ title: "Blocks"description: "Self-contained pieces of marketplace functionality that get copied into your project as source code."----<Snippet file="canary-warning.mdx" />-Blocks are the unit of distribution in Mercur. Each block is a self-contained feature — a reviews system, a wishlist, product import/export — that you install directly into your project. Unlike packages, blocks are copied as source code. You own every file and can modify anything.## Installing blocks```bash-bunx @mercurjs/cli@canary add reviews-bunx @mercurjs/cli@canary add wishlist product-import-export+bunx @mercurjs/cli@latest add reviews+bunx @mercurjs/cli@latest add wishlist product-import-export```The CLI fetches the block from the [registry](/v2/developer-guide/registry), resolves dependencies, transforms imports to match your project's path aliases, and copies the files into the right directories.@@ -67,20 +65,20 @@ After adding a block, the CLI shows setup instructions. Typically you need to:1. **Register the module** in `medusa-config.ts`2. **Add middlewares** to your `api/middlewares.ts`3. **Run migrations** with `bunx medusa db:generate` and `bunx medusa db:migrate`-4. **Regenerate types** with `bunx @mercurjs/cli@canary codegen`+4. **Regenerate types** with `bunx @mercurjs/cli@latest codegen`## Updating blocksCheck for changes against the registry:```bash-bunx @mercurjs/cli@canary diff reviews+bunx @mercurjs/cli@latest diff reviews```If there are updates you want, re-install with the overwrite flag:```bash-bunx @mercurjs/cli@canary add reviews --overwrite+bunx @mercurjs/cli@latest add reviews --overwrite```Since blocks are source code in your project, you control when and how updates are applied.@@ -90,12 +88,12 @@ Since blocks are source code in your project, you control when and how updates aSearch the registry to see what's available:```bash-bunx @mercurjs/cli@canary search-bunx @mercurjs/cli@canary search --query wishlist+bunx @mercurjs/cli@latest search+bunx @mercurjs/cli@latest search --query wishlist```View details about a specific block:```bash-bunx @mercurjs/cli@canary view reviews+bunx @mercurjs/cli@latest view reviews```diff --git a/apps/docs/v2/developer-guide/cli.mdx b/apps/docs/v2/developer-guide/cli.mdxindex d2ddb500b..1d0995c8f 100644--- a/apps/docs/v2/developer-guide/cli.mdx+++ b/apps/docs/v2/developer-guide/cli.mdx@@ -3,14 +3,12 @@ title: "CLI"description: "Install blocks, scaffold projects, and generate types from the command line."----<Snippet file="canary-warning.mdx" />--The Mercur CLI (`@mercurjs/cli@canary`) manages your marketplace project — creating projects, installing blocks, generating types, and checking for updates.+The Mercur CLI (`@mercurjs/cli@latest`) manages your marketplace project — creating projects, installing blocks, generating types, and checking for updates.## Installation```bash-bun add -g @mercurjs/cli@canary+bun add -g @mercurjs/cli@latest```## Commands@@ -20,7 +18,7 @@ bun add -g @mercurjs/cli@canaryScaffold a new Mercur project from a template.```bash-bunx @mercurjs/cli@canary create my-marketplace+bunx @mercurjs/cli@latest create my-marketplace```The CLI will prompt you for database credentials and install dependencies automatically.@@ -37,7 +35,7 @@ The CLI will prompt you for database credentials and install dependencies automaInitialize an existing project by creating a `blocks.json` configuration file.```bash-bunx @mercurjs/cli@canary init+bunx @mercurjs/cli@latest init```This sets up path aliases so the CLI knows where to place blocks in your project:@@ -62,8 +60,8 @@ This sets up path aliases so the CLI knows where to place blocks in your projectInstall blocks from the registry into your project.```bash-bunx @mercurjs/cli@canary add wishlist-bunx @mercurjs/cli@canary add product-review order-tracking+bunx @mercurjs/cli@latest add wishlist+bunx @mercurjs/cli@latest add product-review order-tracking```Blocks are copied directly into your project as source code. The CLI resolves dependencies, transforms imports to match your path aliases, and installs required packages.@@ -79,7 +77,7 @@ Blocks are copied directly into your project as source code. The CLI resolves deFind available blocks in the registry.```bash-bunx @mercurjs/cli@canary search --query wishlist+bunx @mercurjs/cli@latest search --query wishlist```| Option | Description |@@ -92,7 +90,7 @@ bunx @mercurjs/cli@canary search --query wishlistDisplay detailed information about a block.```bash-bunx @mercurjs/cli@canary view wishlist+bunx @mercurjs/cli@latest view wishlist```### diff@@ -100,13 +98,13 @@ bunx @mercurjs/cli@canary view wishlistCompare local blocks against registry versions to check for updates.```bash-bunx @mercurjs/cli@canary diff wishlist+bunx @mercurjs/cli@latest diff wishlist```If there are changes you want, update with:```bash-bunx @mercurjs/cli@canary add wishlist --overwrite+bunx @mercurjs/cli@latest add wishlist --overwrite```### codegen@@ -114,7 +112,7 @@ bunx @mercurjs/cli@canary add wishlist --overwriteGenerate TypeScript types from your API routes. Used by the [API Client](/v2/developer-guide/api-client) for type-safe requests.```bash-bunx @mercurjs/cli@canary codegen+bunx @mercurjs/cli@latest codegen```| Option | Description |@@ -126,7 +124,7 @@ bunx @mercurjs/cli@canary codegenBuild a custom registry from a `registry.json` file.```bash-bunx @mercurjs/cli@canary build+bunx @mercurjs/cli@latest build```| Option | Description |@@ -139,7 +137,7 @@ bunx @mercurjs/cli@canary buildDisplay project configuration and diagnostics.```bash-bunx @mercurjs/cli@canary info+bunx @mercurjs/cli@latest info```### telemetry@@ -147,8 +145,8 @@ bunx @mercurjs/cli@canary infoControl anonymous usage data collection.```bash-bunx @mercurjs/cli@canary telemetry --disable-bunx @mercurjs/cli@canary telemetry --enable+bunx @mercurjs/cli@latest telemetry --disable+bunx @mercurjs/cli@latest telemetry --enable```## Custom registries@@ -167,5 +165,5 @@ Add custom block registries to your `blocks.json`:Use `{name}` as a placeholder for block names. Reference custom registries with the `-r` flag:```bash-bunx @mercurjs/cli@canary search --query review --registry @my-registry+bunx @mercurjs/cli@latest search --query review --registry @my-registry```diff --git a/apps/docs/v2/developer-guide/custom-fields.mdx b/apps/docs/v2/developer-guide/custom-fields.mdxindex b1943d039..b63da0a6d 100644--- a/apps/docs/v2/developer-guide/custom-fields.mdx+++ b/apps/docs/v2/developer-guide/custom-fields.mdx@@ -3,8 +3,6 @@ title: "Custom Fields"description: "Extend any Medusa entity with additional fields without modifying core code."----<Snippet file="canary-warning.mdx" />-Custom Fields let you attach extra data to any existing Medusa entity — products, customers, orders, and more — through configuration alone. No migrations to write, no models to define. The module handles table creation and schema updates automatically when you run `db:migrate`.## How it worksdiff --git a/apps/docs/v2/developer-guide/extending-panels.mdx b/apps/docs/v2/developer-guide/extending-panels.mdxindex da7d5d55c..04a6660f0 100644--- a/apps/docs/v2/developer-guide/extending-panels.mdx+++ b/apps/docs/v2/developer-guide/extending-panels.mdx@@ -3,8 +3,6 @@ title: "Extending Panels"description: "Add pages, customize navigation, branding, and replace components in the admin and vendor panels."----<Snippet file="canary-warning.mdx" />-Both the admin panel and vendor portal use the same SDK (`@mercurjs/dashboard-sdk`). Customization is file-based and convention-driven — you add pages by creating files, configure navigation through exports, and override components through config.## Setupdiff --git a/apps/docs/v2/developer-guide/overview.mdx b/apps/docs/v2/developer-guide/overview.mdxindex 059db49d9..b48eaffa2 100644--- a/apps/docs/v2/developer-guide/overview.mdx+++ b/apps/docs/v2/developer-guide/overview.mdx@@ -3,8 +3,6 @@ title: "Overview"description: "How Mercur is built — architecture, technology stack, and how the pieces fit together."----<Snippet file="canary-warning.mdx" />-Mercur is a marketplace platform built on top of [MedusaJS](https://medusajs.com), an open-source headless commerce framework. Rather than being a standalone application, Mercur extends Medusa with marketplace-specific logic — sellers, commissions, order splitting, payouts — while Medusa handles the foundational commerce layer.This page explains how the system is structured and how its components interact.@@ -160,7 +158,7 @@ This means:- There are no hidden abstractions or version conflicts- Updates are explicit — you diff and apply changes from the registry-The CLI (`@mercurjs/cli@canary`) manages this process: scaffolding projects, installing blocks, searching the registry, and comparing local changes against upstream versions.+The CLI (`@mercurjs/cli@latest`) manages this process: scaffolding projects, installing blocks, searching the registry, and comparing local changes against upstream versions.## Design principlesdiff --git a/apps/docs/v2/developer-guide/registry.mdx b/apps/docs/v2/developer-guide/registry.mdxindex c6e590b3e..968310647 100644--- a/apps/docs/v2/developer-guide/registry.mdx+++ b/apps/docs/v2/developer-guide/registry.mdx@@ -3,13 +3,11 @@ title: "Registry"description: "Create, build, and host your own block registry."----<Snippet file="canary-warning.mdx" />-A registry is a collection of blocks that can be installed into any Mercur project using the CLI. The official Mercur registry (`@mercurjs`) provides all the built-in marketplace blocks. You can also create and host your own.## How it works-A registry is a set of JSON files — one per block — served over HTTP. When you run `bunx @mercurjs/cli@canary add`, the CLI fetches the block's JSON, resolves its dependencies, and copies the source files into your project.+A registry is a set of JSON files — one per block — served over HTTP. When you run `bunx @mercurjs/cli@latest add`, the CLI fetches the block's JSON, resolves its dependencies, and copies the source files into your project.```registry/@@ -64,7 +62,7 @@ The `registry.json` file defines your registry and all its blocks:| Property | Description || ---------------------- | -------------------------------------------------------------- |-| `name` | Block identifier used in `bunx @mercurjs/cli@canary add` |+| `name` | Block identifier used in `bunx @mercurjs/cli@latest add` || `description` | Short description shown in search results || `dependencies` | NPM packages to install || `registryDependencies` | Other blocks this block depends on (e.g. `@mercurjs/wishlist`) |@@ -93,7 +91,7 @@ These map to the aliases defined in the consumer's `blocks.json`.Build your registry into distributable JSON files:```bash-bunx @mercurjs/cli@canary build+bunx @mercurjs/cli@latest build```This reads `registry.json`, resolves all imports for each block, embeds the file contents, and outputs one JSON file per block to the `r/` directory.@@ -124,7 +122,7 @@ Add your registry to `blocks.json` in any Mercur project:Use `{name}` as a placeholder for block names. Then install blocks from it:```bash-bunx @mercurjs/cli@canary add @my-org/reviews+bunx @mercurjs/cli@latest add @my-org/reviews```### Authenticationdiff --git a/apps/docs/v2/getting-started/concepts.mdx b/apps/docs/v2/getting-started/concepts.mdxindex 8e3006faa..38af68490 100644--- a/apps/docs/v2/getting-started/concepts.mdx+++ b/apps/docs/v2/getting-started/concepts.mdx@@ -3,8 +3,6 @@ title: "Concepts"description: "Core concepts behind Mercur — from the Medusa foundation to blocks, panels, and the registry."----<Snippet file="canary-warning.mdx" />-Mercur is built on a small set of concepts. Familiarity with these establishes a common language when working with the platform.## Medusa@@ -59,7 +57,7 @@ A registry is a collection of blocks available for installation. The official Me## CLI-The [Mercur CLI](/v2/developer-guide/cli) (`@mercurjs/cli@canary`) manages your project — scaffolding from templates, installing blocks, searching registries, generating types, and diffing local changes against upstream versions.+The [Mercur CLI](/v2/developer-guide/cli) (`@mercurjs/cli@latest`) manages your project — scaffolding from templates, installing blocks, searching registries, generating types, and diffing local changes against upstream versions.## Dashboard SDK@@ -67,4 +65,4 @@ The [Dashboard SDK](/v2/developer-guide/extending-panels) (`@mercurjs/dashboard-## API Client-The [API Client](/v2/developer-guide/api-client) (`@mercurjs/client`) provides type-safe access to all Mercur API endpoints. Types are generated from your actual API routes using `bunx @mercurjs/cli@canary codegen`, so requests and responses are always in sync with your backend.+The [API Client](/v2/developer-guide/api-client) (`@mercurjs/client`) provides type-safe access to all Mercur API endpoints. Types are generated from your actual API routes using `bunx @mercurjs/cli@latest codegen`, so requests and responses are always in sync with your backend.diff --git a/apps/docs/v2/getting-started/installation.mdx b/apps/docs/v2/getting-started/installation.mdxindex d887848d4..8c0be2c8b 100644--- a/apps/docs/v2/getting-started/installation.mdx+++ b/apps/docs/v2/getting-started/installation.mdx@@ -3,8 +3,6 @@ title: "Installation"description: "Install Mercur and set up your marketplace project."----<Snippet file="canary-warning.mdx" />-## Requirements- [Node.js v20+](https://nodejs.org/en/download) (LTS version)@@ -30,7 +28,7 @@ description: "Install Mercur and set up your marketplace project."## Create a new project```bash-bunx @mercurjs/cli@canary create+bunx @mercurjs/cli@latest create```The CLI will prompt for a project name and template, then handle everything automatically:@@ -65,7 +63,7 @@ bun devIf you have an existing Medusa project, initialize Mercur in it:```bash-bunx @mercurjs/cli@canary init+bunx @mercurjs/cli@latest init```This creates a `blocks.json` configuration file in your project.@@ -75,13 +73,13 @@ This creates a `blocks.json` configuration file in your project.Install blocks from the registry:```bash-bunx @mercurjs/cli@canary add <block-name>+bunx @mercurjs/cli@latest add <block-name>```Browse available blocks:```bash-bunx @mercurjs/cli@canary search+bunx @mercurjs/cli@latest search```## Run database migrationsdiff --git a/apps/docs/v2/getting-started/introduction.mdx b/apps/docs/v2/getting-started/introduction.mdxindex 1f84f83ef..9935d0019 100644--- a/apps/docs/v2/getting-started/introduction.mdx+++ b/apps/docs/v2/getting-started/introduction.mdx@@ -3,8 +3,6 @@ title: "Introduction"description: "Mercur is an open-source marketplace platform built on MedusaJS with a block-based architecture."----<Snippet file="canary-warning.mdx" />-Mercur is an open-core **marketplace platform** built on top of the [Medusa Framework](https://medusajs.com). It follows a block-based architecture — install only the modules, workflows, API routes, and UI extensions you need directly into your project. No black-box dependencies, full code ownership.## What is Mercurdiff --git a/apps/docs/v2/how-to-guides/stripe-connect-integration.mdx b/apps/docs/v2/how-to-guides/stripe-connect-integration.mdxindex 78d4cc02c..50f61c2b6 100644--- a/apps/docs/v2/how-to-guides/stripe-connect-integration.mdx+++ b/apps/docs/v2/how-to-guides/stripe-connect-integration.mdx@@ -3,8 +3,6 @@ title: "Stripe Connect Integration"description: "Set up Stripe Connect for marketplace payments and seller payouts — from Stripe Dashboard configuration to the full end-to-end payment lifecycle."----<Snippet file="canary-warning.mdx" />-A Mercur marketplace needs **two** Stripe integrations working together. The first is the standard Medusa payment provider, which charges customers at checkout. The second is the Mercur payout provider, which transfers funds from the platform to sellers after orders are fulfilled.This guide covers both — setting up Stripe, configuring both providers, wiring up webhooks, and understanding how money flows from customer to seller.diff --git a/apps/docs/v2/migrations/from-1-x-to-2-0.mdx b/apps/docs/v2/migrations/from-1-x-to-2-0.mdxindex 1f12dfdab..b7f5b3c16 100644--- a/apps/docs/v2/migrations/from-1-x-to-2-0.mdx+++ b/apps/docs/v2/migrations/from-1-x-to-2-0.mdx@@ -83,7 +83,7 @@ export const GET = async () => { ... }```-Run `bunx @mercurjs/cli@canary codegen` after adding routes.+Run `bunx @mercurjs/cli@latest codegen` after adding routes.### Links and Subscribersdiff --git a/apps/docs/v2/welcome.mdx b/apps/docs/v2/welcome.mdxindex 8eb6b39ca..984c26a5b 100644--- a/apps/docs/v2/welcome.mdx+++ b/apps/docs/v2/welcome.mdx@@ -6,8 +6,6 @@ mode: "custom"---<div className="max-w-5xl mx-auto px-6 py-16">- <Snippet file="canary-warning.mdx" />-<div className="text-center mt-12 mb-16"><h1 className="text-5xl font-bold tracking-tight mb-4">Build with Mercur</h1><p className="text-xl text-gray-500 dark:text-gray-400 max-w-2xl mx-auto">