New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@swp/ledger-sdk

Package Overview
Dependencies
Maintainers
2
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swp/ledger-sdk - npm Package Compare versions

Comparing version 0.0.16 to 0.0.17

.build/src/swipe.d.ts

4

.build/common/dto.d.ts

@@ -16,2 +16,6 @@ export interface Model<DTO> {

};
export interface SearchOptions {
fields?: string[];
pagination?: PaginationParams;
}
export interface NewActionBatchDTO {

@@ -18,0 +22,0 @@ actions: NewActionDTO[];

4

.build/index.d.ts

@@ -1,6 +0,2 @@

export * from "./src/http";
export * from "./src/ledger";
export * from "./src/cash_in";
export * from "./src/actions";
export * from "./common/http/codes";
export * from "./common/http/dto";

@@ -7,0 +3,0 @@ export * from "./common/http/error";

@@ -6,7 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./src/http"));
__export(require("./src/ledger"));
__export(require("./src/cash_in"));
__export(require("./src/actions"));
__export(require("./common/http/codes"));
__export(require("./common/http/dto"));

@@ -13,0 +9,0 @@ __export(require("./common/http/error"));

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

import { Options } from "./ledger";
import { SwpHttp } from "./http";
import { SwpResponse } from "../common/http/dto";

@@ -6,5 +6,5 @@ import { BoletoDTO, NewBoletoDTO } from "../common/dto";

private http;
constructor(options: Options);
constructor(http: SwpHttp);
newBoleto(newBoleto: NewBoletoDTO): Promise<SwpResponse<BoletoDTO>>;
getBoleto(id: string): Promise<SwpResponse<BoletoDTO>>;
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var http_1 = require("./http");
var CashIn = /** @class */ (function () {
function CashIn(options) {
this.http = new http_1.SwpHttp(options);
function CashIn(http) {
this.http = http;
}

@@ -8,0 +7,0 @@ CashIn.prototype.newBoleto = function (newBoleto) {

import { SwpResponse } from "../common/http/dto";
import { PaginationParams } from "../common/dto";
import { Options } from "./ledger";
export interface SearchOptions {
fields?: string[];
pagination?: PaginationParams;
}
import { SearchOptions } from "../common/dto";
import { Options } from "./swipe";
interface RequestOptions {

@@ -9,0 +5,0 @@ searchOptions?: SearchOptions;

@@ -1,14 +0,7 @@

import { SearchOptions } from "./http";
import { AccountDTO, ActionBatchDTO, AssetDTO, NewActionBatchDTO, OrgDTO } from "../common/dto";
import { SwpHttp } from "./http";
import { AccountDTO, ActionBatchDTO, AssetDTO, NewActionBatchDTO, OrgDTO, SearchOptions } from "../common/dto";
import { SwpResponse } from "../common/http/dto";
export interface Options {
apiKey: string;
secret: string;
sandbox?: boolean;
customHost?: string;
debug?: boolean;
}
export declare class Ledger {
private http;
constructor(options: Options);
constructor(http: SwpHttp);
hello(): Promise<SwpResponse<string>>;

@@ -15,0 +8,0 @@ getOrganization(): Promise<SwpResponse<OrgDTO>>;

@@ -38,6 +38,5 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var http_1 = require("./http");
var Ledger = /** @class */ (function () {
function Ledger(options) {
this.http = new http_1.SwpHttp(options);
function Ledger(http) {
this.http = http;
}

@@ -44,0 +43,0 @@ Ledger.prototype.hello = function () {

{
"name": "@swp/ledger-sdk",
"version": "0.0.16",
"version": "0.0.17",
"description": "",

@@ -5,0 +5,0 @@ "private": false,

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