Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hull-client

Package Overview
Dependencies
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hull-client - npm Package Versions

23

1.2.4

Diff

sbellity
published 2.0.4 •

Changelog

Source

2.0.4

  • add support for account aliases identity claim
sbellity
published 1.2.3 •

sbellity
published 2.0.2 •

Changelog

Source

2.0.2

  • add unalias method for users and accounts
michaloo
published 2.0.1 •

Changelog

Source

2.0.1

  • fix signatures of API methods
  • rename Event to UserEvent flow types
michaloo
published 2.0.0 •

Changelog

Source

2.0.0

  • enhance the way logs and firehoseEvents can be captured
  • documentation updates
michaloo
published 2.0.0-beta.3 •

Changelog

Source

2.0.0-beta.3

  • fix missing flow types
  • documentation adjustments
michaloo
published 2.0.0-beta.2 •

Changelog

Source

2.0.0-beta.2

  • adds experimental logsArray and firehoseEventsArray to additionally capture log lines and firehose events to separate arrays. CAUTION: this does change normal behaviour of the library (when those arrays are provided logs are not send out to stdout and firehose events are not sent out to the firehose endpoint)
  • fix retry callback errors
michaloo
published 2.0.0-beta.1 •

Changelog

Source

2.0.0-beta.1

  • BREAKING HullClient is a set of ES6 classes now, not a Function anymore - this means you cannot do const hullClient = HullClient() anymore, you always need new keyword
  • BREAKING as method is not available anymore, use asUser
  • BREAKING utils.groupTraits method is not available anymore, use utils.traits.group
  • BREAKING traits method second parameter accepting source and sync option is not available anymore. Sync calls are not available at all, and if you need to apply source to your traits you need to do it before passing payload to traits method
  • BREAKING hullClient.api.get methods are not available anymore, use hullClient.get or hullClient.api(path, "get"), the same applies for all HTTP verbs
  • the client now comes with full set of Flow types in src/types.js file
    import type { HullUserClaims } from "hull-client";
    
    const userClaims: HullUserClaims = {
      wrong_claim: "bar"
    };
    // this will throw flow check error since `wrong_claim` is not correct
    
  • underlying HTTP library restler was replaced with superagent
sbellity
published 1.2.2 •

Changelog

Source

1.2.2

  • allow anonymous_id in Account claims
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