@smartico/public-api 0.0.286 → 0.0.288
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/MiniGames/index.d.ts +1 -0
- package/dist/SmarticoLib/index.d.ts +2 -0
- package/dist/WSAPI/WSAPITypes.d.ts +4 -0
- package/dist/index.js +19 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +22 -1
- package/dist/index.modern.mjs.map +1 -1
- package/docs/README.md +2 -0
- package/docs/enums/SAWGameDifficultyType.md +19 -0
- package/docs/enums/SAWGameDifficultyTypeName.md +19 -0
- package/docs/interfaces/SAWTemplateUI.md +8 -0
- package/docs/interfaces/TUserProfile.md +16 -0
- package/package.json +1 -1
- package/src/MiniGames/index.ts +1 -0
- package/src/SmarticoLib/index.ts +2 -0
- package/src/WSAPI/WSAPITypes.ts +4 -0
|
@@ -101,6 +101,8 @@ declare enum ClientActivityRequestId {
|
|
|
101
101
|
export interface PublicProperties {
|
|
102
102
|
core_user_language?: string;
|
|
103
103
|
ach_points_balance?: number;
|
|
104
|
+
ach_gems_balance?: number;
|
|
105
|
+
ach_diamonds_balance?: number;
|
|
104
106
|
ach_points_ever?: number;
|
|
105
107
|
core_public_tags?: string[];
|
|
106
108
|
ach_level_current_id?: number;
|
|
@@ -185,6 +185,10 @@ export interface TUserProfile {
|
|
|
185
185
|
ach_points_balance: number;
|
|
186
186
|
/** The amount of points that user collected in total */
|
|
187
187
|
ach_points_ever: number;
|
|
188
|
+
/** The current gems balance */
|
|
189
|
+
ach_gems_balance: number;
|
|
190
|
+
/** The current diamonds balance */
|
|
191
|
+
ach_diamonds_balance: number;
|
|
188
192
|
/**
|
|
189
193
|
* The array of the public tags set on the user object.
|
|
190
194
|
* They can be treated as server-based cookies.
|
package/dist/index.js
CHANGED
|
@@ -575,6 +575,24 @@ exports.SAWWheelLayout = void 0;
|
|
|
575
575
|
SAWWheelLayout[SAWWheelLayout["BottomAligned"] = 4] = "BottomAligned";
|
|
576
576
|
})(exports.SAWWheelLayout || (exports.SAWWheelLayout = {}));
|
|
577
577
|
|
|
578
|
+
exports.SAWGameDifficultyType = void 0;
|
|
579
|
+
(function (SAWGameDifficultyType) {
|
|
580
|
+
SAWGameDifficultyType[SAWGameDifficultyType["EASY"] = 1] = "EASY";
|
|
581
|
+
SAWGameDifficultyType[SAWGameDifficultyType["MEDIUM"] = 2] = "MEDIUM";
|
|
582
|
+
SAWGameDifficultyType[SAWGameDifficultyType["HARD"] = 3] = "HARD";
|
|
583
|
+
})(exports.SAWGameDifficultyType || (exports.SAWGameDifficultyType = {}));
|
|
584
|
+
exports.SAWGameDifficultyTypeName = void 0;
|
|
585
|
+
(function (SAWGameDifficultyTypeName) {
|
|
586
|
+
SAWGameDifficultyTypeName["EASY"] = "easy";
|
|
587
|
+
SAWGameDifficultyTypeName["MEDIUM"] = "medium";
|
|
588
|
+
SAWGameDifficultyTypeName["HARD"] = "hard";
|
|
589
|
+
})(exports.SAWGameDifficultyTypeName || (exports.SAWGameDifficultyTypeName = {}));
|
|
590
|
+
/** @hidden */
|
|
591
|
+
var SawGameDifficultyTypeNamed = function SawGameDifficultyTypeNamed(type) {
|
|
592
|
+
var _SAWGameDifficultyTyp;
|
|
593
|
+
return (_SAWGameDifficultyTyp = {}, _SAWGameDifficultyTyp[exports.SAWGameDifficultyType.EASY] = exports.SAWGameDifficultyTypeName.EASY, _SAWGameDifficultyTyp[exports.SAWGameDifficultyType.MEDIUM] = exports.SAWGameDifficultyTypeName.MEDIUM, _SAWGameDifficultyTyp[exports.SAWGameDifficultyType.HARD] = exports.SAWGameDifficultyTypeName.HARD, _SAWGameDifficultyTyp)[type];
|
|
594
|
+
};
|
|
595
|
+
|
|
578
596
|
var NodeCache = /*#__PURE__*/function () {
|
|
579
597
|
function NodeCache() {
|
|
580
598
|
var _this = this;
|
|
@@ -5082,6 +5100,7 @@ exports.SAWHistoryTransform = SAWHistoryTransform;
|
|
|
5082
5100
|
exports.SAWTemplatesTransform = SAWTemplatesTransform;
|
|
5083
5101
|
exports.SAWUtils = SAWUtils;
|
|
5084
5102
|
exports.SAWWinSoundFiles = SAWWinSoundFiles;
|
|
5103
|
+
exports.SawGameDifficultyTypeNamed = SawGameDifficultyTypeNamed;
|
|
5085
5104
|
exports.SmarticoAPI = SmarticoAPI;
|
|
5086
5105
|
exports.StoreCategoryTransform = StoreCategoryTransform;
|
|
5087
5106
|
exports.StoreItemPurchasedTransform = StoreItemPurchasedTransform;
|