Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@elevatormedia/paymigo

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elevatormedia/paymigo - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

dist/lib/disputes/DisputesClient.d.ts

4

dist/Client.d.ts

@@ -1,2 +0,4 @@

import { DisputesClient, OrdersClient, ReportingClient } from './lib';
import { DisputesClient } from 'lib/disputes';
import { OrdersClient } from 'lib/orders';
import { ReportingClient } from 'lib/reporting';
import { ClientMode, ClientOptions } from './types/client';

@@ -3,0 +5,0 @@ export default class PaymigoClient {

@@ -6,4 +6,6 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const lib_1 = require("./lib");
const checkout_server_sdk_1 = __importDefault(require("@paypal/checkout-server-sdk"));
const disputes_1 = require("lib/disputes");
const orders_1 = require("lib/orders");
const reporting_1 = require("lib/reporting");
class PaymigoClient {

@@ -21,6 +23,6 @@ constructor(options) {

this._baseClient = new checkout_server_sdk_1.default.core.PayPalHttpClient(environment);
this.orders = new lib_1.OrdersClient(this._baseClient);
this.disputes = new lib_1.DisputesClient(this._baseClient);
this.orders = new orders_1.OrdersClient(this._baseClient);
this.disputes = new disputes_1.DisputesClient(this._baseClient);
if (options.reporting)
this.reporting = new lib_1.ReportingClient(options.mode, options.reporting);
this.reporting = new reporting_1.ReportingClient(options.mode, options.reporting);
}

@@ -27,0 +29,0 @@ }

@@ -25,2 +25,3 @@ export declare class OrdersClient {

}
export * from 'types/orders';
//# sourceMappingURL=orders.d.ts.map
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

@@ -97,2 +107,3 @@ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }

exports.OrdersClient = OrdersClient;
__exportStar(require("types/orders"), exports);
//# sourceMappingURL=orders.js.map

@@ -1,5 +0,5 @@

export declare type RequestVerb = 'GET' | 'POST';
export declare type HttpMethod = 'GET' | 'POST';
export declare type RequestOptions = {
path: string;
verb?: RequestVerb;
verb?: HttpMethod;
body?: any;

@@ -6,0 +6,0 @@ headers?: any;

{
"name": "@elevatormedia/paymigo",
"version": "0.1.4",
"version": "0.1.5",
"description": "TypeScript wrapper and extension of PayPal Node.js SDK and REST APIs",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc