@criipto/verify-react 1.1.1 → 1.1.3

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/dist/index.d.ts CHANGED
@@ -8,3 +8,4 @@ export { type Result, type Action, actions } from './context';
8
8
  export { type Language, filterAcrValues } from './utils';
9
9
  export { OAuth2Error } from '@criipto/auth-js';
10
10
  export { CriiptoVerifyProvider, AuthMethodSelector, AuthMethodSelectorSweden, AuthMethodButton, useCriiptoVerify, QRCode, SEBankIDQRCode };
11
+ import './index.css';
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import { PKCEPublicPart, Prompt } from '@criipto/auth-js';
3
3
  import { Action } from './context';
4
- import '@criipto/auth-js/dist/index.css';
5
4
  export interface CriiptoVerifyProviderOptions {
6
5
  domain: string;
7
6
  clientID: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@criipto/verify-react",
3
3
  "private": false,
4
- "version": "1.1.1",
4
+ "version": "1.1.3",
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",
package/example/README.md DELETED
@@ -1,9 +0,0 @@
1
- # Example app with @criipto-verify-react
2
-
3
- `CriiptoVerifyProvider` is implemented in [src/index.js](src/index.js) and the primary app logic is in [src/App.js](src/App.js).
4
- You can run this sample app directly with example credentials, or use your own `domain`and `clientID` if you configure your application on the [Criipto Dashboard](https://dashboard.criipto.com/).
5
-
6
- ```jsx
7
- domain = 'samples.criipto.id';
8
- clientID = 'urn:criipto:samples:criipto-verify-react';
9
- ```