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

react-cimpress-fulfiller-logo

Package Overview
Dependencies
Maintainers
3
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-cimpress-fulfiller-logo - npm Package Compare versions

Comparing version 0.0.13 to 0.0.14

7

lib/FufillerLogo.js

@@ -88,3 +88,8 @@ 'use strict';

let url = `https://fulfilleridentity.trdlnk.cimpress.io/v1/fulfillers/${this.state.fulfillerId}/logo`;
try {
let cacheSuffix = this.props.accessToken ? JSON.parse(atob(this.props.accessToken.split('.')[1])).sub : null;
url += `?user=${cacheSuffix}`;
} catch (err) {
console.log("Unable to extract sub from the token");
}
fetch(url, init).then(response => {

@@ -91,0 +96,0 @@ if (response.status === 200) {

2

package.json
{
"name": "react-cimpress-fulfiller-logo",
"version": "0.0.13",
"version": "0.0.14",
"description": "Fetches fulfiller logo from Fulfiller Identity Service.",

@@ -5,0 +5,0 @@ "main": "./lib/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