@layr-labs/ecloud-sdk 0.2.2-dev → 0.3.0-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 +273 -4
- 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 +275 -4
- package/dist/billing.js.map +1 -1
- package/dist/browser.cjs +527 -147
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +53 -12
- package/dist/browser.d.ts +53 -12
- package/dist/browser.js +527 -147
- package/dist/browser.js.map +1 -1
- package/dist/{compute-BYhSs8en.d.ts → compute-CdZxISln.d.ts} +1 -1
- package/dist/{compute-Bpjb3hYD.d.cts → compute-Dstl0CA0.d.cts} +1 -1
- package/dist/compute.cjs +130 -120
- 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 +132 -120
- package/dist/compute.js.map +1 -1
- package/dist/{helpers-CEvhJz7f.d.cts → helpers-4w0Iojmm.d.ts} +245 -4
- package/dist/{helpers-CQuBwQnu.d.ts → helpers-Dk0zwgms.d.cts} +245 -4
- package/dist/{index-DeQzn_yM.d.cts → index-C0w92tCs.d.cts} +4 -0
- package/dist/{index-DeQzn_yM.d.ts → index-C0w92tCs.d.ts} +4 -0
- package/dist/index.cjs +489 -148
- 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 +491 -148
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { C as ComputeModule } from './compute-
|
|
2
|
-
export { d as ComputeModuleConfig, a as CreateAppOpts, L as LogsOptions, P as PRIMARY_LANGUAGES, S as SDKCreateAppOpts, c as createApp, b as createComputeModule, e as encodeStartAppData, f as encodeStopAppData, h as encodeTerminateAppData, g as getAvailableTemplates, l as logs } from './compute-
|
|
1
|
+
import { C as ComputeModule } from './compute-Dstl0CA0.cjs';
|
|
2
|
+
export { d as ComputeModuleConfig, a as CreateAppOpts, L as LogsOptions, P as PRIMARY_LANGUAGES, S as SDKCreateAppOpts, c as createApp, b as createComputeModule, e as encodeStartAppData, f as encodeStopAppData, h as encodeTerminateAppData, g as getAvailableTemplates, l as logs } from './compute-Dstl0CA0.cjs';
|
|
3
3
|
import { BillingModule } from './billing.cjs';
|
|
4
4
|
export { BillingModuleConfig, createBillingModule } from './billing.cjs';
|
|
5
5
|
import { WalletClient, PublicClient, Address, Hex } from 'viem';
|
|
6
|
-
import { L as LogVisibility,
|
|
7
|
-
export { F as AppInfo, I as AppMetrics, H as AppProfileInfo,
|
|
8
|
-
import { G as GasEstimate, ab as Logger, $ as PreparedDeploy, a6 as EnvironmentConfig, a4 as DeployResult, a0 as PreparedUpgrade, A as AppId } from './index-
|
|
9
|
-
export { al as AlreadyActiveResponse, ac as AppProfile, ad as AppProfileResponse, a2 as AppRecord, a5 as BillingEnvironmentConfig, aq as CancelResponse, ao as CancelSuccessResponse, af as ChainID, ak as CheckoutCreatedResponse, ai as CreateSubscriptionOptions, aj as CreateSubscriptionResponse, N as DeployAppOpts, a3 as DeployOptions, at as DeployProgressCallback, au as DeployStep, aa as DockerImageConfig, E as EstimateGasOptions, X as ExecuteDeployResult, Y as ExecuteUpgradeResult, W as GasOpts, a9 as ImageDigestResult, a1 as LifecycleOpts, ap as NoActiveSubscriptionResponse, a8 as ParsedEnvironment, am as PaymentIssueResponse, T as PrepareDeployFromVerifiableBuildOpts, Q as PrepareDeployOpts, V as PrepareUpgradeFromVerifiableBuildOpts, R as PrepareUpgradeOpts, Z as PreparedDeployData, _ as PreparedUpgradeData, ae as ProductID, ar as ProductSubscriptionResponse, a7 as Release, av as SequentialDeployResult, an as SubscribeResponse, ah as SubscriptionLineItem, as as SubscriptionOpts, ag as SubscriptionStatus, O as UpgradeAppOpts, e as estimateTransactionGas, f as formatETH, g as getAllAppsByDeveloper, aw as getAppLatestReleaseBlockNumbers, ax as getBlockTimestamps, M as logVisibility, L as noopLogger } from './index-
|
|
6
|
+
import { L as LogVisibility, aj as ResourceUsageMonitoring } from './helpers-Dk0zwgms.cjs';
|
|
7
|
+
export { F as AppInfo, I as AppMetrics, H as AppProfileInfo, al as AppRelease, am as AppReleaseBuild, an as AppResponse, K as BillingApiClient, C as ComputeApiConfig, z as CreateAppParams, as as DeployParams, Q as EstimateBatchGasOptions, G as GeneratedKey, a4 as LoginRequest, a3 as LoginResult, A as LogsParams, a as SessionError, S as SessionInfo, b as SiweMessageParams, _ as SiweMessageResult, au as UpgradeParams, U as UserApiClient, ah as addHexPrefix, ap as assertValidFilePath, j as assertValidImageReference, n as assertValidPrivateKey, P as checkERC7702Delegation, V as createSiweMessage, ak as createViemClients, N as estimateBatchGas, k as extractAppNameFromImage, D as generateNewPrivateKey, X as generateNonce, d as getAvailableEnvironments, c as getBillingEnvironmentConfig, e as getBuildType, ag as getChainFromID, a1 as getComputeApiSession, g as getEnvironmentConfig, i as isEnvironmentAvailable, f as isMainnet, a2 as isSessionValid, Y as isSiweMessageExpired, Z as isSiweMessageNotYetValid, B as isSubscriptionActive, $ as loginToComputeApi, a0 as logoutFromComputeApi, W as parseSiweMessage, t as sanitizeString, u as sanitizeURL, w as sanitizeXURL, ai as stripHexPrefix, r as validateAppID, v as validateAppName, x as validateCreateAppParams, at as validateDeployParams, q as validateDescription, ao as validateFilePath, aq as validateImagePath, h as validateImageReference, l as validateInstanceTypeSKU, s as validateLogVisibility, y as validateLogsParams, m as validatePrivateKeyFormat, ar as validateResourceUsageMonitoring, o as validateURL, av as validateUpgradeParams, p as validateXURL } from './helpers-Dk0zwgms.cjs';
|
|
8
|
+
import { G as GasEstimate, ab as Logger, $ as PreparedDeploy, a6 as EnvironmentConfig, a4 as DeployResult, a0 as PreparedUpgrade, A as AppId } from './index-C0w92tCs.cjs';
|
|
9
|
+
export { al as AlreadyActiveResponse, ac as AppProfile, ad as AppProfileResponse, a2 as AppRecord, a5 as BillingEnvironmentConfig, aq as CancelResponse, ao as CancelSuccessResponse, af as ChainID, ak as CheckoutCreatedResponse, ai as CreateSubscriptionOptions, aj as CreateSubscriptionResponse, N as DeployAppOpts, a3 as DeployOptions, at as DeployProgressCallback, au as DeployStep, aa as DockerImageConfig, E as EstimateGasOptions, X as ExecuteDeployResult, Y as ExecuteUpgradeResult, W as GasOpts, a9 as ImageDigestResult, a1 as LifecycleOpts, ap as NoActiveSubscriptionResponse, a8 as ParsedEnvironment, am as PaymentIssueResponse, T as PrepareDeployFromVerifiableBuildOpts, Q as PrepareDeployOpts, V as PrepareUpgradeFromVerifiableBuildOpts, R as PrepareUpgradeOpts, Z as PreparedDeployData, _ as PreparedUpgradeData, ae as ProductID, ar as ProductSubscriptionResponse, a7 as Release, av as SequentialDeployResult, an as SubscribeResponse, ah as SubscriptionLineItem, as as SubscriptionOpts, ag as SubscriptionStatus, O as UpgradeAppOpts, e as estimateTransactionGas, f as formatETH, g as getAllAppsByDeveloper, aw as getAppLatestReleaseBlockNumbers, ax as getBlockTimestamps, M as logVisibility, L as noopLogger } from './index-C0w92tCs.cjs';
|
|
10
10
|
|
|
11
11
|
interface SubmitBuildRequest {
|
|
12
12
|
repoUrl: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { C as ComputeModule } from './compute-
|
|
2
|
-
export { d as ComputeModuleConfig, a as CreateAppOpts, L as LogsOptions, P as PRIMARY_LANGUAGES, S as SDKCreateAppOpts, c as createApp, b as createComputeModule, e as encodeStartAppData, f as encodeStopAppData, h as encodeTerminateAppData, g as getAvailableTemplates, l as logs } from './compute-
|
|
1
|
+
import { C as ComputeModule } from './compute-CdZxISln.js';
|
|
2
|
+
export { d as ComputeModuleConfig, a as CreateAppOpts, L as LogsOptions, P as PRIMARY_LANGUAGES, S as SDKCreateAppOpts, c as createApp, b as createComputeModule, e as encodeStartAppData, f as encodeStopAppData, h as encodeTerminateAppData, g as getAvailableTemplates, l as logs } from './compute-CdZxISln.js';
|
|
3
3
|
import { BillingModule } from './billing.js';
|
|
4
4
|
export { BillingModuleConfig, createBillingModule } from './billing.js';
|
|
5
5
|
import { WalletClient, PublicClient, Address, Hex } from 'viem';
|
|
6
|
-
import { L as LogVisibility,
|
|
7
|
-
export { F as AppInfo, I as AppMetrics, H as AppProfileInfo,
|
|
8
|
-
import { G as GasEstimate, ab as Logger, $ as PreparedDeploy, a6 as EnvironmentConfig, a4 as DeployResult, a0 as PreparedUpgrade, A as AppId } from './index-
|
|
9
|
-
export { al as AlreadyActiveResponse, ac as AppProfile, ad as AppProfileResponse, a2 as AppRecord, a5 as BillingEnvironmentConfig, aq as CancelResponse, ao as CancelSuccessResponse, af as ChainID, ak as CheckoutCreatedResponse, ai as CreateSubscriptionOptions, aj as CreateSubscriptionResponse, N as DeployAppOpts, a3 as DeployOptions, at as DeployProgressCallback, au as DeployStep, aa as DockerImageConfig, E as EstimateGasOptions, X as ExecuteDeployResult, Y as ExecuteUpgradeResult, W as GasOpts, a9 as ImageDigestResult, a1 as LifecycleOpts, ap as NoActiveSubscriptionResponse, a8 as ParsedEnvironment, am as PaymentIssueResponse, T as PrepareDeployFromVerifiableBuildOpts, Q as PrepareDeployOpts, V as PrepareUpgradeFromVerifiableBuildOpts, R as PrepareUpgradeOpts, Z as PreparedDeployData, _ as PreparedUpgradeData, ae as ProductID, ar as ProductSubscriptionResponse, a7 as Release, av as SequentialDeployResult, an as SubscribeResponse, ah as SubscriptionLineItem, as as SubscriptionOpts, ag as SubscriptionStatus, O as UpgradeAppOpts, e as estimateTransactionGas, f as formatETH, g as getAllAppsByDeveloper, aw as getAppLatestReleaseBlockNumbers, ax as getBlockTimestamps, M as logVisibility, L as noopLogger } from './index-
|
|
6
|
+
import { L as LogVisibility, aj as ResourceUsageMonitoring } from './helpers-4w0Iojmm.js';
|
|
7
|
+
export { F as AppInfo, I as AppMetrics, H as AppProfileInfo, al as AppRelease, am as AppReleaseBuild, an as AppResponse, K as BillingApiClient, C as ComputeApiConfig, z as CreateAppParams, as as DeployParams, Q as EstimateBatchGasOptions, G as GeneratedKey, a4 as LoginRequest, a3 as LoginResult, A as LogsParams, a as SessionError, S as SessionInfo, b as SiweMessageParams, _ as SiweMessageResult, au as UpgradeParams, U as UserApiClient, ah as addHexPrefix, ap as assertValidFilePath, j as assertValidImageReference, n as assertValidPrivateKey, P as checkERC7702Delegation, V as createSiweMessage, ak as createViemClients, N as estimateBatchGas, k as extractAppNameFromImage, D as generateNewPrivateKey, X as generateNonce, d as getAvailableEnvironments, c as getBillingEnvironmentConfig, e as getBuildType, ag as getChainFromID, a1 as getComputeApiSession, g as getEnvironmentConfig, i as isEnvironmentAvailable, f as isMainnet, a2 as isSessionValid, Y as isSiweMessageExpired, Z as isSiweMessageNotYetValid, B as isSubscriptionActive, $ as loginToComputeApi, a0 as logoutFromComputeApi, W as parseSiweMessage, t as sanitizeString, u as sanitizeURL, w as sanitizeXURL, ai as stripHexPrefix, r as validateAppID, v as validateAppName, x as validateCreateAppParams, at as validateDeployParams, q as validateDescription, ao as validateFilePath, aq as validateImagePath, h as validateImageReference, l as validateInstanceTypeSKU, s as validateLogVisibility, y as validateLogsParams, m as validatePrivateKeyFormat, ar as validateResourceUsageMonitoring, o as validateURL, av as validateUpgradeParams, p as validateXURL } from './helpers-4w0Iojmm.js';
|
|
8
|
+
import { G as GasEstimate, ab as Logger, $ as PreparedDeploy, a6 as EnvironmentConfig, a4 as DeployResult, a0 as PreparedUpgrade, A as AppId } from './index-C0w92tCs.js';
|
|
9
|
+
export { al as AlreadyActiveResponse, ac as AppProfile, ad as AppProfileResponse, a2 as AppRecord, a5 as BillingEnvironmentConfig, aq as CancelResponse, ao as CancelSuccessResponse, af as ChainID, ak as CheckoutCreatedResponse, ai as CreateSubscriptionOptions, aj as CreateSubscriptionResponse, N as DeployAppOpts, a3 as DeployOptions, at as DeployProgressCallback, au as DeployStep, aa as DockerImageConfig, E as EstimateGasOptions, X as ExecuteDeployResult, Y as ExecuteUpgradeResult, W as GasOpts, a9 as ImageDigestResult, a1 as LifecycleOpts, ap as NoActiveSubscriptionResponse, a8 as ParsedEnvironment, am as PaymentIssueResponse, T as PrepareDeployFromVerifiableBuildOpts, Q as PrepareDeployOpts, V as PrepareUpgradeFromVerifiableBuildOpts, R as PrepareUpgradeOpts, Z as PreparedDeployData, _ as PreparedUpgradeData, ae as ProductID, ar as ProductSubscriptionResponse, a7 as Release, av as SequentialDeployResult, an as SubscribeResponse, ah as SubscriptionLineItem, as as SubscriptionOpts, ag as SubscriptionStatus, O as UpgradeAppOpts, e as estimateTransactionGas, f as formatETH, g as getAllAppsByDeveloper, aw as getAppLatestReleaseBlockNumbers, ax as getBlockTimestamps, M as logVisibility, L as noopLogger } from './index-C0w92tCs.js';
|
|
10
10
|
|
|
11
11
|
interface SubmitBuildRequest {
|
|
12
12
|
repoUrl: string;
|