@medusajs/admin-bundler 2.12.4-snapshot-20251226021253 → 2.12.4-snapshot-20251226024319
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 +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1317,7 +1317,7 @@ async function getViteConfig(options) {
|
|
|
1317
1317
|
const storefrontUrl = options.storefrontUrl ?? "";
|
|
1318
1318
|
const authType = process.env.ADMIN_AUTH_TYPE ?? void 0;
|
|
1319
1319
|
const jwtTokenStorageKey = process.env.ADMIN_JWT_TOKEN_STORAGE_KEY ?? void 0;
|
|
1320
|
-
const cloudAuthEnabled = process.env.
|
|
1320
|
+
const cloudAuthEnabled = process.env.EXECUTION_CONTEXT === "medusa-cloud" && process.env.MEDUSA_CLOUD_OAUTH_DISABLED !== "true";
|
|
1321
1321
|
console.log("cloudAuthEnabled", cloudAuthEnabled);
|
|
1322
1322
|
const baseConfig = {
|
|
1323
1323
|
root,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medusajs/admin-bundler",
|
|
3
|
-
"version": "2.12.4-snapshot-
|
|
3
|
+
"version": "2.12.4-snapshot-20251226024319",
|
|
4
4
|
"description": "Bundler for the Medusa admin dashboard.",
|
|
5
5
|
"author": "Kasper Kristensen <kasper@medusajs.com>",
|
|
6
6
|
"scripts": {
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"package.json"
|
|
19
19
|
],
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@medusajs/types": "2.12.4-snapshot-
|
|
21
|
+
"@medusajs/types": "2.12.4-snapshot-20251226024319"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@medusajs/admin-shared": "2.12.4-snapshot-
|
|
25
|
-
"@medusajs/admin-vite-plugin": "2.12.4-snapshot-
|
|
26
|
-
"@medusajs/dashboard": "2.12.4-snapshot-
|
|
24
|
+
"@medusajs/admin-shared": "2.12.4-snapshot-20251226024319",
|
|
25
|
+
"@medusajs/admin-vite-plugin": "2.12.4-snapshot-20251226024319",
|
|
26
|
+
"@medusajs/dashboard": "2.12.4-snapshot-20251226024319",
|
|
27
27
|
"@vitejs/plugin-react": "^4.2.1",
|
|
28
28
|
"autoprefixer": "^10.4.19",
|
|
29
29
|
"compression": "^1.8.0",
|