Socket
Socket
Sign inDemoInstall

@fiatconnect/fiatconnect-sdk

Package Overview
Dependencies
Maintainers
7
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fiatconnect/fiatconnect-sdk - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4

renovate.json5

8

CHANGELOG.md

@@ -5,2 +5,10 @@ # Changelog

### [0.3.4](https://github.com/fiatconnect/fiatconnect-sdk/compare/v0.3.3...v0.3.4) (2022-08-03)
### Bug Fixes
* **deps:** update dependency @fiatconnect/fiatconnect-types to ^6.1.0 ([#41](https://github.com/fiatconnect/fiatconnect-sdk/issues/41)) ([14fd9e4](https://github.com/fiatconnect/fiatconnect-sdk/commit/14fd9e4752bfeebb5a975a2ab1788a0a7d8c3244))
* **quote:** Fix header in post request ([#38](https://github.com/fiatconnect/fiatconnect-sdk/issues/38)) ([0f07308](https://github.com/fiatconnect/fiatconnect-sdk/commit/0f07308748cf8f1b5cb9b7e6d1858df0c7d3a5ba))
### [0.3.3](https://github.com/fiatconnect/fiatconnect-sdk/compare/v0.3.2...v0.3.3) (2022-07-15)

@@ -7,0 +15,0 @@

2

dist/fiat-connect-client.js

@@ -106,3 +106,3 @@ "use strict";

method: 'POST',
headers: this._getAuthHeader(),
headers: Object.assign({ 'Content-Type': 'application/json' }, this._getAuthHeader()),
body: JSON.stringify(body),

@@ -109,0 +109,0 @@ });

{
"name": "@fiatconnect/fiatconnect-sdk",
"version": "0.3.3",
"version": "0.3.4",
"description": "A helper libary for wallets to integrate with FiatConnect APIs",

@@ -33,4 +33,4 @@ "scripts": {

"devDependencies": {
"@types/jest": "^27.4.1",
"@types/node-fetch": "^2.6.1",
"@types/jest": "^27.5.2",
"@types/node-fetch": "^2.6.2",
"@types/uuid": "^8.3.4",

@@ -48,10 +48,10 @@ "@typescript-eslint/eslint-plugin": "^5.14.0",

"jest-fetch-mock": "^3.0.3",
"prettier": "2.6.0",
"prettier": "2.7.1",
"standard-version": "^9.3.2",
"ts-jest": "^27.1.3",
"typescript": "^4.6.2"
"ts-jest": "^27.1.5",
"typescript": "^4.7.4"
},
"dependencies": {
"@badrap/result": "^0.2.12",
"@fiatconnect/fiatconnect-types": "^6.0.0",
"@fiatconnect/fiatconnect-types": "^6.1.0",
"cross-fetch": "^3.1.5",

@@ -58,0 +58,0 @@ "ethers": "^5.6.4",

@@ -159,3 +159,6 @@ import {

method: 'POST',
headers: this._getAuthHeader(),
headers: {
'Content-Type': 'application/json',
...this._getAuthHeader(),
},
body: JSON.stringify(body),

@@ -162,0 +165,0 @@ },

@@ -401,3 +401,3 @@ import { FiatConnectClient, ResponseError } from '../src'

method: 'POST',
headers: undefined,
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(mockQuoteRequestQuery),

@@ -439,3 +439,3 @@ }),

method: 'POST',
headers: undefined,
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(mockQuoteRequestQuery),

@@ -442,0 +442,0 @@ }),

@@ -90,3 +90,3 @@ import {

export const mockKycStatusResponse: KycStatusResponse = {
kycStatus: KycStatus.Pending,
kycStatus: KycStatus.KycPending,
}

@@ -93,0 +93,0 @@

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