windmill-components 1.82.10 → 1.82.11

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.
Files changed (2) hide show
  1. package/infer.js +3 -1
  2. package/package.json +1 -1
package/infer.js CHANGED
@@ -122,12 +122,14 @@ function argSigToJsonSchemaType(t, oldS) {
122
122
  }
123
123
  if (oldS.type != newS.type) {
124
124
  for (const prop of Object.getOwnPropertyNames(newS)) {
125
- if (prop != "description") {
125
+ if (prop != 'description') {
126
126
  delete oldS[prop];
127
127
  }
128
128
  }
129
129
  }
130
+ let oldDescription = oldS.description;
130
131
  Object.assign(oldS, newS);
132
+ oldS.description = oldDescription;
131
133
  if (oldS.format?.startsWith('resource-') && newS.type != 'object') {
132
134
  oldS.format = undefined;
133
135
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windmill-components",
3
- "version": "1.82.10",
3
+ "version": "1.82.11",
4
4
  "devDependencies": {
5
5
  "@playwright/test": "^1.31.1",
6
6
  "@sveltejs/adapter-static": "^1.0.0",