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

qiwi-sdk

Package Overview
Dependencies
Maintainers
2
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qiwi-sdk - npm Package Compare versions

Comparing version 1.5.0 to 1.6.0

3

dist/http.d.ts

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

import { RequestInit } from "node-fetch";
import { ErrorWithCode, ExtendedError } from "./error";

@@ -23,2 +24,3 @@ /**

}
export declare type Agent = RequestInit["agent"];
/**

@@ -37,2 +39,3 @@ * Ошибка раскодировки ответа сервера

protected readonly API_OK_RESPONSE_CODES: number[];
protected agent?: Agent;
/**

@@ -39,0 +42,0 @@ * Simplified http request function

3

dist/http.js

@@ -77,3 +77,4 @@ "use strict";

timeout: this.API_TIMEOUT,
body
body,
agent: this.agent
});

@@ -80,0 +81,0 @@ const contentType = (_a = response.headers.get("content-type")) === null || _a === void 0 ? void 0 : _a.split(";")[0];

import { ErrorWithCode } from "../error";
import { HttpAPI } from "../http";
import { Agent, HttpAPI } from "../http";
import type * as types from "./p2p.types";

@@ -26,2 +26,3 @@ import { AnyResponse } from "./shared.types";

static readonly Currency: typeof types.BillCurrency;
agent?: Agent;
protected readonly API_HEADERS: {

@@ -28,0 +29,0 @@ Accept: string;

/// <reference types="node" />
import { ExtendedError } from "../error";
import { HttpAPI } from "../http";
import { Agent, HttpAPI } from "../http";
import type * as types from "./personal.types";

@@ -32,2 +32,3 @@ /**

static readonly ChequeFormat: typeof types.ChequeFormat;
agent?: Agent;
protected readonly API_HEADERS: {

@@ -34,0 +35,0 @@ Accept: string;

{
"name": "qiwi-sdk",
"version": "1.5.0",
"version": "1.6.0",
"description": "Typed, Promise based, QIWI API (P2P & Personal) client",

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

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