@orbit-software/sdk 1.93.6 → 1.93.9
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/assets/boxes/boxes/rewards/lucky-box.webp +0 -0
- package/dist/assets/boxes/boxes/rewards/reward_coins_100.webp +0 -0
- package/dist/assets/boxes/boxes/rewards/reward_coins_1000.webp +0 -0
- package/dist/assets/boxes/boxes/rewards/reward_coins_300.webp +0 -0
- package/dist/assets/boxes/boxes/rewards/reward_coins_50.webp +0 -0
- package/dist/assets/boxes/boxes/rewards/reward_gems_10.webp +0 -0
- package/dist/assets/boxes/boxes/rewards/reward_gems_1000.webp +0 -0
- package/dist/assets/boxes/boxes/rewards/reward_gems_20.webp +0 -0
- package/dist/assets/boxes/boxes/rewards/reward_gems_30.webp +0 -0
- package/dist/assets/boxes/boxes/rewards/reward_gems_300.webp +0 -0
- package/dist/esm/components/modals/ProfileInventoryModal.d.ts +1 -3
- package/dist/esm/components/ui/GradientBadge.d.ts +6 -0
- package/dist/esm/i18n/generated-translation-type.d.ts +12 -0
- package/dist/esm/i18n/locales/en.json.d.ts +13 -0
- package/dist/esm/i18n/locales/es.json.d.ts +13 -0
- package/dist/esm/i18n/locales/hi.json.d.ts +13 -0
- package/dist/esm/i18n/locales/pt.json.d.ts +13 -0
- package/dist/esm/i18n/locales/ru.json.d.ts +13 -0
- package/dist/esm/sdk.mjs +28214 -27739
- package/dist/esm/sdk.umd.js +104 -104
- package/dist/esm/types/api.d.ts +8 -2
- package/dist/esm/types/sdk.d.ts +8 -0
- package/dist/esm/utils/formatDate.d.ts +2 -0
- package/dist/esm/utils/launchTracking.d.ts +3 -0
- package/dist/esm/utils/lootboxRarity.d.ts +10 -0
- package/dist/stats-esm.html +1 -1
- package/dist/stats-umd-react.html +1 -1
- package/dist/stats-umd.html +1 -1
- package/dist/umd/sdk.umd.js +104 -104
- package/dist/umd_react/sdk_react.umd.js +114 -114
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import { InventoryItem } from '../../types/api';
|
|
2
1
|
import { ModalProps } from '@telegram-apps/telegram-ui';
|
|
3
|
-
export declare
|
|
4
|
-
export declare function ProfileInventoryModal({ ...props }: Omit<ModalProps, 'trigger'>): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare function ProfileInventoryModal({ children, ...props }: Omit<ModalProps, 'trigger'>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type GradientBadgeSize = 'sm' | 'md' | 'lg';
|
|
2
|
+
interface GradientBadgeProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
size?: GradientBadgeSize;
|
|
4
|
+
}
|
|
5
|
+
export declare const GradientBadge: ({ children, size, className, style, ...props }: GradientBadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
@@ -10,6 +10,12 @@ export interface TranslationKeys {
|
|
|
10
10
|
lootBox: string;
|
|
11
11
|
forLevel: string;
|
|
12
12
|
unopenedLootBox: string;
|
|
13
|
+
inventory: string;
|
|
14
|
+
inventoryDescription: string;
|
|
15
|
+
inventoryDescriptionEmpty: string;
|
|
16
|
+
inventoryDescriptionWeb: string;
|
|
17
|
+
inventoryDescriptionEmptyWeb: string;
|
|
18
|
+
inventoryDescriptionEmptyButton: string;
|
|
13
19
|
emptyBox: string;
|
|
14
20
|
openItem: string;
|
|
15
21
|
reward_type: {
|
|
@@ -17,6 +23,8 @@ export interface TranslationKeys {
|
|
|
17
23
|
usdt_no_amount: string;
|
|
18
24
|
coins_no_amount: string;
|
|
19
25
|
usdt: string;
|
|
26
|
+
gems: string;
|
|
27
|
+
gems_no_amount: string;
|
|
20
28
|
ton: string;
|
|
21
29
|
telegram_premium: string;
|
|
22
30
|
double_balance: string;
|
|
@@ -26,6 +34,10 @@ export interface TranslationKeys {
|
|
|
26
34
|
box_epic: string;
|
|
27
35
|
box_legend: string;
|
|
28
36
|
};
|
|
37
|
+
dates: {
|
|
38
|
+
today: string;
|
|
39
|
+
yesterday: string;
|
|
40
|
+
};
|
|
29
41
|
confirmIframe: {
|
|
30
42
|
pay: string;
|
|
31
43
|
cancel: string;
|
|
@@ -10,6 +10,10 @@ declare const _default: {
|
|
|
10
10
|
"lootBox": "Loot Box",
|
|
11
11
|
"forLevel": "for level {{level}}",
|
|
12
12
|
"unopenedLootBox": "Unopened Loot Box",
|
|
13
|
+
"inventory": "Inventory",
|
|
14
|
+
"inventoryDescription": "You can find all your unopened loot boxes here. Tap the image to try your luck with rewards: you may find USDT, coins, or another box inside!",
|
|
15
|
+
"inventoryDescriptionEmpty": "Unopened loot boxes will be kept here. Inside of each one you may find USDT, coins, or another loot box. Better rewards based on a box rarity!",
|
|
16
|
+
"inventoryDescriptionEmptyButton": "You don’t have loot boxes yet, <br/> but you can buy one",
|
|
13
17
|
"emptyBox": "Empty Box",
|
|
14
18
|
"openItem": "Open Item",
|
|
15
19
|
"reward_type": {
|
|
@@ -23,6 +27,11 @@ declare const _default: {
|
|
|
23
27
|
"usdt_one": "{{count}} USDT",
|
|
24
28
|
"usdt_few": "{{count}} USDT",
|
|
25
29
|
"usdt_many": "{{count}} USDT",
|
|
30
|
+
"gems": "{{count}} gem",
|
|
31
|
+
"gems_one": "{{count}} gem",
|
|
32
|
+
"gems_few": "{{count}} gems",
|
|
33
|
+
"gems_many": "{{count}} gems",
|
|
34
|
+
"gems_no_amount": "Gems",
|
|
26
35
|
"ton": "{{count}} TON",
|
|
27
36
|
"ton_one": "{{count}} TON",
|
|
28
37
|
"ton_few": "{{count}} TON",
|
|
@@ -35,6 +44,10 @@ declare const _default: {
|
|
|
35
44
|
"box_epic": "EPIC",
|
|
36
45
|
"box_legend": "LEGEND"
|
|
37
46
|
},
|
|
47
|
+
"dates": {
|
|
48
|
+
"today": "Today",
|
|
49
|
+
"yesterday": "Yest"
|
|
50
|
+
},
|
|
38
51
|
"confirmIframe": {
|
|
39
52
|
"pay": "Pay",
|
|
40
53
|
"cancel": "Cancel"
|
|
@@ -10,6 +10,10 @@ declare const _default: {
|
|
|
10
10
|
"lootBox": "Caja de botín",
|
|
11
11
|
"forLevel": "para el nivel {{level}}",
|
|
12
12
|
"unopenedLootBox": "Caja de botín sin abrir",
|
|
13
|
+
"inventory": "Inventario",
|
|
14
|
+
"inventoryDescription": "Aqui puedes encontrar todas tus cajas de botin sin abrir. Toca la imagen para probar tu suerte: puedes encontrar USDT, monedas u otra caja dentro.",
|
|
15
|
+
"inventoryDescriptionEmpty": "Las cajas de botin sin abrir se guardaran aqui. Dentro de cada una puedes encontrar USDT, monedas u otra caja de botin. Mejores recompensas segun la rareza de la caja.",
|
|
16
|
+
"inventoryDescriptionEmptyButton": "Aun no tienes cajas de botin, <br/> pero puedes comprar una",
|
|
13
17
|
"emptyBox": "Caja vacía",
|
|
14
18
|
"openItem": "Abrir objeto",
|
|
15
19
|
"reward_type": {
|
|
@@ -23,6 +27,11 @@ declare const _default: {
|
|
|
23
27
|
"usdt_one": "{{count}} USDT",
|
|
24
28
|
"usdt_few": "{{count}} USDT",
|
|
25
29
|
"usdt_many": "{{count}} USDT",
|
|
30
|
+
"gems": "{{count}} gema",
|
|
31
|
+
"gems_one": "{{count}} gema",
|
|
32
|
+
"gems_few": "{{count}} gemas",
|
|
33
|
+
"gems_many": "{{count}} gemas",
|
|
34
|
+
"gems_no_amount": "Gemas",
|
|
26
35
|
"ton": "{{count}} TON",
|
|
27
36
|
"ton_one": "{{count}} TON",
|
|
28
37
|
"ton_few": "{{count}} TON",
|
|
@@ -35,6 +44,10 @@ declare const _default: {
|
|
|
35
44
|
"box_epic": "ÉPICA",
|
|
36
45
|
"box_legend": "LEGENDARIA"
|
|
37
46
|
},
|
|
47
|
+
"dates": {
|
|
48
|
+
"today": "Hoy",
|
|
49
|
+
"yesterday": "Ayer"
|
|
50
|
+
},
|
|
38
51
|
"confirmIframe": {
|
|
39
52
|
"pay": "Pagar",
|
|
40
53
|
"cancel": "Cancelar"
|
|
@@ -10,6 +10,10 @@ declare const _default: {
|
|
|
10
10
|
"lootBox": "लूट बॉक्स",
|
|
11
11
|
"forLevel": "स्तर {{level}} के लिए",
|
|
12
12
|
"unopenedLootBox": "बिना खोले गए लूट बॉक्स",
|
|
13
|
+
"inventory": "इन्वेंटरी",
|
|
14
|
+
"inventoryDescription": "यहां आपके सभी बिना खुले लूट बॉक्स मिलेंगे। इनाम पाने के लिए इमेज पर टैप करें: अंदर USDT, कॉइन्स या कोई दूसरा बॉक्स हो सकता है!",
|
|
15
|
+
"inventoryDescriptionEmpty": "बिना खुले लूट बॉक्स यहां रखे जाएंगे। हर बॉक्स के अंदर USDT, कॉइन्स या कोई दूसरा लूट बॉक्स मिल सकता है। बॉक्स की रेयरिटी के आधार पर बेहतर इनाम मिलता है!",
|
|
16
|
+
"inventoryDescriptionEmptyButton": "आपके पास अभी लूट बॉक्स नहीं हैं, <br/> लेकिन आप एक खरीद सकते हैं",
|
|
13
17
|
"emptyBox": "खाली बॉक्स",
|
|
14
18
|
"openItem": "आइटम खोलें",
|
|
15
19
|
"reward_type": {
|
|
@@ -23,6 +27,11 @@ declare const _default: {
|
|
|
23
27
|
"usdt_one": "{{count}} USDT",
|
|
24
28
|
"usdt_few": "{{count}} USDT",
|
|
25
29
|
"usdt_many": "{{count}} USDT",
|
|
30
|
+
"gems": "{{count}} जेम",
|
|
31
|
+
"gems_one": "{{count}} जेम",
|
|
32
|
+
"gems_few": "{{count}} जेम्स",
|
|
33
|
+
"gems_many": "{{count}} जेम्स",
|
|
34
|
+
"gems_no_amount": "जेम्स",
|
|
26
35
|
"ton": "{{count}} TON",
|
|
27
36
|
"ton_one": "{{count}} TON",
|
|
28
37
|
"ton_few": "{{count}} TON",
|
|
@@ -35,6 +44,10 @@ declare const _default: {
|
|
|
35
44
|
"box_epic": "महाकाव्य",
|
|
36
45
|
"box_legend": "दंतकथा"
|
|
37
46
|
},
|
|
47
|
+
"dates": {
|
|
48
|
+
"today": "आज",
|
|
49
|
+
"yesterday": "कल"
|
|
50
|
+
},
|
|
38
51
|
"confirmIframe": {
|
|
39
52
|
"pay": "भुगतान करें",
|
|
40
53
|
"cancel": "रद्द करें"
|
|
@@ -10,6 +10,10 @@ declare const _default: {
|
|
|
10
10
|
"lootBox": "Caixa de loot",
|
|
11
11
|
"forLevel": "para o nível {{level}}",
|
|
12
12
|
"unopenedLootBox": "Caixa de Loot Não Aberta",
|
|
13
|
+
"inventory": "Inventário",
|
|
14
|
+
"inventoryDescription": "Aqui voce encontra todas as suas caixas de loot nao abertas. Toque na imagem para tentar a sorte: voce pode encontrar USDT, moedas ou outra caixa dentro.",
|
|
15
|
+
"inventoryDescriptionEmpty": "As caixas de loot nao abertas ficarao aqui. Dentro de cada uma voce pode encontrar USDT, moedas ou outra caixa de loot. Recompensas melhores conforme a raridade da caixa.",
|
|
16
|
+
"inventoryDescriptionEmptyButton": "Voce ainda nao tem caixas de loot, <br/> mas pode comprar uma",
|
|
13
17
|
"emptyBox": "Caixa vazia",
|
|
14
18
|
"openItem": "Abrir item",
|
|
15
19
|
"reward_type": {
|
|
@@ -23,6 +27,11 @@ declare const _default: {
|
|
|
23
27
|
"usdt_one": "{{count}} USDT",
|
|
24
28
|
"usdt_few": "{{count}} USDT",
|
|
25
29
|
"usdt_many": "{{count}} USDT",
|
|
30
|
+
"gems": "{{count}} gema",
|
|
31
|
+
"gems_one": "{{count}} gema",
|
|
32
|
+
"gems_few": "{{count}} gemas",
|
|
33
|
+
"gems_many": "{{count}} gemas",
|
|
34
|
+
"gems_no_amount": "Gemas",
|
|
26
35
|
"ton": "{{count}} TON",
|
|
27
36
|
"ton_one": "{{count}} TON",
|
|
28
37
|
"ton_few": "{{count}} TON",
|
|
@@ -35,6 +44,10 @@ declare const _default: {
|
|
|
35
44
|
"box_epic": "ÉPICA",
|
|
36
45
|
"box_legend": "LENDÁRIA"
|
|
37
46
|
},
|
|
47
|
+
"dates": {
|
|
48
|
+
"today": "Hoje",
|
|
49
|
+
"yesterday": "Ontem"
|
|
50
|
+
},
|
|
38
51
|
"confirmIframe": {
|
|
39
52
|
"pay": "Pagar",
|
|
40
53
|
"cancel": "Cancelar"
|
|
@@ -10,6 +10,10 @@ declare const _default: {
|
|
|
10
10
|
"lootBox": "Лутбокс",
|
|
11
11
|
"forLevel": "для уровня {{level}}",
|
|
12
12
|
"unopenedLootBox": "Неоткрытый лутбокс",
|
|
13
|
+
"inventory": "Инвентарь",
|
|
14
|
+
"inventoryDescription": "Здесь находятся все ваши неоткрытые лутбоксы. Нажмите на изображение, чтобы испытать удачу: внутри может быть USDT, монеты или другой бокс!",
|
|
15
|
+
"inventoryDescriptionEmpty": "Неоткрытые лутбоксы будут храниться здесь. Внутри каждого из них могут быть USDT, монеты или другой лутбокс. Чем выше редкость бокса, тем лучше награда!",
|
|
16
|
+
"inventoryDescriptionEmptyButton": "У вас пока нет лутбоксов, <br/> но вы можете купить один",
|
|
13
17
|
"emptyBox": "Пустой бокс",
|
|
14
18
|
"openItem": "Открыть предмет",
|
|
15
19
|
"reward_type": {
|
|
@@ -23,6 +27,11 @@ declare const _default: {
|
|
|
23
27
|
"usdt_one": "{{count}} USDT",
|
|
24
28
|
"usdt_few": "{{count}} USDT",
|
|
25
29
|
"usdt_many": "{{count}} USDT",
|
|
30
|
+
"gems": "{{count}} алмаз",
|
|
31
|
+
"gems_one": "{{count}} алмаз",
|
|
32
|
+
"gems_few": "{{count}} алмаза",
|
|
33
|
+
"gems_many": "{{count}} алмазов",
|
|
34
|
+
"gems_no_amount": "Алмазы",
|
|
26
35
|
"ton": "{{count}} TON",
|
|
27
36
|
"ton_one": "{{count}} TON",
|
|
28
37
|
"ton_few": "{{count}} TON",
|
|
@@ -35,6 +44,10 @@ declare const _default: {
|
|
|
35
44
|
"box_epic": "ЭПИК",
|
|
36
45
|
"box_legend": "ЛЕГЕНДАРНЫЙ"
|
|
37
46
|
},
|
|
47
|
+
"dates": {
|
|
48
|
+
"today": "Сегодня",
|
|
49
|
+
"yesterday": "Вчера"
|
|
50
|
+
},
|
|
38
51
|
"confirmIframe": {
|
|
39
52
|
"pay": "Оплатить",
|
|
40
53
|
"cancel": "Отменить"
|