@unito/integration-cli 0.62.5 → 0.62.6

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.
@@ -165,15 +165,16 @@ class Publish extends baseCommand_1.BaseCommand {
165
165
  }
166
166
  if (integration) {
167
167
  core_1.ux.action.start('Integration found. Updating', undefined, { stdout: true });
168
+ const configurationPayload = {
169
+ ...integrationConfiguration,
170
+ };
168
171
  if (integration.archivedAt) {
169
172
  core_1.ux.action.start(`Integration previously archived on ${integration.archivedAt}. Un-archiving`, undefined, {
170
173
  stdout: true,
171
174
  });
175
+ configurationPayload.archived = false;
172
176
  }
173
- updated = await IntegrationsPlatform.updateIntegration(integration.id, {
174
- ...integrationConfiguration,
175
- archived: false,
176
- });
177
+ updated = await IntegrationsPlatform.updateIntegration(integration.id, configurationPayload);
177
178
  }
178
179
  else {
179
180
  core_1.ux.action.start('Integration not found. Creating', undefined, { stdout: true });
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.62.5",
2
+ "version": "0.62.6",
3
3
  "commands": {
4
4
  "activity": {
5
5
  "id": "activity",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unito/integration-cli",
3
- "version": "0.62.5",
3
+ "version": "0.62.6",
4
4
  "description": "Integration CLI",
5
5
  "bin": {
6
6
  "integration-cli": "./bin/run"