@arrirpc/codegen-kotlin 0.70.1 → 0.71.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +2 -2
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}`) :
|
1132
|
-
const response = schema.response ? kotlinClassName(`${context.typePrefix}_${schema.response}`) :
|
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}`) :
|
1126
|
-
const response = schema.response ? kotlinClassName(`${context.typePrefix}_${schema.response}`) :
|
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.
|
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.
|
25
|
+
"@arrirpc/codegen-utils": "0.71.1"
|
26
26
|
}
|
27
27
|
}
|