@touchcastllc/napster-companion-api-dev 1.0.0-alpha.46 → 1.0.0-alpha.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.esm.js +1 -1
- package/lib/index.js +1 -1
- package/lib/index.standalone.js +1 -1
- package/lib/types/index.d.ts +5 -0
- package/package.json +2 -2
package/lib/types/index.d.ts
CHANGED
|
@@ -304,6 +304,11 @@ export interface NapsterCompanionApiInstance {
|
|
|
304
304
|
avatarIsVisible: () => boolean;
|
|
305
305
|
/** Tear down the SDK, remove DOM nodes and clean up resources. */
|
|
306
306
|
destroy: () => void;
|
|
307
|
+
/**
|
|
308
|
+
* The current session identifier. Available after a connection is established
|
|
309
|
+
* and reset to `undefined` once the connection is closed.
|
|
310
|
+
*/
|
|
311
|
+
readonly sessionId: string | undefined;
|
|
307
312
|
/** Update the inline style object applied to the SDK root container. */
|
|
308
313
|
updateStyles: (styles: NapsterCompanionApiConfig["style"]) => void;
|
|
309
314
|
/** Set the position of the SDK on screen (see `Position`). */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@touchcastllc/napster-companion-api-dev",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.47",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"napster",
|
|
6
6
|
"companion-api",
|
|
@@ -51,6 +51,6 @@
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
"publishConfig": {
|
|
54
|
-
"access": "
|
|
54
|
+
"access": "public"
|
|
55
55
|
}
|
|
56
56
|
}
|