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

@frontapp/ui-bridge

Package Overview
Dependencies
Maintainers
6
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@frontapp/ui-bridge - npm Package Compare versions

Comparing version 2.0.0-beta13 to 2.0.0-beta14

6

dist/internal/contextTypesV2.d.ts

@@ -6,3 +6,3 @@ import { ApplicationCancelToken } from './asyncTypesV2';

import { ApplicationDraft, ApplicationDraftTemplate, ApplicationDraftUpdate } from './draftTypesV2';
import { EntryPointTypesEnum } from './entryPointTypesV2';
import { EntryPoint, EntryPointTypesEnum } from './entryPointTypesV2';
import { HttpRequest, HttpResponse } from './httpTypesV2';

@@ -145,2 +145,4 @@ import { ApplicationAttachmentId, ApplicationCommentId, ApplicationConversationId, ApplicationDraftId, ApplicationInboxId, ApplicationMessageId, ApplicationTagId, ApplicationTeammateId, ApplicationTopicId } from './idTypesV2';

updateDraft(draftId: ApplicationDraftId, update: ApplicationDraftUpdate, cancelToken?: ApplicationCancelToken): Promise<void>;
/** Entry point of the application. */
entryPoint: EntryPoint;
}

@@ -419,3 +421,3 @@ export declare enum EntryPointNotificationTypesEnum {

[EntryPointTypesEnum.MESSAGE_MORE_DROPDOWN]: MessageContext;
[EntryPointTypesEnum.SIDE_PANEL]: ConversationContext;
[EntryPointTypesEnum.SIDE_PANEL]: ConversationContext | BackgroundContext;
[EntryPointTypesEnum.COMPOSER_TOOLBAR]: MessageComposerContext;

@@ -422,0 +424,0 @@ }

@@ -11,1 +11,17 @@ export declare enum EntryPointTypesEnum {

}
export declare enum EntryPointDataTypesEnum {
CONTACT_HANDLE = "contact_handle"
}
export declare enum EntryPointDataDataTypesEnum {
PHONE = "phone"
}
export interface PhoneEntryPoint {
type: EntryPointDataDataTypesEnum.PHONE;
handle: string;
timestamp?: number;
}
export interface ContactHandleEntryPoint {
type: EntryPointDataTypesEnum.CONTACT_HANDLE;
data: PhoneEntryPoint;
}
export type EntryPoint = ContactHandleEntryPoint | undefined;

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.EntryPointTypesEnum = void 0;
exports.EntryPointDataDataTypesEnum = exports.EntryPointDataTypesEnum = exports.EntryPointTypesEnum = void 0;
var EntryPointTypesEnum;

@@ -15,1 +15,12 @@ (function (EntryPointTypesEnum) {

})(EntryPointTypesEnum || (exports.EntryPointTypesEnum = EntryPointTypesEnum = {}));
/*
* Entry point data types.
*/
var EntryPointDataTypesEnum;
(function (EntryPointDataTypesEnum) {
EntryPointDataTypesEnum["CONTACT_HANDLE"] = "contact_handle";
})(EntryPointDataTypesEnum || (exports.EntryPointDataTypesEnum = EntryPointDataTypesEnum = {}));
var EntryPointDataDataTypesEnum;
(function (EntryPointDataDataTypesEnum) {
EntryPointDataDataTypesEnum["PHONE"] = "phone";
})(EntryPointDataDataTypesEnum || (exports.EntryPointDataDataTypesEnum = EntryPointDataDataTypesEnum = {}));

@@ -23,5 +23,4 @@ "use strict";

var _newTarget = this.constructor;
var _this =
// "Error" breaks the prototype chain here.
_super.call(this, message) || this;
var _this = _super.call(this, message) || this;
// We need to restore it.

@@ -28,0 +27,0 @@ var actualPrototype = _newTarget.prototype;

{
"name": "@frontapp/ui-bridge",
"version": "2.0.0-beta13",
"version": "2.0.0-beta14",
"description": "Helpers and TypeScript definitions for the Front SDK bridge",

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

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