@arrirpc/codegen-kotlin 0.73.0 → 0.74.1

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.cjs CHANGED
@@ -1385,14 +1385,14 @@ function kotlinClientFromAppDefinition(def, options) {
1385
1385
  }
1386
1386
  }
1387
1387
  if (procedureParts.length === 0) {
1388
- return `${getHeader({ clientName, clientVersion: context.clientVersion, packageName: "" })}
1388
+ return `${getHeader({ clientName, clientVersion: context.clientVersion})}
1389
1389
  ${getUtilityClasses(clientName)}
1390
1390
 
1391
1391
  ${modelParts.join("\n\n")}
1392
1392
 
1393
1393
  ${getUtilityFunctions(clientName)}`;
1394
1394
  }
1395
- return `${getHeader({ clientName, clientVersion: context.clientVersion, packageName: "" })}
1395
+ return `${getHeader({ clientName, clientVersion: context.clientVersion})}
1396
1396
 
1397
1397
  class ${clientName}(
1398
1398
  private val httpClient: HttpClient,
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import fs from 'node:fs';
2
- import { removeDisallowedChars, camelCase, stringStartsWithNumber, pascalCase, isServiceDefinition, isRpcDefinition, defineGeneratorPlugin, unflattenProcedures, isSchemaFormType, isSchemaFormEnum, isSchemaFormProperties, isSchemaFormElements, isSchemaFormValues, isSchemaFormDiscriminator, isSchemaFormRef } from '@arrirpc/codegen-utils';
2
+ import { removeDisallowedChars, pascalCase, stringStartsWithNumber, camelCase, isServiceDefinition, isRpcDefinition, defineGeneratorPlugin, unflattenProcedures, isSchemaFormType, isSchemaFormEnum, isSchemaFormProperties, isSchemaFormElements, isSchemaFormValues, isSchemaFormDiscriminator, isSchemaFormRef } from '@arrirpc/codegen-utils';
3
3
 
4
4
  const reservedIdentifierKeywords = [
5
5
  "as",
@@ -1379,14 +1379,14 @@ function kotlinClientFromAppDefinition(def, options) {
1379
1379
  }
1380
1380
  }
1381
1381
  if (procedureParts.length === 0) {
1382
- return `${getHeader({ clientName, clientVersion: context.clientVersion, packageName: "" })}
1382
+ return `${getHeader({ clientName, clientVersion: context.clientVersion})}
1383
1383
  ${getUtilityClasses(clientName)}
1384
1384
 
1385
1385
  ${modelParts.join("\n\n")}
1386
1386
 
1387
1387
  ${getUtilityFunctions(clientName)}`;
1388
1388
  }
1389
- return `${getHeader({ clientName, clientVersion: context.clientVersion, packageName: "" })}
1389
+ return `${getHeader({ clientName, clientVersion: context.clientVersion})}
1390
1390
 
1391
1391
  class ${clientName}(
1392
1392
  private val httpClient: HttpClient,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arrirpc/codegen-kotlin",
3
- "version": "0.73.0",
3
+ "version": "0.74.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.73.0"
25
+ "@arrirpc/codegen-utils": "0.74.1"
26
26
  }
27
27
  }