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.4 to 0.3.5

2

index.d.ts

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

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

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

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

@@ -416,2 +411,1 @@ return '"""\n' + JSON.stringify(n).slice(1, -1) + '\n"""';

exports.isLoading = isLoading;
exports.setClientNavigation = setClientNavigation;
{
"name": "@kitql/client",
"version": "0.3.4",
"version": "0.3.5",
"dependencies": {
"@kitql/comp": "0.0.2",
"@kitql/helper": "0.1.7"

@@ -20,2 +21,3 @@ },

"exports": {
"./src/lib/toExport/components/InitClientNavigation.svelte": "./lib/toExport/components/InitClientNavigation.svelte",
"./package.json": "./package.json",

@@ -22,0 +24,0 @@ ".": {

@@ -9,20 +9,2 @@ # KitQL - client

# ⚡How to - client
```bash
yarn add -D @kitql/client
```
To use, KitQL Client, create an instance of it in file
`./src/lib/graphql/kitQL.ts`
```ts
import { KitQLClient } from '@kitql/client/kitQLClient';
const VITE_HOST = import.meta.env.VITE_HOST;
export const kitQLClient = new KitQLClient({
url: `${VITE_HOST}/api/graphql`
});
```
This `kitQLClient` instance will be used in your stores generated by [KitQL - graphql-codegen](https://github.com/jycouet/kitql/tree/main/packages/graphql-codegen)
## Check the [⚡Doc⚡](https://kitql.vercel.app/docs/setup/02_client)

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