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

@based/client

Package Overview
Dependencies
Maintainers
7
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@based/client - npm Package Compare versions

Comparing version 6.2.0 to 6.2.1

7

dist/src/ssr.d.ts

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

import { BasedClient } from './index.js';
import { BasedClient, BasedQuery } from './index.js';
import { CacheValue } from './types/cache.js';

@@ -16,5 +16,2 @@ export declare const createCacheObject: (client: BasedClient) => {

}[]) => string;
export declare const createInlineCache: (client: BasedClient, queries: {
endpoint: string;
payload?: any;
}[]) => Promise<string>;
export declare const createInlineCache: (client: BasedClient, queries: BasedQuery[]) => Promise<string>;

@@ -27,4 +27,3 @@ import { genObserveId } from './genObserveId.js';

const m = {};
await Promise.all(queries.map(async ({ endpoint, payload }) => {
const query = client.query(endpoint, payload);
await Promise.all(queries.map(async (query) => {
await query.get();

@@ -31,0 +30,0 @@ m[query.id] = client.cache.get(query.id);

{
"name": "@based/client",
"version": "6.2.0",
"version": "6.2.1",
"license": "MIT",

@@ -5,0 +5,0 @@ "scripts": {

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