@connxio/cli 0.1.2-beta.2 → 0.1.3

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.
package/dist/index.mjs CHANGED
@@ -11222,7 +11222,7 @@ function updateNotifier(options) {
11222
11222
  //#endregion
11223
11223
  //#region packages/cli/package.json
11224
11224
  var name = "@connxio/cli";
11225
- var version$1 = "0.1.2-beta.2";
11225
+ var version$1 = "0.1.3";
11226
11226
  var package_default = {
11227
11227
  name,
11228
11228
  version: version$1,
@@ -32664,7 +32664,7 @@ async function updateComponentInIntegration(client, input) {
32664
32664
  if (!isRecord(integration)) throw new Error(`Integration ${integrationId} was not found.`);
32665
32665
  const existingComponent = await findCodeComponentByName(client, componentName);
32666
32666
  const nextIntegration = JSON.parse(JSON.stringify(integration));
32667
- if (!replaceComponentVersion(nextIntegration, [existingComponent?.id, componentName].filter((value) => Boolean(value)), oldVersion, newVersion, { newSasUri: existingComponent?.sasUri ?? void 0 })) return {
32667
+ if (!replaceComponentVersion(nextIntegration, [existingComponent?.id, componentName].filter((value) => Boolean(value)), oldVersion, newVersion, existingComponent?.sasUri ? { newSasUri: existingComponent.sasUri } : {})) return {
32668
32668
  componentId: existingComponent?.id ?? null,
32669
32669
  componentName,
32670
32670
  integrationId,