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

bf-lib

Package Overview
Dependencies
Maintainers
2
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bf-lib - npm Package Compare versions

Comparing version 1.10.2 to 1.11.0

5

api/Api.js

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

return __awaiter(this, void 0, void 0, function* () {
const settings = system_1.default.getSettings();
if (process.env.NODE_ENV === 'test') {

@@ -37,4 +38,4 @@ return {};

};
if (auth.getBearerToken) {
const token = yield auth.getBearerToken();
if (settings.client.getBearerToken) {
const token = yield settings.client.getBearerToken();
cachedAuthHeaders.Authorization = `Berer ${token}`;

@@ -41,0 +42,0 @@ }

1

common/Types.d.ts

@@ -15,2 +15,3 @@ import { DomainModule, EnumLiteralsOf } from 'bf-types';

apiKey?: string;
getBearerToken?: () => Promise<string>;
};

@@ -17,0 +18,0 @@ export declare type ConnectionType = EnumLiteralsOf<typeof ConnectionType>;

{
"name": "bf-lib",
"version": "1.10.2",
"version": "1.11.0",
"private": false,

@@ -5,0 +5,0 @@ "description": "the standard client library for block-5 services",

@@ -91,2 +91,5 @@ "use strict";

}
const getSettings = () => {
return settings;
};
log('debug', 'beginning to initialize all system lib modules');

@@ -105,2 +108,3 @@ libModuleMap.set(Types_2.LibModule.AUTH, require('../auth/Auth').default);

liveSyncOptions,
getSettings,
nexus,

@@ -107,0 +111,0 @@ };

@@ -36,2 +36,3 @@ import { EnumLiteralsOf, IUserEntity } from 'bf-types';

nexus: Nexus;
getSettings: () => InitSettings;
}

@@ -38,0 +39,0 @@ export declare type System = SystemInstance & SystemWrapper;

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