@smartico/public-api 0.0.109 → 0.0.110
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/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +2 -0
- package/dist/index.modern.mjs.map +1 -1
- package/package.json +1 -1
- package/src/WSAPI/WSAPI.ts +2 -0
package/dist/index.modern.mjs
CHANGED
|
@@ -951,6 +951,8 @@ class WSAPI {
|
|
|
951
951
|
on(ClassId.MISSION_OPTIN_RESPONSE, () => this.updateMissionsOnOptIn());
|
|
952
952
|
on(ClassId.TOURNAMENT_REGISTER_RESPONSE, () => this.updateTournamentsOnRegistration());
|
|
953
953
|
on(ClassId.CLIENT_ENGAGEMENT_EVENT_NEW, () => this.updateInboxMessages());
|
|
954
|
+
on(ClassId.LOGOUT_RESPONSE, () => OCache.clear(ECacheContext.WSAPI));
|
|
955
|
+
on(ClassId.IDENTIFY_RESPONSE, () => OCache.clear(ECacheContext.WSAPI));
|
|
954
956
|
}
|
|
955
957
|
/** Returns information about current user */
|
|
956
958
|
getUserProfile() {
|