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

cimpress-fulfiller-identity

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cimpress-fulfiller-identity - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

4

package.json
{
"name": "cimpress-fulfiller-identity",
"version": "0.0.2",
"version": "0.0.3",
"description": "Thin client library for Cimpress' Fulfiller Identity service",
"main": "index.js",
"main": "src/index.js",
"scripts": {

@@ -7,0 +7,0 @@ "test": "grunt test"

@@ -19,5 +19,7 @@ const FulfillerIdentityProxy = require("./fulfiller_identity_proxy");

constructor(authorization, options) {
if (typeof authorization == "string") {
if (typeof authorization === "undefined") {
this.authorizer = { getAuthorization: () => Promise.resolve("") };
} else if (typeof authorization === "string") {
this.authorizer = { getAuthorization: () => Promise.resolve(authorization) };
} else if (typeof authorization == "function") {
} else if (typeof authorization === "function") {
this.authorizer = { getAuthorization: () => Promise.resolve(authorization()) };

@@ -32,3 +34,3 @@ } else {

getUrl() {
return fulfillerIdentityProxy.url;
return this.fulfillerIdentityProxy.url;
}

@@ -35,0 +37,0 @@

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