@knocklabs/client
Advanced tools
Comparing version 0.5.5 to 0.5.6
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2390
1
212930