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

@bzr/bazaar

Package Overview
Dependencies
Maintainers
0
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bzr/bazaar - npm Package Compare versions

Comparing version 1.4.1 to 1.5.0

dist/api/email.d.ts

16

dist/api/raw.d.ts

@@ -1,2 +0,2 @@

import type { APIOptions, Permission, NewPermission, SubscribeListener, BazaarMessage, Contact, User, GrantedPermission, PermissionTemplate, Doc, BasicLink, ContextOptions, CollectionGetAllOptions, CollectionQueryOptions, SharingNotification, Notification, CreateNotification, Org, Team, PermissionGroup, LinksQuery, PermissionsQuery, GrantedPermissionsQuery, NewPermissionGroup } from "../types";
import type { APIOptions, Permission, NewPermission, SubscribeListener, BazaarMessage, Contact, User, GrantedPermission, PermissionTemplate, Doc, BasicLink, ContextOptions, CollectionGetAllOptions, CollectionQueryOptions, SharingNotification, Notification, CreateNotification, Org, Team, PermissionGroup, LinksQuery, PermissionsQuery, GrantedPermissionsQuery, NewPermissionGroup, EmailMessage, CalendarInvite } from "../types";
/**

@@ -376,2 +376,16 @@ * The class that encapsulates the low level data API

}>;
/**
* Send email message
* @returns
*/
emailSendMessage(emailMessage: EmailMessage): Promise<{
message: string;
}>;
/**
* Send email event
* @returns
*/
emailSendCalendarInvite(calendarInvite: CalendarInvite): Promise<{
message: string;
}>;
private onModalMessage;

@@ -378,0 +392,0 @@ private onModalClose;

@@ -20,3 +20,3 @@ import { CollectionAPI } from "./api/collection";

export { OrderByType, PermissionType, LoginType, SendNotification, GranteeType } from "./types";
export type { User, Contact, Team, Org, AnyPermission, UserPermission, GroupPermission, OrgPermission, Permission, NewPermission, PermissionTemplate, GrantedPermission, PermissionGroup, SharingNotification, FilterObject, FilterComparison, OrderBy, BazaarMessage, Link, Doc, AnyDoc, DeepPartial, SubscribeListener, BazaarOptions, CollectionOptions, ContextOptions, PermissionsQuery, LinksQuery, GrantedPermissionsQuery, } from "./types";
export type { User, Contact, Team, Org, AnyPermission, UserPermission, GroupPermission, OrgPermission, Permission, NewPermission, PermissionTemplate, GrantedPermission, PermissionGroup, SharingNotification, FilterObject, FilterComparison, OrderBy, BazaarMessage, Link, Doc, AnyDoc, DeepPartial, SubscribeListener, BazaarOptions, CollectionOptions, ContextOptions, PermissionsQuery, LinksQuery, GrantedPermissionsQuery, CalendarInvite, EmailMessage, } from "./types";
/**

@@ -56,2 +56,7 @@ * The primary class of the Bazaar JS SDK to help you more easily build web apps with Bazaar.

private orgs;
/**
* Access to the email API
* @alpha
*/
private email;
private bazaarUri;

@@ -58,0 +63,0 @@ constructor(options: BazaarOptions);

@@ -380,2 +380,26 @@ import { BazaarApp } from "..";

};
export type EmailAttachement = {
filename: string;
content: string;
};
export type IcalEvent = {
method: "publish" | "request" | "reply" | "cancel";
content: string;
};
export type EmailMessage = {
toUserIds: string[];
subject: string;
text?: string;
html?: string;
attachements?: EmailAttachement[];
icalEvent?: IcalEvent;
};
export type CalendarInvite = {
userIds: string[];
eventName: string;
message: string;
startTs: Date;
endTs: Date;
location?: string;
};
type Prettify<T> = {

@@ -382,0 +406,0 @@ [K in keyof T]: T[K];

2

package.json
{
"name": "@bzr/bazaar",
"version": "1.4.1",
"version": "1.5.0",
"description": "The Bazaar SDK. Conveniently use Bazaar with your app in the browser.",

@@ -5,0 +5,0 @@ "files": [

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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