@layr-labs/ecloud-sdk 0.4.2 → 0.4.3-dev

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.cjs CHANGED
@@ -853,13 +853,13 @@ async function buildAndPushLayeredImage(options, logger) {
853
853
  async function layerRemoteImageIfNeeded(options, logger) {
854
854
  const { imageRef, logRedirect, resourceUsageAllow, envFilePath, environmentConfig } = options;
855
855
  const docker = new import_dockerode.default();
856
+ logger.info(`Pulling image ${imageRef}...`);
857
+ await pullDockerImage(docker, imageRef, DOCKER_PLATFORM, logger);
856
858
  const alreadyLayered = await checkIfImageAlreadyLayeredForECloud(docker, imageRef);
857
859
  if (alreadyLayered) {
858
860
  logger.info("Image already has ecloud layering");
859
861
  return imageRef;
860
862
  }
861
- logger.info(`Pulling image ${imageRef}...`);
862
- await pullDockerImage(docker, imageRef, DOCKER_PLATFORM, logger);
863
863
  const targetImageRef = `${imageRef}-layered`;
864
864
  logger.info(`Adding ecloud components to create ${targetImageRef} from ${imageRef}...`);
865
865
  const layeredImageRef = await layerLocalImage(
@@ -4986,7 +4986,7 @@ var CanViewAppLogsPermission = "0x2fd3f2fe";
4986
4986
  var CanViewSensitiveAppInfoPermission = "0x0e67b22f";
4987
4987
  var CanUpdateAppProfilePermission = "0x036fef61";
4988
4988
  function getDefaultClientId() {
4989
- const version = true ? "0.4.2" : "0.0.0";
4989
+ const version = true ? "0.4.3-dev" : "0.0.0";
4990
4990
  return `ecloud-sdk/v${version}`;
4991
4991
  }
4992
4992
  var UserApiClient = class {
@@ -5834,7 +5834,7 @@ function getBillingEnvironmentConfig(build) {
5834
5834
  return config;
5835
5835
  }
5836
5836
  function getBuildType() {
5837
- const buildTimeType = true ? "prod"?.toLowerCase() : void 0;
5837
+ const buildTimeType = true ? "dev"?.toLowerCase() : void 0;
5838
5838
  const runtimeType = process.env.BUILD_TYPE?.toLowerCase();
5839
5839
  const buildType = buildTimeType || runtimeType;
5840
5840
  if (buildType === "dev") {