@arrirpc/codegen-swift 0.72.0 → 0.74.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
@@ -722,7 +722,7 @@ function swiftEnumFromSchema(schema, context) {
722
722
  const prefixedTypeName = `${context.typePrefix}${typeName}`;
723
723
  const defaultValue = isNullable ? "" : `${prefixedTypeName}.${defaultEnumValue}`;
724
724
  const result = {
725
- typeName: isNullable ? `${typeName}?` : typeName,
725
+ typeName: isNullable ? `${prefixedTypeName}?` : prefixedTypeName,
726
726
  isNullable,
727
727
  defaultValue,
728
728
  canBeQueryString: true,
package/dist/index.mjs CHANGED
@@ -716,7 +716,7 @@ function swiftEnumFromSchema(schema, context) {
716
716
  const prefixedTypeName = `${context.typePrefix}${typeName}`;
717
717
  const defaultValue = isNullable ? "" : `${prefixedTypeName}.${defaultEnumValue}`;
718
718
  const result = {
719
- typeName: isNullable ? `${typeName}?` : typeName,
719
+ typeName: isNullable ? `${prefixedTypeName}?` : prefixedTypeName,
720
720
  isNullable,
721
721
  defaultValue,
722
722
  canBeQueryString: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arrirpc/codegen-swift",
3
- "version": "0.72.0",
3
+ "version": "0.74.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.72.0"
25
+ "@arrirpc/codegen-utils": "0.74.0"
26
26
  },
27
27
  "devDependencies": {}
28
28
  }