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

@robobanky/adaptors

Package Overview
Dependencies
Maintainers
3
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@robobanky/adaptors - npm Package Compare versions

Comparing version 1.4.20 to 1.5.0

1

dist/monzo-adaptor/translations/index.js

@@ -42,2 +42,3 @@ "use strict";

cashAccountId,
name: pot.name,
externalId: pot.id,

@@ -44,0 +45,0 @@ provider: common_1.Providers.Monzo,

@@ -28,2 +28,3 @@ import { Amount, EntityId, IsoDatetime, Providers } from './common';

cashAccountId: EntityId;
name: string;
provider: Providers;

@@ -30,0 +31,0 @@ cashAccountType: CashAccountType.Jar;

2

package.json
{
"name": "@robobanky/adaptors",
"version": "1.4.20",
"version": "1.5.0",
"main": "dist/index.js",

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

@@ -81,15 +81,13 @@ import axios, { AxiosError, AxiosInstance, AxiosResponse } from 'axios'

})
.catch(
(error: AxiosError): OauthRefreshTokenResponse => {
const { response } = error
if (response) {
const { status, statusText } = response
console.error('MonzoAdaptor.createRefreshToken', 'Error occured', status, statusText)
return { isError: true, status } as OauthRefreshTokenResponse
} else {
console.error('MonzoAdaptor.createRefreshToken', error)
return { isError: true, status: 500 }
}
.catch((error: AxiosError): OauthRefreshTokenResponse => {
const { response } = error
if (response) {
const { status, statusText } = response
console.error('MonzoAdaptor.createRefreshToken', 'Error occured', status, statusText)
return { isError: true, status } as OauthRefreshTokenResponse
} else {
console.error('MonzoAdaptor.createRefreshToken', error)
return { isError: true, status: 500 }
}
)
})
}

@@ -96,0 +94,0 @@

@@ -52,2 +52,3 @@ import { BigNumber } from 'bignumber.js'

cashAccountId,
name: pot.name,
externalId: pot.id,

@@ -54,0 +55,0 @@ provider: Providers.Monzo,

@@ -32,2 +32,3 @@ import { Amount, EntityId, IsoDatetime, Providers } from './common'

cashAccountId: EntityId
name: string
provider: Providers

@@ -34,0 +35,0 @@ cashAccountType: CashAccountType.Jar

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