@arrirpc/codegen-rust 0.65.2 → 0.67.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.cjs CHANGED
@@ -1830,7 +1830,8 @@ function rustRefFromSchema(schema, context) {
1830
1830
  const rustClientGenerator = codegenUtils.defineGeneratorPlugin(
1831
1831
  (options) => {
1832
1832
  return {
1833
- generator(def) {
1833
+ options,
1834
+ run(def) {
1834
1835
  const context = {
1835
1836
  clientVersion: def.info?.version ?? "",
1836
1837
  clientName: options.clientName ?? "Client",
@@ -1854,8 +1855,7 @@ const rustClientGenerator = codegenUtils.defineGeneratorPlugin(
1854
1855
  console.error(`Error formatting`, err);
1855
1856
  }
1856
1857
  }
1857
- },
1858
- options
1858
+ }
1859
1859
  };
1860
1860
  }
1861
1861
  );
package/dist/index.mjs CHANGED
@@ -1822,7 +1822,8 @@ function rustRefFromSchema(schema, context) {
1822
1822
  const rustClientGenerator = defineGeneratorPlugin(
1823
1823
  (options) => {
1824
1824
  return {
1825
- generator(def) {
1825
+ options,
1826
+ run(def) {
1826
1827
  const context = {
1827
1828
  clientVersion: def.info?.version ?? "",
1828
1829
  clientName: options.clientName ?? "Client",
@@ -1846,8 +1847,7 @@ const rustClientGenerator = defineGeneratorPlugin(
1846
1847
  console.error(`Error formatting`, err);
1847
1848
  }
1848
1849
  }
1849
- },
1850
- options
1850
+ }
1851
1851
  };
1852
1852
  }
1853
1853
  );
package/package.json CHANGED
@@ -22,8 +22,8 @@
22
22
  ],
23
23
  "dependencies": {
24
24
  "pathe": "^1.1.2",
25
- "@arrirpc/codegen-utils": "0.65.2"
25
+ "@arrirpc/codegen-utils": "0.67.0"
26
26
  },
27
27
  "devDependencies": {},
28
- "version": "0.65.2"
28
+ "version": "0.67.0"
29
29
  }