@budibase/backend-core 2.10.2 → 2.10.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.
- package/dist/index.js +4 -5
- package/dist/index.js.map +2 -2
- package/dist/index.js.meta.json +1 -1
- package/dist/package.json +6 -6
- package/dist/src/cache/appMetadata.js +1 -1
- package/dist/src/cache/appMetadata.js.map +1 -1
- package/dist/src/constants/misc.d.ts +2 -0
- package/dist/src/constants/misc.js +2 -0
- package/dist/src/constants/misc.js.map +1 -1
- package/dist/src/environment.js +4 -5
- package/dist/src/environment.js.map +1 -1
- package/dist/src/logging/system.d.ts +1 -1
- package/dist/src/timers/timers.d.ts +1 -1
- package/package.json +6 -6
- package/src/cache/appMetadata.ts +1 -1
- package/src/constants/misc.ts +2 -0
- package/src/environment.ts +6 -6
package/dist/index.js
CHANGED
|
@@ -1592,6 +1592,8 @@ var init_misc = __esm({
|
|
|
1592
1592
|
Header2["TENANT_ID"] = "x-budibase-tenant-id";
|
|
1593
1593
|
Header2["VERIFICATION_CODE"] = "x-budibase-verification-code";
|
|
1594
1594
|
Header2["RETURN_VERIFICATION_CODE"] = "x-budibase-return-verification-code";
|
|
1595
|
+
Header2["RESET_PASSWORD_CODE"] = "x-budibase-reset-password-code";
|
|
1596
|
+
Header2["RETURN_RESET_PASSWORD_CODE"] = "x-budibase-return-reset-password-code";
|
|
1595
1597
|
Header2["TOKEN"] = "x-budibase-token";
|
|
1596
1598
|
Header2["CSRF_TOKEN"] = "x-csrf-token";
|
|
1597
1599
|
Header2["CORRELATION_ID"] = "x-budibase-correlation-id";
|
|
@@ -1711,13 +1713,10 @@ var init_identity = __esm({
|
|
|
1711
1713
|
|
|
1712
1714
|
// src/environment.ts
|
|
1713
1715
|
function isTest() {
|
|
1714
|
-
return
|
|
1716
|
+
return isJest();
|
|
1715
1717
|
}
|
|
1716
1718
|
function isJest() {
|
|
1717
|
-
return
|
|
1718
|
-
}
|
|
1719
|
-
function isCypress() {
|
|
1720
|
-
return process.env.NODE_ENV === "cypress";
|
|
1719
|
+
return process.env.NODE_ENV === "jest" || process.env.JEST_WORKER_ID != null && process.env.JEST_WORKER_ID !== "null";
|
|
1721
1720
|
}
|
|
1722
1721
|
function isDev() {
|
|
1723
1722
|
return process.env.NODE_ENV !== "production";
|