@roomservice/browser
Advanced tools
Comparing version 0.2.2 to 0.3.0
@@ -8,3 +8,3 @@ import RoomClient from "./room-client"; | ||
}); | ||
room<T extends KeyValueObject>(roomReference: string): RoomClient<T>; | ||
room<T extends KeyValueObject>(roomReference: string, state?: T): RoomClient<T>; | ||
} |
@@ -9,6 +9,7 @@ "use strict"; | ||
} | ||
room(roomReference) { | ||
room(roomReference, state) { | ||
return new room_client_1.default({ | ||
authUrl: this._authorizationUrl, | ||
reference: roomReference | ||
reference: roomReference, | ||
state | ||
}); | ||
@@ -15,0 +16,0 @@ } |
{ | ||
"name": "@roomservice/browser", | ||
"version": "0.2.2", | ||
"version": "0.3.0", | ||
"main": "dist/index", | ||
@@ -5,0 +5,0 @@ "types": "dist/index", |
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
45379
678