nets-service-sdk 1.1.2 → 1.1.3
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/index.js +12 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1351,6 +1351,10 @@ var require_communication = __commonJS({
|
|
|
1351
1351
|
message: `Failed to store transaction: ${error.message}`
|
|
1352
1352
|
});
|
|
1353
1353
|
}
|
|
1354
|
+
sendMessage2("clientRoom", "STATUS_CHECK_MESSAGE", {
|
|
1355
|
+
success: true,
|
|
1356
|
+
action: "STATUS_CHECK_INITIATED"
|
|
1357
|
+
});
|
|
1354
1358
|
global.port.write(calculated.buffer);
|
|
1355
1359
|
}
|
|
1356
1360
|
if (requestType == "LOGON") {
|
|
@@ -1368,6 +1372,10 @@ var require_communication = __commonJS({
|
|
|
1368
1372
|
message: `Failed to store transaction: ${error.message}`
|
|
1369
1373
|
});
|
|
1370
1374
|
}
|
|
1375
|
+
sendMessage2("clientRoom", "LOGON_MESSAGE", {
|
|
1376
|
+
success: true,
|
|
1377
|
+
action: "LOGON_INITIATED"
|
|
1378
|
+
});
|
|
1371
1379
|
global.port.write(calculated.buffer);
|
|
1372
1380
|
}
|
|
1373
1381
|
if (requestType == "PAYMENT" || requestType == "CREDIT_PAYMENT") {
|
|
@@ -1387,6 +1395,10 @@ var require_communication = __commonJS({
|
|
|
1387
1395
|
message: `Failed to store transaction: ${error.message}`
|
|
1388
1396
|
});
|
|
1389
1397
|
}
|
|
1398
|
+
sendMessage2("clientRoom", "PAYMENT_MESSAGE", {
|
|
1399
|
+
success: true,
|
|
1400
|
+
action: "PAYMENT_INITIATED"
|
|
1401
|
+
});
|
|
1390
1402
|
global.port.write(calculated.buffer);
|
|
1391
1403
|
exports2.checkACKorNACK();
|
|
1392
1404
|
}
|