@plitzi/sdk-auth 0.31.0 → 0.31.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @plitzi/sdk-auth
2
2
 
3
+ ## 0.31.2
4
+
5
+ ### Patch Changes
6
+
7
+ - v0.31.2
8
+ - Updated dependencies
9
+ - @plitzi/sdk-navigation@0.31.2
10
+ - @plitzi/sdk-schema@0.31.2
11
+ - @plitzi/sdk-shared@0.31.2
12
+ - @plitzi/sdk-state@0.31.2
13
+
14
+ ## 0.31.1
15
+
16
+ ### Patch Changes
17
+
18
+ - v0.31.1
19
+ - Updated dependencies
20
+ - @plitzi/sdk-navigation@0.31.1
21
+ - @plitzi/sdk-schema@0.31.1
22
+ - @plitzi/sdk-shared@0.31.1
23
+ - @plitzi/sdk-state@0.31.1
24
+
3
25
  ## 0.31.0
4
26
 
5
27
  ### Minor Changes
@@ -2,13 +2,13 @@ import e from "./hooks/useAuth/index.mjs";
2
2
  import t from "./AuthContext.mjs";
3
3
  import { useMemo as n } from "react";
4
4
  import { QueryBuilderEvaluator as r } from "@plitzi/plitzi-ui/QueryBuilder";
5
- import i from "@plitzi/sdk-navigation/hooks/useNavigation";
6
- import { processTwig as a } from "@plitzi/sdk-shared/helpers/twigWrapper";
7
- import { createStoreHook as o } from "@plitzi/sdk-store/createStore";
5
+ import { createStoreHook as i } from "@plitzi/nexus/createStore";
6
+ import a from "@plitzi/sdk-navigation/hooks/useNavigation";
7
+ import { processTwig as o } from "@plitzi/sdk-shared/helpers/twigWrapper";
8
8
  import { jsx as s } from "react/jsx-runtime";
9
9
  //#region src/AuthContextProvider.tsx
10
10
  var c = ({ previewMode: c = !0, isHydrating: l = !1, children: u, server: d, environment: f = "production" }) => {
11
- let { useStore: p } = o(), [[{ userProvider: m, loginUrl: h, userUrl: g, refreshUrl: _, logoutUrl: v, tokenStorage: y = "localStorage", detailsPath: b = "details", tokenPath: x = "access_token", expirationTimePath: S = "expire_at" }, C]] = p(["schema.settings", "schema.variables"]), { queryParams: w, hostname: T } = i({ server: d }), E = n(() => ({
11
+ let { useStore: p } = i(), [[{ userProvider: m, loginUrl: h, userUrl: g, refreshUrl: _, logoutUrl: v, tokenStorage: y = "localStorage", detailsPath: b = "details", tokenPath: x = "access_token", expirationTimePath: S = "expire_at" }, C]] = p(["schema.settings", "schema.variables"]), { queryParams: w, hostname: T } = a({ server: d }), E = n(() => ({
12
12
  queryParams: w,
13
13
  hostname: T,
14
14
  environment: f
@@ -32,7 +32,7 @@ var c = ({ previewMode: c = !0, isHydrating: l = !1, children: u, server: d, env
32
32
  };
33
33
  }, {}) : {}, [C, E]), O = n(() => {
34
34
  try {
35
- return JSON.parse(a(JSON.stringify({
35
+ return JSON.parse(o(JSON.stringify({
36
36
  loginUrl: h,
37
37
  userUrl: g,
38
38
  refreshUrl: _,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plitzi/sdk-auth",
3
- "version": "0.31.0",
3
+ "version": "0.31.2",
4
4
  "license": "AGPL-3.0",
5
5
  "files": [
6
6
  "dist"
@@ -64,10 +64,10 @@
64
64
  },
65
65
  "dependencies": {
66
66
  "@plitzi/plitzi-ui": "^1.6.9",
67
- "@plitzi/sdk-navigation": "0.31.0",
68
- "@plitzi/sdk-schema": "0.31.0",
69
- "@plitzi/sdk-shared": "0.31.0",
70
- "@plitzi/sdk-state": "0.31.0"
67
+ "@plitzi/sdk-navigation": "0.31.2",
68
+ "@plitzi/sdk-schema": "0.31.2",
69
+ "@plitzi/sdk-shared": "0.31.2",
70
+ "@plitzi/sdk-state": "0.31.2"
71
71
  },
72
72
  "devDependencies": {
73
73
  "eslint": "^9.39.4",