@arrirpc/codegen-utils 0.57.6 → 0.58.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.cjs CHANGED
@@ -20,7 +20,7 @@ const isHttpMethod = (input) => {
20
20
  const isRpcHttpMethod = (input) => {
21
21
  return isHttpMethod(input) && input !== "head";
22
22
  };
23
- const SCHEMA_VERSION = "0.0.6";
23
+ const SCHEMA_VERSION = "0.0.7";
24
24
  function isAppDefinition(input) {
25
25
  if (typeof input !== "object") {
26
26
  return false;
@@ -165,7 +165,7 @@ function createAppDefinition(input) {
165
165
  };
166
166
  }
167
167
  const result = {
168
- schemaVersion: "0.0.6",
168
+ schemaVersion: "0.0.7",
169
169
  ...input,
170
170
  procedures,
171
171
  definitions
package/dist/index.d.cts CHANGED
@@ -7,7 +7,7 @@ type HttpMethod = (typeof HttpMethodValues)[number];
7
7
  type RpcHttpMethod = Exclude<HttpMethod, "head">;
8
8
  declare const isHttpMethod: (input: any) => input is HttpMethod;
9
9
  declare const isRpcHttpMethod: (input: any) => input is RpcHttpMethod;
10
- declare const SCHEMA_VERSION = "0.0.6";
10
+ declare const SCHEMA_VERSION = "0.0.7";
11
11
  interface AppDefinition {
12
12
  schemaVersion: typeof SCHEMA_VERSION;
13
13
  info?: {
package/dist/index.d.mts CHANGED
@@ -7,7 +7,7 @@ type HttpMethod = (typeof HttpMethodValues)[number];
7
7
  type RpcHttpMethod = Exclude<HttpMethod, "head">;
8
8
  declare const isHttpMethod: (input: any) => input is HttpMethod;
9
9
  declare const isRpcHttpMethod: (input: any) => input is RpcHttpMethod;
10
- declare const SCHEMA_VERSION = "0.0.6";
10
+ declare const SCHEMA_VERSION = "0.0.7";
11
11
  interface AppDefinition {
12
12
  schemaVersion: typeof SCHEMA_VERSION;
13
13
  info?: {
package/dist/index.d.ts CHANGED
@@ -7,7 +7,7 @@ type HttpMethod = (typeof HttpMethodValues)[number];
7
7
  type RpcHttpMethod = Exclude<HttpMethod, "head">;
8
8
  declare const isHttpMethod: (input: any) => input is HttpMethod;
9
9
  declare const isRpcHttpMethod: (input: any) => input is RpcHttpMethod;
10
- declare const SCHEMA_VERSION = "0.0.6";
10
+ declare const SCHEMA_VERSION = "0.0.7";
11
11
  interface AppDefinition {
12
12
  schemaVersion: typeof SCHEMA_VERSION;
13
13
  info?: {
package/dist/index.mjs CHANGED
@@ -19,7 +19,7 @@ const isHttpMethod = (input) => {
19
19
  const isRpcHttpMethod = (input) => {
20
20
  return isHttpMethod(input) && input !== "head";
21
21
  };
22
- const SCHEMA_VERSION = "0.0.6";
22
+ const SCHEMA_VERSION = "0.0.7";
23
23
  function isAppDefinition(input) {
24
24
  if (typeof input !== "object") {
25
25
  return false;
@@ -164,7 +164,7 @@ function createAppDefinition(input) {
164
164
  };
165
165
  }
166
166
  const result = {
167
- schemaVersion: "0.0.6",
167
+ schemaVersion: "0.0.7",
168
168
  ...input,
169
169
  procedures,
170
170
  definitions
@@ -67,7 +67,7 @@ const TestUpdateUserParams = schema.a.pick(
67
67
  }
68
68
  );
69
69
  const TestAppDefinition = {
70
- schemaVersion: "0.0.6",
70
+ schemaVersion: "0.0.7",
71
71
  info: {
72
72
  title: "Test App Client",
73
73
  description: "This is a example app definition",
@@ -218,7 +218,7 @@ const ExampleRecursive = schema.a.recursive(
218
218
  { id: "ExampleRecursive" }
219
219
  );
220
220
  const ReferenceAppDefinition = {
221
- schemaVersion: "0.0.6",
221
+ schemaVersion: "0.0.7",
222
222
  procedures: {},
223
223
  definitions: {
224
224
  ExamplePayload,
@@ -65,7 +65,7 @@ const TestUpdateUserParams = a.pick(
65
65
  }
66
66
  );
67
67
  const TestAppDefinition = {
68
- schemaVersion: "0.0.6",
68
+ schemaVersion: "0.0.7",
69
69
  info: {
70
70
  title: "Test App Client",
71
71
  description: "This is a example app definition",
@@ -216,7 +216,7 @@ const ExampleRecursive = a.recursive(
216
216
  { id: "ExampleRecursive" }
217
217
  );
218
218
  const ReferenceAppDefinition = {
219
- schemaVersion: "0.0.6",
219
+ schemaVersion: "0.0.7",
220
220
  procedures: {},
221
221
  definitions: {
222
222
  ExamplePayload,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arrirpc/codegen-utils",
3
- "version": "0.57.6",
3
+ "version": "0.58.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.57.6",
27
- "jtd-utils": "0.57.6"
26
+ "jtd-utils": "0.58.0",
27
+ "@arrirpc/schema": "0.58.0"
28
28
  }
29
29
  }