Socket
Socket
Sign inDemoInstall

@knockr/client

Package Overview
Dependencies
0
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.13 to 0.1.14

lib/types/widgetLogin.d.ts

13

lib/knockr.d.ts

@@ -6,17 +6,10 @@ import { Client } from "./client";

import { Tickets } from "./tickets";
import { Config, WidgetCustomer, WidgetEnvironment, WidgetHelp } from "./types";
import { WidgetConfig } from "./types/widgetConfig";
export declare type LoginRequest = {
import { Config, WidgetEnvironment, WidgetLogin } from "./types";
export declare type LoginData = {
environment: WidgetEnvironment;
};
export declare type LoginResponse = {
projectId: string;
customer: WidgetCustomer;
helps: WidgetHelp[];
widgetConfig: WidgetConfig;
};
export declare class Knockr extends Client {
private config;
constructor(config: Config);
login(): Promise<Error | LoginResponse>;
login(): Promise<WidgetLogin | Error>;
customer(): void;

@@ -23,0 +16,0 @@ tickets(): Tickets;

@@ -8,3 +8,3 @@ export * from "./config";

export * from "./widgetHelp";
export * from "./widgetRoot";
export * from "./widgetLogin";
export * from "./widgetTag";

@@ -11,0 +11,0 @@ export * from "./widgetTicket";

@@ -24,3 +24,3 @@ "use strict";

__exportStar(require("./widgetHelp"), exports);
__exportStar(require("./widgetRoot"), exports);
__exportStar(require("./widgetLogin"), exports);
__exportStar(require("./widgetTag"), exports);

@@ -27,0 +27,0 @@ __exportStar(require("./widgetTicket"), exports);

{
"name": "@knockr/client",
"version": "0.1.13",
"version": "0.1.14",
"description": "",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc