Skip to content

Commit

Permalink
Merge pull request #71 from carmen-budau/release_1.8.9
Browse files Browse the repository at this point in the history
Release 1.8.9
  • Loading branch information
securesubmit-buildmaster authored Sep 8, 2022
2 parents ba90adc + 7f525b0 commit e7861e1
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 10 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
],
"npmClient": "yarn",
"useWorkspaces": true,
"version": "1.8.7",
"version": "1.8.9",
"command": {
"run": {
"stream": true
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"testcafe": "^1.9.4",
"tslint": "^6.1.3",
"typescript": "^4.1.2",
"web-component-analyzer": "^1.1.6"
"web-component-analyzer": "^1.1.6",
"cross-os": "^1.4.0"
},
"dependencies": {
"@globalpayments/js": "file:packages/globalpayments-js",
Expand Down
1 change: 1 addition & 0 deletions packages/globalpayments-js/examples/gp-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
GlobalPayments.configure({
accessToken: "<?= $accessToken ?>",
env: "qa",
apiVersion: "2021-03-22"
});

GlobalPayments.on("error", function (error) {
Expand Down
4 changes: 2 additions & 2 deletions packages/globalpayments-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@globalpayments/js",
"version": "1.8.7",
"version": "1.8.9",
"author": "Heartland Developer Portal <[email protected]>",
"license": "GPL-2.0",
"repository": {
Expand Down Expand Up @@ -41,7 +41,7 @@
}
},
"dependencies": {
"globalpayments-lib": "^1.8.12"
"globalpayments-lib": "^1.8.5"
},
"devDependencies": {
"rimraf": "*",
Expand Down
2 changes: 1 addition & 1 deletion packages/globalpayments-js/src/assets/artifactVersion.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.8.7
1.8.9
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ export default (data: IDictionary) => {
details: {
accountId: data.account_id,
accountName: data.account_name,
fingerprint: data.fingerprint,
fingerprintPresenceIndicator: data.fingerprint_presence_indicator,
merchantId: data.merchant_id,
merchantName: data.merchant_name,
reference: data.reference,
reference: data.reference
},
paymentReference: data.id,
paymentReference: data.id
};

if (data.card && data.card.masked_number_last4) {
Expand Down
2 changes: 2 additions & 0 deletions packages/globalpayments-js/src/internal/gateways/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ export interface ISuccess {
cardholderName?: string;
expiryMonth?: string;
expiryYear?: string;
fingerprint?: string;
fingerprintPresenceIndicator?: string;
isHsaFsa?: boolean;
merchantId?: string;
merchantName?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export const fieldStyles = (assetBaseUrl: string) => {
height: "48px",
"text-align": "center",
"vertical-align": "middle",
"text-transform": "uppercase"
},
"#secure-payment-field[type=button]:focus": {
border: "1px solid #2B9AEC",
Expand Down Expand Up @@ -98,6 +99,7 @@ export const fieldStyles = (assetBaseUrl: string) => {

export const parentStyles = (assetBaseUrl: string) => {
const imageBase = assetBaseUrl + "images/";
const fontBase = assetBaseUrl + "fonts/";

return {
".secure-payment-form": {
Expand All @@ -115,7 +117,8 @@ export const parentStyles = (assetBaseUrl: string) => {
display: "block",
"font-size": "0.79em",
"font-weight": "500",
},
"font-family": "GPCommerce"
},

".secure-payment-form > div": {
flex: "100%",
Expand Down Expand Up @@ -189,6 +192,11 @@ export const parentStyles = (assetBaseUrl: string) => {
opacity: "1",
},

"@font-face": {
"font-family": "GPCommerce",
src: `url("${fontBase}GPCommerce-Regular.woff2") format("woff2")`,
},

"@media(min-width: 800px)": {
".secure-payment-form .credit-card-card-expiration": {
flex: "1 1 auto",
Expand Down
2 changes: 1 addition & 1 deletion packages/globalpayments-js/src/lib/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default "1.8.7";
export default "1.8.9";
7 changes: 6 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
"@globalpayments/js-loader" "^1.8.5"

"@globalpayments/js@file:packages/globalpayments-js":
version "1.8.5"
version "1.8.6"
dependencies:
globalpayments-lib "^1.8.5"

Expand Down Expand Up @@ -3151,6 +3151,11 @@ create-hmac@^1.1.0, create-hmac@^1.1.4, create-hmac@^1.1.7:
safe-buffer "^5.0.1"
sha.js "^2.4.8"

cross-os@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/cross-os/-/cross-os-1.4.0.tgz#350f03fccb4bd9178777b6ae20160c1c7c79dbed"
integrity sha512-nuARAXqbsizhsqo3qo1bpYW2S6ohxJICjo/5Q/mq5xQ9dn1uWoRQ855DZrBAWgVfg7liPLdatnY2KMZwZYuxsQ==

cross-spawn@^5.0.1:
version "5.1.0"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449"
Expand Down

0 comments on commit e7861e1

Please sign in to comment.