@arrirpc/codegen-kotlin 0.65.1 → 0.66.0

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
@@ -1286,11 +1286,11 @@ function kotlinRefFromSchema(schema, context) {
1286
1286
  const kotlinClientGenerator = codegenUtils.defineGeneratorPlugin(
1287
1287
  (options) => {
1288
1288
  return {
1289
- generator(def) {
1289
+ options,
1290
+ run(def) {
1290
1291
  const client = kotlinClientFromAppDefinition(def, options);
1291
1292
  fs__default.writeFileSync(options.outputFile, client);
1292
- },
1293
- options
1293
+ }
1294
1294
  };
1295
1295
  }
1296
1296
  );
package/dist/index.mjs CHANGED
@@ -1280,11 +1280,11 @@ function kotlinRefFromSchema(schema, context) {
1280
1280
  const kotlinClientGenerator = defineGeneratorPlugin(
1281
1281
  (options) => {
1282
1282
  return {
1283
- generator(def) {
1283
+ options,
1284
+ run(def) {
1284
1285
  const client = kotlinClientFromAppDefinition(def, options);
1285
1286
  fs.writeFileSync(options.outputFile, client);
1286
- },
1287
- options
1287
+ }
1288
1288
  };
1289
1289
  }
1290
1290
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arrirpc/codegen-kotlin",
3
- "version": "0.65.1",
3
+ "version": "0.66.0",
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.65.1"
25
+ "@arrirpc/codegen-utils": "0.66.0"
26
26
  }
27
27
  }