@ebubekirylmaz/link-test 1.2.21 → 1.2.22

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/index.js CHANGED
@@ -1,3 +1 @@
1
1
  export { default as Platform } from "./src/Platform";
2
-
3
- import "./src/widgets/Login/amplifyAuth";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ebubekirylmaz/link-test",
3
- "version": "1.2.21",
3
+ "version": "1.2.22",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.js",
package/src/Platform.jsx CHANGED
@@ -1,4 +1,9 @@
1
1
  import "./global.css";
2
+ import "./widgets/Login/amplifyAuth";
3
+
4
+ import { BrowserRouter, Navigate } from "react-router-dom";
5
+ import { initialState, reducer } from "./context/reducer";
6
+ import { publish, subscribe, useEvent } from "@nucleoidai/react-event";
2
7
 
3
8
  import ContextProvider from "./ContextProvider/ContextProvider";
4
9
  import GlobalSnackMessage from "./GlobalSnackMessage/GlobalSnackMessage";
@@ -13,10 +18,6 @@ import http from "./http";
13
18
  import { init } from "./config/config";
14
19
  import oauth from "./http/oauth";
15
20
 
16
- import { BrowserRouter, Navigate } from "react-router-dom";
17
- import { initialState, reducer } from "./context/reducer";
18
- import { publish, subscribe, useEvent } from "@nucleoidai/react-event";
19
-
20
21
  init();
21
22
 
22
23
  window["@nucleoidai"] = {
@@ -13,7 +13,10 @@ Amplify.configure({
13
13
  userPoolId: credentials.userPoolId,
14
14
  userPoolWebClientId: credentials.clientId,
15
15
  authenticationFlowType: "USER_SRP_AUTH",
16
+
17
+ // 🔴 IMPORTANT: explicitly disable OAuth / Hosted UI
18
+ oauth: undefined,
16
19
  },
17
20
  });
18
21
 
19
- console.log("✅ Amplify Auth configured");
22
+ console.log("✅ Amplify Auth configured (SRP, no OAuth)");