@paynext/sdk 0.0.129 → 0.0.130

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/dist/index.d.ts CHANGED
@@ -601,10 +601,16 @@ declare interface TransactionConfig {
601
601
  };
602
602
  }
603
603
 
604
+ declare interface TransactionConfigResponse extends TransactionConfig {
605
+ code: number;
606
+ success: boolean;
607
+ error?: string;
608
+ }
609
+
604
610
  declare class TransactionState extends State<TransactionConfig | null> {
605
611
  private clientToken;
606
612
  constructor(state?: TransactionConfig);
607
- updateTransaction(clientToken: string, environment: TEnvironment, apiVersion: string): Promise<TransactionConfig | null>;
613
+ updateTransaction(clientToken: string, environment: TEnvironment, apiVersion: string): Promise<TransactionConfigResponse>;
608
614
  }
609
615
 
610
616
  declare class TranslateState extends State<CheckoutTranslateState> {