@cincoders/cinnamon 1.2.2 → 1.3.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.
@@ -2,5 +2,6 @@
2
2
  import { AuthContextProps } from 'react-oidc-context';
3
3
  export interface ForbiddenPageProps {
4
4
  auth?: AuthContextProps;
5
+ publicURL?: string;
5
6
  }
6
- export declare const ForbiddenPage: ({ auth }: ForbiddenPageProps) => JSX.Element;
7
+ export declare const ForbiddenPage: ({ auth, publicURL }: ForbiddenPageProps) => JSX.Element;
@@ -4,6 +4,7 @@ import { AuthContextProps } from 'react-oidc-context';
4
4
  interface PageWithAuthProps extends PageProps {
5
5
  authProps: {
6
6
  auth: AuthContextProps;
7
+ publicURL?: string;
7
8
  permittedRoles: string[];
8
9
  };
9
10
  }
@@ -3,6 +3,7 @@ import { AuthContextProps } from 'react-oidc-context';
3
3
  interface AuthProps {
4
4
  auth: AuthContextProps;
5
5
  permittedRoles: string[];
6
+ publicURL?: string;
6
7
  children: JSX.Element;
7
8
  }
8
9
  export declare const RequireAuth: (props: AuthProps) => React.ReactElement;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cincoders/cinnamon",
3
- "version": "1.2.2",
3
+ "version": "1.3.0",
4
4
  "description": "A collection components for standardized system appearance and functionality, easing development in web applications.",
5
5
  "license": "MIT",
6
6
  "author": "CInCoders <cincoders@cin.ufpe.br> (https://cincoders.cin.ufpe.br)",