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

@swp/swipe-sdk

Package Overview
Dependencies
Maintainers
6
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swp/swipe-sdk - npm Package Compare versions

Comparing version

to
0.12.40

3

build/src/authentication.js

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

Authorization: 'Basic' + ' ' + this.createAuthorization(apiKey, secret),
'content-type': 'application/x-www-form-urlencoded',
'Access-Control-Allow-Origin': '',
'content-type': 'application/x-www-form-urlencoded'
}

@@ -40,0 +39,0 @@ });

export interface Token {
accessToken: string;
tokenType: 'bearer';
expiresIn: number;
access_token: string;
token_type: 'bearer';
expires_in: number;
}

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

static buildHeaderExtra(token) {
return { Authorization: 'Bearer ' + token.accessToken };
return { Authorization: 'Bearer ' + token.access_token };
}

@@ -19,0 +19,0 @@ async get(path, options) {

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

serviceProxy.withToken({
accessToken
access_token: accessToken
});

@@ -82,0 +82,0 @@ return service;

{
"name": "@swp/swipe-sdk",
"version": "0.12.39",
"version": "0.12.40",
"description": "",

@@ -5,0 +5,0 @@ "private": false,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet