@criipto/verify-react 1.2.6 → 2.0.0
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/components/AuthButtonGroup.d.ts +10 -0
- package/dist/components/AuthMethodButton.d.ts +0 -6
- package/dist/components/SEBankIDQRCode/SEBankIDQRCode.test.d.ts +1 -0
- package/dist/components/SEBankIDQRCode.d.ts +5 -1
- package/dist/criipto-verify-react.cjs.js +1 -1
- package/dist/criipto-verify-react.cjs.js.map +1 -1
- package/dist/criipto-verify-react.css +8 -8
- package/dist/criipto-verify-react.esm.js +1 -1
- package/dist/criipto-verify-react.esm.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/utils.d.ts +1 -0
- package/jest.config.ts +3 -2
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { default as CriiptoVerifyProvider } from './provider';
|
|
2
2
|
import { default as AuthMethodSelector, Sweden as AuthMethodSelectorSweden } from './components/AuthMethodSelector';
|
|
3
3
|
import { default as AuthMethodButton } from './components/AuthMethodButton';
|
|
4
|
+
import { default as AuthButtonGroup } from './components/AuthButtonGroup';
|
|
4
5
|
import { default as QRCode } from './components/QRCode';
|
|
5
6
|
import { default as SEBankIDQRCode } from './components/SEBankIDQRCode';
|
|
6
7
|
import { default as useCriiptoVerify } from './use-criipto-verify';
|
|
7
8
|
export { type Result, type Action, actions } from './context';
|
|
8
9
|
export { type Language, filterAcrValues } from './utils';
|
|
9
10
|
export { OAuth2Error } from '@criipto/auth-js';
|
|
10
|
-
export { CriiptoVerifyProvider, AuthMethodSelector, AuthMethodSelectorSweden,
|
|
11
|
+
export { CriiptoVerifyProvider, AuthMethodSelector, AuthMethodSelectorSweden, useCriiptoVerify, QRCode, SEBankIDQRCode };
|
|
12
|
+
export { AuthMethodButton, AuthMethodButton as AuthButton, AuthButtonGroup };
|
|
11
13
|
import './index.css';
|
package/dist/utils.d.ts
CHANGED
package/jest.config.ts
CHANGED
|
@@ -89,7 +89,6 @@ export default {
|
|
|
89
89
|
// ],
|
|
90
90
|
|
|
91
91
|
// A map from regular expressions to module names or to arrays of module names that allow to stub out resources with a single module
|
|
92
|
-
// moduleNameMapper: {},
|
|
93
92
|
|
|
94
93
|
// An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader
|
|
95
94
|
// modulePathIgnorePatterns: [],
|
|
@@ -177,7 +176,9 @@ export default {
|
|
|
177
176
|
// testRunner: "jest-circus/runner",
|
|
178
177
|
|
|
179
178
|
// A map from regular expressions to paths to transformers
|
|
180
|
-
|
|
179
|
+
transform: {
|
|
180
|
+
".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2|svg)$": "jest-transform-stub",
|
|
181
|
+
},
|
|
181
182
|
|
|
182
183
|
// An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation
|
|
183
184
|
// transformIgnorePatterns: [
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@criipto/verify-react",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "2.0.0",
|
|
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",
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"babel-loader": "^8.2.5",
|
|
39
39
|
"css-loader": "^6.7.1",
|
|
40
40
|
"jest": "^29.0.3",
|
|
41
|
+
"jest-transform-stub": "^2.0.0",
|
|
41
42
|
"mini-css-extract-plugin": "^2.6.1",
|
|
42
43
|
"react": "^18.1.0",
|
|
43
44
|
"react-dom": "^18.1.0",
|