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

@kitql/client

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kitql/client - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4

InitClientNavigation.svelte

7

index.d.ts

@@ -1,5 +0,2 @@

export { InMemoryCache, LocalStorageCache } from './lib/toExport';
export type { ICacheData } from './lib/toExport';
export { isLoading } from './lib/toExport';
export { defaultStoreValue, KitQLClient, RequestFrom, RequestStatus } from './lib/toExport';
export type { Credential, HeaderContentType, LogType, Policy, RequestParameters, RequestQueryParameters, RequestResult, PatchType } from './lib/toExport';
export { clientNavigation, defaultStoreValue, InMemoryCache, isLoading, KitQLClient, LocalStorageCache, RequestFrom, RequestStatus, setClientNavigation } from './lib/toExport';
export type { Credential, HeaderContentType, ICacheData, LogType, PatchType, Policy, RequestParameters, RequestQueryParameters, RequestResult } from './lib/toExport';

@@ -113,2 +113,7 @@ 'use strict';

exports.clientNavigation = false;
const setClientNavigation = () => {
exports.clientNavigation = true;
};
function printBlockString(n) {

@@ -296,3 +301,3 @@ return '"""\n' + JSON.stringify(n).slice(1, -1) + '\n"""';

this.log.error(`I think that either:` +
`\n\t${helper.logRed(`1/`)} you forgot to provide \`${helper.logYellow(`fetch`)}\`! As we are in SSR & include here. ` +
`\n\t${helper.logRed(`1/`)} you forgot to provide \`${helper.logYellow(`fetch`)}\`! As we are in SSR here. ` +
`\n\t It should be something like:` +

@@ -302,3 +307,3 @@ `\n` +

`\n\t export async function load({ ${helper.logYellow(`fetch`)} }) {` +
`\n\t await ${helper.logCyan(operationName)}.query({ ${helper.logYellow(`fetch`)}, variables: { ... } });` +
`\n\t ${helper.logYellow('await')} ${helper.logCyan(operationName)}.queryLoad({ ${helper.logYellow(`fetch`)}, variables: { ... } });` +
`\n\t return {};` +

@@ -369,3 +374,3 @@ `\n\t }` +

catch (errors) {
dataToReturn.errors = errors;
dataToReturn.errors = [errors];
return dataToReturn;

@@ -414,1 +419,2 @@ }

exports.isLoading = isLoading;
exports.setClientNavigation = setClientNavigation;
export { InMemoryCache, LocalStorageCache } from './cache';
export type { ICacheData } from './cache';
export { clientNavigation, setClientNavigation } from './clientNavigation';
export { isLoading } from './isLoading';
export { defaultStoreValue, KitQLClient, RequestFrom, RequestStatus } from './kitQLClient';
export type { Credential, HeaderContentType, LogType, Policy, RequestParameters, RequestQueryParameters, RequestResult, PatchType } from './kitQLClient';
export type { Credential, HeaderContentType, LogType, PatchType, Policy, RequestParameters, RequestQueryParameters, RequestResult } from './kitQLClient';
{
"name": "@kitql/client",
"version": "0.3.3",
"version": "0.3.4",
"dependencies": {

@@ -5,0 +5,0 @@ "@kitql/helper": "0.1.7"

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