momo-payment-gateway
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -56,2 +56,3 @@ export declare class MomoPayment { | ||
}): Promise<{ | ||
type: string; | ||
orderId: string; | ||
@@ -58,0 +59,0 @@ requestId: string; |
@@ -189,3 +189,3 @@ "use strict"; | ||
signatureValue = _b.sent(); | ||
if (resultCode.toString() !== 0) { | ||
if (resultCode.toString() !== '0') { | ||
throw new Error('The transaction was not completed.'); | ||
@@ -192,0 +192,0 @@ } |
{ | ||
"name": "momo-payment-gateway", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Payment with Momo Wallet via QR code", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
18272
288