New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.3.1 to 1.4.0

2

dist/index.d.ts

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

collection<T extends Doc>(collectionName: string, collectionOptions?: CollectionOptions): CollectionAPI<T>;
createContext(options: ContextOptions): BazaarContext;
createContext(options: ContextOptions): Promise<BazaarContext>;
}

@@ -50,17 +50,17 @@ import { BazaarApp } from "..";

};
export type AnyPermission = BasePermission & {
export type AnyPermission = Prettify<BasePermission & {
granteeType: GranteeType.ANY;
};
export type UserPermission = BasePermission & {
}>;
export type UserPermission = Prettify<BasePermission & {
granteeType: GranteeType.USER;
granteeId: string;
};
export type GroupPermission = BasePermission & {
}>;
export type GroupPermission = Prettify<BasePermission & {
granteeType: GranteeType.GROUP;
granteeId: string;
};
export type OrgPermission = BasePermission & {
}>;
export type OrgPermission = Prettify<BasePermission & {
granteeType: GranteeType.ORG;
granteeId: string;
};
}>;
export type Permission = AnyPermission | UserPermission | GroupPermission | OrgPermission;

@@ -192,5 +192,5 @@ /**

*/
export type AnyDoc = Doc & {
export type AnyDoc = Prettify<Doc & {
[key: string | number | symbol]: any;
};
}>;
export type DeepPartial<T> = {

@@ -354,9 +354,9 @@ [P in keyof T]?: T[P] extends (infer U)[] ? DeepPartial<U>[] : T[P] extends object | undefined ? DeepPartial<T[P]> : T[P];

*/
export type CollectionQueryOptions = ContextOptions & {
export type CollectionQueryOptions = Prettify<ContextOptions & {
filter?: FilterObject;
};
}>;
/**
* Options for {@link API.collectionGetAll}
*/
export type CollectionGetAllOptions = CollectionQueryOptions & {
export type CollectionGetAllOptions = Prettify<CollectionQueryOptions & {
/** An optional start offset. Default is 0 (inclusive). */

@@ -367,3 +367,3 @@ startOffset?: number;

orderBy?: OrderBy;
};
}>;
export type PermissionsQuery = {

@@ -384,1 +384,5 @@ collectionName?: string;

};
type Prettify<T> = {
[K in keyof T]: T[K];
} & {};
export {};
{
"name": "@bzr/bazaar",
"version": "1.3.1",
"version": "1.4.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