@a-tech.jo/auth-sdk 1.0.11 → 1.0.12
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 +2 -3
- package/dist/index.mjs +2 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -760,9 +760,8 @@ var SDKAuthContainer = ({
|
|
|
760
760
|
async function verifyToken(token, environment = "production") {
|
|
761
761
|
const baseUrlMap = {
|
|
762
762
|
local: "http://localhost:3000",
|
|
763
|
-
stage: "https://auth.atech-workspace.com",
|
|
764
|
-
production: "https://
|
|
765
|
-
// Replace with your production URL
|
|
763
|
+
stage: "https://stage.auth.atech-workspace.com",
|
|
764
|
+
production: "https://auth.atech-workspace.com"
|
|
766
765
|
};
|
|
767
766
|
const baseUrl = baseUrlMap[environment] || baseUrlMap.production;
|
|
768
767
|
try {
|
package/dist/index.mjs
CHANGED
|
@@ -724,9 +724,8 @@ var SDKAuthContainer = ({
|
|
|
724
724
|
async function verifyToken(token, environment = "production") {
|
|
725
725
|
const baseUrlMap = {
|
|
726
726
|
local: "http://localhost:3000",
|
|
727
|
-
stage: "https://auth.atech-workspace.com",
|
|
728
|
-
production: "https://
|
|
729
|
-
// Replace with your production URL
|
|
727
|
+
stage: "https://stage.auth.atech-workspace.com",
|
|
728
|
+
production: "https://auth.atech-workspace.com"
|
|
730
729
|
};
|
|
731
730
|
const baseUrl = baseUrlMap[environment] || baseUrlMap.production;
|
|
732
731
|
try {
|