@layr-labs/ecloud-sdk 0.4.0 → 0.4.1-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.
@@ -1,5 +1,5 @@
1
1
  import { Address, WalletClient, PublicClient, Hex } from 'viem';
2
- import { ad as Logger, a8 as EnvironmentConfig, Q as DeployAppOpts, A as AppId, R as UpgradeAppOpts, T as PrepareDeployOpts, a1 as PreparedDeploy, G as GasEstimate, W as PrepareDeployFromVerifiableBuildOpts, Z as ExecuteDeployResult, V as PrepareUpgradeOpts, a2 as PreparedUpgrade, X as PrepareUpgradeFromVerifiableBuildOpts, _ as ExecuteUpgradeResult, ae as AppProfile, af as AppProfileResponse, a3 as LifecycleOpts, y as AppConfig } from './index-BEbhrwWl.js';
2
+ import { ad as Logger, a8 as EnvironmentConfig, Q as DeployAppOpts, A as AppId, R as UpgradeAppOpts, T as PrepareDeployOpts, a1 as PreparedDeploy, G as GasEstimate, W as PrepareDeployFromVerifiableBuildOpts, Z as ExecuteDeployResult, V as PrepareUpgradeOpts, a2 as PreparedUpgrade, X as PrepareUpgradeFromVerifiableBuildOpts, _ as ExecuteUpgradeResult, ae as AppProfile, af as AppProfileResponse, a3 as LifecycleOpts, y as AppConfig } from './index-0GwdZDmQ.js';
3
3
 
4
4
  /**
5
5
  * Create command
@@ -1,5 +1,5 @@
1
1
  import { Address, WalletClient, PublicClient, Hex } from 'viem';
2
- import { ad as Logger, a8 as EnvironmentConfig, Q as DeployAppOpts, A as AppId, R as UpgradeAppOpts, T as PrepareDeployOpts, a1 as PreparedDeploy, G as GasEstimate, W as PrepareDeployFromVerifiableBuildOpts, Z as ExecuteDeployResult, V as PrepareUpgradeOpts, a2 as PreparedUpgrade, X as PrepareUpgradeFromVerifiableBuildOpts, _ as ExecuteUpgradeResult, ae as AppProfile, af as AppProfileResponse, a3 as LifecycleOpts, y as AppConfig } from './index-BEbhrwWl.cjs';
2
+ import { ad as Logger, a8 as EnvironmentConfig, Q as DeployAppOpts, A as AppId, R as UpgradeAppOpts, T as PrepareDeployOpts, a1 as PreparedDeploy, G as GasEstimate, W as PrepareDeployFromVerifiableBuildOpts, Z as ExecuteDeployResult, V as PrepareUpgradeOpts, a2 as PreparedUpgrade, X as PrepareUpgradeFromVerifiableBuildOpts, _ as ExecuteUpgradeResult, ae as AppProfile, af as AppProfileResponse, a3 as LifecycleOpts, y as AppConfig } from './index-0GwdZDmQ.cjs';
3
3
 
4
4
  /**
5
5
  * Create command
package/dist/compute.cjs CHANGED
@@ -2487,6 +2487,9 @@ async function executeBatch(options, logger = noopLogger) {
2487
2487
  if (gas?.maxPriorityFeePerGas) {
2488
2488
  txRequest.maxPriorityFeePerGas = gas.maxPriorityFeePerGas;
2489
2489
  }
2490
+ if (gas?.nonce != null) {
2491
+ txRequest.nonce = gas.nonce;
2492
+ }
2490
2493
  const hash = await walletClient.sendTransaction(txRequest);
2491
2494
  logger.info(`Transaction sent: ${hash}`);
2492
2495
  const receipt = await waitForReceipt(publicClient, hash, logger);
@@ -4495,6 +4498,7 @@ ${pendingMessage}`);
4495
4498
  ...gas?.maxPriorityFeePerGas && {
4496
4499
  maxPriorityFeePerGas: gas.maxPriorityFeePerGas
4497
4500
  },
4501
+ ...gas?.nonce != null && { nonce: gas.nonce },
4498
4502
  chain
4499
4503
  });
4500
4504
  logger.info(`Transaction sent: ${hash}`);
@@ -4725,7 +4729,7 @@ var CanViewAppLogsPermission = "0x2fd3f2fe";
4725
4729
  var CanViewSensitiveAppInfoPermission = "0x0e67b22f";
4726
4730
  var CanUpdateAppProfilePermission = "0x036fef61";
4727
4731
  function getDefaultClientId() {
4728
- const version = true ? "0.4.0" : "0.0.0";
4732
+ const version = true ? "0.4.1-dev" : "0.0.0";
4729
4733
  return `ecloud-sdk/v${version}`;
4730
4734
  }
4731
4735
  var UserApiClient = class {
@@ -5347,7 +5351,7 @@ function getEnvironmentConfig(environment, chainID) {
5347
5351
  };
5348
5352
  }
5349
5353
  function getBuildType() {
5350
- const buildTimeType = true ? "prod"?.toLowerCase() : void 0;
5354
+ const buildTimeType = true ? "dev"?.toLowerCase() : void 0;
5351
5355
  const runtimeType = process.env.BUILD_TYPE?.toLowerCase();
5352
5356
  const buildType = buildTimeType || runtimeType;
5353
5357
  if (buildType === "dev") {