Socket
Socket
Sign inDemoInstall

@ambassify/ambassify-client

Package Overview
Dependencies
7
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.2.2 to 3.2.3

2

CHANGELOG.md

@@ -14,2 +14,4 @@ # Changelog

## 3.2.3
## 3.2.2

@@ -16,0 +18,0 @@

2

lib/index.js

@@ -226,3 +226,3 @@ 'use strict';

var _ref = /Bearer\s+(.*)/.exec(authorization) || [],
var _ref = /^Bearer\s+(.*)/i.exec(authorization) || [],
_ref2 = (0, _slicedToArray3.default)(_ref, 2),

@@ -229,0 +229,0 @@ token = _ref2[1];

{
"name": "@ambassify/ambassify-client",
"version": "3.2.2",
"version": "3.2.3",
"description": "Base API client library for all Ambassify clients",

@@ -57,3 +57,3 @@ "engines": {

"homepage": "https://github.com/ambassify/api-clients#readme",
"gitHead": "16bf60d3a3970db08902018409e9ad1412bcf6f7"
"gitHead": "c831a4bf88f6e32e57f9d9e1ae403d9ac9dd6df4"
}

@@ -148,3 +148,3 @@ const _get = require('lodash/get');

const authorization = _get(options, 'headers.authorization', '');
const [ , token ] = /Bearer\s+(.*)/.exec(authorization) || [];
const [ , token ] = /^Bearer\s+(.*)/i.exec(authorization) || [];

@@ -151,0 +151,0 @@ if (!token)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc