@smartico/public-api 0.0.199 → 0.0.201

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartico/public-api",
3
- "version": "0.0.199",
3
+ "version": "0.0.201",
4
4
  "description": "Smartico public API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -24,3 +24,4 @@ export * from './SAWEventSawPush';
24
24
  export * from './SAWAcknowledgeSpinPushRequest';
25
25
  export * from './SAWWinningHistoryRequest';
26
26
  export * from './SAWWinningHistoryResponse';
27
+ export * from './SAWGameLayout';
@@ -108,6 +108,13 @@ export class WSAPI {
108
108
  }
109
109
  }
110
110
 
111
+ /** @private */
112
+ // AA: this method is used from the _smartico script to clear cache when the context is changed,
113
+ // e.g. when user is changed or language is changed
114
+ public clearCaches() {
115
+ OCache.clearAll();
116
+ }
117
+
111
118
  /** Returns information about current user
112
119
  *
113
120
  * **Example**: