@smartico/public-api 0.0.198 → 0.0.200
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/Inbox/InboxMessage.d.ts +3 -0
- package/dist/Inbox/OpenLinksType.d.ts +4 -0
- package/dist/Inbox/index.d.ts +1 -0
- package/dist/MiniGames/index.d.ts +1 -0
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +13 -1
- package/dist/index.modern.mjs.map +1 -1
- package/package.json +1 -1
- package/src/Inbox/InboxMessage.ts +6 -0
- package/src/Inbox/OpenLinksType.ts +4 -0
- package/src/Inbox/index.ts +1 -0
- package/src/MiniGames/index.ts +1 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TInboxMessageBody } from '../WSAPI/WSAPITypes';
|
|
2
2
|
import { InboxMessageType } from './InboxMessageType';
|
|
3
|
+
import { OpenLinksType } from './OpenLinksType';
|
|
3
4
|
export interface InboxMessageBody {
|
|
4
5
|
action: string;
|
|
5
6
|
body: string;
|
|
@@ -13,6 +14,8 @@ export interface InboxMessageBody {
|
|
|
13
14
|
}[];
|
|
14
15
|
show_preview?: boolean;
|
|
15
16
|
show_duration_sec?: number;
|
|
17
|
+
enable_zoom_mode?: boolean;
|
|
18
|
+
open_links?: OpenLinksType;
|
|
16
19
|
}
|
|
17
20
|
export interface InboxMessage {
|
|
18
21
|
createDate: string;
|
package/dist/Inbox/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -488,6 +488,12 @@ var SAWHistoryTransform = function SAWHistoryTransform(items) {
|
|
|
488
488
|
});
|
|
489
489
|
};
|
|
490
490
|
|
|
491
|
+
exports.SAWGameLayout = void 0;
|
|
492
|
+
(function (SAWGameLayout) {
|
|
493
|
+
SAWGameLayout[SAWGameLayout["Horizontal"] = 1] = "Horizontal";
|
|
494
|
+
SAWGameLayout[SAWGameLayout["VerticalMap"] = 2] = "VerticalMap";
|
|
495
|
+
})(exports.SAWGameLayout || (exports.SAWGameLayout = {}));
|
|
496
|
+
|
|
491
497
|
var NodeCache = /*#__PURE__*/function () {
|
|
492
498
|
function NodeCache() {
|
|
493
499
|
if (NodeCache.ttlChecker === undefined) {
|
|
@@ -753,6 +759,12 @@ exports.InboxMessageType = void 0;
|
|
|
753
759
|
})(exports.InboxMessageType || (exports.InboxMessageType = {}));
|
|
754
760
|
// keep in sync with BO enum
|
|
755
761
|
|
|
762
|
+
exports.OpenLinksType = void 0;
|
|
763
|
+
(function (OpenLinksType) {
|
|
764
|
+
OpenLinksType[OpenLinksType["NewWindow"] = 1] = "NewWindow";
|
|
765
|
+
OpenLinksType[OpenLinksType["CurrentWindow"] = 2] = "CurrentWindow";
|
|
766
|
+
})(exports.OpenLinksType || (exports.OpenLinksType = {}));
|
|
767
|
+
|
|
756
768
|
exports.BuyStoreItemErrorCode = void 0;
|
|
757
769
|
(function (BuyStoreItemErrorCode) {
|
|
758
770
|
BuyStoreItemErrorCode[BuyStoreItemErrorCode["FAILED_TO_BUY_SHOP_ITEM"] = 121] = "FAILED_TO_BUY_SHOP_ITEM";
|