@layr-labs/ecloud-sdk 1.0.0-dev.3 → 1.0.0-devep1
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 +6 -49
- package/dist/billing.cjs.map +1 -1
- package/dist/billing.d.cts +1 -3
- package/dist/billing.d.ts +1 -3
- package/dist/billing.js +6 -49
- package/dist/billing.js.map +1 -1
- package/dist/browser.cjs +6 -43
- 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 -43
- package/dist/browser.js.map +1 -1
- package/dist/{compute-yAqGf5hM.d.cts → compute-Ckyn8ils.d.cts} +1 -1
- package/dist/{compute-BbgMH6Ef.d.ts → compute-Cnw6rwSB.d.ts} +1 -1
- package/dist/compute.cjs +325 -59
- 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 +325 -59
- package/dist/compute.js.map +1 -1
- package/dist/{helpers-GWlLS3gz.d.ts → helpers-DZL2bg9p.d.cts} +1 -5
- package/dist/{helpers-CnlJ5yPE.d.cts → helpers-Dj2ME5rp.d.ts} +1 -5
- package/dist/{index-Bac4HjC0.d.cts → index-U2vKBrry.d.cts} +1 -17
- package/dist/{index-Bac4HjC0.d.ts → index-U2vKBrry.d.ts} +1 -17
- package/dist/index.cjs +330 -101
- 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 +330 -101
- package/dist/index.js.map +1 -1
- package/package.json +5 -4
- package/tools/ecloud-drain-watcher-linux-amd64 +0 -0
- package/tools/tls-keygen-linux-amd64 +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as EnvironmentConfig,
|
|
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
|
/**
|
|
@@ -733,8 +733,6 @@ interface BillingApiClientOptions {
|
|
|
733
733
|
* When false (default), uses EIP-712 typed data signatures for each request.
|
|
734
734
|
*/
|
|
735
735
|
useSession?: boolean;
|
|
736
|
-
/** Log request/response details to stderr */
|
|
737
|
-
verbose?: boolean;
|
|
738
736
|
}
|
|
739
737
|
/**
|
|
740
738
|
* BillingAPI Client for managing product subscriptions.
|
|
@@ -798,8 +796,6 @@ declare class BillingApiClient {
|
|
|
798
796
|
createSubscription(productId?: ProductID, options?: CreateSubscriptionOptions): Promise<CreateSubscriptionResponse>;
|
|
799
797
|
getSubscription(productId?: ProductID, options?: GetSubscriptionOptions): Promise<ProductSubscriptionResponse>;
|
|
800
798
|
cancelSubscription(productId?: ProductID): Promise<void>;
|
|
801
|
-
getPaymentMethods(): Promise<PaymentMethodsResponse>;
|
|
802
|
-
purchaseCredits(amountCents: number, paymentMethodId?: string): Promise<CreditPurchaseResponse>;
|
|
803
799
|
/**
|
|
804
800
|
* Make an authenticated request to the billing API
|
|
805
801
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as EnvironmentConfig,
|
|
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
|
/**
|
|
@@ -733,8 +733,6 @@ interface BillingApiClientOptions {
|
|
|
733
733
|
* When false (default), uses EIP-712 typed data signatures for each request.
|
|
734
734
|
*/
|
|
735
735
|
useSession?: boolean;
|
|
736
|
-
/** Log request/response details to stderr */
|
|
737
|
-
verbose?: boolean;
|
|
738
736
|
}
|
|
739
737
|
/**
|
|
740
738
|
* BillingAPI Client for managing product subscriptions.
|
|
@@ -798,8 +796,6 @@ declare class BillingApiClient {
|
|
|
798
796
|
createSubscription(productId?: ProductID, options?: CreateSubscriptionOptions): Promise<CreateSubscriptionResponse>;
|
|
799
797
|
getSubscription(productId?: ProductID, options?: GetSubscriptionOptions): Promise<ProductSubscriptionResponse>;
|
|
800
798
|
cancelSubscription(productId?: ProductID): Promise<void>;
|
|
801
|
-
getPaymentMethods(): Promise<PaymentMethodsResponse>;
|
|
802
|
-
purchaseCredits(amountCents: number, paymentMethodId?: string): Promise<CreditPurchaseResponse>;
|
|
803
799
|
/**
|
|
804
800
|
* Make an authenticated request to the billing API
|
|
805
801
|
*
|
|
@@ -749,22 +749,6 @@ interface SubscriptionOpts {
|
|
|
749
749
|
/** URL to redirect to if checkout is canceled */
|
|
750
750
|
cancelUrl?: string;
|
|
751
751
|
}
|
|
752
|
-
interface PaymentMethod {
|
|
753
|
-
id: string;
|
|
754
|
-
stripePaymentMethodId: string;
|
|
755
|
-
brand: string;
|
|
756
|
-
last4: string;
|
|
757
|
-
createdAt: string;
|
|
758
|
-
}
|
|
759
|
-
interface PaymentMethodsResponse {
|
|
760
|
-
paymentMethods: PaymentMethod[];
|
|
761
|
-
}
|
|
762
|
-
interface CreditPurchaseResponse {
|
|
763
|
-
purchaseId?: string;
|
|
764
|
-
checkoutSessionId?: string;
|
|
765
|
-
checkoutUrl?: string;
|
|
766
|
-
amountCents: string;
|
|
767
|
-
}
|
|
768
752
|
interface BillingEnvironmentConfig {
|
|
769
753
|
billingApiServerURL: string;
|
|
770
754
|
}
|
|
@@ -792,4 +776,4 @@ interface SequentialDeployResult {
|
|
|
792
776
|
};
|
|
793
777
|
}
|
|
794
778
|
|
|
795
|
-
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 };
|
|
@@ -749,22 +749,6 @@ interface SubscriptionOpts {
|
|
|
749
749
|
/** URL to redirect to if checkout is canceled */
|
|
750
750
|
cancelUrl?: string;
|
|
751
751
|
}
|
|
752
|
-
interface PaymentMethod {
|
|
753
|
-
id: string;
|
|
754
|
-
stripePaymentMethodId: string;
|
|
755
|
-
brand: string;
|
|
756
|
-
last4: string;
|
|
757
|
-
createdAt: string;
|
|
758
|
-
}
|
|
759
|
-
interface PaymentMethodsResponse {
|
|
760
|
-
paymentMethods: PaymentMethod[];
|
|
761
|
-
}
|
|
762
|
-
interface CreditPurchaseResponse {
|
|
763
|
-
purchaseId?: string;
|
|
764
|
-
checkoutSessionId?: string;
|
|
765
|
-
checkoutUrl?: string;
|
|
766
|
-
amountCents: string;
|
|
767
|
-
}
|
|
768
752
|
interface BillingEnvironmentConfig {
|
|
769
753
|
billingApiServerURL: string;
|
|
770
754
|
}
|
|
@@ -792,4 +776,4 @@ interface SequentialDeployResult {
|
|
|
792
776
|
};
|
|
793
777
|
}
|
|
794
778
|
|
|
795
|
-
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 };
|