@criipto/verify-react 2.3.1 → 2.4.2

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,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { AuthorizeUrlParamsOptional, PKCEPublicPart, Prompt } from '@criipto/auth-js';
3
3
  import { Action } from './context';
4
+ import { ResponseType } from '@criipto/auth-js/dist/types';
4
5
  export interface CriiptoVerifyProviderOptions {
5
6
  domain: string;
6
7
  clientID: string;
@@ -44,6 +45,14 @@ export interface CriiptoVerifyProviderOptions {
44
45
  * @deprecated Criipto internal use
45
46
  */
46
47
  criiptoSdk?: null | string;
48
+ /**
49
+ * @deprecated Criipto internal use
50
+ */
51
+ responseType?: ResponseType | 'code id_token';
52
+ /**
53
+ * @deprecated Criipto internal use
54
+ */
55
+ responseMode?: "query" | "form_post" | "fragment" | "json" | "post_message";
47
56
  }
48
57
  export declare const ACTION_SUPPORTING_ACR_VALUES: string[];
49
58
  export declare const MESSAGE_SUPPORTING_ACR_VALUES: string[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@criipto/verify-react",
3
3
  "private": false,
4
- "version": "2.3.1",
4
+ "version": "2.4.2",
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",