@layr-labs/ecloud-sdk 0.5.0 → 1.0.0-dev.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, i as AppModuleConfig, C as ComputeModule, a as ComputeModuleConfig, j as createAppModule, d as createComputeModule, e as encodeStartAppData, f as encodeStopAppData, g as encodeTerminateAppData } from './compute-Ckyn8ils.cjs';
1
+ export { A as AppModule, i as AppModuleConfig, C as ComputeModule, a as ComputeModuleConfig, j as createAppModule, d as createComputeModule, e as encodeStartAppData, f as encodeStopAppData, g as encodeTerminateAppData } from './compute-Bn6KcW3x.cjs';
2
2
  import 'viem';
3
- import './index-U2vKBrry.cjs';
3
+ import './index-BbH7ZCIu.cjs';
package/dist/compute.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { A as AppModule, i as AppModuleConfig, C as ComputeModule, a as ComputeModuleConfig, j as createAppModule, d as createComputeModule, e as encodeStartAppData, f as encodeStopAppData, g as encodeTerminateAppData } from './compute-Cnw6rwSB.js';
1
+ export { A as AppModule, i as AppModuleConfig, C as ComputeModule, a as ComputeModuleConfig, j as createAppModule, d as createComputeModule, e as encodeStartAppData, f as encodeStopAppData, g as encodeTerminateAppData } from './compute-Do2t0Fo8.js';
2
2
  import 'viem';
3
- import './index-U2vKBrry.js';
3
+ import './index-BbH7ZCIu.js';
package/dist/compute.js CHANGED
@@ -4693,7 +4693,7 @@ var CanViewAppLogsPermission = "0x2fd3f2fe";
4693
4693
  var CanViewSensitiveAppInfoPermission = "0x0e67b22f";
4694
4694
  var CanUpdateAppProfilePermission = "0x036fef61";
4695
4695
  function getDefaultClientId() {
4696
- const version = true ? "0.5.0" : "0.0.0";
4696
+ const version = true ? "1.0.0-dev.1" : "0.0.0";
4697
4697
  return `ecloud-sdk/v${version}`;
4698
4698
  }
4699
4699
  var UserApiClient = class {
@@ -5311,11 +5311,17 @@ function getEnvironmentConfig(environment, chainID) {
5311
5311
  const resolvedChainID = chainID || (environment === "sepolia" || environment === "sepolia-dev" ? SEPOLIA_CHAIN_ID : MAINNET_CHAIN_ID);
5312
5312
  return {
5313
5313
  ...env,
5314
- chainID: BigInt(resolvedChainID)
5314
+ chainID: BigInt(resolvedChainID),
5315
+ ...process.env.ECLOUD_USER_API_URL && {
5316
+ userApiServerURL: process.env.ECLOUD_USER_API_URL
5317
+ },
5318
+ ...process.env.ECLOUD_RPC_URL && {
5319
+ defaultRPCURL: process.env.ECLOUD_RPC_URL
5320
+ }
5315
5321
  };
5316
5322
  }
5317
5323
  function getBuildType() {
5318
- const buildTimeType = true ? "prod"?.toLowerCase() : void 0;
5324
+ const buildTimeType = true ? "dev"?.toLowerCase() : void 0;
5319
5325
  const runtimeType = process.env.BUILD_TYPE?.toLowerCase();
5320
5326
  const buildType = buildTimeType || runtimeType;
5321
5327
  if (buildType === "dev") {