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

@ntegral/lulu

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ntegral/lulu - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

30

lib/client.ts

@@ -94,11 +94,13 @@ import * as request from 'request';

await this.initialization;
let result = await rp(this.url, opts).catch((this.handleError));
// let result = await rp(this.url, opts).catch((this.handleError));
if (result.access_token) {
// console.log('authentication successful', result.token_type);
this.authorizeHeader(result);
this.isAuthenticated = true;
}
rp(this.url, opts).then((result) => {
if (result.access_token) {
// console.log('authentication successful', result.token_type);
this.authorizeHeader(result);
this.isAuthenticated = true;
}
return result;
return result;
}).catch(this.handleError);
}

@@ -125,3 +127,3 @@

await this.initialization;
let result = await rp(this.url, opts).catch((this.handleError));
/* let result = await rp(this.url, opts).catch((this.handleError));

@@ -134,3 +136,13 @@ if (result.access_token) {

return result;
return result; */
rp(this.url, opts).then((result) => {
if (result.access_token) {
// console.log('authentication successful', result.token_type);
this.authorizeHeader(result);
this.isAuthenticated = true;
}
return result;
}).catch(this.handleError);
}

@@ -137,0 +149,0 @@

@@ -10,3 +10,3 @@ {

"name": "@ntegral/lulu",
"version": "1.0.8",
"version": "1.0.9",
"description": "Lulu Print API Client",

@@ -13,0 +13,0 @@ "main": "./dist/index.js",

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