@frontegg/nextjs 6.7.9-alpha.3787447063 → 6.7.9-alpha.3787538027

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
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
  ### NextJS Wrapper 6.7.9:
7
+ - FR-10132 - update withFronteggApp type
7
8
  - FR-10166 - update code owners
8
9
  - FR-10132 - split cookie and type fixes
9
10
  - FR-10106-FR-10103- Make package output both cjs and esm and support useAuthUser for SSR
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@frontegg/nextjs",
3
3
  "libName": "FronteggNextJs",
4
- "version": "6.7.9-alpha.3787447063",
4
+ "version": "6.7.9-alpha.3787538027",
5
5
  "author": "Frontegg LTD",
6
6
  "license": "MIT",
7
7
  "types": "dist/index.d.ts",
@@ -1,11 +1,11 @@
1
1
  import { FronteggAppOptions } from '@frontegg/types';
2
- import type { AppInitialProps } from 'next/app';
2
+ import type { AppInitialProps, AppProps } from 'next/app';
3
3
  import type { AppContextType, AppPropsType, NextComponentType } from 'next/dist/shared/lib/utils';
4
4
  import { FronteggNextJSSession } from './common';
5
5
  type FronteggCustomApp = NextComponentType<AppContextType & {
6
6
  session: FronteggNextJSSession | null;
7
7
  }, AppInitialProps, AppPropsType>;
8
- export declare const withFronteggApp: (app: ((props: unknown) => JSX.Element) & {
8
+ export declare const withFronteggApp: (app: ((props: AppProps | unknown) => JSX.Element) & {
9
9
  getInitialProps?: FronteggCustomApp['getInitialProps'];
10
10
  }, options?: Omit<FronteggAppOptions, 'contextOptions'> & {
11
11
  contextOptions?: FronteggAppOptions['contextOptions'];