Socket
Socket
Sign inDemoInstall

@things-factory/scene-graphql

Package Overview
Dependencies
Maintainers
12
Versions
331
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@things-factory/scene-graphql - npm Package Compare versions

Comparing version 3.0.0-beta.74 to 3.0.0-beta.78

4

package.json
{
"name": "@things-factory/scene-graphql",
"description": "Graphql datasource component for things-scene",
"version": "3.0.0-beta.74",
"version": "3.0.0-beta.78",
"things-scene": true,

@@ -28,3 +28,3 @@ "browser": "src/index.js",

},
"gitHead": "f4c9f465cd0636e5190f36862b4cdef9df2c0e6b"
"gitHead": "e2279472f1a0c464cf6ff1c813a6cfc89af0ace2"
}

@@ -112,5 +112,5 @@ /*

static get image() {}
static get image() { }
render(context) {}
render(context) { }

@@ -157,11 +157,22 @@ ready() {

var query = this.query
var variables = this.value
if (client && query) {
this.client = this.root.findById(client).client
var response
if (typeof (variables) === "object") {
response = await this.client.query({
query: gql`
${query}
`,
variables: variables
})
} else {
response = await this.client.query({
query: gql`
${query}
`
})
}
var response = await this.client.query({
query: gql`
${query}
`
})

@@ -168,0 +179,0 @@ console.log('response', response)

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