@criipto/verify-react 2.4.2 → 3.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 +1 -1
- package/dist/components/AuthMethodButton/Logo.d.ts +1 -1
- package/dist/components/AuthMethodButton.d.ts +1 -1
- package/dist/components/AuthMethodSelector.d.ts +2 -3
- package/dist/components/Button.d.ts +2 -2
- package/dist/components/SEBankIDQRCode.d.ts +2 -2
- package/dist/components/SEBankIDSameDeviceButton/Foreground.d.ts +1 -1
- package/dist/components/SEBankIDSameDeviceButton/Poll.d.ts +1 -1
- package/dist/components/SEBankIDSameDeviceButton/Reload.d.ts +1 -1
- package/dist/components/SEBankIDSameDeviceButton.d.ts +2 -2
- package/dist/criipto-verify-react.cjs.js +1 -1
- package/dist/criipto-verify-react.cjs.js.map +1 -1
- package/dist/criipto-verify-react.esm.js +1 -1
- package/dist/criipto-verify-react.esm.js.map +1 -1
- package/dist/provider.d.ts +1 -1
- package/dist/stories/StoryResponseRenderer.d.ts +3 -3
- package/doctor-storybook.log +13 -0
- package/package.json +25 -19
package/dist/provider.d.ts
CHANGED
|
@@ -61,6 +61,6 @@ export declare function buildLoginHint(loginHint: string | undefined | null, par
|
|
|
61
61
|
action?: Action;
|
|
62
62
|
message?: string;
|
|
63
63
|
}): string | undefined;
|
|
64
|
-
declare const CriiptoVerifyProvider: (props: CriiptoVerifyProviderOptions) =>
|
|
64
|
+
declare const CriiptoVerifyProvider: (props: CriiptoVerifyProviderOptions) => React.ReactElement;
|
|
65
65
|
export default CriiptoVerifyProvider;
|
|
66
66
|
export declare function resetRedirectState(window: Window): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
interface Props {
|
|
3
|
-
children:
|
|
3
|
+
children: React.ReactElement;
|
|
4
4
|
}
|
|
5
|
-
export default function StoryResponseRenderer(props: Props):
|
|
5
|
+
export default function StoryResponseRenderer(props: Props): React.ReactElement;
|
|
6
6
|
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
🩺 The doctor is checking the health of your Storybook..
|
|
2
|
+
╭ Package storybook not found ───────────────────────────────────────────────────────────╮
|
|
3
|
+
│ │
|
|
4
|
+
│ The storybook package was not found in your package.json. │
|
|
5
|
+
│ Installing storybook as a direct dev dependency in your package.json is required. │
|
|
6
|
+
│ │
|
|
7
|
+
╰────────────────────────────────────────────────────────────────────────────────────────╯
|
|
8
|
+
|
|
9
|
+
You can always recheck the health of your project by running:
|
|
10
|
+
npx storybook doctor
|
|
11
|
+
|
|
12
|
+
Full logs are available in /home/mick/dev/criipto-verify-react/doctor-storybook.log
|
|
13
|
+
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@criipto/verify-react",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "3.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",
|
|
@@ -11,38 +11,44 @@
|
|
|
11
11
|
"clean": "rm -rf dist/",
|
|
12
12
|
"build": "webpack --config webpack.config.js",
|
|
13
13
|
"check": "tsc --noEmit",
|
|
14
|
-
"storybook": "
|
|
15
|
-
"build-storybook": "build
|
|
14
|
+
"storybook": "storybook dev -p 6006",
|
|
15
|
+
"build-storybook": "storybook build",
|
|
16
16
|
"prepublishOnly": "npm run check && npm run clean && npm run build"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"react": "^16.11.0 || ^17 || ^18",
|
|
20
|
-
"react-dom": "^16.11.0 || ^17 || ^18"
|
|
19
|
+
"react": "^16.11.0 || ^17 || ^18 || ^19",
|
|
20
|
+
"react-dom": "^16.11.0 || ^17 || ^18 || ^19"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@babel/core": "^7.18.6",
|
|
24
|
-
"@
|
|
25
|
-
"@storybook
|
|
26
|
-
"@storybook/addon-
|
|
27
|
-
"@storybook/addon-
|
|
28
|
-
"@storybook/
|
|
29
|
-
"@storybook/
|
|
30
|
-
"@storybook/
|
|
31
|
-
"@storybook/
|
|
24
|
+
"@babel/preset-env": "^7.26.8",
|
|
25
|
+
"@chromatic-com/storybook": "^3.2.4",
|
|
26
|
+
"@storybook/addon-actions": "^8.5.3",
|
|
27
|
+
"@storybook/addon-essentials": "^8.5.3",
|
|
28
|
+
"@storybook/addon-interactions": "^8.5.3",
|
|
29
|
+
"@storybook/addon-links": "^8.5.3",
|
|
30
|
+
"@storybook/addon-onboarding": "^8.5.3",
|
|
31
|
+
"@storybook/addon-webpack5-compiler-babel": "^3.0.5",
|
|
32
|
+
"@storybook/addon-webpack5-compiler-swc": "^2.0.0",
|
|
33
|
+
"@storybook/blocks": "^8.5.3",
|
|
34
|
+
"@storybook/react": "^8.5.3",
|
|
35
|
+
"@storybook/react-webpack5": "^8.5.3",
|
|
36
|
+
"@storybook/test": "^8.5.3",
|
|
32
37
|
"@types/jest": "^29.0.3",
|
|
33
38
|
"@types/qrcode": "^1.4.2",
|
|
34
|
-
"@types/react": "^
|
|
35
|
-
"@types/react-dom": "^
|
|
36
|
-
"@types/react-test-renderer": "^
|
|
39
|
+
"@types/react": "^19.0.0",
|
|
40
|
+
"@types/react-dom": "^19.0.0",
|
|
41
|
+
"@types/react-test-renderer": "^19.0.0",
|
|
37
42
|
"@types/ua-parser-js": "^0.7.36",
|
|
38
43
|
"babel-loader": "^8.2.5",
|
|
39
44
|
"css-loader": "^6.7.1",
|
|
40
45
|
"jest": "^29.0.3",
|
|
41
46
|
"jest-transform-stub": "^2.0.0",
|
|
42
47
|
"mini-css-extract-plugin": "^2.6.1",
|
|
43
|
-
"react": "^
|
|
44
|
-
"react-dom": "^
|
|
45
|
-
"react-test-renderer": "^
|
|
48
|
+
"react": "^19.0.0",
|
|
49
|
+
"react-dom": "^19.0.0",
|
|
50
|
+
"react-test-renderer": "^19.0.0",
|
|
51
|
+
"storybook": "^8.5.3",
|
|
46
52
|
"ts-jest": "^29.0.1",
|
|
47
53
|
"ts-loader": "^9.3.1",
|
|
48
54
|
"ts-node": "^10.9.1",
|