@layr-labs/ecloud-sdk 0.2.2-dev → 0.3.0-dev.0
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 +569 -173
- 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 +569 -173
- package/dist/browser.js.map +1 -1
- package/dist/{compute-BYhSs8en.d.ts → compute-BcJuIxc1.d.ts} +1 -1
- package/dist/{compute-Bpjb3hYD.d.cts → compute-oD9uqLtr.d.cts} +1 -1
- package/dist/compute.cjs +240 -154
- 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 +242 -154
- package/dist/compute.js.map +1 -1
- package/dist/{helpers-CQuBwQnu.d.ts → helpers-BNGcO-VX.d.cts} +249 -5
- package/dist/{helpers-CEvhJz7f.d.cts → helpers-Cp8qGRTb.d.ts} +249 -5
- package/dist/{index-DeQzn_yM.d.cts → index-5y9NG_Id.d.cts} +9 -1
- package/dist/{index-DeQzn_yM.d.ts → index-5y9NG_Id.d.ts} +9 -1
- package/dist/index.cjs +631 -214
- 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 +633 -214
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PublicClient, Address, Hex, WalletClient } from 'viem';
|
|
1
|
+
import { PublicClient, Address, Hex, WalletClient, SignAuthorizationReturnType } from 'viem';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Contract interactions
|
|
@@ -503,6 +503,8 @@ interface PreparedDeployData {
|
|
|
503
503
|
value: bigint;
|
|
504
504
|
callData: Hex;
|
|
505
505
|
}>;
|
|
506
|
+
/** Pre-created authorization list for gas estimation accuracy (optional) */
|
|
507
|
+
authorizationList?: SignAuthorizationReturnType[];
|
|
506
508
|
}
|
|
507
509
|
/** Data-only batch for upgrade (clients provided by module) */
|
|
508
510
|
interface PreparedUpgradeData {
|
|
@@ -514,6 +516,8 @@ interface PreparedUpgradeData {
|
|
|
514
516
|
value: bigint;
|
|
515
517
|
callData: Hex;
|
|
516
518
|
}>;
|
|
519
|
+
/** Pre-created authorization list for gas estimation accuracy (optional) */
|
|
520
|
+
authorizationList?: SignAuthorizationReturnType[];
|
|
517
521
|
}
|
|
518
522
|
/** Prepared deployment ready for execution */
|
|
519
523
|
interface PreparedDeploy {
|
|
@@ -708,6 +712,10 @@ interface ProductSubscriptionResponse {
|
|
|
708
712
|
}
|
|
709
713
|
interface SubscriptionOpts {
|
|
710
714
|
productId?: ProductID;
|
|
715
|
+
/** URL to redirect to after successful checkout */
|
|
716
|
+
successUrl?: string;
|
|
717
|
+
/** URL to redirect to if checkout is canceled */
|
|
718
|
+
cancelUrl?: string;
|
|
711
719
|
}
|
|
712
720
|
interface BillingEnvironmentConfig {
|
|
713
721
|
billingApiServerURL: string;
|