@instantdb/core
Advanced tools
Comparing version 0.11.4 to 0.11.5
@@ -208,3 +208,3 @@ import { test, expect } from "vitest"; | ||
{ or: [{ handle: "stopa" }, { handle: "joe" }] }, | ||
{ email: "stepan.p@gmail.com" }, | ||
{ email: "stopa@instantdb.com" }, | ||
], | ||
@@ -459,3 +459,3 @@ }, | ||
).data.users[0]; | ||
expect(stopa.email).toEqual("stepan.p@gmail.com"); | ||
expect(stopa.email).toEqual("stopa@instantdb.com"); | ||
const chunk = tx.user[stopa.id].update({ | ||
@@ -474,3 +474,3 @@ email: "this-should-not-change-users-stopa@gmail.com", | ||
).data.users[0]; | ||
expect(newStopa.email).toEqual("stepan.p@gmail.com"); | ||
expect(newStopa.email).toEqual("stopa@instantdb.com"); | ||
}); | ||
@@ -487,3 +487,3 @@ | ||
).data.users[0]; | ||
expect(stopa.email).toEqual("stepan.p@gmail.com"); | ||
expect(stopa.email).toEqual("stopa@instantdb.com"); | ||
const chunk = tx.users[stopa.id].update({ | ||
@@ -490,0 +490,0 @@ jsonField: { hello: "world" }, |
@@ -294,3 +294,3 @@ import { test, expect } from "vitest"; | ||
["stopa", "Stepan Parunashvili"], | ||
["nicolegf", "Nicole Garcia Fischer"], | ||
["nicolegf", "Nicole"], | ||
]); | ||
@@ -328,3 +328,3 @@ const fullNameAttr = instaml.getAttrByFwdIdentName( | ||
["stopa", "Stepan Parunashvili"], | ||
["nicolegf", "Nicole Garcia Fischer"], | ||
["nicolegf", "Nicole"], | ||
]); | ||
@@ -355,3 +355,3 @@ const fullNameAttr = instaml.getAttrByFwdIdentName( | ||
["stopa", "Stepan Parunashvili"], | ||
["nicolegf", "Nicole Garcia Fischer"], | ||
["nicolegf", "Nicole"], | ||
]); | ||
@@ -358,0 +358,0 @@ }); |
@@ -674,3 +674,3 @@ // @ts-check | ||
_startSocket() { | ||
this._ws = new WebSocket(this.config.websocketURI); | ||
this._ws = new WebSocket(`${this.config.websocketURI}?app_id=${this.config.appId}`); | ||
this._ws.onopen = this._wsOnOpen; | ||
@@ -677,0 +677,0 @@ this._ws.onmessage = this._wsOnMessage; |
@@ -702,3 +702,3 @@ "use strict"; | ||
_startSocket() { | ||
this._ws = new WebSocket(this.config.websocketURI); | ||
this._ws = new WebSocket(`${this.config.websocketURI}?app_id=${this.config.appId}`); | ||
this._ws.onopen = this._wsOnOpen; | ||
@@ -705,0 +705,0 @@ this._ws.onmessage = this._wsOnMessage; |
{ | ||
"name": "@instantdb/core", | ||
"version": "0.11.4", | ||
"version": "0.11.5", | ||
"description": "Instant's core local abstraction", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -794,3 +794,5 @@ // @ts-check | ||
_startSocket() { | ||
this._ws = new WebSocket(this.config.websocketURI); | ||
this._ws = new WebSocket( | ||
`${this.config.websocketURI}?app_id=${this.config.appId}`, | ||
); | ||
this._ws.onopen = this._wsOnOpen; | ||
@@ -797,0 +799,0 @@ this._ws.onmessage = this._wsOnMessage; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1620107
33886
4