@tgsnake/skema 3.1.0-browser.0 → 3.1.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/dist/src/deps.d.ts +3 -4
- package/dist/src/deps.js +4 -4
- package/dist/src/raw/class/All.d.ts +1 -1
- package/dist/src/raw/class/All.js +2739 -2739
- package/dist/src/raw/class/Raw.d.ts +7516 -7516
- package/dist/src/raw/class/Raw.js +20426 -26448
- package/dist/src/raw/class/tl/account.d.ts +841 -841
- package/dist/src/raw/class/tl/account.js +1813 -1983
- package/dist/src/raw/class/tl/aicompose.d.ts +51 -51
- package/dist/src/raw/class/tl/aicompose.js +117 -128
- package/dist/src/raw/class/tl/auth.d.ts +296 -296
- package/dist/src/raw/class/tl/auth.js +714 -849
- package/dist/src/raw/class/tl/bots.d.ts +231 -231
- package/dist/src/raw/class/tl/bots.js +504 -524
- package/dist/src/raw/class/tl/channels.d.ts +331 -331
- package/dist/src/raw/class/tl/channels.js +732 -823
- package/dist/src/raw/class/tl/chatlists.d.ts +81 -81
- package/dist/src/raw/class/tl/chatlists.js +183 -196
- package/dist/src/raw/class/tl/communities.d.ts +56 -56
- package/dist/src/raw/class/tl/communities.js +138 -159
- package/dist/src/raw/class/tl/contacts.d.ts +216 -216
- package/dist/src/raw/class/tl/contacts.js +492 -537
- package/dist/src/raw/class/tl/ephemeral.d.ts +51 -51
- package/dist/src/raw/class/tl/ephemeral.js +152 -204
- package/dist/src/raw/class/tl/folders.d.ts +6 -6
- package/dist/src/raw/class/tl/folders.js +11 -11
- package/dist/src/raw/class/tl/fragment.d.ts +11 -11
- package/dist/src/raw/class/tl/fragment.js +25 -32
- package/dist/src/raw/class/tl/help.d.ts +286 -286
- package/dist/src/raw/class/tl/help.js +618 -686
- package/dist/src/raw/class/tl/langpack.d.ts +26 -26
- package/dist/src/raw/class/tl/langpack.js +57 -57
- package/dist/src/raw/class/tl/messages.d.ts +1851 -1851
- package/dist/src/raw/class/tl/messages.js +4854 -5924
- package/dist/src/raw/class/tl/payments.d.ts +641 -641
- package/dist/src/raw/class/tl/payments.js +1734 -2198
- package/dist/src/raw/class/tl/phone.d.ts +256 -256
- package/dist/src/raw/class/tl/phone.js +644 -779
- package/dist/src/raw/class/tl/photos.d.ts +41 -41
- package/dist/src/raw/class/tl/photos.js +116 -139
- package/dist/src/raw/class/tl/premium.d.ts +41 -41
- package/dist/src/raw/class/tl/premium.js +111 -133
- package/dist/src/raw/class/tl/smsjobs.d.ts +46 -46
- package/dist/src/raw/class/tl/smsjobs.js +97 -115
- package/dist/src/raw/class/tl/stats.d.ts +71 -71
- package/dist/src/raw/class/tl/stats.js +169 -268
- package/dist/src/raw/class/tl/stickers.d.ts +61 -61
- package/dist/src/raw/class/tl/stickers.js +144 -173
- package/dist/src/raw/class/tl/storage.d.ts +51 -51
- package/dist/src/raw/class/tl/storage.js +71 -71
- package/dist/src/raw/class/tl/stories.d.ts +221 -221
- package/dist/src/raw/class/tl/stories.js +622 -781
- package/dist/src/raw/class/tl/toncenter.d.ts +21 -21
- package/dist/src/raw/class/tl/toncenter.js +47 -52
- package/dist/src/raw/class/tl/updates.d.ts +56 -56
- package/dist/src/raw/class/tl/updates.js +175 -246
- package/dist/src/raw/class/tl/upload.d.ts +66 -66
- package/dist/src/raw/class/tl/upload.js +155 -178
- package/dist/src/raw/class/tl/users.d.ts +61 -61
- package/dist/src/raw/class/tl/users.js +124 -124
- package/dist/src/raw/class/tl/wallet.d.ts +206 -206
- package/dist/src/raw/class/tl/wallet.js +525 -591
- package/dist/src/raw/class/types.d.ts +1 -1
- package/dist/src/raw/class/types.js +1 -1
- package/package.json +4 -6
package/dist/src/deps.d.ts
CHANGED
|
@@ -9,9 +9,8 @@
|
|
|
9
9
|
*/
|
|
10
10
|
export { BytesIO } from '@tgsnake/bytesio';
|
|
11
11
|
export { Logger } from '@tgsnake/log';
|
|
12
|
-
export { gzipSync, gunzipSync } from '
|
|
13
|
-
export { Buffer } from 'buffer';
|
|
14
|
-
import { inspect as nodeInspect } from 'util';
|
|
12
|
+
export { gzipSync, gunzipSync } from 'node:zlib';
|
|
13
|
+
export { Buffer } from 'node:buffer';
|
|
15
14
|
import bigInt from 'big-integer';
|
|
16
15
|
/**
|
|
17
16
|
* Identifies the runtime platform environment.
|
|
@@ -25,5 +24,5 @@ export declare const platform: string;
|
|
|
25
24
|
*
|
|
26
25
|
* @type {typeof nodeInspect}
|
|
27
26
|
*/
|
|
28
|
-
export declare const inspect:
|
|
27
|
+
export declare const inspect: any;
|
|
29
28
|
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 '
|
|
13
|
-
export { Buffer } from 'buffer';
|
|
14
|
-
import { inspect as nodeInspect } from 'util';
|
|
12
|
+
export { gzipSync, gunzipSync } from 'node:zlib';
|
|
13
|
+
export { Buffer } from 'node:buffer';
|
|
14
|
+
import { inspect as nodeInspect } from 'node: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 = nodeInspect;
|
|
33
|
+
export const inspect = (isDeno ? globalThis.Deno.inspect : nodeInspect);
|
|
34
34
|
export { bigInt };
|