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

danielbonifacio-sdk

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

danielbonifacio-sdk - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0

1

dist/Service.d.ts

@@ -5,2 +5,3 @@ import { AxiosRequestConfig, AxiosResponse } from "axios";

protected static getData: typeof getData;
static setBaseUrl(baseURL: string): void;
static setRequestInterceptors(onFulfilled: (request: AxiosRequestConfig) => AxiosRequestConfig | Promise<AxiosRequestConfig>, onRejected?: (error: any) => any): void;

@@ -7,0 +8,0 @@ static setResponseInterceptors(onFulfilled: (response: AxiosResponse) => AxiosResponse | Promise<AxiosResponse>, onRejected: (error: any) => any): void;

@@ -13,2 +13,5 @@ "use strict";

}
Service.setBaseUrl = function (baseURL) {
this.Http.defaults.baseURL = baseURL;
};
Service.setRequestInterceptors = function (onFulfilled, onRejected) {

@@ -15,0 +18,0 @@ Http.interceptors.request.use(onFulfilled, onRejected);

2

package.json
{
"name": "danielbonifacio-sdk",
"version": "3.1.0",
"version": "3.2.0",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",

import axios, { AxiosRequestConfig, AxiosResponse } from "axios";
import { th } from "date-fns/locale";
import handleAxiosResponseError from "./utils/handleAxiosResponseError";

@@ -11,2 +12,6 @@ import handleAxiosResponseSuccess from "./utils/handleAxiosResponseSuccess";

public static setBaseUrl(baseURL: string) {
this.Http.defaults.baseURL = baseURL;
}
public static setRequestInterceptors(

@@ -13,0 +18,0 @@ onFulfilled: (

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