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/index.html CHANGED
@@ -159,11 +159,11 @@
159
159
  });
160
160
 
161
161
  const populateYears = (selectId, range) => {
162
- const currentYear = new Date().getFullYear();
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 = currentYear + i;
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.0",
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",