@frontegg/react 6.0.15-alpha.7238886569 → 6.0.15-alpha.7248212940

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@frontegg/react",
3
3
  "libName": "FronteggReact",
4
- "version": "6.0.15-alpha.7238886569",
4
+ "version": "6.0.15-alpha.7248212940",
5
5
  "author": "Frontegg LTD",
6
6
  "main": "index.js",
7
7
  "types": "index.d.ts",
@@ -10,8 +10,8 @@
10
10
  "build:watch": "rm -rf dist && mkdir dist && rollup -w -c ./rollup.config.js"
11
11
  },
12
12
  "dependencies": {
13
- "@frontegg/js": "6.162.0-alpha.1",
14
- "@frontegg/react-hooks": "6.162.0-alpha.1"
13
+ "@frontegg/js": "6.162.0-alpha.2",
14
+ "@frontegg/react-hooks": "6.162.0-alpha.2"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "react": ">16.9.0",
@@ -1,14 +0,0 @@
1
- import React, { ReactNode } from 'react';
2
- export interface SteppedUpProps {
3
- maxAge?: number;
4
- render?: (isSteppedUp: boolean) => React.ReactNode | null;
5
- children?: ReactNode;
6
- }
7
- /**
8
- * Stepped up content component that shows the wrapped content only when the user is stepped up
9
- * The component triggers the step up flow if the user is not stepped up
10
- * @param maxAge maximum time in second that the login is valid
11
- * @param render render function to be called when user is stepped up
12
- * @param children to be shown when user is stepped up (only if render not provided)
13
- */
14
- export declare const SteppedUpContent: React.FC<SteppedUpProps>;