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

bf-lib-browser

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bf-lib-browser - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

1

index.d.ts

@@ -7,2 +7,3 @@ import { Api, Auth, ConnectionType, LiveEvent, LiveSync, LiveSyncConfig, Module, NexusConfig } from 'bf-lib';

livesync: LiveSyncConfig;
logging: boolean;
};

@@ -9,0 +10,0 @@ export interface BfLibBrowser {

@@ -18,4 +18,28 @@ "use strict";

validateSettings(settings);
const logging = {
logger: settings.logging
? {
debug: msg => {
console.debug(msg);
},
info: msg => {
console.info(msg);
},
warn: msg => {
console.warn(msg);
},
error: msg => {
console.error(msg);
},
}
: {
debug: _ => { },
info: _ => { },
warn: _ => { },
error: _ => { },
},
mask: [],
};
const client = { type: bf_lib_1.ClientType.BROWSER };
const lib = yield bf_lib_1.default(Object.assign(Object.assign({}, settings), { client, auth: Auth_1.default() }));
const lib = yield bf_lib_1.default(Object.assign(Object.assign({}, settings), { client, logging, auth: Auth_1.default() }));
return Object.freeze({

@@ -22,0 +46,0 @@ get api() {

23

package.json
{
"name": "bf-lib-browser",
"version": "0.5.0",
"version": "0.6.0",
"private": false,

@@ -69,19 +69,18 @@ "description": "the standard library browser based clients using block-5 services",

"dependencies": {
"bf-lib": "^1.2.3",
"bf-types": "^2.5.66"
"bf-lib": "^1.4.0"
},
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@types/jest": "^24.0.18",
"@types/node": "^12.7.9",
"@commitlint/cli": "^8.3.4",
"@commitlint/config-conventional": "^8.3.4",
"@types/jest": "^24.0.25",
"@types/node": "^13.1.4",
"commitizen": "^4.0.3",
"husky": "^3.0.8",
"husky": "^4.0.1",
"jest": "^24.9.0",
"prettier": "^1.18.2",
"ts-jest": "^24.1.0",
"tslint": "^5.20.0",
"prettier": "^1.19.1",
"ts-jest": "^24.3.0",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.6.3"
"typescript": "^3.7.4"
}
}
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