@stacksjs/api 0.75.538 → 0.75.541

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/fetcher.d.ts CHANGED
@@ -1,28 +1,5 @@
1
1
  import type { BodyData, FetcherResponse, QueryParams } from './types';
2
2
  export declare const fetcher: Fetcher;
3
- declare class FetcherResponseImpl<T> implements FetcherResponse<T> {
4
- public data: T;
5
- public status: number;
6
- public headers: Headers;
7
- public isOk: boolean;
8
- constructor(data: T, status: number, headers: Headers, isOk: boolean);
9
- ok(): boolean;
10
- created(): boolean;
11
- accepted(): boolean;
12
- noContent(): boolean;
13
- movedPermanently(): boolean;
14
- found(): boolean;
15
- badRequest(): boolean;
16
- unauthorized(): boolean;
17
- paymentRequired(): boolean;
18
- forbidden(): boolean;
19
- notFound(): boolean;
20
- requestTimeout(): boolean;
21
- conflict(): boolean;
22
- unprocessableEntity(): boolean;
23
- tooManyRequests(): boolean;
24
- serverError(): boolean;
25
- }
26
3
  declare class Fetcher {
27
4
  private defaultHeaders;
28
5
  private queryParams;
@@ -38,7 +38,7 @@ declare type Request = Record<string, unknown>;
38
38
  * Wrapper value types for conditional inclusion
39
39
  */
40
40
  export declare class MissingValue {
41
- static instance: unknown;
41
+ static instance: MissingValue;
42
42
  isMissing(): boolean;
43
43
  }
44
44
  export declare class MergeValue {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@stacksjs/api",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "0.75.538",
5
+ "version": "0.75.541",
6
6
  "description": "The Stacks API utilities.",
7
7
  "author": "Chris Breuer",
8
8
  "contributors": [
@@ -61,17 +61,17 @@
61
61
  "prepublishOnly": "bun run build"
62
62
  },
63
63
  "dependencies": {
64
- "@stacksjs/config": "0.75.538",
65
- "@stacksjs/path": "0.75.538",
66
- "@stacksjs/pagination": "0.75.538",
64
+ "@stacksjs/config": "0.75.541",
65
+ "@stacksjs/path": "0.75.541",
66
+ "@stacksjs/pagination": "0.75.541",
67
67
  "hash-wasm": "^4.12.0"
68
68
  },
69
69
  "devDependencies": {
70
- "@stacksjs/utils": "0.75.538",
70
+ "@stacksjs/utils": "0.75.541",
71
71
  "better-dx": "^0.2.24"
72
72
  },
73
73
  "peerDependencies": {
74
- "@stacksjs/router": "0.75.538"
74
+ "@stacksjs/router": "0.75.541"
75
75
  },
76
76
  "peerDependenciesMeta": {
77
77
  "@stacksjs/router": {