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

@influitive/profile-card

Package Overview
Dependencies
Maintainers
3
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@influitive/profile-card - npm Package Compare versions

Comparing version 3.0.10 to 3.0.11

5

lib/actions/profile-card.js

@@ -34,3 +34,3 @@ "use strict";

return _axios.default.get("/api/people/".concat(id, ".json")).then(function (response) {
dispatch(profileFetched(profileCardId, response.data.data.attributes, response.data.data.links.avatar));
dispatch(profileFetched(profileCardId, id, response.data.data.attributes, response.data.data.links.avatar));
}).catch(function () {

@@ -42,3 +42,3 @@ dispatch(profileFetchedError(profileCardId));

var profileFetched = function profileFetched(profileCardId, details, avatarUrl) {
var profileFetched = function profileFetched(profileCardId, id, details, avatarUrl) {
return {

@@ -48,2 +48,3 @@ type: _actionTypes.default.PROFILE_FETCHED,

profileCardId: profileCardId,
id: id,
name: details.name,

@@ -50,0 +51,0 @@ company: details.company,

1

lib/components/card-details.js

@@ -83,2 +83,3 @@ "use strict";

}), _react.default.createElement(_actions.default, {
id: this.props.profileDetails.details.id,
disableViewProfile: this.props.disableViewProfile,

@@ -85,0 +86,0 @@ disableMessage: this.props.disableMessage

@@ -50,2 +50,3 @@ "use strict";

details: {
id: action.payload.id,
name: action.payload.name,

@@ -52,0 +53,0 @@ company: action.payload.company,

{
"name": "@influitive/profile-card",
"version": "3.0.10",
"version": "3.0.11",
"dependencies": {

@@ -5,0 +5,0 @@ "@influitive/jwt": "^2.1.2",

@@ -22,3 +22,10 @@ import axios from 'axios';

.then((response) => {
dispatch(profileFetched(profileCardId, response.data.data.attributes, response.data.data.links.avatar));
dispatch(
profileFetched(
profileCardId,
id,
response.data.data.attributes,
response.data.data.links.avatar
)
);
})

@@ -31,3 +38,3 @@ .catch(() => {

const profileFetched = (profileCardId, details, avatarUrl) => {
const profileFetched = (profileCardId, id, details, avatarUrl) => {
return {

@@ -37,2 +44,3 @@ type: actions.PROFILE_FETCHED,

profileCardId,
id,
name: details.name,

@@ -39,0 +47,0 @@ company: details.company,

@@ -39,2 +39,3 @@ import React, { Component } from 'react';

<Actions
id={this.props.profileDetails.details.id}
disableViewProfile={this.props.disableViewProfile}

@@ -41,0 +42,0 @@ disableMessage={this.props.disableMessage} />

@@ -31,2 +31,3 @@ /* eslint complexity: "off" */

details: {
id: action.payload.id,
name: action.payload.name,

@@ -33,0 +34,0 @@ company: action.payload.company,

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