@snokam/auth 2.0.4 → 2.0.5-alpha.0

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
@@ -3,34 +3,19 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [2.0.4](https://github.com/snokam/components/compare/@snokam/auth@2.0.3...@snokam/auth@2.0.4) (2024-09-20)
7
-
8
- **Note:** Version bump only for package @snokam/auth
9
-
10
-
11
-
12
-
13
-
14
- ## [2.0.3](https://github.com/snokam/components/compare/@snokam/auth@2.0.2...@snokam/auth@2.0.3) (2024-09-18)
6
+ ## [2.0.5-alpha.0](https://github.com/snokam/components/compare/@snokam/auth@2.0.4...@snokam/auth@2.0.5-alpha.0) (2024-09-25)
15
7
 
16
8
 
17
9
  ### Bug Fixes
18
10
 
19
- * export Authenticated and Unauthenticated ([6ebc417](https://github.com/snokam/components/commit/6ebc4174c6042e27beda39706c2135e39c6980ff))
20
-
21
-
22
-
23
-
24
-
25
- ## [2.0.2](https://github.com/snokam/components/compare/@snokam/auth@2.0.1...@snokam/auth@2.0.2) (2024-09-11)
26
-
27
- **Note:** Version bump only for package @snokam/auth
11
+ * build problemsg ([8833b37](https://github.com/snokam/components/commit/8833b37a08b1a12fa60e816eab6b3550124f3cb7))
12
+ * set version names ([f862cd7](https://github.com/snokam/components/commit/f862cd7cc50591adf13380c9ae42156512015b85))
28
13
 
29
14
 
30
15
 
31
16
 
32
17
 
33
- ## [2.0.1](https://github.com/snokam/components/compare/@snokam/auth@2.0.0...@snokam/auth@2.0.1) (2024-09-11)
18
+ ## [2.0.1-alpha.0](https://github.com/snokam/components/compare/@snokam/auth@2.0.0...@snokam/auth@2.0.1-alpha.0) (2024-09-11)
34
19
 
35
20
  **Note:** Version bump only for package @snokam/auth
36
21
 
@@ -0,0 +1,2 @@
1
+ import { Auth } from "../../types";
2
+ export declare const Authenticate: (props: Auth.Provider.Props) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export declare const Callback: () => import("react/jsx-runtime").JSX.Element;
2
+ export default Callback;
@@ -0,0 +1 @@
1
+ export declare const PopupLogin: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { Auth } from "../../types";
2
+ export declare const Provider: {
3
+ (props: Auth.Provider.Props): import("react/jsx-runtime").JSX.Element;
4
+ Callback: () => import("react/jsx-runtime").JSX.Element;
5
+ };
6
+ export default Provider;
package/lib/index.d.ts ADDED
@@ -0,0 +1,12 @@
1
+ import { Auth } from "./types";
2
+ export { useAuth } from "./hooks";
3
+ export { AuthenticatedTemplate as Authenticated, UnauthenticatedTemplate as Unauthenticated, } from "@azure/msal-react";
4
+ export type { Auth };
5
+ declare const _default: {
6
+ Provider: {
7
+ (props: Auth.Provider.Props): import("react/jsx-runtime").JSX.Element;
8
+ Callback: () => import("react/jsx-runtime").JSX.Element;
9
+ };
10
+ Authenticate: (props: Auth.Provider.Props) => import("react/jsx-runtime").JSX.Element;
11
+ };
12
+ export default _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@snokam/auth",
3
3
  "description": "Snøkam auth components",
4
- "version": "2.0.4",
4
+ "version": "2.0.5-alpha.0",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [
@@ -30,7 +30,7 @@
30
30
  "@emotion/react": "^11.13.0",
31
31
  "@emotion/styled": "^11.13.0",
32
32
  "@mui/material": "^6.0.2",
33
- "@snokam/core": "^1.2.3"
33
+ "@snokam/core": "^1.2.4-alpha.0"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "next": "^14.0.0",
@@ -57,5 +57,5 @@
57
57
  ]
58
58
  }
59
59
  },
60
- "gitHead": "b7abf6baa8bd4f8e2d64ba7e00310b7582cf6b82"
60
+ "gitHead": "b3e36fd4f11b02701236b97e1271d48dc90bc41a"
61
61
  }