@smartico/public-api 0.0.299 → 0.0.301
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.modern.mjs
CHANGED
|
@@ -337,6 +337,7 @@ var SAWGameType;
|
|
|
337
337
|
SAWGameType[SAWGameType["LootboxCalendarDays"] = 8] = "LootboxCalendarDays";
|
|
338
338
|
SAWGameType[SAWGameType["TreasureHunt"] = 9] = "TreasureHunt";
|
|
339
339
|
SAWGameType[SAWGameType["Voyager"] = 10] = "Voyager";
|
|
340
|
+
SAWGameType[SAWGameType["Plinko"] = 11] = "Plinko";
|
|
340
341
|
})(SAWGameType || (SAWGameType = {}));
|
|
341
342
|
var SAWGameTypeName;
|
|
342
343
|
(function (SAWGameTypeName) {
|
|
@@ -350,6 +351,7 @@ var SAWGameTypeName;
|
|
|
350
351
|
SAWGameTypeName["LootboxCalendarDays"] = "lootbox_calendar_days";
|
|
351
352
|
SAWGameTypeName["TreasureHunt"] = "treasure_hunt";
|
|
352
353
|
SAWGameTypeName["Voyager"] = "voyager";
|
|
354
|
+
SAWGameTypeName["Plinko"] = "plinko";
|
|
353
355
|
SAWGameTypeName["Unknown"] = "unknown";
|
|
354
356
|
})(SAWGameTypeName || (SAWGameTypeName = {}));
|
|
355
357
|
/** @hidden */
|
|
@@ -1946,8 +1948,9 @@ class WSAPI {
|
|
|
1946
1948
|
}
|
|
1947
1949
|
});
|
|
1948
1950
|
on(ClassId.CLIENT_PUBLIC_PROPERTIES_CHANGED_EVENT, data => {
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
+
var _data$props, _data$props2;
|
|
1952
|
+
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) {
|
|
1953
|
+
this.updateInboxUnreadCount(data.props.core_inbox_unread_count);
|
|
1951
1954
|
}
|
|
1952
1955
|
});
|
|
1953
1956
|
}
|