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

@leisurelink/fees-client

Package Overview
Dependencies
Maintainers
24
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@leisurelink/fees-client

LeisureLink client library to the fees-api

  • 3.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
24
Created
Source

Fees Client Overview

The purpose of this client is to provide a layer of abstraction on top of the Fees API.

Usage

import FeeClient from @leisurelink/fees-client;
let client = FeeClient(keyId, key, baseUrl);

Methods

  • Constructing
  • findByRelation
Constructing
  • let client = FeeClient(host, keyId, key, logger)

  • baseUrl: fee api base URL, usually https://portal[-dev].leisurelink.com

  • keyId: trusted endpoint key id, ex: "my-api/self"

  • key: trusted endpoint key as a Buffer

  • logger:

    function print(it) { if (typeof (it) === 'string') { util.log(it); } else { util.log(util.inspect(it, false, 9)); } }

    var logger = { info: print, warning: print, error: print, debug: print };

removeFeeRelationsBySource
  • client.removeFeeRelationsBySource, params)
  • lang: the lang - typically en-US
  • feeId: the id of the fee
  • returns: `success: "OK"``
  • May fail with 404 error if fee does not exist

FAQs

Package last updated on 20 Jun 2016

Did you know?

Socket

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.

Install

Related posts

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