quicktype-core 23.0.86 → 23.0.87

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.
@@ -692,7 +692,7 @@ class SwiftRenderer extends ConvenienceRenderer_1.ConvenienceRenderer {
692
692
  if (this._options.protocol.equatable) {
693
693
  protocols.push("Equatable");
694
694
  }
695
- if (this._options.sendable && !this._options.mutableProperties && !this._options.objcSupport) {
695
+ if (this._options.sendable && (!this._options.mutableProperties || !isClass) && !this._options.objcSupport) {
696
696
  protocols.push("Sendable");
697
697
  }
698
698
  return protocols;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quicktype-core",
3
- "version": "23.0.86",
3
+ "version": "23.0.87",
4
4
  "description": "The quicktype engine as a library",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",