@reactoo/watchtogether-sdk-js 2.7.18 → 2.7.19
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/package.json
CHANGED
package/src/modules/wt-auth.js
CHANGED
|
@@ -113,6 +113,7 @@ class Auth {
|
|
|
113
113
|
isLoggedInAsDevice: this.isLoggedInAs(this.__parsedJwt, 'device'),
|
|
114
114
|
isLoggedInAsObserver: this.isLoggedInAs(this.__parsedJwt, 'observer'),
|
|
115
115
|
isLoggedInAsInstanceAdmin: this.isLoggedInAs(this.__parsedJwt, 'instanceAdmin'),
|
|
116
|
+
isDemoAccount: this.isLoggedInAs(this.__parsedJwt, 'demo'),
|
|
116
117
|
isLoggedInAsAdmin: this.isLoggedInAs(this.__parsedJwt, 'admin'),
|
|
117
118
|
domain: this.getDomain(this.__parsedJwt)
|
|
118
119
|
});
|
|
@@ -126,6 +127,7 @@ class Auth {
|
|
|
126
127
|
isLoggedInAsDevice: false,
|
|
127
128
|
isLoggedInAsObserver: false,
|
|
128
129
|
isLoggedInAsInstanceAdmin: false,
|
|
130
|
+
isDemoAccount: false,
|
|
129
131
|
isLoggedInAsAdmin: false,
|
|
130
132
|
isReauth
|
|
131
133
|
});
|