@openinc/parse-server-opendash 4.32.1 → 4.32.3
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.
|
@@ -68,4 +68,11 @@ function logParseSdkState() {
|
|
|
68
68
|
console.error(`${LOG_PREFIX} applicationId: ${node_1.default.applicationId || "(not set)"}, ` +
|
|
69
69
|
`serverURL: ${node_1.default.serverURL || "(not set)"}, ` +
|
|
70
70
|
`masterKey: ${node_1.default.masterKey ? "set" : "(not set)"}`);
|
|
71
|
+
if (serverParse && serverParse !== node_1.default) {
|
|
72
|
+
const serverVersion = String(serverParse.CoreManager.get("VERSION")).replace(/^js/, "");
|
|
73
|
+
console.error(`${LOG_PREFIX} What to do: two copies of the Parse SDK are installed. Set "parse" in the ` +
|
|
74
|
+
`package.json of @openinc/parse-server-opendash to exactly the version parse-server ` +
|
|
75
|
+
`depends on ("parse": "${serverVersion}"), reinstall and release. Only raise it ` +
|
|
76
|
+
`together with a parse-server version that ships the newer SDK.`);
|
|
77
|
+
}
|
|
71
78
|
}
|