@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 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://sso.a-tech.dev"
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://sso.a-tech.dev"
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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a-tech.jo/auth-sdk",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "license": "MIT",
5
5
  "description": "A-Tech Authentication SDK for React and Next.js",
6
6
  "main": "./dist/index.js",