@kyyinfinite/zapo-message 1.0.0 → 1.0.1
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 +1197 -328
- package/dist/btn/media-source.d.ts +1 -3
- package/package.json +1 -1
|
@@ -21,8 +21,7 @@ export type NormalizedMediaSource = NormalizedBytesSource | NormalizedPathSource
|
|
|
21
21
|
export interface NormalizedMediaSourceOptions {
|
|
22
22
|
label?: string;
|
|
23
23
|
}
|
|
24
|
-
declare const
|
|
25
|
-
export declare const isReadableStreamSource: typeof isReadableStream;
|
|
24
|
+
export declare const isReadableStreamSource: (value: unknown) => value is Readable;
|
|
26
25
|
export declare const bufferFromBytes: (bytes: Uint8Array) => Buffer;
|
|
27
26
|
export declare const sniffBytes: (bytes: Uint8Array) => Promise<{
|
|
28
27
|
ext: string;
|
|
@@ -35,4 +34,3 @@ export declare const sniffFile: (path: string) => Promise<{
|
|
|
35
34
|
export declare const readBoundedBytes: (stream: Readable, maxBytes: number, label: string) => Promise<Buffer>;
|
|
36
35
|
export declare const readPathBounded: (path: string, maxBytes: number, label: string) => Promise<Buffer>;
|
|
37
36
|
export declare const normalizeMediaSource: (source: MediaSource | unknown, { label }?: NormalizedMediaSourceOptions) => Promise<NormalizedMediaSource>;
|
|
38
|
-
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kyyinfinite/zapo-message",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "WhatsApp message toolkit for ZapoJS: hybrid async + fluent builders (text, buttons, lists, media, stickers, polls, contacts, albums, reactions, forwards, location), AIRich rich responses, serialization and interactive parsing. Import once, use on any ZapoJS client.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "ISC",
|