@roomservice/browser
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -7,5 +7,4 @@ "use strict"; | ||
async function authorize(authorizationUrl, roomReference) { | ||
// Generates and then records a session cookie. | ||
// Generates and then records a session token | ||
const result = await ky_universal_1.default.post(authorizationUrl, { | ||
credentials: "include", | ||
json: { | ||
@@ -12,0 +11,0 @@ room: { |
@@ -246,2 +246,5 @@ "use strict"; | ||
} | ||
if (typeof callback !== "function") { | ||
throw new Error(`room.publishDoc expects a function.`); | ||
} | ||
let newDoc = automerge_1.default.change(this._doc, callback); | ||
@@ -248,0 +251,0 @@ if (!newDoc) { |
{ | ||
"name": "@roomservice/browser", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"main": "dist/index", | ||
@@ -5,0 +5,0 @@ "types": "dist/index", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45322
677