@arrirpc/codegen-utils 0.54.0 → 0.55.0

Sign up to get free protection for your applications and to get access to all the features.
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.54.0",
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
- "jtd-utils": "0.54.0",
27
- "@arrirpc/schema": "0.54.0"
26
+ "@arrirpc/schema": "0.55.0",
27
+ "jtd-utils": "0.55.0"
28
28
  }
29
29
  }