mezon-js 2.15.19 → 2.15.21
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 +244 -244
- package/dist/client.d.ts +119 -177
- package/dist/index.d.ts +1 -6
- package/dist/mezon-js.cjs.js +1 -1
- package/dist/mezon-js.esm.mjs +1 -1
- package/dist/mezon-js.iife.js +1 -1
- package/dist/mezon-js.umd.js +1 -1
- package/dist/mezon-js.umd.js.map +1 -1
- package/dist/transport.d.ts +513 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{api.gen.d.ts → types.d.ts} +1188 -426
- package/package.json +71 -71
- package/dist/api.d.ts +0 -2604
- package/dist/config.d.ts +0 -13
- package/dist/socket.d.ts +0 -1194
package/dist/config.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
type Fetcher = typeof fetch;
|
|
2
|
-
/**
|
|
3
|
-
* Set a custom fetch strategy for mezon-js API calls
|
|
4
|
-
* @param customFetcher - A fetch-compatible function
|
|
5
|
-
*/
|
|
6
|
-
export declare const setFetchStrategy: (customFetcher: Fetcher) => void;
|
|
7
|
-
export declare const resetFetchStrategy: () => void;
|
|
8
|
-
/**
|
|
9
|
-
* Get the current fetch strategy
|
|
10
|
-
* @returns The current fetcher function
|
|
11
|
-
*/
|
|
12
|
-
export declare const getFetcher: () => Fetcher;
|
|
13
|
-
export {};
|