@criipto/verify-react 1.1.6 → 1.1.7

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.
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { PKCEPublicPart, Prompt } from '@criipto/auth-js';
2
+ import { AuthorizeUrlParamsOptional, PKCEPublicPart, Prompt } from '@criipto/auth-js';
3
3
  import { Action } from './context';
4
4
  export interface CriiptoVerifyProviderOptions {
5
5
  domain: string;
@@ -47,5 +47,10 @@ export interface CriiptoVerifyProviderOptions {
47
47
  }
48
48
  export declare const ACTION_SUPPORTING_ACR_VALUES: string[];
49
49
  export declare const MESSAGE_SUPPORTING_ACR_VALUES: string[];
50
+ export declare function buildLoginHint(loginHint: string | undefined | null, params: {
51
+ options?: AuthorizeUrlParamsOptional;
52
+ action?: Action;
53
+ message?: string;
54
+ }): string | undefined;
50
55
  declare const CriiptoVerifyProvider: (props: CriiptoVerifyProviderOptions) => JSX.Element;
51
56
  export default CriiptoVerifyProvider;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@criipto/verify-react",
3
3
  "private": false,
4
- "version": "1.1.6",
4
+ "version": "1.1.7",
5
5
  "description": "Verify SDK for React Single Page Applications",
6
6
  "main": "dist/criipto-verify-react.cjs.js",
7
7
  "types": "dist/index.d.ts",