@layr-labs/ecloud-sdk 0.4.0 → 0.4.1

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,3 +1,3 @@
1
- export { A as AppModule, j as AppModuleConfig, C as ComputeModule, d as ComputeModuleConfig, i as createAppModule, b as createComputeModule, e as encodeStartAppData, f as encodeStopAppData, h as encodeTerminateAppData } from './compute-BRDk7QM4.cjs';
1
+ export { A as AppModule, j as AppModuleConfig, C as ComputeModule, d as ComputeModuleConfig, i as createAppModule, b as createComputeModule, e as encodeStartAppData, f as encodeStopAppData, h as encodeTerminateAppData } from './compute-CGbWIlic.cjs';
2
2
  import 'viem';
3
- import './index-BEbhrwWl.cjs';
3
+ import './index-0GwdZDmQ.cjs';
package/dist/compute.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { A as AppModule, j as AppModuleConfig, C as ComputeModule, d as ComputeModuleConfig, i as createAppModule, b as createComputeModule, e as encodeStartAppData, f as encodeStopAppData, h as encodeTerminateAppData } from './compute-CC55YQ_a.js';
1
+ export { A as AppModule, j as AppModuleConfig, C as ComputeModule, d as ComputeModuleConfig, i as createAppModule, b as createComputeModule, e as encodeStartAppData, f as encodeStopAppData, h as encodeTerminateAppData } from './compute-BurtCz2l.js';
2
2
  import 'viem';
3
- import './index-BEbhrwWl.js';
3
+ import './index-0GwdZDmQ.js';
package/dist/compute.js CHANGED
@@ -2451,6 +2451,9 @@ async function executeBatch(options, logger = noopLogger) {
2451
2451
  if (gas?.maxPriorityFeePerGas) {
2452
2452
  txRequest.maxPriorityFeePerGas = gas.maxPriorityFeePerGas;
2453
2453
  }
2454
+ if (gas?.nonce != null) {
2455
+ txRequest.nonce = gas.nonce;
2456
+ }
2454
2457
  const hash = await walletClient.sendTransaction(txRequest);
2455
2458
  logger.info(`Transaction sent: ${hash}`);
2456
2459
  const receipt = await waitForReceipt(publicClient, hash, logger);
@@ -4459,6 +4462,7 @@ ${pendingMessage}`);
4459
4462
  ...gas?.maxPriorityFeePerGas && {
4460
4463
  maxPriorityFeePerGas: gas.maxPriorityFeePerGas
4461
4464
  },
4465
+ ...gas?.nonce != null && { nonce: gas.nonce },
4462
4466
  chain
4463
4467
  });
4464
4468
  logger.info(`Transaction sent: ${hash}`);
@@ -4689,7 +4693,7 @@ var CanViewAppLogsPermission = "0x2fd3f2fe";
4689
4693
  var CanViewSensitiveAppInfoPermission = "0x0e67b22f";
4690
4694
  var CanUpdateAppProfilePermission = "0x036fef61";
4691
4695
  function getDefaultClientId() {
4692
- const version = true ? "0.4.0" : "0.0.0";
4696
+ const version = true ? "0.4.1" : "0.0.0";
4693
4697
  return `ecloud-sdk/v${version}`;
4694
4698
  }
4695
4699
  var UserApiClient = class {