@achyutlabsau/vue-payment-gateway 0.17.0 → 0.19.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/dist/{PairInstructions-BxzivULm.js → PairInstructions-CVnT81Id.js} +1 -1
- package/dist/index.d.ts +80 -9
- package/dist/index.js +13 -11
- package/dist/{linkly-BVBOUjZX.js → linkly-kVIcGvAk.js} +4 -3
- package/dist/linkly.d.ts +79 -8
- package/dist/linkly.js +1 -1
- package/dist/{mx51-Df356gl0.js → mx51-FCR8P_qa.js} +5 -11
- package/dist/mx51.d.ts +79 -8
- package/dist/mx51.js +1 -1
- package/dist/{smartpay-BHnbLa5i.js → smartpay-sB9Pt9PZ.js} +4 -3
- package/dist/smartpay.d.ts +79 -8
- package/dist/smartpay.js +1 -1
- package/dist/{till-payment-BlnycpPt.js → till-payment-Cpoq8EVJ.js} +1 -1
- package/dist/till-payment.d.ts +80 -8
- package/dist/till-payment.js +1 -1
- package/dist/{tyro-CfOu7q7t.js → tyro-DvHhgqHe.js} +1 -1
- package/dist/tyro.d.ts +79 -8
- package/dist/tyro.js +1 -1
- package/dist/{valpay-Co5GhIks.js → valpay-DoVz604A.js} +6 -3
- package/dist/valpay.d.ts +82 -8
- package/dist/valpay.js +1 -1
- package/dist/{worldline-nQDVuEak.js → worldline-DRyAhSeD.js} +19 -13
- package/dist/worldline.d.ts +91 -13
- package/dist/worldline.js +1 -1
- package/package.json +16 -15
|
@@ -3,7 +3,7 @@ import { Fragment as t, createBlock as n, createElementBlock as r, createElement
|
|
|
3
3
|
import { QCard as m, QIcon as h } from "quasar";
|
|
4
4
|
//#region src/plugin/state.ts
|
|
5
5
|
var g = /* @__PURE__ */ function(e) {
|
|
6
|
-
return e.Tyro = "tyro", e.TillPayment = "till-instore", e.MX51 = "mx51-spi", e.Linkly = "linkly", e.SmartPay = "smartpay", e.ANZ = "anz-instore", e.
|
|
6
|
+
return e.Tyro = "tyro", e.TillPayment = "till-instore", e.MX51 = "mx51-spi", e.Linkly = "linkly", e.SmartPay = "smartpay", e.ANZ = "anz-instore", e.ADYEN = "adyen-instore", e;
|
|
7
7
|
}({}), _ = c({
|
|
8
8
|
productName: "",
|
|
9
9
|
productVersion: "",
|
package/dist/index.d.ts
CHANGED
|
@@ -59,7 +59,7 @@ declare enum PaymentGateways {
|
|
|
59
59
|
Linkly = "linkly",
|
|
60
60
|
SmartPay = "smartpay",
|
|
61
61
|
ANZ = "anz-instore",
|
|
62
|
-
|
|
62
|
+
ADYEN = "adyen-instore"
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
declare interface POSConfig {
|
|
@@ -990,19 +990,90 @@ declare global {
|
|
|
990
990
|
terminal: Terminal;
|
|
991
991
|
}
|
|
992
992
|
|
|
993
|
+
interface CardTrackData {
|
|
994
|
+
trackNum: number | undefined;
|
|
995
|
+
data: Uint8Array | undefined;
|
|
996
|
+
dataString: string | undefined;
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
interface SignatureInformation {
|
|
1000
|
+
imageFileFormat: EnumValue | undefined;
|
|
1001
|
+
imageWidth: number | undefined;
|
|
1002
|
+
imageHeight: number | undefined;
|
|
1003
|
+
imageData: Uint8Array | undefined;
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
interface CardData {
|
|
1007
|
+
posEntryMode: EnumValue | undefined;
|
|
1008
|
+
aid: string | undefined;
|
|
1009
|
+
acc: string | undefined;
|
|
1010
|
+
cardNumber: string | undefined;
|
|
1011
|
+
cardNumberPrintable: string | undefined;
|
|
1012
|
+
cardNumberPrintableCardholder: string | undefined;
|
|
1013
|
+
cardNumberEnc: Uint8Array | undefined;
|
|
1014
|
+
cardNumberEncKeyIndex: number | undefined;
|
|
1015
|
+
cardExpiryDate: TimeDate | undefined;
|
|
1016
|
+
/** Card scheme / brand name, e.g. "VISA", "MasterCard". */
|
|
1017
|
+
brandName: string | undefined;
|
|
1018
|
+
/** Payment product (tender) name as configured on the terminal, e.g. "Visa Credit". */
|
|
1019
|
+
tenderName: string | undefined;
|
|
1020
|
+
cardTrackDatas: CardTrackData[] | undefined;
|
|
1021
|
+
loyaltyInformation: Map<string, Uint8Array> | undefined;
|
|
1022
|
+
cardRef: string | undefined;
|
|
1023
|
+
processingDisposition: EnumValue | undefined;
|
|
1024
|
+
language: string | undefined;
|
|
1025
|
+
cardCountryCode: number | undefined;
|
|
1026
|
+
terminalCountryCode: number | undefined;
|
|
1027
|
+
uid: string | undefined;
|
|
1028
|
+
asrpd: Uint8Array | undefined;
|
|
1029
|
+
cardProductType: EnumValue | undefined;
|
|
1030
|
+
cardType: number | undefined;
|
|
1031
|
+
cardholder: string | undefined;
|
|
1032
|
+
accountType: EnumValue | undefined;
|
|
1033
|
+
emvPar: string | undefined;
|
|
1034
|
+
tokenPan: string | undefined;
|
|
1035
|
+
tokenPanType: EnumValue | undefined;
|
|
1036
|
+
additionalCardData: string | undefined;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
interface TransactionInformation {
|
|
1040
|
+
posEntryMode: EnumValue | undefined;
|
|
1041
|
+
cvm: EnumValue | undefined;
|
|
1042
|
+
merchantAction: EnumValue | undefined;
|
|
1043
|
+
authCode: string | undefined;
|
|
1044
|
+
timeStamp: TimeDate | undefined;
|
|
1045
|
+
transRef: number | undefined;
|
|
1046
|
+
transSeq: number | undefined;
|
|
1047
|
+
acqId: number | undefined;
|
|
1048
|
+
signatureInformation: SignatureInformation | undefined;
|
|
1049
|
+
trmTransRef: string | undefined;
|
|
1050
|
+
acqTransRef: string | undefined;
|
|
1051
|
+
sixTrxRefNum: string | undefined;
|
|
1052
|
+
cardholderName: string | undefined;
|
|
1053
|
+
clientIdentifier: string | undefined;
|
|
1054
|
+
accountNumber: string | undefined;
|
|
1055
|
+
personOid: number | undefined;
|
|
1056
|
+
cardId: string | undefined;
|
|
1057
|
+
ngvUsedFlag: boolean | undefined;
|
|
1058
|
+
omnichannelPaymentId: string | undefined;
|
|
1059
|
+
schemeTrxId: string | undefined;
|
|
1060
|
+
ageCheckResult: EnumValue | undefined;
|
|
1061
|
+
}
|
|
1062
|
+
|
|
993
1063
|
interface TransactionResponse {
|
|
994
1064
|
additionalInfo: undefined;
|
|
995
1065
|
amount: Amount;
|
|
996
|
-
amountDcc: undefined;
|
|
997
|
-
amountDue: undefined;
|
|
998
|
-
amountLoyaltyCashback: undefined;
|
|
999
|
-
amountOther: undefined;
|
|
1000
|
-
amountSaldo: undefined;
|
|
1001
|
-
amountSurcharge: undefined;
|
|
1002
|
-
amountTip: undefined;
|
|
1066
|
+
amountDcc: Amount | undefined;
|
|
1067
|
+
amountDue: Amount | undefined;
|
|
1068
|
+
amountLoyaltyCashback: Amount | undefined;
|
|
1069
|
+
amountOther: Amount | undefined;
|
|
1070
|
+
amountSaldo: Amount | undefined;
|
|
1071
|
+
amountSurcharge: Amount | undefined;
|
|
1072
|
+
amountTip: Amount | undefined;
|
|
1003
1073
|
basket: undefined;
|
|
1074
|
+
cardData: CardData | undefined;
|
|
1004
1075
|
printData: PrintData;
|
|
1005
|
-
transactionInformation:
|
|
1076
|
+
transactionInformation: TransactionInformation | undefined;
|
|
1006
1077
|
transactionType: EnumValue;
|
|
1007
1078
|
}
|
|
1008
1079
|
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { d as e, f as t, m as n, p as r, s as i } from "./PairInstructions-
|
|
2
|
-
import { i as a, t as o } from "./tyro-
|
|
3
|
-
import { f as s, m as c } from "./mx51-
|
|
4
|
-
import { a as l, i as u, r as d } from "./worldline-
|
|
1
|
+
import { d as e, f as t, m as n, p as r, s as i } from "./PairInstructions-CVnT81Id.js";
|
|
2
|
+
import { i as a, t as o } from "./tyro-DvHhgqHe.js";
|
|
3
|
+
import { f as s, m as c } from "./mx51-FCR8P_qa.js";
|
|
4
|
+
import { a as l, i as u, r as d } from "./worldline-DRyAhSeD.js";
|
|
5
5
|
import { n as f } from "./utils-CAwJtwP_.js";
|
|
6
|
-
import { t as p } from "./linkly-
|
|
7
|
-
import { t as m } from "./smartpay-
|
|
8
|
-
import { t as h } from "./till-payment-
|
|
9
|
-
import { t as g } from "./valpay-
|
|
6
|
+
import { t as p } from "./linkly-kVIcGvAk.js";
|
|
7
|
+
import { t as m } from "./smartpay-sB9Pt9PZ.js";
|
|
8
|
+
import { t as h } from "./till-payment-Cpoq8EVJ.js";
|
|
9
|
+
import { t as g } from "./valpay-DoVz604A.js";
|
|
10
10
|
import { createBlock as _, createCommentVNode as v, createElementBlock as y, defineComponent as b, openBlock as x, unref as S } from "vue";
|
|
11
11
|
import { useEventListener as C, useScriptTag as w } from "@vueuse/core";
|
|
12
12
|
//#region src/plugin/types.ts
|
|
@@ -65,7 +65,9 @@ function k(e) {
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
function A(e) {
|
|
68
|
-
n(e), e.environment && r(e.environment)
|
|
68
|
+
n(e), e.environment && r(e.environment);
|
|
69
|
+
let t = D(e.environment);
|
|
70
|
+
w(t.SDK_URL), O(e), k(e);
|
|
69
71
|
}
|
|
70
72
|
var j = { install: (n, r) => {
|
|
71
73
|
if (!r) throw Error("Payment terminal plugin requires options");
|
|
@@ -95,7 +97,7 @@ var j = { install: (n, r) => {
|
|
|
95
97
|
e.gateway === S(i).ANZ ? (x(), _(d, { key: 3 })) : v("", !0),
|
|
96
98
|
e.gateway === S(i).TillPayment ? (x(), _(S(h), { key: 4 })) : v("", !0),
|
|
97
99
|
e.gateway === S(i).SmartPay ? (x(), _(S(m), { key: 5 })) : v("", !0),
|
|
98
|
-
e.gateway === S(i).
|
|
100
|
+
e.gateway === S(i).ADYEN ? (x(), _(S(g), {
|
|
99
101
|
key: 6,
|
|
100
102
|
"merchant-id": e.merchantId,
|
|
101
103
|
"account-id": e.accountId
|
|
@@ -117,7 +119,7 @@ var j = { install: (n, r) => {
|
|
|
117
119
|
case i.Tyro: return !!P("tyro.pairConfig")?.isPaired;
|
|
118
120
|
case i.TillPayment: return !!P("till.pairConfig")?.isPaired;
|
|
119
121
|
case i.SmartPay: return !!P("smartpay.pairConfig")?.isPaired;
|
|
120
|
-
case i.
|
|
122
|
+
case i.ADYEN: return !0;
|
|
121
123
|
case i.MX51: return !0;
|
|
122
124
|
default: return !1;
|
|
123
125
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, h as t, i as n, o as r, r as i, t as a, u as o } from "./PairInstructions-
|
|
1
|
+
import { a as e, h as t, i as n, o as r, r as i, t as a, u as o } from "./PairInstructions-CVnT81Id.js";
|
|
2
2
|
import { a as s, i as c, n as l, o as u, r as d, t as f } from "./utils-CAwJtwP_.js";
|
|
3
3
|
import { t as p } from "./utils-BPFf60Ai.js";
|
|
4
4
|
import { t as m } from "./core-BMUVlh-t.js";
|
|
@@ -82,7 +82,7 @@ var z = {
|
|
|
82
82
|
return n;
|
|
83
83
|
}
|
|
84
84
|
async _ensureValidToken() {
|
|
85
|
-
if (!this.token || !this.tokenExpiry || this.tokenExpiry - Date.now() <
|
|
85
|
+
if (!this.token || !this.tokenExpiry || this.tokenExpiry - Date.now() < 36e5) try {
|
|
86
86
|
if (this.pairingSecret) await this.getLinklyAuthToken();
|
|
87
87
|
else throw Error("No valid authentication method available");
|
|
88
88
|
} catch (e) {
|
|
@@ -156,7 +156,8 @@ var z = {
|
|
|
156
156
|
if (r === R.RequestTimeout || c(e)) {
|
|
157
157
|
if (t < V) return await f(H), t = Math.min(t + U, V), n();
|
|
158
158
|
throw Error("Unable to get the transaction details. Please contact service provider!", { cause: e });
|
|
159
|
-
}
|
|
159
|
+
}
|
|
160
|
+
if (r === R.Unauthorized) return await this.getLinklyAuthToken(), n();
|
|
160
161
|
}
|
|
161
162
|
throw e;
|
|
162
163
|
}
|
package/dist/linkly.d.ts
CHANGED
|
@@ -1412,19 +1412,90 @@ declare global {
|
|
|
1412
1412
|
terminal: Terminal;
|
|
1413
1413
|
}
|
|
1414
1414
|
|
|
1415
|
+
interface CardTrackData {
|
|
1416
|
+
trackNum: number | undefined;
|
|
1417
|
+
data: Uint8Array | undefined;
|
|
1418
|
+
dataString: string | undefined;
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
interface SignatureInformation {
|
|
1422
|
+
imageFileFormat: EnumValue | undefined;
|
|
1423
|
+
imageWidth: number | undefined;
|
|
1424
|
+
imageHeight: number | undefined;
|
|
1425
|
+
imageData: Uint8Array | undefined;
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1428
|
+
interface CardData {
|
|
1429
|
+
posEntryMode: EnumValue | undefined;
|
|
1430
|
+
aid: string | undefined;
|
|
1431
|
+
acc: string | undefined;
|
|
1432
|
+
cardNumber: string | undefined;
|
|
1433
|
+
cardNumberPrintable: string | undefined;
|
|
1434
|
+
cardNumberPrintableCardholder: string | undefined;
|
|
1435
|
+
cardNumberEnc: Uint8Array | undefined;
|
|
1436
|
+
cardNumberEncKeyIndex: number | undefined;
|
|
1437
|
+
cardExpiryDate: TimeDate | undefined;
|
|
1438
|
+
/** Card scheme / brand name, e.g. "VISA", "MasterCard". */
|
|
1439
|
+
brandName: string | undefined;
|
|
1440
|
+
/** Payment product (tender) name as configured on the terminal, e.g. "Visa Credit". */
|
|
1441
|
+
tenderName: string | undefined;
|
|
1442
|
+
cardTrackDatas: CardTrackData[] | undefined;
|
|
1443
|
+
loyaltyInformation: Map<string, Uint8Array> | undefined;
|
|
1444
|
+
cardRef: string | undefined;
|
|
1445
|
+
processingDisposition: EnumValue | undefined;
|
|
1446
|
+
language: string | undefined;
|
|
1447
|
+
cardCountryCode: number | undefined;
|
|
1448
|
+
terminalCountryCode: number | undefined;
|
|
1449
|
+
uid: string | undefined;
|
|
1450
|
+
asrpd: Uint8Array | undefined;
|
|
1451
|
+
cardProductType: EnumValue | undefined;
|
|
1452
|
+
cardType: number | undefined;
|
|
1453
|
+
cardholder: string | undefined;
|
|
1454
|
+
accountType: EnumValue | undefined;
|
|
1455
|
+
emvPar: string | undefined;
|
|
1456
|
+
tokenPan: string | undefined;
|
|
1457
|
+
tokenPanType: EnumValue | undefined;
|
|
1458
|
+
additionalCardData: string | undefined;
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
interface TransactionInformation {
|
|
1462
|
+
posEntryMode: EnumValue | undefined;
|
|
1463
|
+
cvm: EnumValue | undefined;
|
|
1464
|
+
merchantAction: EnumValue | undefined;
|
|
1465
|
+
authCode: string | undefined;
|
|
1466
|
+
timeStamp: TimeDate | undefined;
|
|
1467
|
+
transRef: number | undefined;
|
|
1468
|
+
transSeq: number | undefined;
|
|
1469
|
+
acqId: number | undefined;
|
|
1470
|
+
signatureInformation: SignatureInformation | undefined;
|
|
1471
|
+
trmTransRef: string | undefined;
|
|
1472
|
+
acqTransRef: string | undefined;
|
|
1473
|
+
sixTrxRefNum: string | undefined;
|
|
1474
|
+
cardholderName: string | undefined;
|
|
1475
|
+
clientIdentifier: string | undefined;
|
|
1476
|
+
accountNumber: string | undefined;
|
|
1477
|
+
personOid: number | undefined;
|
|
1478
|
+
cardId: string | undefined;
|
|
1479
|
+
ngvUsedFlag: boolean | undefined;
|
|
1480
|
+
omnichannelPaymentId: string | undefined;
|
|
1481
|
+
schemeTrxId: string | undefined;
|
|
1482
|
+
ageCheckResult: EnumValue | undefined;
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1415
1485
|
interface TransactionResponse {
|
|
1416
1486
|
additionalInfo: undefined;
|
|
1417
1487
|
amount: Amount;
|
|
1418
|
-
amountDcc: undefined;
|
|
1419
|
-
amountDue: undefined;
|
|
1420
|
-
amountLoyaltyCashback: undefined;
|
|
1421
|
-
amountOther: undefined;
|
|
1422
|
-
amountSaldo: undefined;
|
|
1423
|
-
amountSurcharge: undefined;
|
|
1424
|
-
amountTip: undefined;
|
|
1488
|
+
amountDcc: Amount | undefined;
|
|
1489
|
+
amountDue: Amount | undefined;
|
|
1490
|
+
amountLoyaltyCashback: Amount | undefined;
|
|
1491
|
+
amountOther: Amount | undefined;
|
|
1492
|
+
amountSaldo: Amount | undefined;
|
|
1493
|
+
amountSurcharge: Amount | undefined;
|
|
1494
|
+
amountTip: Amount | undefined;
|
|
1425
1495
|
basket: undefined;
|
|
1496
|
+
cardData: CardData | undefined;
|
|
1426
1497
|
printData: PrintData;
|
|
1427
|
-
transactionInformation:
|
|
1498
|
+
transactionInformation: TransactionInformation | undefined;
|
|
1428
1499
|
transactionType: EnumValue;
|
|
1429
1500
|
}
|
|
1430
1501
|
|
package/dist/linkly.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "./linkly-
|
|
1
|
+
import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "./linkly-kVIcGvAk.js";
|
|
2
2
|
export { a as CurrencyCodes, n as LinklyKeyType, s as PairLinkly, e as ReceiptAutoPrint, i as ResponseCodes, o as TransactionOutcome, t as TransactionTypes, r as useLinkly };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as e, t } from "./PairInstructions-
|
|
1
|
+
import { h as e, t } from "./PairInstructions-CVnT81Id.js";
|
|
2
2
|
import { t as n } from "./PBtn-CB98SoO5.js";
|
|
3
3
|
import { t as r } from "./emitter-BNPvJMuc.js";
|
|
4
4
|
import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, onMounted as d, openBlock as f, ref as p, resolveDirective as m, toDisplayString as h, unref as g, watch as _, withCtx as v, withDirectives as y } from "vue";
|
|
@@ -65,13 +65,11 @@ document.addEventListener("StatusChanged", (e) => {
|
|
|
65
65
|
case M.Success:
|
|
66
66
|
switch (e.detail.Type) {
|
|
67
67
|
case F.Purchase: break;
|
|
68
|
-
case F.Refund:
|
|
69
|
-
default:
|
|
68
|
+
case F.Refund:
|
|
70
69
|
}
|
|
71
70
|
break;
|
|
72
71
|
case M.Failed: break;
|
|
73
|
-
case M.Unknown:
|
|
74
|
-
default:
|
|
72
|
+
case M.Unknown:
|
|
75
73
|
}
|
|
76
74
|
}), document.addEventListener("DeviceAddressChanged", (e) => {
|
|
77
75
|
G("Device address changed", e), e?.detail.ip ? window.localStorage.setItem("eftposAddress", e.detail.ip) : e?.detail.fqdn && window.localStorage.setItem("eftposAddress", e.detail.fqdn);
|
|
@@ -463,17 +461,13 @@ var $ = { class: "text-center font-semibold text-gray-500 uppercase dark:text-gr
|
|
|
463
461
|
case M.Success:
|
|
464
462
|
switch (u.value.state = "SUCCESS", setTimeout(() => _.value = !1, 1e3), e.detail.Type) {
|
|
465
463
|
case F.Purchase: break;
|
|
466
|
-
case F.Refund:
|
|
467
|
-
default:
|
|
464
|
+
case F.Refund:
|
|
468
465
|
}
|
|
469
466
|
break;
|
|
470
467
|
case M.Failed:
|
|
471
468
|
u.value.message = e.detail?.Response?.Data?.error_detail ?? e.detail.DisplayMessage, u.value.state = "FAILED";
|
|
472
469
|
break;
|
|
473
|
-
case M.Unknown:
|
|
474
|
-
u.value.state = "MANUAL_RECOVERY";
|
|
475
|
-
break;
|
|
476
|
-
default:
|
|
470
|
+
case M.Unknown: u.value.state = "MANUAL_RECOVERY";
|
|
477
471
|
}
|
|
478
472
|
}), H.TransactionUpdateMessage = (e) => {
|
|
479
473
|
u.value.message = e.Data.display_message_text;
|
package/dist/mx51.d.ts
CHANGED
|
@@ -1035,19 +1035,90 @@ declare global {
|
|
|
1035
1035
|
terminal: Terminal;
|
|
1036
1036
|
}
|
|
1037
1037
|
|
|
1038
|
+
interface CardTrackData {
|
|
1039
|
+
trackNum: number | undefined;
|
|
1040
|
+
data: Uint8Array | undefined;
|
|
1041
|
+
dataString: string | undefined;
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
interface SignatureInformation {
|
|
1045
|
+
imageFileFormat: EnumValue | undefined;
|
|
1046
|
+
imageWidth: number | undefined;
|
|
1047
|
+
imageHeight: number | undefined;
|
|
1048
|
+
imageData: Uint8Array | undefined;
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
interface CardData {
|
|
1052
|
+
posEntryMode: EnumValue | undefined;
|
|
1053
|
+
aid: string | undefined;
|
|
1054
|
+
acc: string | undefined;
|
|
1055
|
+
cardNumber: string | undefined;
|
|
1056
|
+
cardNumberPrintable: string | undefined;
|
|
1057
|
+
cardNumberPrintableCardholder: string | undefined;
|
|
1058
|
+
cardNumberEnc: Uint8Array | undefined;
|
|
1059
|
+
cardNumberEncKeyIndex: number | undefined;
|
|
1060
|
+
cardExpiryDate: TimeDate | undefined;
|
|
1061
|
+
/** Card scheme / brand name, e.g. "VISA", "MasterCard". */
|
|
1062
|
+
brandName: string | undefined;
|
|
1063
|
+
/** Payment product (tender) name as configured on the terminal, e.g. "Visa Credit". */
|
|
1064
|
+
tenderName: string | undefined;
|
|
1065
|
+
cardTrackDatas: CardTrackData[] | undefined;
|
|
1066
|
+
loyaltyInformation: Map<string, Uint8Array> | undefined;
|
|
1067
|
+
cardRef: string | undefined;
|
|
1068
|
+
processingDisposition: EnumValue | undefined;
|
|
1069
|
+
language: string | undefined;
|
|
1070
|
+
cardCountryCode: number | undefined;
|
|
1071
|
+
terminalCountryCode: number | undefined;
|
|
1072
|
+
uid: string | undefined;
|
|
1073
|
+
asrpd: Uint8Array | undefined;
|
|
1074
|
+
cardProductType: EnumValue | undefined;
|
|
1075
|
+
cardType: number | undefined;
|
|
1076
|
+
cardholder: string | undefined;
|
|
1077
|
+
accountType: EnumValue | undefined;
|
|
1078
|
+
emvPar: string | undefined;
|
|
1079
|
+
tokenPan: string | undefined;
|
|
1080
|
+
tokenPanType: EnumValue | undefined;
|
|
1081
|
+
additionalCardData: string | undefined;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
interface TransactionInformation {
|
|
1085
|
+
posEntryMode: EnumValue | undefined;
|
|
1086
|
+
cvm: EnumValue | undefined;
|
|
1087
|
+
merchantAction: EnumValue | undefined;
|
|
1088
|
+
authCode: string | undefined;
|
|
1089
|
+
timeStamp: TimeDate | undefined;
|
|
1090
|
+
transRef: number | undefined;
|
|
1091
|
+
transSeq: number | undefined;
|
|
1092
|
+
acqId: number | undefined;
|
|
1093
|
+
signatureInformation: SignatureInformation | undefined;
|
|
1094
|
+
trmTransRef: string | undefined;
|
|
1095
|
+
acqTransRef: string | undefined;
|
|
1096
|
+
sixTrxRefNum: string | undefined;
|
|
1097
|
+
cardholderName: string | undefined;
|
|
1098
|
+
clientIdentifier: string | undefined;
|
|
1099
|
+
accountNumber: string | undefined;
|
|
1100
|
+
personOid: number | undefined;
|
|
1101
|
+
cardId: string | undefined;
|
|
1102
|
+
ngvUsedFlag: boolean | undefined;
|
|
1103
|
+
omnichannelPaymentId: string | undefined;
|
|
1104
|
+
schemeTrxId: string | undefined;
|
|
1105
|
+
ageCheckResult: EnumValue | undefined;
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1038
1108
|
interface TransactionResponse {
|
|
1039
1109
|
additionalInfo: undefined;
|
|
1040
1110
|
amount: Amount;
|
|
1041
|
-
amountDcc: undefined;
|
|
1042
|
-
amountDue: undefined;
|
|
1043
|
-
amountLoyaltyCashback: undefined;
|
|
1044
|
-
amountOther: undefined;
|
|
1045
|
-
amountSaldo: undefined;
|
|
1046
|
-
amountSurcharge: undefined;
|
|
1047
|
-
amountTip: undefined;
|
|
1111
|
+
amountDcc: Amount | undefined;
|
|
1112
|
+
amountDue: Amount | undefined;
|
|
1113
|
+
amountLoyaltyCashback: Amount | undefined;
|
|
1114
|
+
amountOther: Amount | undefined;
|
|
1115
|
+
amountSaldo: Amount | undefined;
|
|
1116
|
+
amountSurcharge: Amount | undefined;
|
|
1117
|
+
amountTip: Amount | undefined;
|
|
1048
1118
|
basket: undefined;
|
|
1119
|
+
cardData: CardData | undefined;
|
|
1049
1120
|
printData: PrintData;
|
|
1050
|
-
transactionInformation:
|
|
1121
|
+
transactionInformation: TransactionInformation | undefined;
|
|
1051
1122
|
transactionType: EnumValue;
|
|
1052
1123
|
}
|
|
1053
1124
|
|
package/dist/mx51.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, f as r, i, l as a, m as o, n as s, o as c, p as l, r as u, s as d, t as f, u as p } from "./mx51-
|
|
1
|
+
import { a as e, c as t, d as n, f as r, i, l as a, m as o, n as s, o as c, p as l, r as u, s as d, t as f, u as p } from "./mx51-FCR8P_qa.js";
|
|
2
2
|
export { r as PairMX51, f as SuccessState, i as TransactionDialog, s as TransactionType, e as acceptSignature, c as cancelTransaction, d as getTransaction, l as log, t as purchase, a as refund, p as settlement, n as settlementEnquiry, o as spi, u as useMX51 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, h as t, i as n, o as r, r as i, t as a, u as o } from "./PairInstructions-
|
|
1
|
+
import { a as e, h as t, i as n, o as r, r as i, t as a, u as o } from "./PairInstructions-CVnT81Id.js";
|
|
2
2
|
import { o as s, t as c } from "./utils-CAwJtwP_.js";
|
|
3
3
|
import { t as l } from "./utils-BPFf60Ai.js";
|
|
4
4
|
import { createBlock as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineComponent as h, openBlock as g, ref as _, toDisplayString as v, unref as y, withCtx as b, withModifiers as x } from "vue";
|
|
@@ -62,7 +62,7 @@ var j = /* @__PURE__ */ function(e) {
|
|
|
62
62
|
}
|
|
63
63
|
async pollForOutcome(e, t) {
|
|
64
64
|
if (!e) throw Error("Polling URL must be provided");
|
|
65
|
-
let n = Date.now() +
|
|
65
|
+
let n = Date.now() + 6e5, r = async () => {
|
|
66
66
|
console.log("Polling for outcome:", e);
|
|
67
67
|
try {
|
|
68
68
|
let i = await this.api.get(e);
|
|
@@ -74,7 +74,8 @@ var j = /* @__PURE__ */ function(e) {
|
|
|
74
74
|
transactionOutcome: e,
|
|
75
75
|
responseData: i.data
|
|
76
76
|
};
|
|
77
|
-
}
|
|
77
|
+
}
|
|
78
|
+
e === M.Pending && n === N.OkDelayed && t && t();
|
|
78
79
|
}
|
|
79
80
|
if (Date.now() < n) return await c(), r();
|
|
80
81
|
throw Error("Polling timed out");
|
package/dist/smartpay.d.ts
CHANGED
|
@@ -1073,19 +1073,90 @@ declare global {
|
|
|
1073
1073
|
terminal: Terminal;
|
|
1074
1074
|
}
|
|
1075
1075
|
|
|
1076
|
+
interface CardTrackData {
|
|
1077
|
+
trackNum: number | undefined;
|
|
1078
|
+
data: Uint8Array | undefined;
|
|
1079
|
+
dataString: string | undefined;
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
interface SignatureInformation {
|
|
1083
|
+
imageFileFormat: EnumValue | undefined;
|
|
1084
|
+
imageWidth: number | undefined;
|
|
1085
|
+
imageHeight: number | undefined;
|
|
1086
|
+
imageData: Uint8Array | undefined;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
interface CardData {
|
|
1090
|
+
posEntryMode: EnumValue | undefined;
|
|
1091
|
+
aid: string | undefined;
|
|
1092
|
+
acc: string | undefined;
|
|
1093
|
+
cardNumber: string | undefined;
|
|
1094
|
+
cardNumberPrintable: string | undefined;
|
|
1095
|
+
cardNumberPrintableCardholder: string | undefined;
|
|
1096
|
+
cardNumberEnc: Uint8Array | undefined;
|
|
1097
|
+
cardNumberEncKeyIndex: number | undefined;
|
|
1098
|
+
cardExpiryDate: TimeDate | undefined;
|
|
1099
|
+
/** Card scheme / brand name, e.g. "VISA", "MasterCard". */
|
|
1100
|
+
brandName: string | undefined;
|
|
1101
|
+
/** Payment product (tender) name as configured on the terminal, e.g. "Visa Credit". */
|
|
1102
|
+
tenderName: string | undefined;
|
|
1103
|
+
cardTrackDatas: CardTrackData[] | undefined;
|
|
1104
|
+
loyaltyInformation: Map<string, Uint8Array> | undefined;
|
|
1105
|
+
cardRef: string | undefined;
|
|
1106
|
+
processingDisposition: EnumValue | undefined;
|
|
1107
|
+
language: string | undefined;
|
|
1108
|
+
cardCountryCode: number | undefined;
|
|
1109
|
+
terminalCountryCode: number | undefined;
|
|
1110
|
+
uid: string | undefined;
|
|
1111
|
+
asrpd: Uint8Array | undefined;
|
|
1112
|
+
cardProductType: EnumValue | undefined;
|
|
1113
|
+
cardType: number | undefined;
|
|
1114
|
+
cardholder: string | undefined;
|
|
1115
|
+
accountType: EnumValue | undefined;
|
|
1116
|
+
emvPar: string | undefined;
|
|
1117
|
+
tokenPan: string | undefined;
|
|
1118
|
+
tokenPanType: EnumValue | undefined;
|
|
1119
|
+
additionalCardData: string | undefined;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
interface TransactionInformation {
|
|
1123
|
+
posEntryMode: EnumValue | undefined;
|
|
1124
|
+
cvm: EnumValue | undefined;
|
|
1125
|
+
merchantAction: EnumValue | undefined;
|
|
1126
|
+
authCode: string | undefined;
|
|
1127
|
+
timeStamp: TimeDate | undefined;
|
|
1128
|
+
transRef: number | undefined;
|
|
1129
|
+
transSeq: number | undefined;
|
|
1130
|
+
acqId: number | undefined;
|
|
1131
|
+
signatureInformation: SignatureInformation | undefined;
|
|
1132
|
+
trmTransRef: string | undefined;
|
|
1133
|
+
acqTransRef: string | undefined;
|
|
1134
|
+
sixTrxRefNum: string | undefined;
|
|
1135
|
+
cardholderName: string | undefined;
|
|
1136
|
+
clientIdentifier: string | undefined;
|
|
1137
|
+
accountNumber: string | undefined;
|
|
1138
|
+
personOid: number | undefined;
|
|
1139
|
+
cardId: string | undefined;
|
|
1140
|
+
ngvUsedFlag: boolean | undefined;
|
|
1141
|
+
omnichannelPaymentId: string | undefined;
|
|
1142
|
+
schemeTrxId: string | undefined;
|
|
1143
|
+
ageCheckResult: EnumValue | undefined;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1076
1146
|
interface TransactionResponse {
|
|
1077
1147
|
additionalInfo: undefined;
|
|
1078
1148
|
amount: Amount;
|
|
1079
|
-
amountDcc: undefined;
|
|
1080
|
-
amountDue: undefined;
|
|
1081
|
-
amountLoyaltyCashback: undefined;
|
|
1082
|
-
amountOther: undefined;
|
|
1083
|
-
amountSaldo: undefined;
|
|
1084
|
-
amountSurcharge: undefined;
|
|
1085
|
-
amountTip: undefined;
|
|
1149
|
+
amountDcc: Amount | undefined;
|
|
1150
|
+
amountDue: Amount | undefined;
|
|
1151
|
+
amountLoyaltyCashback: Amount | undefined;
|
|
1152
|
+
amountOther: Amount | undefined;
|
|
1153
|
+
amountSaldo: Amount | undefined;
|
|
1154
|
+
amountSurcharge: Amount | undefined;
|
|
1155
|
+
amountTip: Amount | undefined;
|
|
1086
1156
|
basket: undefined;
|
|
1157
|
+
cardData: CardData | undefined;
|
|
1087
1158
|
printData: PrintData;
|
|
1088
|
-
transactionInformation:
|
|
1159
|
+
transactionInformation: TransactionInformation | undefined;
|
|
1089
1160
|
transactionType: EnumValue;
|
|
1090
1161
|
}
|
|
1091
1162
|
|
package/dist/smartpay.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "./smartpay-
|
|
1
|
+
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "./smartpay-sB9Pt9PZ.js";
|
|
2
2
|
export { n as DEV_SMARTPAY_API_URL, e as PROD_SMARTPAY_API_URL, c as PairSmartPay, a as ResultType, o as SmartPay, s as TransactionOutcome, t as TransactionResult, r as TransactionStatus, l as TransactionTypes, i as useSmartPay };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, h as t, i as n, o as r, r as i, t as a } from "./PairInstructions-
|
|
1
|
+
import { a as e, h as t, i as n, o as r, r as i, t as a } from "./PairInstructions-CVnT81Id.js";
|
|
2
2
|
import { a as o, o as s, t as c } from "./utils-CAwJtwP_.js";
|
|
3
3
|
import { n as l, r as u, t as d } from "./core-BMUVlh-t.js";
|
|
4
4
|
import { createBlock as f, createElementBlock as p, createElementVNode as m, createTextVNode as h, createVNode as g, defineComponent as _, onMounted as v, openBlock as y, ref as b, renderSlot as x, resolveDirective as S, toDisplayString as C, unref as w, useModel as T, withCtx as E, withDirectives as D } from "vue";
|
package/dist/till-payment.d.ts
CHANGED
|
@@ -418,6 +418,7 @@ declare interface TransactionOptions {
|
|
|
418
418
|
* RFN.
|
|
419
419
|
*/
|
|
420
420
|
originalTransactionId?: string;
|
|
421
|
+
isTipEnabled?: boolean;
|
|
421
422
|
}
|
|
422
423
|
|
|
423
424
|
export declare enum TransactionOutcome {
|
|
@@ -1379,19 +1380,90 @@ declare global {
|
|
|
1379
1380
|
terminal: Terminal;
|
|
1380
1381
|
}
|
|
1381
1382
|
|
|
1383
|
+
interface CardTrackData {
|
|
1384
|
+
trackNum: number | undefined;
|
|
1385
|
+
data: Uint8Array | undefined;
|
|
1386
|
+
dataString: string | undefined;
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1389
|
+
interface SignatureInformation {
|
|
1390
|
+
imageFileFormat: EnumValue | undefined;
|
|
1391
|
+
imageWidth: number | undefined;
|
|
1392
|
+
imageHeight: number | undefined;
|
|
1393
|
+
imageData: Uint8Array | undefined;
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
interface CardData {
|
|
1397
|
+
posEntryMode: EnumValue | undefined;
|
|
1398
|
+
aid: string | undefined;
|
|
1399
|
+
acc: string | undefined;
|
|
1400
|
+
cardNumber: string | undefined;
|
|
1401
|
+
cardNumberPrintable: string | undefined;
|
|
1402
|
+
cardNumberPrintableCardholder: string | undefined;
|
|
1403
|
+
cardNumberEnc: Uint8Array | undefined;
|
|
1404
|
+
cardNumberEncKeyIndex: number | undefined;
|
|
1405
|
+
cardExpiryDate: TimeDate | undefined;
|
|
1406
|
+
/** Card scheme / brand name, e.g. "VISA", "MasterCard". */
|
|
1407
|
+
brandName: string | undefined;
|
|
1408
|
+
/** Payment product (tender) name as configured on the terminal, e.g. "Visa Credit". */
|
|
1409
|
+
tenderName: string | undefined;
|
|
1410
|
+
cardTrackDatas: CardTrackData[] | undefined;
|
|
1411
|
+
loyaltyInformation: Map<string, Uint8Array> | undefined;
|
|
1412
|
+
cardRef: string | undefined;
|
|
1413
|
+
processingDisposition: EnumValue | undefined;
|
|
1414
|
+
language: string | undefined;
|
|
1415
|
+
cardCountryCode: number | undefined;
|
|
1416
|
+
terminalCountryCode: number | undefined;
|
|
1417
|
+
uid: string | undefined;
|
|
1418
|
+
asrpd: Uint8Array | undefined;
|
|
1419
|
+
cardProductType: EnumValue | undefined;
|
|
1420
|
+
cardType: number | undefined;
|
|
1421
|
+
cardholder: string | undefined;
|
|
1422
|
+
accountType: EnumValue | undefined;
|
|
1423
|
+
emvPar: string | undefined;
|
|
1424
|
+
tokenPan: string | undefined;
|
|
1425
|
+
tokenPanType: EnumValue | undefined;
|
|
1426
|
+
additionalCardData: string | undefined;
|
|
1427
|
+
}
|
|
1428
|
+
|
|
1429
|
+
interface TransactionInformation {
|
|
1430
|
+
posEntryMode: EnumValue | undefined;
|
|
1431
|
+
cvm: EnumValue | undefined;
|
|
1432
|
+
merchantAction: EnumValue | undefined;
|
|
1433
|
+
authCode: string | undefined;
|
|
1434
|
+
timeStamp: TimeDate | undefined;
|
|
1435
|
+
transRef: number | undefined;
|
|
1436
|
+
transSeq: number | undefined;
|
|
1437
|
+
acqId: number | undefined;
|
|
1438
|
+
signatureInformation: SignatureInformation | undefined;
|
|
1439
|
+
trmTransRef: string | undefined;
|
|
1440
|
+
acqTransRef: string | undefined;
|
|
1441
|
+
sixTrxRefNum: string | undefined;
|
|
1442
|
+
cardholderName: string | undefined;
|
|
1443
|
+
clientIdentifier: string | undefined;
|
|
1444
|
+
accountNumber: string | undefined;
|
|
1445
|
+
personOid: number | undefined;
|
|
1446
|
+
cardId: string | undefined;
|
|
1447
|
+
ngvUsedFlag: boolean | undefined;
|
|
1448
|
+
omnichannelPaymentId: string | undefined;
|
|
1449
|
+
schemeTrxId: string | undefined;
|
|
1450
|
+
ageCheckResult: EnumValue | undefined;
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1382
1453
|
interface TransactionResponse {
|
|
1383
1454
|
additionalInfo: undefined;
|
|
1384
1455
|
amount: Amount;
|
|
1385
|
-
amountDcc: undefined;
|
|
1386
|
-
amountDue: undefined;
|
|
1387
|
-
amountLoyaltyCashback: undefined;
|
|
1388
|
-
amountOther: undefined;
|
|
1389
|
-
amountSaldo: undefined;
|
|
1390
|
-
amountSurcharge: undefined;
|
|
1391
|
-
amountTip: undefined;
|
|
1456
|
+
amountDcc: Amount | undefined;
|
|
1457
|
+
amountDue: Amount | undefined;
|
|
1458
|
+
amountLoyaltyCashback: Amount | undefined;
|
|
1459
|
+
amountOther: Amount | undefined;
|
|
1460
|
+
amountSaldo: Amount | undefined;
|
|
1461
|
+
amountSurcharge: Amount | undefined;
|
|
1462
|
+
amountTip: Amount | undefined;
|
|
1392
1463
|
basket: undefined;
|
|
1464
|
+
cardData: CardData | undefined;
|
|
1393
1465
|
printData: PrintData;
|
|
1394
|
-
transactionInformation:
|
|
1466
|
+
transactionInformation: TransactionInformation | undefined;
|
|
1395
1467
|
transactionType: EnumValue;
|
|
1396
1468
|
}
|
|
1397
1469
|
|
package/dist/till-payment.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, t as a } from "./till-payment-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "./till-payment-Cpoq8EVJ.js";
|
|
2
2
|
export { a as PairTillPayment, t as SettlementTypes, i as TillPaymentsApi, e as TransactionOutcome, r as TransactionType, n as useTillPayment };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, c as t, h as n, i as r, n as i, o as a, r as o, t as s, u as c } from "./PairInstructions-
|
|
1
|
+
import { a as e, c as t, h as n, i as r, n as i, o as a, r as o, t as s, u as c } from "./PairInstructions-CVnT81Id.js";
|
|
2
2
|
import { createBlock as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, openBlock as h, ref as g, resolveDirective as _, toDisplayString as v, unref as y, useModel as b, withCtx as x, withDirectives as S, withModifiers as C } from "vue";
|
|
3
3
|
import { Dialog as w, QBtn as T, QCard as E, QDialog as D, QIcon as O, QInput as k, QSpinnerHourglass as A, QToolbar as j, QToolbarTitle as M } from "quasar";
|
|
4
4
|
import { useLocalStorage as N } from "@vueuse/core";
|
package/dist/tyro.d.ts
CHANGED
|
@@ -1089,19 +1089,90 @@ declare global {
|
|
|
1089
1089
|
terminal: Terminal;
|
|
1090
1090
|
}
|
|
1091
1091
|
|
|
1092
|
+
interface CardTrackData {
|
|
1093
|
+
trackNum: number | undefined;
|
|
1094
|
+
data: Uint8Array | undefined;
|
|
1095
|
+
dataString: string | undefined;
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
interface SignatureInformation {
|
|
1099
|
+
imageFileFormat: EnumValue | undefined;
|
|
1100
|
+
imageWidth: number | undefined;
|
|
1101
|
+
imageHeight: number | undefined;
|
|
1102
|
+
imageData: Uint8Array | undefined;
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
interface CardData {
|
|
1106
|
+
posEntryMode: EnumValue | undefined;
|
|
1107
|
+
aid: string | undefined;
|
|
1108
|
+
acc: string | undefined;
|
|
1109
|
+
cardNumber: string | undefined;
|
|
1110
|
+
cardNumberPrintable: string | undefined;
|
|
1111
|
+
cardNumberPrintableCardholder: string | undefined;
|
|
1112
|
+
cardNumberEnc: Uint8Array | undefined;
|
|
1113
|
+
cardNumberEncKeyIndex: number | undefined;
|
|
1114
|
+
cardExpiryDate: TimeDate | undefined;
|
|
1115
|
+
/** Card scheme / brand name, e.g. "VISA", "MasterCard". */
|
|
1116
|
+
brandName: string | undefined;
|
|
1117
|
+
/** Payment product (tender) name as configured on the terminal, e.g. "Visa Credit". */
|
|
1118
|
+
tenderName: string | undefined;
|
|
1119
|
+
cardTrackDatas: CardTrackData[] | undefined;
|
|
1120
|
+
loyaltyInformation: Map<string, Uint8Array> | undefined;
|
|
1121
|
+
cardRef: string | undefined;
|
|
1122
|
+
processingDisposition: EnumValue | undefined;
|
|
1123
|
+
language: string | undefined;
|
|
1124
|
+
cardCountryCode: number | undefined;
|
|
1125
|
+
terminalCountryCode: number | undefined;
|
|
1126
|
+
uid: string | undefined;
|
|
1127
|
+
asrpd: Uint8Array | undefined;
|
|
1128
|
+
cardProductType: EnumValue | undefined;
|
|
1129
|
+
cardType: number | undefined;
|
|
1130
|
+
cardholder: string | undefined;
|
|
1131
|
+
accountType: EnumValue | undefined;
|
|
1132
|
+
emvPar: string | undefined;
|
|
1133
|
+
tokenPan: string | undefined;
|
|
1134
|
+
tokenPanType: EnumValue | undefined;
|
|
1135
|
+
additionalCardData: string | undefined;
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
interface TransactionInformation {
|
|
1139
|
+
posEntryMode: EnumValue | undefined;
|
|
1140
|
+
cvm: EnumValue | undefined;
|
|
1141
|
+
merchantAction: EnumValue | undefined;
|
|
1142
|
+
authCode: string | undefined;
|
|
1143
|
+
timeStamp: TimeDate | undefined;
|
|
1144
|
+
transRef: number | undefined;
|
|
1145
|
+
transSeq: number | undefined;
|
|
1146
|
+
acqId: number | undefined;
|
|
1147
|
+
signatureInformation: SignatureInformation | undefined;
|
|
1148
|
+
trmTransRef: string | undefined;
|
|
1149
|
+
acqTransRef: string | undefined;
|
|
1150
|
+
sixTrxRefNum: string | undefined;
|
|
1151
|
+
cardholderName: string | undefined;
|
|
1152
|
+
clientIdentifier: string | undefined;
|
|
1153
|
+
accountNumber: string | undefined;
|
|
1154
|
+
personOid: number | undefined;
|
|
1155
|
+
cardId: string | undefined;
|
|
1156
|
+
ngvUsedFlag: boolean | undefined;
|
|
1157
|
+
omnichannelPaymentId: string | undefined;
|
|
1158
|
+
schemeTrxId: string | undefined;
|
|
1159
|
+
ageCheckResult: EnumValue | undefined;
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1092
1162
|
interface TransactionResponse {
|
|
1093
1163
|
additionalInfo: undefined;
|
|
1094
1164
|
amount: Amount;
|
|
1095
|
-
amountDcc: undefined;
|
|
1096
|
-
amountDue: undefined;
|
|
1097
|
-
amountLoyaltyCashback: undefined;
|
|
1098
|
-
amountOther: undefined;
|
|
1099
|
-
amountSaldo: undefined;
|
|
1100
|
-
amountSurcharge: undefined;
|
|
1101
|
-
amountTip: undefined;
|
|
1165
|
+
amountDcc: Amount | undefined;
|
|
1166
|
+
amountDue: Amount | undefined;
|
|
1167
|
+
amountLoyaltyCashback: Amount | undefined;
|
|
1168
|
+
amountOther: Amount | undefined;
|
|
1169
|
+
amountSaldo: Amount | undefined;
|
|
1170
|
+
amountSurcharge: Amount | undefined;
|
|
1171
|
+
amountTip: Amount | undefined;
|
|
1102
1172
|
basket: undefined;
|
|
1173
|
+
cardData: CardData | undefined;
|
|
1103
1174
|
printData: PrintData;
|
|
1104
|
-
transactionInformation:
|
|
1175
|
+
transactionInformation: TransactionInformation | undefined;
|
|
1105
1176
|
transactionType: EnumValue;
|
|
1106
1177
|
}
|
|
1107
1178
|
|
package/dist/tyro.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, r, t as i } from "./tyro-
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "./tyro-DvHhgqHe.js";
|
|
2
2
|
export { n as ClientLogsDialog, i as PairTyro, t as TYRO_CONSTANTS, e as TyroTransactionStatus, r as useTyro };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, c as t, h as n, i as r, l as i, o as a, r as o, t as s, u as c } from "./PairInstructions-
|
|
1
|
+
import { a as e, c as t, h as n, i as r, l as i, o as a, r as o, t as s, u as c } from "./PairInstructions-CVnT81Id.js";
|
|
2
2
|
import { o as l } from "./utils-CAwJtwP_.js";
|
|
3
3
|
import { n as u, r as d, t as f } from "./core-BMUVlh-t.js";
|
|
4
4
|
import { createBlock as p, createElementBlock as m, createElementVNode as h, createTextVNode as g, createVNode as _, defineComponent as v, onMounted as y, openBlock as b, ref as x, toDisplayString as S, unref as C, withCtx as w } from "vue";
|
|
@@ -116,7 +116,7 @@ var z = class {
|
|
|
116
116
|
TransactionID: I(),
|
|
117
117
|
TimeStamp: o
|
|
118
118
|
},
|
|
119
|
-
SaleToAcquirerData: "tenderOption=AskGratuity"
|
|
119
|
+
SaleToAcquirerData: n?.isTipEnabled ? "tenderOption=AskGratuity" : void 0
|
|
120
120
|
},
|
|
121
121
|
PaymentTransaction: { AmountsReq: {
|
|
122
122
|
Currency: t,
|
|
@@ -385,7 +385,10 @@ var K = ({ merchantAccount: e }) => {
|
|
|
385
385
|
onCancel: () => {
|
|
386
386
|
s.progress(`Trying to cancel ${e.toLowerCase()}...`), r.cancelPayment();
|
|
387
387
|
}
|
|
388
|
-
}), c = G(e === "Purchase" ? await r.makePayment(a, i.value, {
|
|
388
|
+
}), c = G(e === "Purchase" ? await r.makePayment(a, i.value, {
|
|
389
|
+
tipAmount: o,
|
|
390
|
+
isTipEnabled: n?.isTipEnabled
|
|
391
|
+
}) : await r.makeRefund(a, i.value, { originalTransactionId: n?.originalTransactionId }));
|
|
389
392
|
return s.settle(c.status, c.message), c;
|
|
390
393
|
};
|
|
391
394
|
return {
|
package/dist/valpay.d.ts
CHANGED
|
@@ -711,6 +711,7 @@ declare interface TransactionOptions {
|
|
|
711
711
|
* RFN.
|
|
712
712
|
*/
|
|
713
713
|
originalTransactionId?: string;
|
|
714
|
+
isTipEnabled?: boolean;
|
|
714
715
|
}
|
|
715
716
|
|
|
716
717
|
/**
|
|
@@ -803,10 +804,12 @@ export declare class ValpayAPI {
|
|
|
803
804
|
* @param options Tip behaviour:
|
|
804
805
|
* - `tipAmount` — fixed tip in major units, sent separately as `AmountsReq.TipAmount` and never
|
|
805
806
|
* combined into `RequestedAmount`. The on-terminal gratuity prompt is always enabled.
|
|
807
|
+
* - `isTipEnabled` — whether to enable the tip prompt on the terminal
|
|
806
808
|
* @returns Promise with payment response
|
|
807
809
|
*/
|
|
808
810
|
makePayment(amount: number, currency: string, options?: {
|
|
809
811
|
tipAmount?: number;
|
|
812
|
+
isTipEnabled?: boolean;
|
|
810
813
|
}): Promise<{
|
|
811
814
|
success: boolean;
|
|
812
815
|
data?: PaymentResponse_2;
|
|
@@ -1770,19 +1773,90 @@ declare global {
|
|
|
1770
1773
|
terminal: Terminal;
|
|
1771
1774
|
}
|
|
1772
1775
|
|
|
1776
|
+
interface CardTrackData {
|
|
1777
|
+
trackNum: number | undefined;
|
|
1778
|
+
data: Uint8Array | undefined;
|
|
1779
|
+
dataString: string | undefined;
|
|
1780
|
+
}
|
|
1781
|
+
|
|
1782
|
+
interface SignatureInformation {
|
|
1783
|
+
imageFileFormat: EnumValue | undefined;
|
|
1784
|
+
imageWidth: number | undefined;
|
|
1785
|
+
imageHeight: number | undefined;
|
|
1786
|
+
imageData: Uint8Array | undefined;
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
interface CardData {
|
|
1790
|
+
posEntryMode: EnumValue | undefined;
|
|
1791
|
+
aid: string | undefined;
|
|
1792
|
+
acc: string | undefined;
|
|
1793
|
+
cardNumber: string | undefined;
|
|
1794
|
+
cardNumberPrintable: string | undefined;
|
|
1795
|
+
cardNumberPrintableCardholder: string | undefined;
|
|
1796
|
+
cardNumberEnc: Uint8Array | undefined;
|
|
1797
|
+
cardNumberEncKeyIndex: number | undefined;
|
|
1798
|
+
cardExpiryDate: TimeDate | undefined;
|
|
1799
|
+
/** Card scheme / brand name, e.g. "VISA", "MasterCard". */
|
|
1800
|
+
brandName: string | undefined;
|
|
1801
|
+
/** Payment product (tender) name as configured on the terminal, e.g. "Visa Credit". */
|
|
1802
|
+
tenderName: string | undefined;
|
|
1803
|
+
cardTrackDatas: CardTrackData[] | undefined;
|
|
1804
|
+
loyaltyInformation: Map<string, Uint8Array> | undefined;
|
|
1805
|
+
cardRef: string | undefined;
|
|
1806
|
+
processingDisposition: EnumValue | undefined;
|
|
1807
|
+
language: string | undefined;
|
|
1808
|
+
cardCountryCode: number | undefined;
|
|
1809
|
+
terminalCountryCode: number | undefined;
|
|
1810
|
+
uid: string | undefined;
|
|
1811
|
+
asrpd: Uint8Array | undefined;
|
|
1812
|
+
cardProductType: EnumValue | undefined;
|
|
1813
|
+
cardType: number | undefined;
|
|
1814
|
+
cardholder: string | undefined;
|
|
1815
|
+
accountType: EnumValue | undefined;
|
|
1816
|
+
emvPar: string | undefined;
|
|
1817
|
+
tokenPan: string | undefined;
|
|
1818
|
+
tokenPanType: EnumValue | undefined;
|
|
1819
|
+
additionalCardData: string | undefined;
|
|
1820
|
+
}
|
|
1821
|
+
|
|
1822
|
+
interface TransactionInformation {
|
|
1823
|
+
posEntryMode: EnumValue | undefined;
|
|
1824
|
+
cvm: EnumValue | undefined;
|
|
1825
|
+
merchantAction: EnumValue | undefined;
|
|
1826
|
+
authCode: string | undefined;
|
|
1827
|
+
timeStamp: TimeDate | undefined;
|
|
1828
|
+
transRef: number | undefined;
|
|
1829
|
+
transSeq: number | undefined;
|
|
1830
|
+
acqId: number | undefined;
|
|
1831
|
+
signatureInformation: SignatureInformation | undefined;
|
|
1832
|
+
trmTransRef: string | undefined;
|
|
1833
|
+
acqTransRef: string | undefined;
|
|
1834
|
+
sixTrxRefNum: string | undefined;
|
|
1835
|
+
cardholderName: string | undefined;
|
|
1836
|
+
clientIdentifier: string | undefined;
|
|
1837
|
+
accountNumber: string | undefined;
|
|
1838
|
+
personOid: number | undefined;
|
|
1839
|
+
cardId: string | undefined;
|
|
1840
|
+
ngvUsedFlag: boolean | undefined;
|
|
1841
|
+
omnichannelPaymentId: string | undefined;
|
|
1842
|
+
schemeTrxId: string | undefined;
|
|
1843
|
+
ageCheckResult: EnumValue | undefined;
|
|
1844
|
+
}
|
|
1845
|
+
|
|
1773
1846
|
interface TransactionResponse {
|
|
1774
1847
|
additionalInfo: undefined;
|
|
1775
1848
|
amount: Amount;
|
|
1776
|
-
amountDcc: undefined;
|
|
1777
|
-
amountDue: undefined;
|
|
1778
|
-
amountLoyaltyCashback: undefined;
|
|
1779
|
-
amountOther: undefined;
|
|
1780
|
-
amountSaldo: undefined;
|
|
1781
|
-
amountSurcharge: undefined;
|
|
1782
|
-
amountTip: undefined;
|
|
1849
|
+
amountDcc: Amount | undefined;
|
|
1850
|
+
amountDue: Amount | undefined;
|
|
1851
|
+
amountLoyaltyCashback: Amount | undefined;
|
|
1852
|
+
amountOther: Amount | undefined;
|
|
1853
|
+
amountSaldo: Amount | undefined;
|
|
1854
|
+
amountSurcharge: Amount | undefined;
|
|
1855
|
+
amountTip: Amount | undefined;
|
|
1783
1856
|
basket: undefined;
|
|
1857
|
+
cardData: CardData | undefined;
|
|
1784
1858
|
printData: PrintData;
|
|
1785
|
-
transactionInformation:
|
|
1859
|
+
transactionInformation: TransactionInformation | undefined;
|
|
1786
1860
|
transactionType: EnumValue;
|
|
1787
1861
|
}
|
|
1788
1862
|
|
package/dist/valpay.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./valpay-
|
|
1
|
+
import { n as e, r as t, t as n } from "./valpay-DoVz604A.js";
|
|
2
2
|
export { n as PairValpay, t as ValpayAPI, e as useValpay };
|
|
@@ -40,7 +40,7 @@ var R = new class extends P {
|
|
|
40
40
|
async setupAutoRotation(e = 15) {
|
|
41
41
|
setInterval(() => {
|
|
42
42
|
this.rotateItems(e).catch((e) => console.error("Auto-rotation failed:", e));
|
|
43
|
-
},
|
|
43
|
+
}, 864e5), await this.rotateItems(e);
|
|
44
44
|
}
|
|
45
45
|
}("timapiLogs"), z = Object.freeze({
|
|
46
46
|
TxnCompleted: "timTxnCompleted",
|
|
@@ -67,15 +67,17 @@ var R = new class extends P {
|
|
|
67
67
|
event: e,
|
|
68
68
|
data: n
|
|
69
69
|
} });
|
|
70
|
-
if (document.dispatchEvent(r), t.emit("txnCompleted", e, n), n
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
70
|
+
if (document.dispatchEvent(r), t.emit("txnCompleted", e, n), n !== void 0 && n.transactionInformation !== void 0) {
|
|
71
|
+
let e;
|
|
72
|
+
switch (n.transactionType) {
|
|
73
|
+
case timapi.constants.TransactionType.reservation:
|
|
74
|
+
case timapi.constants.TransactionType.adjustReservation:
|
|
75
|
+
e = n.transactionInformation.acqTransRef;
|
|
76
|
+
break;
|
|
77
|
+
case timapi.constants.TransactionType.purchase:
|
|
78
|
+
default: e = n.transactionInformation.transSeq;
|
|
79
|
+
}
|
|
80
|
+
e !== void 0 && localStorage.setItem(H.LAST_TXN_SEQ, String(e));
|
|
79
81
|
}
|
|
80
82
|
}
|
|
81
83
|
balanceCompleted(e, t) {
|
|
@@ -160,10 +162,14 @@ var R = new class extends P {
|
|
|
160
162
|
actionReconfig() {
|
|
161
163
|
this.isReady && (this.ensureTerminal().reconfigAsync(), this.requestInProgress = timapi.constants.RequestType.reconfig);
|
|
162
164
|
}
|
|
163
|
-
actionPurchase(e, n) {
|
|
165
|
+
actionPurchase(e, n, r = !1) {
|
|
164
166
|
if (this.isReady) try {
|
|
165
|
-
let
|
|
166
|
-
|
|
167
|
+
let i = new timapi.Amount(e, timapi.constants.Currency.AUD);
|
|
168
|
+
if (r) {
|
|
169
|
+
let e = new timapi.Amount(n ?? 0, timapi.constants.Currency.AUD);
|
|
170
|
+
this.ensureTerminal().transactionTipAsync(timapi.constants.TransactionType.purchase, i, e);
|
|
171
|
+
} else this.ensureTerminal().transactionAsync(timapi.constants.TransactionType.purchase, i);
|
|
172
|
+
t.emit("txnStarted", e, "purchase");
|
|
167
173
|
} catch (e) {
|
|
168
174
|
t.emit("txnCompleted", {
|
|
169
175
|
exception: e,
|
package/dist/worldline.d.ts
CHANGED
|
@@ -46,12 +46,19 @@ declare class AdvanceEcr {
|
|
|
46
46
|
/**
|
|
47
47
|
* Make a purchase, optionally with a tip.
|
|
48
48
|
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
49
|
+
* Tipping is only engaged when `isTipEnabled` is `true` — the on-terminal
|
|
50
|
+
* gratuity prompt is off unless explicitly enabled by the caller.
|
|
51
|
+
*
|
|
52
|
+
* - **Tip enabled** (`isTipEnabled: true`) — runs via TimAPI's
|
|
53
|
+
* `transactionTipAsync`, which requires the `gastro` guide and `tipAllowed`
|
|
54
|
+
* on the terminal (both configured during terminal setup). `tipAmount` (in
|
|
55
|
+
* cents) seeds the prompt; omitted it defaults to `0`.
|
|
56
|
+
* - **Tip disabled** (default) — runs a plain `transactionAsync(purchase)`
|
|
57
|
+
* with no gratuity prompt. `tipAmount` is ignored.
|
|
58
|
+
*
|
|
59
|
+
* `purchaseAmount` and `tipAmount` are in cents.
|
|
53
60
|
*/
|
|
54
|
-
actionPurchase(purchaseAmount: number, tipAmount?: number): void;
|
|
61
|
+
actionPurchase(purchaseAmount: number, tipAmount?: number, isTipEnabled?: boolean): void;
|
|
55
62
|
/**
|
|
56
63
|
* Make a refund.
|
|
57
64
|
*
|
|
@@ -1014,19 +1021,90 @@ declare global {
|
|
|
1014
1021
|
terminal: Terminal;
|
|
1015
1022
|
}
|
|
1016
1023
|
|
|
1024
|
+
interface CardTrackData {
|
|
1025
|
+
trackNum: number | undefined;
|
|
1026
|
+
data: Uint8Array | undefined;
|
|
1027
|
+
dataString: string | undefined;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
interface SignatureInformation {
|
|
1031
|
+
imageFileFormat: EnumValue | undefined;
|
|
1032
|
+
imageWidth: number | undefined;
|
|
1033
|
+
imageHeight: number | undefined;
|
|
1034
|
+
imageData: Uint8Array | undefined;
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
interface CardData {
|
|
1038
|
+
posEntryMode: EnumValue | undefined;
|
|
1039
|
+
aid: string | undefined;
|
|
1040
|
+
acc: string | undefined;
|
|
1041
|
+
cardNumber: string | undefined;
|
|
1042
|
+
cardNumberPrintable: string | undefined;
|
|
1043
|
+
cardNumberPrintableCardholder: string | undefined;
|
|
1044
|
+
cardNumberEnc: Uint8Array | undefined;
|
|
1045
|
+
cardNumberEncKeyIndex: number | undefined;
|
|
1046
|
+
cardExpiryDate: TimeDate | undefined;
|
|
1047
|
+
/** Card scheme / brand name, e.g. "VISA", "MasterCard". */
|
|
1048
|
+
brandName: string | undefined;
|
|
1049
|
+
/** Payment product (tender) name as configured on the terminal, e.g. "Visa Credit". */
|
|
1050
|
+
tenderName: string | undefined;
|
|
1051
|
+
cardTrackDatas: CardTrackData[] | undefined;
|
|
1052
|
+
loyaltyInformation: Map<string, Uint8Array> | undefined;
|
|
1053
|
+
cardRef: string | undefined;
|
|
1054
|
+
processingDisposition: EnumValue | undefined;
|
|
1055
|
+
language: string | undefined;
|
|
1056
|
+
cardCountryCode: number | undefined;
|
|
1057
|
+
terminalCountryCode: number | undefined;
|
|
1058
|
+
uid: string | undefined;
|
|
1059
|
+
asrpd: Uint8Array | undefined;
|
|
1060
|
+
cardProductType: EnumValue | undefined;
|
|
1061
|
+
cardType: number | undefined;
|
|
1062
|
+
cardholder: string | undefined;
|
|
1063
|
+
accountType: EnumValue | undefined;
|
|
1064
|
+
emvPar: string | undefined;
|
|
1065
|
+
tokenPan: string | undefined;
|
|
1066
|
+
tokenPanType: EnumValue | undefined;
|
|
1067
|
+
additionalCardData: string | undefined;
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
interface TransactionInformation {
|
|
1071
|
+
posEntryMode: EnumValue | undefined;
|
|
1072
|
+
cvm: EnumValue | undefined;
|
|
1073
|
+
merchantAction: EnumValue | undefined;
|
|
1074
|
+
authCode: string | undefined;
|
|
1075
|
+
timeStamp: TimeDate | undefined;
|
|
1076
|
+
transRef: number | undefined;
|
|
1077
|
+
transSeq: number | undefined;
|
|
1078
|
+
acqId: number | undefined;
|
|
1079
|
+
signatureInformation: SignatureInformation | undefined;
|
|
1080
|
+
trmTransRef: string | undefined;
|
|
1081
|
+
acqTransRef: string | undefined;
|
|
1082
|
+
sixTrxRefNum: string | undefined;
|
|
1083
|
+
cardholderName: string | undefined;
|
|
1084
|
+
clientIdentifier: string | undefined;
|
|
1085
|
+
accountNumber: string | undefined;
|
|
1086
|
+
personOid: number | undefined;
|
|
1087
|
+
cardId: string | undefined;
|
|
1088
|
+
ngvUsedFlag: boolean | undefined;
|
|
1089
|
+
omnichannelPaymentId: string | undefined;
|
|
1090
|
+
schemeTrxId: string | undefined;
|
|
1091
|
+
ageCheckResult: EnumValue | undefined;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1017
1094
|
interface TransactionResponse {
|
|
1018
1095
|
additionalInfo: undefined;
|
|
1019
1096
|
amount: Amount;
|
|
1020
|
-
amountDcc: undefined;
|
|
1021
|
-
amountDue: undefined;
|
|
1022
|
-
amountLoyaltyCashback: undefined;
|
|
1023
|
-
amountOther: undefined;
|
|
1024
|
-
amountSaldo: undefined;
|
|
1025
|
-
amountSurcharge: undefined;
|
|
1026
|
-
amountTip: undefined;
|
|
1097
|
+
amountDcc: Amount | undefined;
|
|
1098
|
+
amountDue: Amount | undefined;
|
|
1099
|
+
amountLoyaltyCashback: Amount | undefined;
|
|
1100
|
+
amountOther: Amount | undefined;
|
|
1101
|
+
amountSaldo: Amount | undefined;
|
|
1102
|
+
amountSurcharge: Amount | undefined;
|
|
1103
|
+
amountTip: Amount | undefined;
|
|
1027
1104
|
basket: undefined;
|
|
1105
|
+
cardData: CardData | undefined;
|
|
1028
1106
|
printData: PrintData;
|
|
1029
|
-
transactionInformation:
|
|
1107
|
+
transactionInformation: TransactionInformation | undefined;
|
|
1030
1108
|
transactionType: EnumValue;
|
|
1031
1109
|
}
|
|
1032
1110
|
|
package/dist/worldline.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as e } from "./emitter-BNPvJMuc.js";
|
|
2
|
-
import { a as t, i as n, n as r, o as i, r as a, t as o } from "./worldline-
|
|
2
|
+
import { a as t, i as n, n as r, o as i, r as a, t as o } from "./worldline-DRyAhSeD.js";
|
|
3
3
|
export { a as PairTimapi, r as TimApiDialog, t as TimApiEvents, o as TimApiLogs, i as TransactionTypes, e as emitter, n as timApi };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@achyutlabsau/vue-payment-gateway",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"homepage": "https://github.com/Achyut-Labs/al-pay-npm-pkg#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
|
+
"typecheck": "vue-tsc --noEmit",
|
|
54
55
|
"dev": "cd examples && vite",
|
|
55
56
|
"build": "vue-tsc -b && vite build",
|
|
56
57
|
"preview": "vite preview",
|
|
@@ -67,28 +68,28 @@
|
|
|
67
68
|
},
|
|
68
69
|
"devDependencies": {
|
|
69
70
|
"@quasar/extras": "^2.0.2",
|
|
70
|
-
"@tailwindcss/vite": "^4.3.
|
|
71
|
+
"@tailwindcss/vite": "^4.3.3",
|
|
71
72
|
"@types/node": "*",
|
|
72
73
|
"@vitejs/plugin-vue": "^6.0.8",
|
|
73
|
-
"@vue/language-core": "^3.3.
|
|
74
|
-
"@vueuse/core": "^14.
|
|
75
|
-
"@vueuse/rxjs": "^14.
|
|
76
|
-
"axios": "^1.
|
|
74
|
+
"@vue/language-core": "^3.3.9",
|
|
75
|
+
"@vueuse/core": "^14.4",
|
|
76
|
+
"@vueuse/rxjs": "^14.4.0",
|
|
77
|
+
"axios": "^1.19.0",
|
|
77
78
|
"dayjs": "^1.11.21",
|
|
78
79
|
"dexie": "^4.4.4",
|
|
79
80
|
"husky": "^9.1.7",
|
|
80
|
-
"lint-staged": "^17.0
|
|
81
|
-
"oxfmt": "^0.
|
|
82
|
-
"oxlint": "^1.
|
|
83
|
-
"quasar": "^2.
|
|
84
|
-
"tailwindcss": "^4.3.
|
|
81
|
+
"lint-staged": "^17.3.0",
|
|
82
|
+
"oxfmt": "^0.62.0",
|
|
83
|
+
"oxlint": "^1.77.0",
|
|
84
|
+
"quasar": "^2.23.5",
|
|
85
|
+
"tailwindcss": "^4.3.3",
|
|
85
86
|
"typescript": "~6.0.3",
|
|
86
87
|
"unplugin-dts": "^1.0.3",
|
|
87
88
|
"uuid": "^14.0.1",
|
|
88
|
-
"vite": "^8.
|
|
89
|
-
"vitepress": "^2.0.0-alpha.
|
|
90
|
-
"vue": "^3.5.
|
|
91
|
-
"vue-tsc": "^3.3.
|
|
89
|
+
"vite": "^8.2.0",
|
|
90
|
+
"vitepress": "^2.0.0-alpha.19",
|
|
91
|
+
"vue": "^3.5.40",
|
|
92
|
+
"vue-tsc": "^3.3.9"
|
|
92
93
|
},
|
|
93
94
|
"peerDependencies": {
|
|
94
95
|
"@vueuse/core": ">=13",
|