@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.
- package/VERSION +2 -2
- package/dist/billing.cjs +4 -1
- package/dist/billing.cjs.map +1 -1
- package/dist/billing.d.cts +1 -1
- package/dist/billing.d.ts +1 -1
- package/dist/billing.js +4 -1
- package/dist/billing.js.map +1 -1
- package/dist/browser.cjs +6 -2
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +4 -4
- package/dist/browser.d.ts +4 -4
- package/dist/browser.js +6 -2
- package/dist/browser.js.map +1 -1
- package/dist/{compute-CC55YQ_a.d.ts → compute-BurtCz2l.d.ts} +1 -1
- package/dist/{compute-BRDk7QM4.d.cts → compute-CGbWIlic.d.cts} +1 -1
- package/dist/compute.cjs +6 -2
- package/dist/compute.cjs.map +1 -1
- package/dist/compute.d.cts +2 -2
- package/dist/compute.d.ts +2 -2
- package/dist/compute.js +6 -2
- package/dist/compute.js.map +1 -1
- package/dist/{helpers-BcoV07Me.d.ts → helpers-B3ZK7w_7.d.ts} +1 -1
- package/dist/{helpers-DdtPaQr9.d.cts → helpers-CXevm4tr.d.cts} +1 -1
- package/dist/{index-BEbhrwWl.d.cts → index-0GwdZDmQ.d.cts} +2 -0
- package/dist/{index-BEbhrwWl.d.ts → index-0GwdZDmQ.d.ts} +2 -0
- package/dist/index.cjs +6 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
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-
|
|
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.
|
|
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 ? "
|
|
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") {
|