@arrirpc/codegen-utils 0.53.2 → 0.55.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/index.d.cts CHANGED
@@ -5,7 +5,7 @@ export * from 'scule';
5
5
  declare const HttpMethodValues: readonly ["get", "post", "put", "patch", "delete", "head"];
6
6
  type HttpMethod = (typeof HttpMethodValues)[number];
7
7
  type RpcHttpMethod = Exclude<HttpMethod, "head">;
8
- declare const isHttpMethod: (input: any) => input is "get" | "post" | "put" | "patch" | "delete" | "head";
8
+ declare const isHttpMethod: (input: any) => input is HttpMethod;
9
9
  declare const isRpcHttpMethod: (input: any) => input is RpcHttpMethod;
10
10
  declare const SCHEMA_VERSION = "0.0.6";
11
11
  interface AppDefinition {
package/dist/index.d.mts CHANGED
@@ -5,7 +5,7 @@ export * from 'scule';
5
5
  declare const HttpMethodValues: readonly ["get", "post", "put", "patch", "delete", "head"];
6
6
  type HttpMethod = (typeof HttpMethodValues)[number];
7
7
  type RpcHttpMethod = Exclude<HttpMethod, "head">;
8
- declare const isHttpMethod: (input: any) => input is "get" | "post" | "put" | "patch" | "delete" | "head";
8
+ declare const isHttpMethod: (input: any) => input is HttpMethod;
9
9
  declare const isRpcHttpMethod: (input: any) => input is RpcHttpMethod;
10
10
  declare const SCHEMA_VERSION = "0.0.6";
11
11
  interface AppDefinition {
package/dist/index.d.ts CHANGED
@@ -5,7 +5,7 @@ export * from 'scule';
5
5
  declare const HttpMethodValues: readonly ["get", "post", "put", "patch", "delete", "head"];
6
6
  type HttpMethod = (typeof HttpMethodValues)[number];
7
7
  type RpcHttpMethod = Exclude<HttpMethod, "head">;
8
- declare const isHttpMethod: (input: any) => input is "get" | "post" | "put" | "patch" | "delete" | "head";
8
+ declare const isHttpMethod: (input: any) => input is HttpMethod;
9
9
  declare const isRpcHttpMethod: (input: any) => input is RpcHttpMethod;
10
10
  declare const SCHEMA_VERSION = "0.0.6";
11
11
  interface AppDefinition {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arrirpc/codegen-utils",
3
- "version": "0.53.2",
3
+ "version": "0.55.0",
4
4
  "license": "MIT",
5
5
  "author": {
6
6
  "name": "joshmossas",
@@ -23,7 +23,7 @@
23
23
  ],
24
24
  "dependencies": {
25
25
  "scule": "^1.3.0",
26
- "@arrirpc/schema": "0.53.2",
27
- "jtd-utils": "0.53.2"
26
+ "@arrirpc/schema": "0.55.0",
27
+ "jtd-utils": "0.55.0"
28
28
  }
29
29
  }