@connectid-tools/idp-selector-react 6.12.4 → 6.12.5
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/CidButtonHowItWorks.js +3 -2
- package/README.md +3 -0
- package/package.json +8 -8
package/CidButtonHowItWorks.js
CHANGED
|
@@ -5,14 +5,15 @@ import { ThemeContext } from "./ThemeContext.js";
|
|
|
5
5
|
import { useContext } from "react";
|
|
6
6
|
export const CidButtonHowItWorks = () => {
|
|
7
7
|
const theme = useContext(ThemeContext);
|
|
8
|
+
const howDoesItWorkUrl = "https://www.auspayplus.com.au/solutions/connectid-for-consumers#how-it-works";
|
|
8
9
|
const handleClick = () => {
|
|
9
10
|
if (typeof analytics !== "undefined") {
|
|
10
11
|
analytics.track("Link to External Page Clicked", {
|
|
11
12
|
source: "how_does_it_work",
|
|
12
|
-
link_url:
|
|
13
|
+
link_url: howDoesItWorkUrl,
|
|
13
14
|
rp_sub_brand: getCurrentUrlOrigin(),
|
|
14
15
|
});
|
|
15
16
|
}
|
|
16
17
|
};
|
|
17
|
-
return (_jsx("a", { href:
|
|
18
|
+
return (_jsx("a", { href: howDoesItWorkUrl, onClick: handleClick, target: "_blank", tabIndex: 0, className: `cid-idp-selector-how-it-works ${theme === "light" ? "cid-idp-selector-how-it-works--light" : ""}`, "data-testid": "how-it-works", children: "How does it work?" }));
|
|
18
19
|
};
|
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@connectid-tools/idp-selector-react",
|
|
3
|
-
"version": "6.12.
|
|
3
|
+
"version": "6.12.5",
|
|
4
4
|
"description": "React component for IDP Selector.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -26,23 +26,23 @@
|
|
|
26
26
|
"homepage": "https://github.com/connectid-tools/idp-selector-react",
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@babel/preset-typescript": "^7.29.7",
|
|
29
|
-
"@types/node": "^22.
|
|
29
|
+
"@types/node": "^22.20.1",
|
|
30
30
|
"@types/react": "^18.3.31",
|
|
31
31
|
"@types/react-dom": "^18.3.7",
|
|
32
|
-
"cypress": "^15.
|
|
32
|
+
"cypress": "^15.20.0",
|
|
33
33
|
"jest-environment-jsdom": "^30.4.1",
|
|
34
|
-
"prettier": "^3.
|
|
34
|
+
"prettier": "^3.9.6",
|
|
35
35
|
"react": "^18.3.1",
|
|
36
36
|
"react-dom": "^18.3.1",
|
|
37
37
|
"replace-in-file": "^8.4.0",
|
|
38
38
|
"ts-add-js-extension": "^1.6.6",
|
|
39
|
-
"tsx": "^4.
|
|
39
|
+
"tsx": "^4.23.11",
|
|
40
40
|
"typescript": "^5.9.3",
|
|
41
|
-
"vite": "^7.3.
|
|
41
|
+
"vite": "^7.3.6"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"detectincognitojs": "^1.
|
|
44
|
+
"detectincognitojs": "^1.9.0",
|
|
45
45
|
"react-responsive": "^10.0.1",
|
|
46
|
-
"swr": "^2.
|
|
46
|
+
"swr": "^2.5.0"
|
|
47
47
|
}
|
|
48
48
|
}
|