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

xendit-node

Package Overview
Dependencies
Maintainers
5
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xendit-node - npm Package Compare versions

Comparing version 1.21.2 to 1.21.3

2

package.json
{
"name": "xendit-node",
"version": "1.21.2",
"version": "1.21.3",
"description": "NodeJS client for Xendit API",

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

@@ -67,3 +67,3 @@ # Xendit API Node.js Client

- [Void a payout](#void-a-payout)
- [EWallet Services [SOON TO BE DEPRECATED - MAR 31 2022]](#ewallet-services-soon-to-be-deprecated---mar-31-2022)
- [EWallet Services](#ewallet-services)
- [Create payment](#create-payment)

@@ -885,7 +885,4 @@ - [Get payment](#get-payment)

### EWallet Services [SOON TO BE DEPRECATED - MAR 31 2022]
### EWallet Services
Deprecation notice here: <https://docs.xendit.co/api-deprecation/2019-ewallet>
We will continue working on developing the SDK to support the new EWallet service
Instanitiate EWallet service using constructor that has been injected with Xendit keys

@@ -892,0 +889,0 @@

@@ -66,2 +66,7 @@ import { RecurringAction, Currency } from './manage_plans';

export enum CycleDashboardSearchType {
CYCLE_ID = 'id',
REFERENCE_ID = 'reference_id',
}
export function editCycle(data: UpdateCycleRequest): Promise<RecurringCycle>;

@@ -84,2 +89,4 @@ export function getCycle(data: {

afterId?: string;
searchType?: CycleDashboardSearchType;
searchValue?: string;
}): Promise<List<RecurringCycle>>;

@@ -39,2 +39,8 @@ const querystring = require('querystring');

}
if (data.searchType) {
query.search_type = data.searchType;
}
if (data.searchValue) {
query.search_value = data.searchValue;
}

@@ -41,0 +47,0 @@ const urlSearchParams = querystring.stringify(query);

@@ -26,2 +26,3 @@ import { CreateScheduleRequest } from './manage_schedules';

notificationConfig?: NotificationConfig | null;
updateScheduledCycles?: boolean;
metadata?: object | null;

@@ -28,0 +29,0 @@ description?: string;

@@ -103,2 +103,3 @@ const { promWithJsErr, Validate, fetchWithHTTPErr, Auth } = require('../utils');

'business-id': data.businessId,
'update-scheduled-cycles': data.updateScheduledCycles || false,
},

@@ -105,0 +106,0 @@ body: JSON.stringify({

@@ -22,2 +22,3 @@ export interface CreateScheduleRequest {

retryInterval?: Interval | null;
updateScheduledCycles?: boolean;
retryIntervalCount?: number;

@@ -24,0 +25,0 @@ totalRetry?: number | null;

@@ -68,2 +68,3 @@ const { promWithJsErr, Validate, fetchWithHTTPErr, Auth } = require('../utils');

'Content-Type': 'application/json',
'update-scheduled-cycles': data.updateScheduledCycles || false,
},

@@ -70,0 +71,0 @@ body: JSON.stringify({

@@ -17,2 +17,4 @@ module.exports = {

beforeId: 'before_id',
searchType: 'search_type',
searchValue: 'search_value',
};
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