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.9 to 1.1.0

6

dist/client.d.ts

@@ -18,6 +18,6 @@ import * as request from 'request';

constructor(config: LuluConfigOptions);
init: () => Promise<any>;
init: () => Promise<void>;
authorizeHeader(data: IAuthenticationResponse): request.Headers;
getToken(): Promise<any>;
refreshToken(data: IAuthenticationResponse): Promise<any>;
getToken(): Promise<void>;
refreshToken(data: IAuthenticationResponse): Promise<void>;
request(data: rp.OptionsWithUri): Promise<any>;

@@ -24,0 +24,0 @@ private createHeaders;

@@ -81,8 +81,9 @@ "use strict";

yield this.initialization;
let result = yield rp(this.url, opts).catch((this.handleError));
if (result.access_token) {
this.authorizeHeader(result);
this.isAuthenticated = true;
}
return result;
rp(this.url, opts).then((result) => {
if (result.access_token) {
this.authorizeHeader(result);
this.isAuthenticated = true;
}
return result;
}).catch(this.handleError);
});

@@ -106,8 +107,9 @@ }

yield this.initialization;
let result = yield rp(this.url, opts).catch((this.handleError));
if (result.access_token) {
this.authorizeHeader(result);
this.isAuthenticated = true;
}
return result;
rp(this.url, opts).then((result) => {
if (result.access_token) {
this.authorizeHeader(result);
this.isAuthenticated = true;
}
return result;
}).catch(this.handleError);
});

@@ -114,0 +116,0 @@ }

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

"name": "@ntegral/lulu",
"version": "1.0.9",
"version": "1.1.0",
"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