@gr4vy/secure-fields-react 1.20.0 → 1.21.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/CHANGELOG.md +13 -0
- package/README.md +10 -9
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
# v1.21.0 (Thu Nov 07 2024)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- task: request FPAN token [#770](https://github.com/gr4vy/secure-fields/pull/770) ([@luca-gr4vy](https://github.com/luca-gr4vy) [@kim4tGr4vy](https://github.com/kim4tGr4vy))
|
|
6
|
+
|
|
7
|
+
#### Authors: 2
|
|
8
|
+
|
|
9
|
+
- Kim ([@kim4tGr4vy](https://github.com/kim4tGr4vy))
|
|
10
|
+
- Luca Allievi ([@luca-gr4vy](https://github.com/luca-gr4vy))
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
1
14
|
# v1.19.3 (Tue Oct 01 2024)
|
|
2
15
|
|
|
3
16
|
#### 🏠 Internal
|
package/README.md
CHANGED
|
@@ -186,15 +186,16 @@ const { secureFields } = useSecureFields()
|
|
|
186
186
|
|
|
187
187
|
The `ClickToPay` component accepts the following props:
|
|
188
188
|
|
|
189
|
-
| Prop Name | Description
|
|
190
|
-
| ----------------- |
|
|
191
|
-
| `srcDpaId` | DPA Identifier. This is a unique identifier for you Digital Payment Application (DPA), which was generated during onboarding.
|
|
192
|
-
| `dpaName` | Legal name of registered DPA.
|
|
193
|
-
| `cardBrands` | List of card schemes the merchant accepts. We currently support `mastercard`, `maestro`, `visa`, `amex`, `discover`
|
|
194
|
-
| `consentCheckbox` | A reference to the opt-in consent checkbox element.
|
|
195
|
-
| `learnMoreLink` | A reference to the learn more link element.
|
|
196
|
-
| `email` | The user email used to access Click to Pay.
|
|
197
|
-
| `mobileNumber` | The user phone number used to access Click to Pay. Required format is `{ countryCode: string, phoneNumber: string }`
|
|
189
|
+
| Prop Name | Description |
|
|
190
|
+
| ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
191
|
+
| `srcDpaId` | DPA Identifier. This is a unique identifier for you Digital Payment Application (DPA), which was generated during onboarding. |
|
|
192
|
+
| `dpaName` | Legal name of registered DPA. |
|
|
193
|
+
| `cardBrands` | List of card schemes the merchant accepts. We currently support `mastercard`, `maestro`, `visa`, `amex`, `discover` |
|
|
194
|
+
| `consentCheckbox` | A reference to the opt-in consent checkbox element. |
|
|
195
|
+
| `learnMoreLink` | A reference to the learn more link element. |
|
|
196
|
+
| `email` | The user email used to access Click to Pay. |
|
|
197
|
+
| `mobileNumber` | The user phone number used to access Click to Pay. Required format is `{ countryCode: string, phoneNumber: string }` |
|
|
198
|
+
| `dynamicDataType` | The type of cryptogram or token used for the card data. See the [Mastercard docs](https://developer.mastercard.com/unified-checkout-solutions/documentation/sdk-reference/parameters/#payment-options) for more information. Possible values are `NONE` and `CARD_APPLICATION_CRYPTOGRAM_SHORT_FORM`. |
|
|
198
199
|
|
|
199
200
|
### Click to Pay Global events
|
|
200
201
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gr4vy/secure-fields-react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.21.0",
|
|
4
4
|
"description": "Gr4vy-hosted secure fields offering advanced theming, PCI compliance, event handling, and more.",
|
|
5
5
|
"main": "lib/index",
|
|
6
6
|
"types": "lib/index",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"react-dom": ">=17.0.0"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@gr4vy/secure-fields": "^1.
|
|
44
|
+
"@gr4vy/secure-fields": "^1.21.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@testing-library/react-hooks": "^8.0.1",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "3c54a8dcb35a1871463054168dff6983051e6870"
|
|
57
57
|
}
|