@tgsnake/skema 2.2.0 → 2.3.0-browser.0

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/README.md CHANGED
@@ -9,7 +9,7 @@ This project was originally based on the source code from [`@tgsnake/core`](http
9
9
  ---
10
10
 
11
11
  <center>
12
- <b>Layer 227</b>
12
+ <b>Layer 228</b>
13
13
  </center>
14
14
 
15
15
  ---
@@ -9,8 +9,9 @@
9
9
  */
10
10
  export { BytesIO } from '@tgsnake/bytesio';
11
11
  export { Logger } from '@tgsnake/log';
12
- export { gzipSync, gunzipSync } from 'node:zlib';
13
- export { Buffer } from 'node:buffer';
12
+ export { gzipSync, gunzipSync } from 'browserify-zlib';
13
+ export { Buffer } from 'buffer';
14
+ import { inspect as nodeInspect } from 'util';
14
15
  import bigInt from 'big-integer';
15
16
  /**
16
17
  * Identifies the runtime platform environment.
@@ -24,5 +25,5 @@ export declare const platform: string;
24
25
  *
25
26
  * @type {typeof nodeInspect}
26
27
  */
27
- export declare const inspect: any;
28
+ export declare const inspect: typeof nodeInspect;
28
29
  export { bigInt };
package/dist/src/deps.js CHANGED
@@ -9,9 +9,9 @@
9
9
  */
10
10
  export { BytesIO } from '@tgsnake/bytesio';
11
11
  export { Logger } from '@tgsnake/log';
12
- export { gzipSync, gunzipSync } from 'node:zlib';
13
- export { Buffer } from 'node:buffer';
14
- import { inspect as nodeInspect } from 'node:util';
12
+ export { gzipSync, gunzipSync } from 'browserify-zlib';
13
+ export { Buffer } from 'buffer';
14
+ import { inspect as nodeInspect } from 'util';
15
15
  import bigInt from 'big-integer';
16
16
  // Other platform compatibility
17
17
  // After this line, we will provide some compatibility for Deno, Bun, and Browser so that the same code can run in both environments without modification.
@@ -30,5 +30,5 @@ export const platform = isDeno ? 'Deno' : isBun ? 'Bun' : isBrowser ? 'Browser'
30
30
  *
31
31
  * @type {typeof nodeInspect}
32
32
  */
33
- export const inspect = (isDeno ? globalThis.Deno.inspect : nodeInspect);
33
+ export const inspect = nodeInspect;
34
34
  export { bigInt };
@@ -136,7 +136,7 @@ export declare const AllTLObject: {
136
136
  3016663268: string;
137
137
  276907596: string;
138
138
  3552332666: string;
139
- 829899656: string;
139
+ 2981678211: string;
140
140
  1326562017: string;
141
141
  2194798342: string;
142
142
  164646985: string;
@@ -148,10 +148,13 @@ export declare const AllTLObject: {
148
148
  693512293: string;
149
149
  1103884886: string;
150
150
  1704108455: string;
151
- 473084188: string;
151
+ 3567203526: string;
152
152
  399807445: string;
153
+ 4248623800: string;
154
+ 1710221652: string;
153
155
  640893467: string;
154
156
  2689502522: string;
157
+ 3417810183: string;
155
158
  954703838: string;
156
159
  3791153080: string;
157
160
  56677842: string;
@@ -248,8 +251,10 @@ export declare const AllTLObject: {
248
251
  2644626796: string;
249
252
  966161628: string;
250
253
  375414334: string;
254
+ 1562426088: string;
251
255
  4236900339: string;
252
256
  1908216652: string;
257
+ 4153018739: string;
253
258
  590459437: string;
254
259
  4212750949: string;
255
260
  236446268: string;
@@ -271,6 +276,7 @@ export declare const AllTLObject: {
271
276
  1251338318: string;
272
277
  2983951486: string;
273
278
  1548122514: string;
279
+ 666573532: string;
274
280
  3402328802: string;
275
281
  2573347852: string;
276
282
  4101456375: string;
@@ -484,6 +490,10 @@ export declare const AllTLObject: {
484
490
  2988475302: string;
485
491
  3281660638: string;
486
492
  335872721: string;
493
+ 549239713: string;
494
+ 1457257720: string;
495
+ 1270583041: string;
496
+ 1812827683: string;
487
497
  2775329342: string;
488
498
  1567990072: string;
489
499
  16030880: string;
@@ -535,6 +545,7 @@ export declare const AllTLObject: {
535
545
  3221737155: string;
536
546
  3591563503: string;
537
547
  577659656: string;
548
+ 3191302553: string;
538
549
  381645902: string;
539
550
  4250847477: string;
540
551
  2710034031: string;
@@ -656,7 +667,7 @@ export declare const AllTLObject: {
656
667
  768691932: string;
657
668
  1846886166: string;
658
669
  3556320491: string;
659
- 3262826695: string;
670
+ 2555565778: string;
660
671
  1300890265: string;
661
672
  2098662655: string;
662
673
  3624674796: string;
@@ -849,6 +860,7 @@ export declare const AllTLObject: {
849
860
  3109454125: string;
850
861
  27917308: string;
851
862
  2780061227: string;
863
+ 2525416272: string;
852
864
  324435594: string;
853
865
  1890305021: string;
854
866
  2415565343: string;
@@ -1016,8 +1028,10 @@ export declare const AllTLObject: {
1016
1028
  2902071934: string;
1017
1029
  4239064759: string;
1018
1030
  1684014375: string;
1031
+ 1777300164: string;
1019
1032
  3849174789: string;
1020
1033
  1363483106: string;
1034
+ 795199716: string;
1021
1035
  223655517: string;
1022
1036
  2331024850: string;
1023
1037
  4087022428: string;
@@ -1391,6 +1405,7 @@ export declare const AllTLObject: {
1391
1405
  1003796418: string;
1392
1406
  1484862010: string;
1393
1407
  1775660101: string;
1408
+ 1092204894: string;
1394
1409
  1070138683: string;
1395
1410
  1898850301: string;
1396
1411
  3486113794: string;
@@ -1663,6 +1678,7 @@ export declare const AllTLObject: {
1663
1678
  535407039: string;
1664
1679
  125026432: string;
1665
1680
  530584407: string;
1681
+ 235681199: string;
1666
1682
  3489021609: string;
1667
1683
  2611831828: string;
1668
1684
  3254018307: string;
@@ -1670,7 +1686,7 @@ export declare const AllTLObject: {
1670
1686
  4057344236: string;
1671
1687
  3709845395: string;
1672
1688
  1146512295: string;
1673
- 793887543: string;
1689
+ 1640638931: string;
1674
1690
  2920622697: string;
1675
1691
  251265428: string;
1676
1692
  2560862272: string;
@@ -1684,6 +1700,13 @@ export declare const AllTLObject: {
1684
1700
  3670770538: string;
1685
1701
  4937516: string;
1686
1702
  3136527755: string;
1703
+ 1981030077: string;
1704
+ 2078997125: string;
1705
+ 574926765: string;
1706
+ 3653688346: string;
1707
+ 2373472554: string;
1708
+ 1107532175: string;
1709
+ 1279604680: string;
1687
1710
  3416209197: string;
1688
1711
  1036301552: string;
1689
1712
  3251461801: string;
@@ -1931,7 +1954,7 @@ export declare const AllTLObject: {
1931
1954
  1468322785: string;
1932
1955
  2824589762: string;
1933
1956
  2726777625: string;
1934
- 1271290010: string;
1957
+ 1629922364: string;
1935
1958
  2016638777: string;
1936
1959
  2985428511: string;
1937
1960
  1559270965: string;
@@ -2140,6 +2163,9 @@ export declare const AllTLObject: {
2140
2163
  3820484652: string;
2141
2164
  1442515350: string;
2142
2165
  1343580623: string;
2166
+ 441720836: string;
2167
+ 2373641903: string;
2168
+ 3130975865: string;
2143
2169
  3990128682: string;
2144
2170
  432207715: string;
2145
2171
  51854712: string;
@@ -2474,6 +2500,19 @@ export declare const AllTLObject: {
2474
2500
  3001596419: string;
2475
2501
  2882900481: string;
2476
2502
  3518278420: string;
2503
+ 2788710892: string;
2504
+ 1936576490: string;
2505
+ 2791565360: string;
2506
+ 3613844458: string;
2507
+ 2474062660: string;
2508
+ 2357336488: string;
2509
+ 3219381565: string;
2510
+ 2573708559: string;
2511
+ 4169051051: string;
2512
+ 1758187679: string;
2513
+ 2747323665: string;
2514
+ 2265248447: string;
2515
+ 1067738312: string;
2477
2516
  528568095: string;
2478
2517
  2856858237: string;
2479
2518
  144661578: string;
@@ -136,7 +136,7 @@ export const AllTLObject = {
136
136
  0xb3cea0e4: 'Raw.storage.FileMp4',
137
137
  0x1081464c: 'Raw.storage.FileWebp',
138
138
  0xd3bc4b7a: 'Raw.UserEmpty',
139
- 0x31774388: 'Raw.User',
139
+ 0xb1b8cc83: 'Raw.User',
140
140
  0x4f11bae1: 'Raw.UserProfilePhotoEmpty',
141
141
  0x82d1f706: 'Raw.UserProfilePhoto',
142
142
  0x9d05049: 'Raw.UserStatusEmpty',
@@ -148,10 +148,13 @@ export const AllTLObject = {
148
148
  0x29562865: 'Raw.ChatEmpty',
149
149
  0x41cbf256: 'Raw.Chat',
150
150
  0x6592a1a7: 'Raw.ChatForbidden',
151
- 0x1c32b11c: 'Raw.Channel',
151
+ 0xd49f34c6: 'Raw.Channel',
152
152
  0x17d493d5: 'Raw.ChannelForbidden',
153
+ 0xfd3cdab8: 'Raw.CommunityForbidden',
154
+ 0x65efe954: 'Raw.Community',
153
155
  0x2633421b: 'Raw.ChatFull',
154
156
  0xa04e8d3a: 'Raw.ChannelFull',
157
+ 0xcbb7a507: 'Raw.CommunityFull',
155
158
  0x38e79fde: 'Raw.ChatParticipant',
156
159
  0xe1f867b8: 'Raw.ChatParticipantCreator',
157
160
  0x360d5d2: 'Raw.ChatParticipantAdmin',
@@ -248,8 +251,10 @@ export const AllTLObject = {
248
251
  0x9da1cd6c: 'Raw.MessageActionPollAppendAnswer',
249
252
  0x399674dc: 'Raw.MessageActionPollDeleteAnswer',
250
253
  0x16605e3e: 'Raw.MessageActionManagedBotCreated',
254
+ 0x5d20bae8: 'Raw.MessageActionChangeCommunity',
251
255
  0xfc89f7f3: 'Raw.Dialog',
252
256
  0x71bd134c: 'Raw.DialogFolder',
257
+ 0xf78a0973: 'Raw.DialogCommunity',
253
258
  0x2331b22d: 'Raw.PhotoEmpty',
254
259
  0xfb197a65: 'Raw.Photo',
255
260
  0xe17e23c: 'Raw.PhotoSizeEmpty',
@@ -271,6 +276,7 @@ export const AllTLObject = {
271
276
  0x4a95e84e: 'Raw.InputNotifyChats',
272
277
  0xb1db7c7e: 'Raw.InputNotifyBroadcasts',
273
278
  0x5c467992: 'Raw.InputNotifyForumTopic',
279
+ 0x27bb1adc: 'Raw.InputNotifyCommunity',
274
280
  0xcacb6ae2: 'Raw.InputPeerNotifySettings',
275
281
  0x99622c0c: 'Raw.PeerNotifySettings',
276
282
  0xf47741f7: 'Raw.PeerSettings',
@@ -484,6 +490,10 @@ export const AllTLObject = {
484
490
  0xb22083a6: 'Raw.UpdateNewBotConnection',
485
491
  0xc39a2ade: 'Raw.UpdateWebBrowserSettings',
486
492
  0x140502d1: 'Raw.UpdateWebBrowserException',
493
+ 0x20bcbba1: 'Raw.UpdateNewEphemeralMessage',
494
+ 0x56dbfcf8: 'Raw.UpdateDeleteEphemeralMessages',
495
+ 0x4bbb8f01: 'Raw.UpdateEditEphemeralMessage',
496
+ 0x6c0d8e23: 'Raw.UpdateBotStarsSubscription',
487
497
  0xa56c2a3e: 'Raw.updates.State',
488
498
  0x5d75a138: 'Raw.updates.DifferenceEmpty',
489
499
  0xf49ca0: 'Raw.updates.Difference',
@@ -535,6 +545,7 @@ export const AllTLObject = {
535
545
  0xc007cec3: 'Raw.NotifyChats',
536
546
  0xd612e8ef: 'Raw.NotifyBroadcasts',
537
547
  0x226e6308: 'Raw.NotifyForumTopic',
548
+ 0xbe376999: 'Raw.NotifyCommunity',
538
549
  0x16bf744e: 'Raw.SendMessageTypingAction',
539
550
  0xfd5ec8f5: 'Raw.SendMessageCancelAction',
540
551
  0xa187d66f: 'Raw.SendMessageRecordVideoAction',
@@ -656,7 +667,7 @@ export const AllTLObject = {
656
667
  0x2dd14edc: 'Raw.StickerSet',
657
668
  0x6e153f16: 'Raw.messages.StickerSet',
658
669
  0xd3f924eb: 'Raw.messages.StickerSetNotModified',
659
- 0xc27ac8c7: 'Raw.BotCommand',
670
+ 0x9852d6d2: 'Raw.BotCommand',
660
671
  0x4d8a0299: 'Raw.BotInfo',
661
672
  0x7d170cff: 'Raw.KeyboardButton',
662
673
  0xd80c25ec: 'Raw.KeyboardButtonUrl',
@@ -849,6 +860,7 @@ export const AllTLObject = {
849
860
  0xb956812d: 'Raw.TextBankCard',
850
861
  0x1a9fbfc: 'Raw.TextMentionName',
851
862
  0xa5b45e2b: 'Raw.TextDate',
863
+ 0x9686cb50: 'Raw.TextDiff',
852
864
  0x13567e8a: 'Raw.PageBlockUnsupported',
853
865
  0x70abc3fd: 'Raw.PageBlockTitle',
854
866
  0x8ffa9a1f: 'Raw.PageBlockSubtitle',
@@ -1016,8 +1028,10 @@ export const AllTLObject = {
1016
1028
  0xacfa1a7e: 'Raw.InputMessageCallbackQuery',
1017
1029
  0xfcaafeb7: 'Raw.InputDialogPeer',
1018
1030
  0x64600527: 'Raw.InputDialogPeerFolder',
1031
+ 0x69ef72c4: 'Raw.InputDialogPeerCommunity',
1019
1032
  0xe56dbf05: 'Raw.DialogPeer',
1020
1033
  0x514519e2: 'Raw.DialogPeerFolder',
1034
+ 0x2f65c8e4: 'Raw.DialogPeerCommunity',
1021
1035
  0xd54b65d: 'Raw.messages.FoundStickerSetsNotModified',
1022
1036
  0x8af09dd2: 'Raw.messages.FoundStickerSets',
1023
1037
  0xf39b035c: 'Raw.FileHash',
@@ -1391,6 +1405,7 @@ export const AllTLObject = {
1391
1405
  0x3bd4b7c2: 'Raw.InputReplyToMessage',
1392
1406
  0x5881323a: 'Raw.InputReplyToStory',
1393
1407
  0x69d66c45: 'Raw.InputReplyToMonoForum',
1408
+ 0x4119b95e: 'Raw.InputReplyToEphemeralMessage',
1394
1409
  0x3fc9053b: 'Raw.ExportedStoryLink',
1395
1410
  0x712e27fd: 'Raw.StoriesStealthMode',
1396
1411
  0xcfc9e002: 'Raw.MediaAreaCoordinates',
@@ -1663,6 +1678,7 @@ export const AllTLObject = {
1663
1678
  0x1fe9a9bf: 'Raw.InputAiComposeToneDefault',
1664
1679
  0x773c080: 'Raw.InputAiComposeToneID',
1665
1680
  0x1fa01357: 'Raw.InputAiComposeToneSlug',
1681
+ 0xe0c35af: 'Raw.InputAiComposeToneSingleUse',
1666
1682
  0xcff63ea9: 'Raw.AiComposeTone',
1667
1683
  0x9bad6414: 'Raw.AiComposeToneDefault',
1668
1684
  0xc1f46103: 'Raw.aicompose.TonesNotModified',
@@ -1670,7 +1686,7 @@ export const AllTLObject = {
1670
1686
  0xf1d628ec: 'Raw.AiComposeToneExample',
1671
1687
  0xdd1fbf93: 'Raw.bots.AccessSettings',
1672
1688
  0x445663a7: 'Raw.messages.ChatInviteJoinResultOk',
1673
- 0x2f51c337: 'Raw.messages.ChatInviteJoinResultWebView',
1689
+ 0x61ca29d3: 'Raw.messages.ChatInviteJoinResultWebView',
1674
1690
  0xae152a69: 'Raw.JoinChatBotResultApproved',
1675
1691
  0xefa0194: 'Raw.JoinChatBotResultDeclined',
1676
1692
  0x98a3a840: 'Raw.JoinChatBotResultQueued',
@@ -1684,6 +1700,13 @@ export const AllTLObject = {
1684
1700
  0xdacb836a: 'Raw.InputRichMessageHTML',
1685
1701
  0x4b572c: 'Raw.InputRichMessageMarkdown',
1686
1702
  0xbaf39d8b: 'Raw.RichMessage',
1703
+ 0x76141ebd: 'Raw.CommunityPeer',
1704
+ 0x7beafa85: 'Raw.CommunityPeerRequest',
1705
+ 0x2244afad: 'Raw.communities.PeerLinkRequests',
1706
+ 0xd9c6dc1a: 'Raw.EphemeralMessage',
1707
+ 0x8d78512a: 'Raw.communities.ParticipantJoinedChats',
1708
+ 0x4203998f: 'Raw.messages.TranslatedRichMessage',
1709
+ 0x4c4537c8: 'Raw.messages.ComposedRichMessageWithAI',
1687
1710
  0xcb9f372d: 'Raw.InvokeAfterMsg',
1688
1711
  0x3dc4b4f0: 'Raw.InvokeAfterMsgs',
1689
1712
  0xc1cd5ea9: 'Raw.InitConnection',
@@ -1931,7 +1954,7 @@ export const AllTLObject = {
1931
1954
  0x5784d3e1: 'Raw.messages.GetMessagesViews',
1932
1955
  0xa85bd1c2: 'Raw.messages.EditChatAdmin',
1933
1956
  0xa2875319: 'Raw.messages.MigrateChat',
1934
- 0x4bc6589a: 'Raw.messages.SearchGlobal',
1957
+ 0x6126a43c: 'Raw.messages.SearchGlobal',
1935
1958
  0x78337739: 'Raw.messages.ReorderStickerSets',
1936
1959
  0xb1f2061f: 'Raw.messages.GetDocumentByHash',
1937
1960
  0x5cf09635: 'Raw.messages.GetSavedGifs',
@@ -2140,6 +2163,9 @@ export const AllTLObject = {
2140
2163
  0xe3b7f82c: 'Raw.messages.DeleteParticipantReaction',
2141
2164
  0x55fb0996: 'Raw.messages.GetPersonalChannelHistory',
2142
2165
  0x501569cf: 'Raw.messages.GetRichMessage',
2166
+ 0x1a542004: 'Raw.messages.TranslateRichMessage',
2167
+ 0x8d7ae6af: 'Raw.messages.ComposeRichMessageWithAI',
2168
+ 0xba9ee679: 'Raw.messages.RequestChatJoinWebView',
2143
2169
  0xedd4882a: 'Raw.updates.GetState',
2144
2170
  0x19c2f763: 'Raw.updates.GetDifference',
2145
2171
  0x3173d78: 'Raw.updates.GetChannelDifference',
@@ -2474,6 +2500,19 @@ export const AllTLObject = {
2474
2500
  0xb2e8ba03: 'Raw.aicompose.GetTone',
2475
2501
  0xabd59201: 'Raw.aicompose.GetTones',
2476
2502
  0xd1b4ab14: 'Raw.aicompose.GetToneExample',
2503
+ 0xa63859ec: 'Raw.communities.Create',
2504
+ 0x736dcfea: 'Raw.communities.TogglePeerLink',
2505
+ 0xa663e830: 'Raw.communities.GetJoinedCommunities',
2506
+ 0xd766e3ea: 'Raw.communities.ToggleCommunityCollapsedInDialogs',
2507
+ 0x93773344: 'Raw.communities.GetPeerLinkRequests',
2508
+ 0x8c8219a8: 'Raw.communities.TogglePeerLinkRequestApproval',
2509
+ 0xbfe3dd3d: 'Raw.communities.ToggleAllPeerLinkRequestApproval',
2510
+ 0x9967ad0f: 'Raw.communities.ToggleParticipantBanned',
2511
+ 0xf87eabab: 'Raw.communities.GetParticipantJoinedChats',
2512
+ 0x68cbd09f: 'Raw.ephemeral.SendMessage',
2513
+ 0xa3c0d511: 'Raw.ephemeral.DeleteMessage',
2514
+ 0x8704f2bf: 'Raw.ephemeral.ReportMessage',
2515
+ 0x3fa464c8: 'Raw.ephemeral.GetCallbackAnswer',
2477
2516
  0x1f814f1f: 'Raw.DecryptedMessage8',
2478
2517
  0xaa48327d: 'Raw.DecryptedMessageService8',
2479
2518
  0x89f5c4a: 'Raw.DecryptedMessageMediaEmpty8',