@arrirpc/codegen-rust 0.69.1 → 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
@@ -298,8 +298,7 @@ function rustTaggedUnionFromSchema(schema, context) {
298
298
  discriminatorKey,
299
299
  discriminatorValue
300
300
  });
301
- if (keyType.content)
302
- subTypeContent.push(keyType.content);
301
+ if (keyType.content) subTypeContent.push(keyType.content);
303
302
  const keyName = validRustIdentifier(key);
304
303
  subType.properties.push({
305
304
  name: keyName,
@@ -345,8 +344,7 @@ function rustTaggedUnionFromSchema(schema, context) {
345
344
  discriminatorKey,
346
345
  discriminatorValue
347
346
  });
348
- if (keyType.content)
349
- subTypeContent.push(keyType.content);
347
+ if (keyType.content) subTypeContent.push(keyType.content);
350
348
  const keyName = validRustIdentifier(key);
351
349
  subType.properties.push({
352
350
  name: keyName,
package/dist/index.mjs CHANGED
@@ -290,8 +290,7 @@ function rustTaggedUnionFromSchema(schema, context) {
290
290
  discriminatorKey,
291
291
  discriminatorValue
292
292
  });
293
- if (keyType.content)
294
- subTypeContent.push(keyType.content);
293
+ if (keyType.content) subTypeContent.push(keyType.content);
295
294
  const keyName = validRustIdentifier(key);
296
295
  subType.properties.push({
297
296
  name: keyName,
@@ -337,8 +336,7 @@ function rustTaggedUnionFromSchema(schema, context) {
337
336
  discriminatorKey,
338
337
  discriminatorValue
339
338
  });
340
- if (keyType.content)
341
- subTypeContent.push(keyType.content);
339
+ if (keyType.content) subTypeContent.push(keyType.content);
342
340
  const keyName = validRustIdentifier(key);
343
341
  subType.properties.push({
344
342
  name: keyName,
package/package.json CHANGED
@@ -22,8 +22,8 @@
22
22
  ],
23
23
  "dependencies": {
24
24
  "pathe": "^1.1.2",
25
- "@arrirpc/codegen-utils": "0.69.1"
25
+ "@arrirpc/codegen-utils": "0.70.1"
26
26
  },
27
27
  "devDependencies": {},
28
- "version": "0.69.1"
28
+ "version": "0.70.1"
29
29
  }