@smartico/public-api 0.0.392 → 0.0.394
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/WSAPI/WSAPITypes.d.ts +5 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +2 -1
- package/dist/index.modern.mjs.map +1 -1
- package/package.json +1 -1
- package/src/Raffle/GetRafflesResponse.ts +1 -0
- package/src/WSAPI/WSAPI.ts +1 -1
- package/src/WSAPI/WSAPITypes.ts +5 -0
package/dist/index.modern.mjs
CHANGED
|
@@ -2256,6 +2256,7 @@ const prizeTransform = items => {
|
|
|
2256
2256
|
name: item.public_meta.name,
|
|
2257
2257
|
description: item.public_meta.description,
|
|
2258
2258
|
image_url: item.public_meta.image_url,
|
|
2259
|
+
custom_data: item.public_meta.custom_data,
|
|
2259
2260
|
prizes_per_run: item.prizes_per_run,
|
|
2260
2261
|
prizes_per_run_actual: item.prizes_per_run_actual,
|
|
2261
2262
|
chances_to_win_perc: item.chances_to_win_perc,
|
|
@@ -9217,7 +9218,7 @@ class WSAPI extends WSAPIInbox {
|
|
|
9217
9218
|
if ((data == null || (_data$props = data.props) == null ? void 0 : _data$props.core_inbox_unread_count) !== undefined && (data == null || (_data$props2 = data.props) == null ? void 0 : _data$props2.core_inbox_unread_count) !== null) {
|
|
9218
9219
|
this.updateInboxUnreadCount(data.props.core_inbox_unread_count);
|
|
9219
9220
|
}
|
|
9220
|
-
if (((data == null || (_data$props3 = data.props) == null ? void 0 : _data$props3.ach_points_balance) !== undefined || (data == null || (_data$props4 = data.props) == null ? void 0 : _data$props4.ach_gems_balance) !== undefined || (data == null || (_data$props5 = data.props) == null ? void 0 : _data$props5.ach_diamonds_balance) !== undefined) &&
|
|
9221
|
+
if (((data == null || (_data$props3 = data.props) == null ? void 0 : _data$props3.ach_points_balance) !== undefined || (data == null || (_data$props4 = data.props) == null ? void 0 : _data$props4.ach_gems_balance) !== undefined || (data == null || (_data$props5 = data.props) == null ? void 0 : _data$props5.ach_diamonds_balance) !== undefined) && this.onUpdateCallback.get(onUpdateContextKey.ActivityLog)) {
|
|
9221
9222
|
this.notifyActivityLogUpdate();
|
|
9222
9223
|
}
|
|
9223
9224
|
OCache.clear(ECacheContext.WSAPI, onUpdateContextKey.CurrentLevel);
|