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
chore: v2.0.1
vholik9075ca8f1bd1
diff --git a/apps/api/medusa-config.ts b/apps/api/medusa-config.tsindex 377232f20..489053af0 100644--- a/apps/api/medusa-config.ts+++ b/apps/api/medusa-config.ts@@ -8,6 +8,7 @@ module.exports = defineConfig({http: {storeCors: process.env.STORE_CORS!,adminCors: process.env.ADMIN_CORS!,+ // @ts-expect-error: vendorCors is not defined in medusa config modulevendorCors: process.env.VENDOR_CORS!,authCors: process.env.AUTH_CORS!,jwtSecret: process.env.JWT_SECRET || "supersecret",diff --git a/packages/admin/package.json b/packages/admin/package.jsonindex 394d1d214..bf2b835ec 100644--- a/packages/admin/package.json+++ b/packages/admin/package.json@@ -1,6 +1,6 @@{"name": "@mercurjs/admin",- "version": "2.1.0-canary.0",+ "version": "2.0.1","repository": {"type": "git","url": "https://github.com/mercurjs/mercur",diff --git a/packages/cli/package.json b/packages/cli/package.jsonindex 26cc6950a..4099a9415 100644--- a/packages/cli/package.json+++ b/packages/cli/package.json@@ -1,6 +1,6 @@{"name": "@mercurjs/cli",- "version": "2.1.0-canary.0",+ "version": "2.0.1","repository": {"type": "git","url": "https://github.com/mercurjs/mercur",diff --git a/packages/cli/src/commands/create.ts b/packages/cli/src/commands/create.tsindex 90e26d44b..542f0061e 100644--- a/packages/cli/src/commands/create.ts+++ b/packages/cli/src/commands/create.ts@@ -23,8 +23,7 @@ import terminalLink from "terminal-link";import validateProjectName from "validate-npm-package-name";import waitOn from "wait-on";-// todo: change to main after new release-const DEFAULT_BRANCH = "canary";+const DEFAULT_BRANCH = "main";const MIN_SUPPORTED_NODE_VERSION = 20;const CREATE_TEMPLATES = {@@ -273,7 +272,7 @@ export const create = new Command()// Ctrl+C sends SIGINT to the whole process group (parent + child).// Suppress Node's default exit so we can wait for the child to close first.- process.on("SIGINT", () => {});+ process.on("SIGINT", () => { });serverProcess.on("close", () => {printRestartHint();diff --git a/packages/client/package.json b/packages/client/package.jsonindex 3c9bff951..d4a5bb248 100644--- a/packages/client/package.json+++ b/packages/client/package.json@@ -1,6 +1,6 @@{"name": "@mercurjs/client",- "version": "2.1.0-canary.0",+ "version": "2.0.1","repository": {"type": "git","url": "https://github.com/mercurjs/mercur",diff --git a/packages/core-plugin/package.json b/packages/core-plugin/package.jsonindex 38603b5f4..6a89a9ff6 100644--- a/packages/core-plugin/package.json+++ b/packages/core-plugin/package.json@@ -1,6 +1,6 @@{"name": "@mercurjs/core-plugin",- "version": "2.1.0-canary.0",+ "version": "2.0.1","repository": {"type": "git","url": "https://github.com/mercurjs/mercur",diff --git a/packages/core-plugin/src/api/vendor/sellers/route.ts b/packages/core-plugin/src/api/vendor/sellers/route.tsindex 16a504106..a41e0dfd1 100644--- a/packages/core-plugin/src/api/vendor/sellers/route.ts+++ b/packages/core-plugin/src/api/vendor/sellers/route.ts@@ -51,21 +51,11 @@ export const POST = async () => {const { address, professional_details, member_email, ...sellerData } = req.validatedBody- const existingMemberId = req.auth_context?.actor_id-- if (!existingMemberId) {- throw new MedusaError(- MedusaError.Types.INVALID_DATA,- "member_email is required when creating a new account"- )- }-const { result: seller } = await createSellerAccountWorkflow(req.scope).run({input: {auth_identity_id: req.auth_context.auth_identity_id,seller: sellerData,member_email,- member_id: existingMemberId || undefined,address,professional_details,},diff --git a/packages/dashboard-sdk/package.json b/packages/dashboard-sdk/package.jsonindex 33d8ecec8..aa9c4e890 100644--- a/packages/dashboard-sdk/package.json+++ b/packages/dashboard-sdk/package.json@@ -1,6 +1,6 @@{"name": "@mercurjs/dashboard-sdk",- "version": "2.1.0-canary.0",+ "version": "2.0.1","repository": {"type": "git","url": "https://github.com/mercurjs/mercur",diff --git a/packages/dashboard-shared/package.json b/packages/dashboard-shared/package.jsonindex 65204df79..a7b632c8e 100644--- a/packages/dashboard-shared/package.json+++ b/packages/dashboard-shared/package.json@@ -1,6 +1,6 @@{"name": "@mercurjs/dashboard-shared",- "version": "2.1.0-canary.0",+ "version": "2.0.1","repository": {"type": "git","url": "https://github.com/mercurjs/mercur",diff --git a/packages/providers/payout-stripe-connect/package.json b/packages/providers/payout-stripe-connect/package.jsonindex 5eb505abe..78909e830 100644--- a/packages/providers/payout-stripe-connect/package.json+++ b/packages/providers/payout-stripe-connect/package.json@@ -1,6 +1,6 @@{"name": "@mercurjs/payout-stripe-connect",- "version": "2.1.0-canary.0",+ "version": "2.0.1","description": "Stripe Connect payment provider for Mercur","private": false,"type": "module",diff --git a/packages/types/package.json b/packages/types/package.jsonindex f65e6a078..3f0e35a94 100644--- a/packages/types/package.json+++ b/packages/types/package.json@@ -1,6 +1,6 @@{"name": "@mercurjs/types",- "version": "2.1.0-canary.0",+ "version": "2.0.1","repository": {"type": "git","url": "https://github.com/mercurjs/mercur",diff --git a/packages/vendor/package.json b/packages/vendor/package.jsonindex 71ecc88b7..177761cce 100644--- a/packages/vendor/package.json+++ b/packages/vendor/package.json@@ -1,6 +1,6 @@{"name": "@mercurjs/vendor",- "version": "2.1.0-canary.0",+ "version": "2.0.1","repository": {"type": "git","url": "https://github.com/mercurjs/mercur",diff --git a/templates/basic/apps/admin/package.json b/templates/basic/apps/admin/package.jsonindex aa18b707f..7bb37a055 100644--- a/templates/basic/apps/admin/package.json+++ b/templates/basic/apps/admin/package.json@@ -10,7 +10,7 @@"preview": "vite preview --port 7000"},"dependencies": {- "@mercurjs/admin": "2.0.0",+ "@mercurjs/admin": "2.0.1","@acme/api": "*"},"devDependencies": {diff --git a/templates/basic/apps/vendor/package.json b/templates/basic/apps/vendor/package.jsonindex c20beaafa..2f49e8bda 100644--- a/templates/basic/apps/vendor/package.json+++ b/templates/basic/apps/vendor/package.json@@ -10,7 +10,7 @@"preview": "vite preview --port 7001"},"dependencies": {- "@mercurjs/vendor": "2.0.0",+ "@mercurjs/vendor": "2.0.1","@acme/api": "*"},"devDependencies": {diff --git a/templates/basic/package.json b/templates/basic/package.jsonindex 1e1bea168..4a2539100 100644--- a/templates/basic/package.json+++ b/templates/basic/package.json@@ -14,9 +14,9 @@"zod": "3.25.76","@medusajs/icons": "^2.13.4","@medusajs/ui": "4.1.1",- "@mercurjs/dashboard-sdk": "2.0.0",- "@mercurjs/dashboard-shared": "2.0.0",- "@mercurjs/client": "2.0.0",+ "@mercurjs/dashboard-sdk": "2.0.1",+ "@mercurjs/dashboard-shared": "2.0.1",+ "@mercurjs/client": "2.0.1","react-i18next": "13.5.0","@tanstack/react-query": "5.64.2","react-router-dom": "6.30.3",diff --git a/templates/basic/packages/api/package.json b/templates/basic/packages/api/package.jsonindex f6b431f43..0d55217de 100644--- a/templates/basic/packages/api/package.json+++ b/templates/basic/packages/api/package.json@@ -34,10 +34,10 @@"@medusajs/admin-shared": "^2.13.4","@medusajs/medusa": "^2.13.4","@medusajs/draft-order": "2.13.4",- "@mercurjs/core-plugin": "2.0.0",- "@mercurjs/types": "2.0.0",+ "@mercurjs/core-plugin": "2.0.1",+ "@mercurjs/types": "2.0.1","http-proxy-middleware": "^3.0.3",- "@mercurjs/cli": "2.0.0"+ "@mercurjs/cli": "2.0.1"},"devDependencies": {"@medusajs/test-utils": "^2.13.4",