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

@knocklabs/client

Package Overview
Dependencies
Maintainers
2
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@knocklabs/client - npm Package Compare versions

Comparing version 0.5.5 to 0.5.6

2

dist/types/clients/feed/utils.d.ts
import { FeedItem } from "./interfaces";
export declare function deduplicateItems(items: FeedItem[]): FeedItem[];
export declare function sortItems(items: FeedItem[]): FeedItem<import("../..").JsonObject>[];
export declare function sortItems(items: FeedItem[]): FeedItem<import("../..").GenericData>[];
//# sourceMappingURL=utils.d.ts.map

@@ -1,10 +0,14 @@

export declare type JsonValue = string | number | boolean | JsonObject | JsonArray | null | undefined;
export interface JsonObject {
[x: string]: JsonValue;
}
export declare type JsonArray = Array<JsonValue>;
export interface KnockOptions {
host?: string;
}
export declare type GenericData = JsonObject;
export declare type GenericData = {
[x: string]: any;
};
export interface KnockObject<T = GenericData> {
id: string;
collection: string;
properties: T;
updated_at: string;
created_at: string | null;
}
export interface User extends GenericData {

@@ -11,0 +15,0 @@ id: string;

{
"name": "@knocklabs/client",
"version": "0.5.5",
"version": "0.5.6",
"description": "The clientside library for interacting with Knock",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/knocklabs/knock-client-js",

Sorry, the diff of this file is not supported yet

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