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.11.0 to 1.11.1

lib/api/Api.d.ts

24

index.d.ts

@@ -1,23 +0,1 @@

import { Api } from './api';
import { Auth } from './auth';
import { ClientConfig, ClientType, ConnectionType, LiveSyncConfig, NexusConfig } from './common';
import { LiveEvent, LiveSync } from './livesync';
import { Module } from './module';
import { Multitool } from './multitool';
import { ClientAuth, SystemInstance, SystemLoggerOptions } from './system';
export { Api, Auth, LiveSync, Module, LiveEvent, ClientType, ClientAuth, ConnectionType, ClientConfig, NexusConfig, LiveSyncConfig, SystemInstance, };
export declare type ConfigSettings = {
nexus: NexusConfig;
client: ClientConfig;
auth: ClientAuth;
logging: SystemLoggerOptions;
livesync?: LiveSyncConfig;
};
export interface BfLib {
api: Api;
auth: Auth;
livesync: LiveSync;
module: Module;
multitool: Multitool;
}
export default function bflib(settings: ConfigSettings): Promise<BfLib>;
export * from './lib';

@@ -1,38 +0,1 @@

"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });
const common_1 = require("./common");
exports.ClientType = common_1.ClientType;
exports.ConnectionType = common_1.ConnectionType;
const system_1 = require("./system");
function bflib(settings) {
return __awaiter(this, void 0, void 0, function* () {
yield system_1.default.init(settings);
return Object.freeze({
get api() {
return system_1.default.getLibModule(system_1.LibModule.API);
},
get auth() {
return system_1.default.getLibModule(system_1.LibModule.AUTH);
},
get livesync() {
return system_1.default.getLibModule(system_1.LibModule.LIVESYNC);
},
get module() {
return system_1.default.getLibModule(system_1.LibModule.MODULE);
},
get multitool() {
return system_1.default.getLibModule(system_1.LibModule.MULTITOOL);
},
});
});
}
exports.default = bflib;
export { default as bflib } from './lib';
{
"name": "bf-lib",
"version": "1.11.0",
"version": "1.11.1",
"private": false,
"description": "the standard client library for block-5 services",
"description": "the standard client library for block-5 software",
"scripts": {
"build": "tsc -p tsconfig.build.json && cp -rf LICENSE README.md package.json lib/",
"build": "rimraf lib && tsc -p tsconfig.build.json",
"commit": "git-cz",
"check": "tsc -p tsconfig.check.json -noEmit",
"format": "prettier --write \"src/**/*.{ts,js,json}\"",
"lint": "eslint './src/**/*.{js,ts,tsx}' --fix || exit 0",
"lint": "eslint './src/**/*.{js,ts,tsx}' --fix",
"postversion": "git push && git push --tags",

@@ -17,7 +17,6 @@ "preversion": "npm run lint",

"version": "npm run format && git add -A src",
"patchpub": "npm version patch && npm run pub",
"minorpub": "npm version minor && npm run pub",
"majorpub": "npm version major && npm run pub",
"prepare": "test -d lib && exit 1 || exit 0",
"pub": "npm test && npm run lint && npm run build && cd lib && rm -f tsconfig.build.tsbuildinfo && npm publish"
"patchpub": "npm version patch && npm publish",
"minorpub": "npm version minor && npm publish",
"majorpub": "npm version major && npm publish",
"prepare": "npm test && npm run lint && npm run build"
},

@@ -101,2 +100,3 @@ "repository": {

"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"ts-jest": "^25.5.1",

@@ -103,0 +103,0 @@ "tslint": "^6.1.2",

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