@workos/oagen 0.26.1 → 0.28.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.
@@ -7890,6 +7890,14 @@ const LANGUAGE_DEFAULTS = {
7890
7890
  overloadsArePublicApi: false,
7891
7891
  arityIsPublicApi: true
7892
7892
  },
7893
+ ios: {
7894
+ callerUsesParamNames: true,
7895
+ constructorOrderMatters: true,
7896
+ methodParameterNamesArePublicApi: true,
7897
+ constructorParameterNamesArePublicApi: true,
7898
+ overloadsArePublicApi: true,
7899
+ arityIsPublicApi: false
7900
+ },
7893
7901
  node: {
7894
7902
  callerUsesParamNames: false,
7895
7903
  constructorOrderMatters: false,
@@ -7966,6 +7974,7 @@ function apiSurfaceToSnapshot(surface) {
7966
7974
  sourceKind: "generated_service_wrapper",
7967
7975
  parameters: method.params.map((p, i) => apiParamToCompatParam(p, i, language)),
7968
7976
  returns: { name: method.returnType },
7977
+ ...method.isStatic !== void 0 ? { isStatic: method.isStatic } : {},
7969
7978
  ...cls.sourceFile ? { sourceFile: cls.sourceFile } : {}
7970
7979
  });
7971
7980
  }
@@ -8258,7 +8267,8 @@ const BREAKING_CATEGORIES = new Set([
8258
8267
  "union_wrapper_migration_without_compat_alias",
8259
8268
  "field_type_changed",
8260
8269
  "return_type_changed",
8261
- "enum_member_value_changed"
8270
+ "enum_member_value_changed",
8271
+ "staticness_changed"
8262
8272
  ]);
8263
8273
  const SOFT_RISK_CATEGORIES = new Set([
8264
8274
  "parameter_added_non_terminal_optional",
@@ -8319,6 +8329,15 @@ function classifySymbolChanges(baseline, candidate, policy) {
8319
8329
  policy,
8320
8330
  specRef
8321
8331
  }));
8332
+ if (baseline.isStatic !== void 0 && candidate.isStatic !== void 0 && baseline.isStatic !== candidate.isStatic) changes.push(makeChange({
8333
+ category: "staticness_changed",
8334
+ symbol: baseline.fqName,
8335
+ old: { static: String(baseline.isStatic) },
8336
+ new: { static: String(candidate.isStatic) },
8337
+ message: `"${baseline.displayName}" changed from ${baseline.isStatic ? "static" : "instance"} to ${candidate.isStatic ? "static" : "instance"} — call sites must migrate`,
8338
+ policy,
8339
+ specRef
8340
+ }));
8322
8341
  if (baseline.typeRef && candidate.typeRef && baseline.typeRef.name !== candidate.typeRef.name) changes.push(makeChange({
8323
8342
  category: "field_type_changed",
8324
8343
  symbol: baseline.fqName,