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

@based/functions

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@based/functions - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

5

dist/functions.d.ts

@@ -5,6 +5,3 @@ import { Context, HttpSession } from './context';

import { Authorize } from './auth';
export type ObservableUpdateFunction<K = any> = {
(data: K, checksum?: number, diff?: any, fromChecksum?: number, isDeflate?: boolean, rawData?: K, err?: any): void;
__internalObs__?: true;
};
export type ObservableUpdateFunction<K = any> = (data: K, checksum?: number, err?: any, cache?: Uint8Array, diff?: any, fromChecksum?: number, isDeflate?: boolean) => void;
export type ObserveErrorListener = (err: any) => void;

@@ -11,0 +8,0 @@ export type HttpHeaders = {

2

package.json
{
"name": "@based/functions",
"version": "1.2.1",
"version": "1.2.2",
"license": "MIT",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -6,17 +6,12 @@ import { Context, HttpSession } from './context'

export type ObservableUpdateFunction<K = any> = {
(
data: K,
checksum?: number,
diff?: any,
fromChecksum?: number,
isDeflate?: boolean,
rawData?: K,
// todo fix there errors TODO: make extra package 'errors' for client and server
err?: any
): void
__internalObs__?: true
}
export type ObservableUpdateFunction<K = any> = (
data: K,
checksum?: number,
err?: any,
cache?: Uint8Array,
diff?: any,
fromChecksum?: number,
isDeflate?: boolean
) => void
// TODO: use error package
export type ObserveErrorListener = (err: any) => void

@@ -23,0 +18,0 @@

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