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

@acrool/graphql-codegen-rtk-query

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@acrool/graphql-codegen-rtk-query - npm Package Compare versions

Comparing version 0.0.3-test.2 to 0.0.3-test.3

4

dist/visitor.js

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

const operationName = (_a = node.name) === null || _a === void 0 ? void 0 : _a.value;
const query = [];
if (!operationName)

@@ -105,3 +106,4 @@ return '';

if (operationType === 'Subscription') {
this._hooks.push(this.generateSubscriptionHook(node, documentVariableName, operationName, operationResultType, operationVariablesTypes, hasRequiredVariables));
query.push(this.generateSubscriptionHook(node, documentVariableName, operationName, operationResultType, operationVariablesTypes, hasRequiredVariables));
return query.join('\n');
}

@@ -108,0 +110,0 @@ const Generics = `${operationResultType}, IUseFetcherArgs<${operationVariablesTypes}>${hasRequiredVariables ? '' : ' | void'}`;

{
"name": "@acrool/graphql-codegen-rtk-query",
"version": "0.0.3-test.2",
"version": "0.0.3-test.3",
"description": "trk-query for graphql-code-generator",

@@ -5,0 +5,0 @@ "keywords": [

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