@etsoo/materialui 1.3.98 → 1.3.99

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.
@@ -1,4 +1,4 @@
1
- import { BridgeUtils } from "@etsoo/appscript";
1
+ import { AuthApi, BridgeUtils } from "@etsoo/appscript";
2
2
  import { ReactApp } from "./ReactApp";
3
3
  const coreName = "core";
4
4
  /**
@@ -44,8 +44,8 @@ export class ServiceApp extends ReactApp {
44
44
  // Cache current URL
45
45
  this.cachedUrl = removeUrl ? undefined : globalThis.location.href;
46
46
  // Get the redirect URL
47
- this.api
48
- .get("Auth/GetLogInUrl", {
47
+ new AuthApi(this)
48
+ .getSigninUrl({
49
49
  region: this.region,
50
50
  device: this.deviceId
51
51
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/materialui",
3
- "version": "1.3.98",
3
+ "version": "1.3.99",
4
4
  "description": "TypeScript Material-UI Implementation",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -50,9 +50,9 @@
50
50
  "@emotion/css": "^11.13.4",
51
51
  "@emotion/react": "^11.13.3",
52
52
  "@emotion/styled": "^11.13.0",
53
- "@etsoo/appscript": "^1.5.30",
53
+ "@etsoo/appscript": "^1.5.32",
54
54
  "@etsoo/notificationbase": "^1.1.49",
55
- "@etsoo/react": "^1.7.69",
55
+ "@etsoo/react": "^1.7.70",
56
56
  "@etsoo/shared": "^1.2.48",
57
57
  "@mui/icons-material": "^6.1.3",
58
58
  "@mui/material": "^6.1.3",
@@ -84,7 +84,7 @@
84
84
  "@types/pulltorefreshjs": "^0.1.7",
85
85
  "@types/react": "^18.3.11",
86
86
  "@types/react-avatar-editor": "^13.0.3",
87
- "@types/react-dom": "^18.3.0",
87
+ "@types/react-dom": "^18.3.1",
88
88
  "@types/react-input-mask": "^3.0.5",
89
89
  "@types/react-window": "^1.8.8",
90
90
  "@typescript-eslint/eslint-plugin": "^8.8.1",
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  ApiRefreshTokenDto,
3
+ AuthApi,
3
4
  BridgeUtils,
4
5
  ExternalEndpoint,
5
6
  IApi
@@ -80,8 +81,8 @@ export class ServiceApp<
80
81
  this.cachedUrl = removeUrl ? undefined : globalThis.location.href;
81
82
 
82
83
  // Get the redirect URL
83
- this.api
84
- .get<string>("Auth/GetLogInUrl", {
84
+ new AuthApi(this)
85
+ .getSigninUrl({
85
86
  region: this.region,
86
87
  device: this.deviceId
87
88
  })