@connectid-tools/idp-selector-react 6.11.0 → 6.12.0-alpha.1
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/Popup.js +2 -0
- package/README.md +4 -0
- package/package.json +2 -2
- package/types.d.ts +1 -1
package/Popup.js
CHANGED
|
@@ -69,6 +69,7 @@ export const Popup = ({ onProceed, onCancel, onError, claims, requiredClaims, sh
|
|
|
69
69
|
beneficiary_account_au: 14,
|
|
70
70
|
beneficiary_account_au_payid: 15,
|
|
71
71
|
beneficiary_account_international: 16,
|
|
72
|
+
cba_loyalty: 17,
|
|
72
73
|
};
|
|
73
74
|
const claimsDescription = {
|
|
74
75
|
address: "Residential address",
|
|
@@ -86,6 +87,7 @@ export const Popup = ({ onProceed, onCancel, onError, claims, requiredClaims, sh
|
|
|
86
87
|
beneficiary_account_au: "Bank account details",
|
|
87
88
|
beneficiary_account_au_payid: "PayID",
|
|
88
89
|
beneficiary_account_international: "International account",
|
|
90
|
+
cba_loyalty: "CBA loyalty",
|
|
89
91
|
};
|
|
90
92
|
const sortClaims = (claims) => {
|
|
91
93
|
const sortedClaims = [...claims];
|
package/README.md
CHANGED
|
@@ -115,6 +115,7 @@ type Claim =
|
|
|
115
115
|
| 'beneficiary_account_au'
|
|
116
116
|
| 'beneficiary_account_au_payid'
|
|
117
117
|
| 'beneficiary_account_international'
|
|
118
|
+
| 'cba_loyalty'
|
|
118
119
|
|
|
119
120
|
// e.g.
|
|
120
121
|
<CidButton claims={['email', 'given_name', 'birthdate']} />
|
|
@@ -259,6 +260,9 @@ The SVG image below the ConnectID button has either option dark or light mode. B
|
|
|
259
260
|
|
|
260
261
|
## 🚀 Release Notes
|
|
261
262
|
|
|
263
|
+
### 6.12.0-alpha.1 (Aug 7, 2025)
|
|
264
|
+
- `cba_loyalty` claim
|
|
265
|
+
|
|
262
266
|
### 6.11.0 (Aug 5, 2025)
|
|
263
267
|
- Handle Windows high contrast (HCM).
|
|
264
268
|
- Handle no claims (authentication).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@connectid-tools/idp-selector-react",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.12.0-alpha.1",
|
|
4
4
|
"description": "React component for IDP Selector.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"typescript": "^5.9.2"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"detectincognitojs": "^1.6.
|
|
43
|
+
"detectincognitojs": "^1.6.1",
|
|
44
44
|
"react-responsive": "^10.0.1",
|
|
45
45
|
"swr": "^2.3.4",
|
|
46
46
|
"vite": "^6.3.5"
|
package/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type CidButtonLabel = 'Verify' | 'Sign Up' | 'Age check' | 'Authenticate' | 'Sign up' | 'Checkout' | 'Login';
|
|
2
2
|
export type CidButtonSize = 'regular' | 'large';
|
|
3
|
-
export type Claim = 'given_name' | 'family_name' | 'middle_name' | 'phone_number' | 'email' | 'address' | 'birthdate' | 'over16' | 'over18' | 'over21' | 'over25' | 'over65' | 'beneficiary_account_au' | 'beneficiary_account_au_payid' | 'beneficiary_account_international';
|
|
3
|
+
export type Claim = 'given_name' | 'family_name' | 'middle_name' | 'phone_number' | 'email' | 'address' | 'birthdate' | 'over16' | 'over18' | 'over21' | 'over25' | 'over65' | 'beneficiary_account_au' | 'beneficiary_account_au_payid' | 'beneficiary_account_international' | 'cba_loyalty';
|
|
4
4
|
export type CertificationProfileType = 'TDIF Accreditation' | 'Redirect' | 'Channel' | 'ConnectID Claims';
|
|
5
5
|
export type CertificationProfileVariant = 'FAPI2 Adv. OP w/Private Key, PAR' | 'Identity Provider' | 'Fallback Identity Service Provider' | 'web' | 'app' | 'name' | Claim;
|
|
6
6
|
export type CertificationStatus = 'Active' | 'All';
|