@mercurjs/vendor 2.2.0-canary.47 → 2.2.0-canary.48
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.
package/dist/index.js
CHANGED
|
@@ -67,6 +67,7 @@ import { Navigate, useLocation } from "react-router-dom";
|
|
|
67
67
|
// src/components/onboarding-wizard/onboarding-wizard.tsx
|
|
68
68
|
import { AnimatePresence } from "motion/react";
|
|
69
69
|
import { useNavigate as useNavigate2 } from "react-router-dom";
|
|
70
|
+
import { linkFields, useExtension } from "@mercurjs/dashboard-shared";
|
|
70
71
|
|
|
71
72
|
// src/components/onboarding-wizard/wizard-sidebar.tsx
|
|
72
73
|
import { ChevronLeft } from "@medusajs/icons";
|
|
@@ -870,7 +871,10 @@ import { jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
|
870
871
|
var OnboardingWizard = ({ memberEmail }) => {
|
|
871
872
|
const navigate = useNavigate2();
|
|
872
873
|
const { mutateAsync: logoutMutation } = useLogout();
|
|
873
|
-
const
|
|
874
|
+
const links = useExtension().getLinks("seller");
|
|
875
|
+
const { seller_members } = useSellers(
|
|
876
|
+
links.length ? { fields: linkFields(links) } : void 0
|
|
877
|
+
);
|
|
874
878
|
const hasStores = (seller_members?.length ?? 0) > 0;
|
|
875
879
|
const {
|
|
876
880
|
currentStep,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mercurjs/vendor",
|
|
3
|
-
"version": "2.2.0-canary.
|
|
3
|
+
"version": "2.2.0-canary.48",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/mercurjs/mercur",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"lint": "oxlint --max-warnings 0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@mercurjs/dashboard-shared": "2.2.0-canary.
|
|
38
|
-
"@mercurjs/client": "2.2.0-canary.
|
|
37
|
+
"@mercurjs/dashboard-shared": "2.2.0-canary.48",
|
|
38
|
+
"@mercurjs/client": "2.2.0-canary.48",
|
|
39
39
|
"@ariakit/react": "^0.4.15",
|
|
40
40
|
"@babel/runtime": "^7.26.10",
|
|
41
41
|
"@dnd-kit/core": "^6.1.0",
|
|
@@ -88,8 +88,8 @@
|
|
|
88
88
|
"tsup": "^8.0.2",
|
|
89
89
|
"typescript": "5.9.3",
|
|
90
90
|
"@medusajs/types": "2.17.2",
|
|
91
|
-
"@mercurjs/core": "2.2.0-canary.
|
|
92
|
-
"@mercurjs/dashboard-sdk": "2.2.0-canary.
|
|
93
|
-
"@mercurjs/types": "2.2.0-canary.
|
|
91
|
+
"@mercurjs/core": "2.2.0-canary.48",
|
|
92
|
+
"@mercurjs/dashboard-sdk": "2.2.0-canary.48",
|
|
93
|
+
"@mercurjs/types": "2.2.0-canary.48"
|
|
94
94
|
}
|
|
95
95
|
}
|