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

realm-web

Package Overview
Dependencies
Maintainers
3
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

realm-web - npm Package Compare versions

Comparing version 1.6.0 to 1.7.0

8

dist/bundle.d.ts

@@ -817,3 +817,3 @@ /// <reference path="../types/realm/app.d.ts" />

*/
declare const DEFAULT_BASE_URL = "https://stitch.mongodb.com";
declare const DEFAULT_BASE_URL = "https://realm.mongodb.com";
/**

@@ -916,2 +916,6 @@ * Configuration to pass as an argument when constructing an app.

/**
* @inheritdoc
*/
deleteUser(user: User<FunctionsFactoryType, CustomDataType>): Promise<void>;
/**
* The currently active user (or null if no active users exists).

@@ -927,3 +931,3 @@ *

*
* @returns An array of users active or loggedout users (current user being the first).
* @returns An array of users active or logged out users (current user being the first).
*/

@@ -930,0 +934,0 @@ get allUsers(): Readonly<Record<string, User<FunctionsFactoryType, CustomDataType>>>;

{
"name": "realm-web",
"version": "1.6.0",
"version": "1.7.0",
"description": "Authenticate and communicate with the MongoDB Realm platform, from your web-browser",

@@ -5,0 +5,0 @@ "main": "./dist/bundle.cjs.js",

@@ -22,3 +22,3 @@ # Realm Web

```html
<script src="https://unpkg.com/realm-web@1.6.0/dist/bundle.iife.js"></script>
<script src="https://unpkg.com/realm-web@1.7.0/dist/bundle.iife.js"></script>
```

@@ -25,0 +25,0 @@

@@ -334,2 +334,10 @@ ////////////////////////////////////////////////////////////////////////////

removeUser(user: User<FunctionsFactoryType, CustomDataType>): Promise<void>;
/**
* Delete the user.
* NOTE: This irrecoverably deletes the user from the device as well as the server!
*
* @returns A promise that resolves once the user has been deleted.
*/
deleteUser(user: User<FunctionsFactoryType, CustomDataType>): Promise<void>;
}

@@ -336,0 +344,0 @@

@@ -202,8 +202,8 @@ ////////////////////////////////////////////////////////////////////////////

interface ObjectChangeSet {
interface ObjectChangeSet<T> {
deleted: boolean;
changedProperties: string[]
changedProperties: (keyof T)[]
}
type ObjectChangeCallback = (object: Object, changes: ObjectChangeSet) => void;
type ObjectChangeCallback<T> = (object: T, changes: ObjectChangeSet<T>) => void;

@@ -255,5 +255,5 @@ /**

*/
addListener(callback: ObjectChangeCallback): void;
addListener(callback: ObjectChangeCallback<this>): void;
removeListener(callback: ObjectChangeCallback): void;
removeListener(callback: ObjectChangeCallback<this>): void;

@@ -265,3 +265,3 @@ removeAllListeners(): void;

*/
getPropertyType(propertyName: string) : string;
getPropertyType(propertyName: string): string;
}

@@ -832,3 +832,3 @@

const Subscriptions: {
const SubscriptionSet: {
new(): never; // This type isn't supposed to be constructed manually by end users.

@@ -900,5 +900,5 @@ readonly prototype: SubscriptionSet;

const MutableSubscriptions: {
const MutableSubscriptionSet: {
new(): never; // This type isn't supposed to be constructed manually by end users.
readonly prototype: SubscriptionSet;
readonly prototype: MutableSubscriptionSet;
};

@@ -905,0 +905,0 @@ }

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

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

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

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