
Product
Rust Support in Socket Is Now Generally Available
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.
@bitfinex/bfx-facs-base
Advanced tools
Some facilities need special setup before other facilites are started. By default, the bfx-facs-grc, which announces the service to the Grape network is started later than the other facs.
To run special setup or cleanup tasks before other facs start, use the start
option:
const opts = {
start: (inst, cb) => {
console.log(inst.db) // do async stuff here
cb(null)
}
}
this.setInitFacs([
['fac', 'bfx-facs-db-mongo', 'm0', 'm0', opts]
])
Example:
On service start, this will print:
bfx-facs-first start hook
bfx-facs-second start hook
start0 executed
class WrkUtilNetApi extends WrkApi {
init () {
super.init()
this.setInitFacs([
['fac', 'bfx-facs-first', 'm0', 'm0', {
start: (inst, cb) => {
console.log('bfx-facs-first start hook')
cb(null)
}
}, 0], // prio: 0 (default)
['fac', 'bfx-facs-second', 'm0', 'm0', {
start: (inst, cb) => {
console.log('bfx-facs-second start hook')
cb(null)
}
}, 1], // prio 1
])
}
_start0 (cb) {
console.log('start0 executed')
cb(null)
}
}
FAQs
Bitfinex base facility
We found that @bitfinex/bfx-facs-base demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.

Security News
Chrome 144 introduces the Temporal API, a modern approach to date and time handling designed to fix long-standing issues with JavaScript’s Date object.

Research
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.