@@ -519,11 +519,11 @@ const subStateScoped = sharedSubscriptionsApi.get('live-chat', 'myScope');
519519
520520## API summary:
521521
522- | API | Methods |
523- | --------------------------| -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
524- | ` sharedStatesApi ` | ` get(key, scopeName?) ` , ` set(key, val, scopeName?) ` , ` has(key, scopeName?) ` , ` clear(key, scopeName?) ` , ` clearAll(withoutListeners?, withStatic?) ` , ` clearScope(scopeName?) ` , ` getAll() ` |
525- | ` sharedFunctionsApi ` | ` get(key, scopeName?) ` , ` set(key, val, scopeName?) ` , ` has(key, scopeName?) ` , ` clear(key, scopeName?) ` , ` clearAll(withoutListeners?, withStatic?) ` , ` clearScope(scopeName?) ` , ` getAll() ` |
526- | ` sharedSubscriptionsApi ` | ` get(key, scopeName?) ` , ` set(key, val, scopeName?) ` , ` has(key, scopeName?) ` , ` clear(key, scopeName?) ` , ` clearAll(withoutListeners?, withStatic?) ` , ` clearScope(scopeName?) ` , ` getAll() ` |
522+ | API | Methods |
523+ | --------------------------| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
524+ | ` sharedStatesApi ` | ` get(key, scopeName?) ` , ` set(key, val, scopeName?) ` , ` update(key, updater, scopeName?) ` , ` has(key, scopeName?) ` , ` clear(key, scopeName?) ` , ` clearAll(withoutListeners?, withStatic?) ` , ` clearScope(scopeName?) ` , ` getAll() ` |
525+ | ` sharedFunctionsApi ` | ` get(key, scopeName?) ` , ` set(key, val, scopeName?) ` , ` update(key, updater, scopeName?) ` , ` has(key, scopeName?) ` , ` clear(key, scopeName?) ` , ` clearAll(withoutListeners?, withStatic?) ` , ` clearScope(scopeName?) ` , ` getAll() ` |
526+ | ` sharedSubscriptionsApi ` | ` get(key, scopeName?) ` , ` set(key, val, scopeName?) ` , ` update(key, updater, scopeName?) ` , ` has(key, scopeName?) ` , ` clear(key, scopeName?) ` , ` clearAll(withoutListeners?, withStatic?) ` , ` clearScope(scopeName?) ` , ` getAll() ` |
527527
528528` scopeName ` defaults to ` "_global" ` . Internally, keys are stored as ` ${scope}//${key} ` . The ` .getAll() ` method returns a nested object: ` { [scope]: { [key]: value } } ` .
529529
0 commit comments