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

piral-urql

Package Overview
Dependencies
Maintainers
1
Versions
947
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

piral-urql - npm Package Compare versions

Comparing version 0.9.0-pre.755 to 0.9.0-pre.756

10

lib/create.js

@@ -28,2 +28,10 @@ "use strict";

}
function defaultGqlClient() {
if (typeof window !== 'undefined') {
return setup_1.setupGqlClient();
}
else {
return undefined;
}
}
/**

@@ -33,3 +41,3 @@ * Creates a new Piral GraphQL API extension.

*/
function createGqlApi(client = setup_1.setupGqlClient()) {
function createGqlApi(client = defaultGqlClient()) {
return context => {

@@ -36,0 +44,0 @@ context.includeProvider(React.createElement(urql_1.Provider, { value: client }));

6

package.json
{
"name": "piral-urql",
"version": "0.9.0-pre.755",
"version": "0.9.0-pre.756",
"description": "Extensions for providing a GraphQL client in Piral.",

@@ -43,3 +43,3 @@ "keywords": [

"devDependencies": {
"piral-core": "^0.9.0-pre.755"
"piral-core": "^0.9.0-pre.756"
},

@@ -56,3 +56,3 @@ "peerDependencies": {

},
"gitHead": "d9a89026e93ddb2eec63195a98f0a40ec64400cc"
"gitHead": "412a395210f272c7245d8e186970dbb129dc8cd3"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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