@arrirpc/codegen-kotlin 0.70.1 → 0.71.1

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.cjs CHANGED
@@ -1128,8 +1128,8 @@ function kotlinProcedureFromSchema(schema, context) {
1128
1128
  }
1129
1129
  function kotlinHttpRpcFromSchema(schema, context) {
1130
1130
  const name = getProcedureName(context);
1131
- const params = schema.params ? kotlinClassName(`${context.typePrefix}_${schema.params}`) : void 0;
1132
- const response = schema.response ? kotlinClassName(`${context.typePrefix}_${schema.response}`) : void 0;
1131
+ const params = schema.params ? kotlinClassName(`${context.typePrefix}_${schema.params}`) : undefined;
1132
+ const response = schema.response ? kotlinClassName(`${context.typePrefix}_${schema.response}`) : undefined;
1133
1133
  const codeComment = getCodeComment(
1134
1134
  {
1135
1135
  description: schema.description,
package/dist/index.mjs CHANGED
@@ -1122,8 +1122,8 @@ function kotlinProcedureFromSchema(schema, context) {
1122
1122
  }
1123
1123
  function kotlinHttpRpcFromSchema(schema, context) {
1124
1124
  const name = getProcedureName(context);
1125
- const params = schema.params ? kotlinClassName(`${context.typePrefix}_${schema.params}`) : void 0;
1126
- const response = schema.response ? kotlinClassName(`${context.typePrefix}_${schema.response}`) : void 0;
1125
+ const params = schema.params ? kotlinClassName(`${context.typePrefix}_${schema.params}`) : undefined;
1126
+ const response = schema.response ? kotlinClassName(`${context.typePrefix}_${schema.response}`) : undefined;
1127
1127
  const codeComment = getCodeComment(
1128
1128
  {
1129
1129
  description: schema.description,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arrirpc/codegen-kotlin",
3
- "version": "0.70.1",
3
+ "version": "0.71.1",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -22,6 +22,6 @@
22
22
  "dist"
23
23
  ],
24
24
  "dependencies": {
25
- "@arrirpc/codegen-utils": "0.70.1"
25
+ "@arrirpc/codegen-utils": "0.71.1"
26
26
  }
27
27
  }