@arrirpc/codegen-kotlin 0.69.2 → 0.70.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
@@ -103,8 +103,7 @@ function isNullable(schema, context) {
103
103
  return schema.nullable === true || context.isOptional === true;
104
104
  }
105
105
  function getCodeComment(metadata, prefix, valueField) {
106
- if (!metadata?.description && !metadata?.isDeprecated)
107
- return "";
106
+ if (!metadata?.description && !metadata?.isDeprecated) return "";
108
107
  const descriptionPart = metadata.description?.split("\n").map((line) => `${prefix ?? ""}* ${line}`).join("\n");
109
108
  const finalDescription = metadata.description ? `${prefix ?? ""}/**
110
109
  ${descriptionPart}${prefix ?? ""}
package/dist/index.mjs CHANGED
@@ -97,8 +97,7 @@ function isNullable(schema, context) {
97
97
  return schema.nullable === true || context.isOptional === true;
98
98
  }
99
99
  function getCodeComment(metadata, prefix, valueField) {
100
- if (!metadata?.description && !metadata?.isDeprecated)
101
- return "";
100
+ if (!metadata?.description && !metadata?.isDeprecated) return "";
102
101
  const descriptionPart = metadata.description?.split("\n").map((line) => `${prefix ?? ""}* ${line}`).join("\n");
103
102
  const finalDescription = metadata.description ? `${prefix ?? ""}/**
104
103
  ${descriptionPart}${prefix ?? ""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arrirpc/codegen-kotlin",
3
- "version": "0.69.2",
3
+ "version": "0.70.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.69.2"
25
+ "@arrirpc/codegen-utils": "0.70.1"
26
26
  }
27
27
  }