@olympeio/runtime-web 8.7.0 → 8.7.1

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/index.d.ts CHANGED
@@ -216,9 +216,10 @@ export class BrickContext {
216
216
  * Return the current value of the specified property. If there is currently no value, return null.
217
217
  *
218
218
  * @param key the property or key string
219
+ * @param global [=false] whether or not the method checks parent contexts
219
220
  * @return the current value
220
221
  */
221
- get<T>(key: PropertyDescriptor<T> | string): T | null;
222
+ get<T>(key: PropertyDescriptor<T> | string, global?: boolean): T | null;
222
223
 
223
224
  /**
224
225
  * Returns a boolean indicating whether a property has a value or not.
@@ -698,6 +699,12 @@ export class Auth {
698
699
  */
699
700
  static getCurrentUser(): string
700
701
 
702
+ /**
703
+ * Returns an Observable that is updated each time the user tag changes.
704
+ * @param {Context} context The brick context
705
+ */
706
+ static observeUser(context: Context): Observable<string>
707
+
701
708
  /**
702
709
  * Retrieve the user tag associated to the specified token
703
710
  *