@globalpayments/js 4.1.7 → 4.1.8

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/README.md CHANGED
@@ -24,7 +24,7 @@ This plugin allows you to use online payments (eCommerce) features of a variety
24
24
  ## Usage
25
25
 
26
26
  ```html
27
- <script src="https://js.globalpay.com/4.1.7/globalpayments.js"></script>
27
+ <script src="https://js.globalpay.com/4.1.8/globalpayments.js"></script>
28
28
  ```
29
29
 
30
30
  > Note: Installing via NPM will only provide TypeScript types for type-checking.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@globalpayments/js",
3
- "version": "4.1.7",
3
+ "version": "4.1.8",
4
4
  "author": "Heartland Developer Portal <developers@heartland.us>",
5
5
  "license": "GPL-2.0",
6
6
  "repository": {
@@ -21,7 +21,8 @@ export declare enum CardNetwork {
21
21
  Amex = "AMEX",
22
22
  Discover = "DISCOVER",
23
23
  Mastercard = "MASTERCARD",
24
- Visa = "VISA"
24
+ Visa = "VISA",
25
+ Carnet = "CARNET"
25
26
  }
26
27
  export declare enum CharacterValidation {
27
28
  englishOnly = "englishOnly",
@@ -158,6 +158,9 @@ export declare const fieldStyles: (assetBaseUrl: string) => {
158
158
  "background-size": string;
159
159
  "background-position-y": string;
160
160
  };
161
+ "img.card-number-icon.card-type-carnet": {
162
+ "background-image": string;
163
+ };
161
164
  ".card-number::-ms-clear": {
162
165
  display: string;
163
166
  };
@@ -127,6 +127,9 @@ export declare const fieldStyles: (assetBaseUrl: string) => {
127
127
  "img.card-number-icon.card-type-diners": {
128
128
  "background-image": string;
129
129
  };
130
+ "img.card-number-icon.card-type-carnet": {
131
+ "background-image": string;
132
+ };
130
133
  ".card-number::-ms-clear": {
131
134
  display: string;
132
135
  };
@@ -144,6 +144,9 @@ export declare const fieldStyles: (assetBaseUrl: string) => {
144
144
  "background-size": string;
145
145
  "background-position": string;
146
146
  };
147
+ "img.card-number-icon.card-type-carnet": {
148
+ "background-image": string;
149
+ };
147
150
  ".card-number::-ms-clear": {
148
151
  display: string;
149
152
  };
@@ -156,6 +156,9 @@ declare const fieldStyles: (assetBaseUrl: string, themePreset?: IThemePreset | u
156
156
  "img.card-number-icon.card-type-diners": {
157
157
  "background-image": string;
158
158
  };
159
+ "img.card-number-icon.card-type-carnet": {
160
+ "background-image": string;
161
+ };
159
162
  ".card-number::-ms-clear": {
160
163
  display: string;
161
164
  };
@@ -1,2 +1,2 @@
1
- declare const _default: "4.1.7";
1
+ declare const _default: "4.1.8";
2
2
  export default _default;
@@ -164,6 +164,9 @@ export declare const fieldStyles: () => {
164
164
  "background-size": string;
165
165
  "background-position-y": string;
166
166
  };
167
+ "img.card-number-icon.card-type-carnet": {
168
+ "background-image": string;
169
+ };
167
170
  ".card-number::-ms-clear": {
168
171
  display: string;
169
172
  };
@@ -300,6 +303,9 @@ export declare const fieldStyles: () => {
300
303
  "img.card-number-icon.card-type-diners": {
301
304
  "background-image": string;
302
305
  };
306
+ "img.card-number-icon.card-type-carnet": {
307
+ "background-image": string;
308
+ };
303
309
  ".card-number::-ms-clear": {
304
310
  display: string;
305
311
  };
@@ -460,6 +466,9 @@ export declare const fieldStyles: () => {
460
466
  "background-size": string;
461
467
  "background-position": string;
462
468
  };
469
+ "img.card-number-icon.card-type-carnet": {
470
+ "background-image": string;
471
+ };
463
472
  ".card-number::-ms-clear": {
464
473
  display: string;
465
474
  };
@@ -1384,12 +1393,6 @@ export declare const parentStyles: () => {
1384
1393
  "margin-right": string;
1385
1394
  float: string;
1386
1395
  };
1387
- /**
1388
- * Sets a special-case event listener that fires when all hosted
1389
- * fields in a form have registered / loaded
1390
- *
1391
- * @param fn The listener function
1392
- */
1393
1396
  ".secure-payment-form div[class$='-shield'] .ssl-text-logo": {
1394
1397
  border: string;
1395
1398
  "border-radius": string;
@@ -1411,7 +1414,9 @@ export declare const parentStyles: () => {
1411
1414
  "font-size": string;
1412
1415
  "font-weight": string;
1413
1416
  "font-family": string;
1414
- color: string;
1417
+ color: string; /**
1418
+ * Deletes all hosted fields within the form
1419
+ */
1415
1420
  "line-height": string;
1416
1421
  display: string;
1417
1422
  "vertical-align": string;
@@ -2811,7 +2816,12 @@ export declare const parentStyles: () => {
2811
2816
  };
2812
2817
  ".secure-payment-form div[class$='-logo'] .security-msg strong": {
2813
2818
  "white-space": string;
2814
- "font-weight": string;
2819
+ "font-weight": string; /**
2820
+ * Sets a special-case event listener that fires when all hosted
2821
+ * fields in a form have registered / loaded
2822
+ *
2823
+ * @param fn The listener function
2824
+ */
2815
2825
  display: string;
2816
2826
  };
2817
2827
  ".secure-payment-form div[class$='-logo'] img": {