payment-token-efi 3.1.0 → 3.1.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/CHANGELOG.md +82 -0
- package/README.md +6 -1
- package/dist/payment-token-efi-cjs.min.js +2 -2
- package/dist/payment-token-efi-esm.min.js +2 -2
- package/dist/payment-token-efi-umd.min.js +2 -2
- package/dist/payment-token-efi.min.js +2 -2
- package/examples/webview-react-native.js +117 -0
- package/index.html +2 -2
- package/package.json +1 -1
package/index.html
CHANGED
|
@@ -159,11 +159,11 @@
|
|
|
159
159
|
});
|
|
160
160
|
|
|
161
161
|
const populateYears = (selectId, range) => {
|
|
162
|
-
const
|
|
162
|
+
const nextYear = new Date().getFullYear() + 1;
|
|
163
163
|
const selectElement = document.getElementById('anoVencimento');
|
|
164
164
|
|
|
165
165
|
for (let i = 0; i <= range; i++) {
|
|
166
|
-
const year =
|
|
166
|
+
const year = nextYear + i;
|
|
167
167
|
const option = document.createElement("option");
|
|
168
168
|
option.value = year;
|
|
169
169
|
option.textContent = year;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "payment-token-efi",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"description": "Módulo Javascript que permite a criptografia dos dados do cartão do cartão a partir do browser do cliente para gerar o payment_token e identificar a bandeira do cartão.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"API",
|