@arrirpc/codegen-swift 0.65.1 → 0.66.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.cjs CHANGED
@@ -1387,11 +1387,11 @@ function swiftRefFromSchema(schema, context) {
1387
1387
  const swiftClientGenerator = codegenUtils.defineGeneratorPlugin(
1388
1388
  (options) => {
1389
1389
  return {
1390
- async generator(def, _isDevServer) {
1390
+ options,
1391
+ async run(def, _isDevServer) {
1391
1392
  const content = createSwiftClient(def, options);
1392
1393
  fs__default.writeFileSync(options.outputFile, content, "utf8");
1393
- },
1394
- options
1394
+ }
1395
1395
  };
1396
1396
  }
1397
1397
  );
package/dist/index.mjs CHANGED
@@ -1381,11 +1381,11 @@ function swiftRefFromSchema(schema, context) {
1381
1381
  const swiftClientGenerator = defineGeneratorPlugin(
1382
1382
  (options) => {
1383
1383
  return {
1384
- async generator(def, _isDevServer) {
1384
+ options,
1385
+ async run(def, _isDevServer) {
1385
1386
  const content = createSwiftClient(def, options);
1386
1387
  fs.writeFileSync(options.outputFile, content, "utf8");
1387
- },
1388
- options
1388
+ }
1389
1389
  };
1390
1390
  }
1391
1391
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arrirpc/codegen-swift",
3
- "version": "0.65.1",
3
+ "version": "0.66.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -22,7 +22,7 @@
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
  "devDependencies": {}
28
28
  }