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

@simpleview/crm-client

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@simpleview/crm-client - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

README.md

2

package.json
{
"name" : "@simpleview/crm-client",
"version" : "1.0.0",
"version" : "1.0.1",
"description" : "Client for communicating with sv-crm",

@@ -5,0 +5,0 @@ "author" : "Sean Albert <smabert@gmail.com>",

@@ -9,3 +9,3 @@ const { query } = require("@simpleview/sv-graphql-client");

}
async get_old({ type, queryString, context }) {
async get_old({ type, queryString, context, fragments="" }) {
context = context || this._graphServer.context;

@@ -18,2 +18,3 @@

const queryStr = `
${fragments}
query($acct_id: String!) {

@@ -33,3 +34,3 @@ crm(acct_id: $acct_id) {

return response.crm[type];
return type ? response.crm[type] : response.crm;
}

@@ -113,3 +114,3 @@ async get({ type, filter, options, fields, fragments, context }) {

return response.crm[type];
return response.crm;
}

@@ -116,0 +117,0 @@ async set({ type, input, fields, context }) {

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