@arrirpc/codegen-swift 0.60.2 → 0.60.3

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.cjs CHANGED
@@ -1208,7 +1208,8 @@ function swiftServiceFromSchema(schema, context) {
1208
1208
  continue;
1209
1209
  }
1210
1210
  }
1211
- return `public class ${serviceName} {
1211
+ return `@available(macOS 10.15, iOS 13, tvOS 13, macCatalyst 13, *)
1212
+ public class ${serviceName} {
1212
1213
  let baseURL: String
1213
1214
  let delegate: ArriRequestDelegate
1214
1215
  let headers: () -> Dictionary<String, String>
package/dist/index.mjs CHANGED
@@ -1202,7 +1202,8 @@ function swiftServiceFromSchema(schema, context) {
1202
1202
  continue;
1203
1203
  }
1204
1204
  }
1205
- return `public class ${serviceName} {
1205
+ return `@available(macOS 10.15, iOS 13, tvOS 13, macCatalyst 13, *)
1206
+ public class ${serviceName} {
1206
1207
  let baseURL: String
1207
1208
  let delegate: ArriRequestDelegate
1208
1209
  let headers: () -> Dictionary<String, String>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arrirpc/codegen-swift",
3
- "version": "0.60.2",
3
+ "version": "0.60.3",
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.60.2"
25
+ "@arrirpc/codegen-utils": "0.60.3"
26
26
  },
27
27
  "devDependencies": {}
28
28
  }