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

@devo/js-helper

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@devo/js-helper - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

5

CHANGELOG.md

@@ -5,2 +5,6 @@ # Devo JavaScript SDK Helper Library

## Version 1.4.0
* Accept option `ipAsString`.
## Version 1.3.0

@@ -35,2 +39,1 @@

First public release.

3

lib/config.js

@@ -58,2 +58,3 @@ 'use strict';

* - destination: optional destination for the data.
* - ipAsString: optional return ip as string.
* @param format optionally the format to use, has precedence on

@@ -86,2 +87,3 @@ * options.format.

}
if (options.ipAsString) opc.body.ipAsString = options.ipAsString;
if (options.destination) {

@@ -186,2 +188,1 @@ opc.body.destination = {

}
{
"name": "@devo/js-helper",
"version": "1.3.0",
"version": "1.4.0",
"description": "Devo JavaScript helper library",

@@ -5,0 +5,0 @@ "author": "Devo Dev Team",

@@ -181,3 +181,16 @@ 'use strict';

});
it('parses valid config with ipAsString', () => {
const opc = config.create({
url,
apiKey,
apiSecret,
}).parseQuery({
dateFrom,
dateTo,
query,
ipAsString: true
});
config.validate(opc).should.equal(true);
});
});
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