New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@frontapp/ui-bridge

Package Overview
Dependencies
Maintainers
6
Versions
20
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-beta4 to 2.0.0-beta5

9

dist/internal/contextTypesV2.d.ts

@@ -216,13 +216,8 @@ import { ApplicationCancelToken } from './asyncTypesV2';

* {@link listMessages} which returns messages with any attachments.
* This will be returned in the format of a Blob which can be converted to a file by the following:
*
* new File([blob], "filename")
*
* Ref: https://www.w3.org/TR/FileAPI/#constructorParams
* @param messageId Message id for the attachment.
* @param attachmentId Attachment id to be fetched.
* @param cancelToken Cancel the request.
* @returns Blob holding the data of the attachment
* @returns File holding the data of the attachment
*/
downloadAttachment(messageId: ApplicationMessageId, attachmentId: ApplicationAttachmentId, cancelToken?: ApplicationCancelToken): Promise<Blob | undefined>;
downloadAttachment(messageId: ApplicationMessageId, attachmentId: ApplicationAttachmentId, cancelToken?: ApplicationCancelToken): Promise<File | undefined>;
}

@@ -229,0 +224,0 @@ export interface MultiConversationsContext extends ExistingConversationBaseContext {

@@ -49,2 +49,4 @@ import { ApplicationChannel } from './channelTypesV2';

content?: ApplicationDraftContent;
/** Attachments to be added to draft */
attachments?: ReadonlyArray<File>;
}

@@ -56,3 +58,5 @@ export interface ApplicationDraftUpdate extends ApplicationDraftTemplateBase {

content?: ApplicationDraftContent;
/** Attachments for the draft */
attachments?: ReadonlyArray<File>;
}
export {};
{
"name": "@frontapp/ui-bridge",
"version": "2.0.0-beta4",
"version": "2.0.0-beta5",
"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