@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.
@@ -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;