Socket
Socket
Sign inDemoInstall

momo-payment-gateway

Package Overview
Dependencies
7
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.5 to 1.0.6

1

lib/index.d.ts

@@ -56,2 +56,3 @@ export declare class MomoPayment {

}): Promise<{
type: string;
orderId: string;

@@ -58,0 +59,0 @@ requestId: string;

2

lib/index.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc