@layr-labs/ecloud-sdk 0.4.3 → 0.5.0-dev.3
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 +1 -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 +1 -1
- package/dist/billing.js.map +1 -1
- package/dist/browser.cjs +2 -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 +2 -2
- package/dist/browser.js.map +1 -1
- package/dist/{compute-BurtCz2l.d.ts → compute-Ckyn8ils.d.cts} +2 -2
- package/dist/{compute-CGbWIlic.d.cts → compute-Cnw6rwSB.d.ts} +2 -2
- package/dist/compute.cjs +2 -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 +2 -2
- package/dist/compute.js.map +1 -1
- package/dist/{helpers-B3ZK7w_7.d.ts → helpers-DZL2bg9p.d.cts} +2 -2
- package/dist/{helpers-CXevm4tr.d.cts → helpers-Dj2ME5rp.d.ts} +2 -2
- package/dist/{index-0GwdZDmQ.d.cts → index-U2vKBrry.d.cts} +2 -2
- package/dist/{index-0GwdZDmQ.d.ts → index-U2vKBrry.d.ts} +2 -2
- package/dist/index.cjs +2 -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 +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +19 -19
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { E as EnvironmentConfig, a4 as SubscriptionStatus, f as BillingEnvironmentConfig, Y as ProductID, k as CreateSubscriptionOptions, l as CreateSubscriptionResponse, y as GetSubscriptionOptions, Z as ProductSubscriptionResponse, G as GasEstimate, F as Logger } from './index-U2vKBrry.cjs';
|
|
2
2
|
import { Address, Hex, WalletClient, PublicClient, SignAuthorizationReturnType, Chain } from 'viem';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -988,4 +988,4 @@ declare function addHexPrefix(value: string): Hex;
|
|
|
988
988
|
*/
|
|
989
989
|
declare function stripHexPrefix(value: string): string;
|
|
990
990
|
|
|
991
|
-
export { loginToComputeApi as $, type
|
|
991
|
+
export { loginToComputeApi as $, type AppInfo as A, BillingApiClient as B, type ComputeApiConfig as C, extractAppNameFromImage as D, type EstimateBatchGasOptions as E, generateNewPrivateKey as F, type GeneratedKey as G, generateNonce as H, getAvailableEnvironments as I, getBillingApiSession as J, getBillingEnvironmentConfig as K, type LogVisibility as L, getBuildType as M, getChainFromID as N, getComputeApiSession as O, getEnvironmentConfig as P, isBillingSessionValid as Q, isEnvironmentAvailable as R, type SessionInfo as S, isMainnet as T, UserApiClient as U, isSessionValid as V, isSiweMessageExpired as W, isSiweMessageNotYetValid as X, isSubscriptionActive as Y, loginToBillingApi as Z, loginToBothApis as _, SessionError as a, logoutFromBillingApi as a0, logoutFromBothApis as a1, logoutFromComputeApi as a2, parseSiweMessage as a3, sanitizeString as a4, sanitizeURL as a5, sanitizeXURL as a6, stripHexPrefix as a7, validateAppID as a8, validateAppName as a9, validateCreateAppParams as aa, validateDescription as ab, validateImageReference as ac, validateInstanceTypeSKU as ad, validateLogVisibility as ae, validateLogsParams as af, validatePrivateKeyFormat as ag, validateURL as ah, validateXURL as ai, type ResourceUsageMonitoring as aj, type AppRelease as ak, type AppReleaseBuild as al, type AppResponse as am, type DeployParams as an, type UpgradeParams as ao, assertValidFilePath as ap, createClients as aq, validateDeployParams as ar, validateFilePath as as, validateImagePath as at, validateResourceUsageMonitoring as au, validateUpgradeParams as av, type SiweMessageParams as b, type AppInfoResponse as c, type AppMetrics as d, type AppProfileInfo as e, type BillingApiClientOptions as f, type BillingApiConfig as g, type BillingLoginRequest as h, type BillingLoginResult as i, BillingSessionError as j, type BillingSessionInfo as k, type CreateAppParams as l, type ExecuteBatchOptions as m, type Execution as n, type LoginRequest as o, type LoginResult as p, type LogsParams as q, type SiweMessageResult as r, type UserApiClientOptions as s, addHexPrefix as t, assertValidImageReference as u, assertValidPrivateKey as v, checkERC7702Delegation as w, createSiweMessage as x, estimateBatchGas as y, executeBatch as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { E as EnvironmentConfig, a4 as SubscriptionStatus, f as BillingEnvironmentConfig, Y as ProductID, k as CreateSubscriptionOptions, l as CreateSubscriptionResponse, y as GetSubscriptionOptions, Z as ProductSubscriptionResponse, G as GasEstimate, F as Logger } from './index-U2vKBrry.js';
|
|
2
2
|
import { Address, Hex, WalletClient, PublicClient, SignAuthorizationReturnType, Chain } from 'viem';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -988,4 +988,4 @@ declare function addHexPrefix(value: string): Hex;
|
|
|
988
988
|
*/
|
|
989
989
|
declare function stripHexPrefix(value: string): string;
|
|
990
990
|
|
|
991
|
-
export { loginToComputeApi as $, type
|
|
991
|
+
export { loginToComputeApi as $, type AppInfo as A, BillingApiClient as B, type ComputeApiConfig as C, extractAppNameFromImage as D, type EstimateBatchGasOptions as E, generateNewPrivateKey as F, type GeneratedKey as G, generateNonce as H, getAvailableEnvironments as I, getBillingApiSession as J, getBillingEnvironmentConfig as K, type LogVisibility as L, getBuildType as M, getChainFromID as N, getComputeApiSession as O, getEnvironmentConfig as P, isBillingSessionValid as Q, isEnvironmentAvailable as R, type SessionInfo as S, isMainnet as T, UserApiClient as U, isSessionValid as V, isSiweMessageExpired as W, isSiweMessageNotYetValid as X, isSubscriptionActive as Y, loginToBillingApi as Z, loginToBothApis as _, SessionError as a, logoutFromBillingApi as a0, logoutFromBothApis as a1, logoutFromComputeApi as a2, parseSiweMessage as a3, sanitizeString as a4, sanitizeURL as a5, sanitizeXURL as a6, stripHexPrefix as a7, validateAppID as a8, validateAppName as a9, validateCreateAppParams as aa, validateDescription as ab, validateImageReference as ac, validateInstanceTypeSKU as ad, validateLogVisibility as ae, validateLogsParams as af, validatePrivateKeyFormat as ag, validateURL as ah, validateXURL as ai, type ResourceUsageMonitoring as aj, type AppRelease as ak, type AppReleaseBuild as al, type AppResponse as am, type DeployParams as an, type UpgradeParams as ao, assertValidFilePath as ap, createClients as aq, validateDeployParams as ar, validateFilePath as as, validateImagePath as at, validateResourceUsageMonitoring as au, validateUpgradeParams as av, type SiweMessageParams as b, type AppInfoResponse as c, type AppMetrics as d, type AppProfileInfo as e, type BillingApiClientOptions as f, type BillingApiConfig as g, type BillingLoginRequest as h, type BillingLoginResult as i, BillingSessionError as j, type BillingSessionInfo as k, type CreateAppParams as l, type ExecuteBatchOptions as m, type Execution as n, type LoginRequest as o, type LoginResult as p, type LogsParams as q, type SiweMessageResult as r, type UserApiClientOptions as s, addHexPrefix as t, assertValidImageReference as u, assertValidPrivateKey as v, checkERC7702Delegation as w, createSiweMessage as x, estimateBatchGas as y, executeBatch as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Address, Hex, PublicClient, WalletClient, SignAuthorizationReturnType } from 'viem';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Contract interactions
|
|
@@ -776,4 +776,4 @@ interface SequentialDeployResult {
|
|
|
776
776
|
};
|
|
777
777
|
}
|
|
778
778
|
|
|
779
|
-
export { type
|
|
779
|
+
export { type SendTransactionOptions as $, type AppId as A, type BatchedDeployResult as B, type CalculateAppIDOptions as C, type DeployAppOptions as D, type EnvironmentConfig as E, type Logger as F, type GasEstimate as G, type PaymentIssueResponse as H, type ImageDigestResult as I, type PrepareDeployBatchOptions as J, type PrepareDeployFromVerifiableBuildOpts as K, type LifecycleOpts as L, type PrepareDeployOpts as M, type NoActiveSubscriptionResponse as N, type PrepareUpgradeBatchOptions as O, type ParsedEnvironment as P, type PrepareUpgradeFromVerifiableBuildOpts as Q, type PrepareUpgradeOpts as R, type PreparedDeploy as S, type PreparedDeployBatch as T, type PreparedDeployData as U, type PreparedUpgrade as V, type PreparedUpgradeBatch as W, type PreparedUpgradeData as X, type ProductID as Y, type ProductSubscriptionResponse as Z, type Release as _, type AlreadyActiveResponse as a, type SequentialDeployResult as a0, type SubscribeResponse as a1, type SubscriptionLineItem as a2, type SubscriptionOpts as a3, type SubscriptionStatus as a4, type SuspendOptions as a5, type UndelegateOptions as a6, type UpgradeAppOptions as a7, type UpgradeAppOpts as a8, calculateAppID as a9, getBlockTimestamps as aA, deployApp as aa, estimateTransactionGas as ab, executeDeployBatch as ac, executeDeployBatched as ad, executeDeploySequential as ae, executeUpgradeBatch as af, formatETH as ag, getActiveAppCount as ah, getAllAppsByDeveloper as ai, getAppsByBillingAccount as aj, getAppsByCreator as ak, getAppsByDeveloper as al, getBillingType as am, getMaxActiveAppsPerUser as an, isDelegated as ao, type logVisibility as ap, noopLogger as aq, prepareDeployBatch as ar, prepareUpgradeBatch as as, sendAndWaitForTransaction as at, supportsEIP5792 as au, supportsEIP7702 as av, suspend as aw, undelegate as ax, upgradeApp as ay, getAppLatestReleaseBlockNumbers as az, type AppConfig as b, type AppProfile as c, type AppProfileResponse as d, type AppRecord as e, type BillingEnvironmentConfig as f, type CancelResponse as g, type CancelSuccessResponse as h, type ChainID as i, type CheckoutCreatedResponse as j, type CreateSubscriptionOptions as k, type CreateSubscriptionResponse as l, type DeployAppOpts as m, type DeployOptions as n, type DeployProgressCallback as o, type DeployResult as p, type DeployStep as q, type DockerImageConfig as r, type EstimateGasOptions as s, type ExecuteDeployBatchedOptions as t, type ExecuteDeployResult as u, type ExecuteDeploySequentialOptions as v, type ExecuteUpgradeResult as w, type GasOpts as x, type GetSubscriptionOptions as y, type IsDelegatedOptions as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Address, Hex, PublicClient, WalletClient, SignAuthorizationReturnType } from 'viem';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Contract interactions
|
|
@@ -776,4 +776,4 @@ interface SequentialDeployResult {
|
|
|
776
776
|
};
|
|
777
777
|
}
|
|
778
778
|
|
|
779
|
-
export { type
|
|
779
|
+
export { type SendTransactionOptions as $, type AppId as A, type BatchedDeployResult as B, type CalculateAppIDOptions as C, type DeployAppOptions as D, type EnvironmentConfig as E, type Logger as F, type GasEstimate as G, type PaymentIssueResponse as H, type ImageDigestResult as I, type PrepareDeployBatchOptions as J, type PrepareDeployFromVerifiableBuildOpts as K, type LifecycleOpts as L, type PrepareDeployOpts as M, type NoActiveSubscriptionResponse as N, type PrepareUpgradeBatchOptions as O, type ParsedEnvironment as P, type PrepareUpgradeFromVerifiableBuildOpts as Q, type PrepareUpgradeOpts as R, type PreparedDeploy as S, type PreparedDeployBatch as T, type PreparedDeployData as U, type PreparedUpgrade as V, type PreparedUpgradeBatch as W, type PreparedUpgradeData as X, type ProductID as Y, type ProductSubscriptionResponse as Z, type Release as _, type AlreadyActiveResponse as a, type SequentialDeployResult as a0, type SubscribeResponse as a1, type SubscriptionLineItem as a2, type SubscriptionOpts as a3, type SubscriptionStatus as a4, type SuspendOptions as a5, type UndelegateOptions as a6, type UpgradeAppOptions as a7, type UpgradeAppOpts as a8, calculateAppID as a9, getBlockTimestamps as aA, deployApp as aa, estimateTransactionGas as ab, executeDeployBatch as ac, executeDeployBatched as ad, executeDeploySequential as ae, executeUpgradeBatch as af, formatETH as ag, getActiveAppCount as ah, getAllAppsByDeveloper as ai, getAppsByBillingAccount as aj, getAppsByCreator as ak, getAppsByDeveloper as al, getBillingType as am, getMaxActiveAppsPerUser as an, isDelegated as ao, type logVisibility as ap, noopLogger as aq, prepareDeployBatch as ar, prepareUpgradeBatch as as, sendAndWaitForTransaction as at, supportsEIP5792 as au, supportsEIP7702 as av, suspend as aw, undelegate as ax, upgradeApp as ay, getAppLatestReleaseBlockNumbers as az, type AppConfig as b, type AppProfile as c, type AppProfileResponse as d, type AppRecord as e, type BillingEnvironmentConfig as f, type CancelResponse as g, type CancelSuccessResponse as h, type ChainID as i, type CheckoutCreatedResponse as j, type CreateSubscriptionOptions as k, type CreateSubscriptionResponse as l, type DeployAppOpts as m, type DeployOptions as n, type DeployProgressCallback as o, type DeployResult as p, type DeployStep as q, type DockerImageConfig as r, type EstimateGasOptions as s, type ExecuteDeployBatchedOptions as t, type ExecuteDeployResult as u, type ExecuteDeploySequentialOptions as v, type ExecuteUpgradeResult as w, type GasOpts as x, type GetSubscriptionOptions as y, type IsDelegatedOptions as z };
|
package/dist/index.cjs
CHANGED
|
@@ -4986,7 +4986,7 @@ var CanViewAppLogsPermission = "0x2fd3f2fe";
|
|
|
4986
4986
|
var CanViewSensitiveAppInfoPermission = "0x0e67b22f";
|
|
4987
4987
|
var CanUpdateAppProfilePermission = "0x036fef61";
|
|
4988
4988
|
function getDefaultClientId() {
|
|
4989
|
-
const version = true ? "0.
|
|
4989
|
+
const version = true ? "0.5.0-dev.3" : "0.0.0";
|
|
4990
4990
|
return `ecloud-sdk/v${version}`;
|
|
4991
4991
|
}
|
|
4992
4992
|
var UserApiClient = class {
|
|
@@ -5834,7 +5834,7 @@ function getBillingEnvironmentConfig(build) {
|
|
|
5834
5834
|
return config;
|
|
5835
5835
|
}
|
|
5836
5836
|
function getBuildType() {
|
|
5837
|
-
const buildTimeType = true ? "
|
|
5837
|
+
const buildTimeType = true ? "dev"?.toLowerCase() : void 0;
|
|
5838
5838
|
const runtimeType = process.env.BUILD_TYPE?.toLowerCase();
|
|
5839
5839
|
const buildType = buildTimeType || runtimeType;
|
|
5840
5840
|
if (buildType === "dev") {
|