@primer-io/primer-js 1.6.2 → 1.6.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.
@@ -476,6 +476,8 @@ export type RedirectPaymentComponentProps = {
476
476
  paymentMethod?: RedirectPaymentMethod | undefined;
477
477
  /** */
478
478
  disabled?: boolean;
479
+ /** */
480
+ primerContext?: ContextType | undefined;
479
481
  };
480
482
 
481
483
  export type ShowOtherPaymentsComponentProps = {
@@ -660,11 +660,7 @@ export interface TelemetryClient {
660
660
  }): void;
661
661
  };
662
662
  readonly remoteLog: {
663
- log(messageOrError: unknown, config?: {
664
- metadata?: Record<string, unknown>;
665
- status?: "error" | "warn" | "info";
666
- }): void;
667
- error(messageOrError: unknown, config?: {
663
+ log(message: string, config?: {
668
664
  metadata?: Record<string, unknown>;
669
665
  status?: "error" | "warn" | "info";
670
666
  }): void;
@@ -1799,6 +1795,7 @@ export type ContextType = {
1799
1795
  paymentMethods: InitializedPaymentMethod[];
1800
1796
  headlessUtils?: SDKUtilities;
1801
1797
  sdkState: SdkState;
1798
+ setProcessing?: (isProcessing: boolean) => void;
1802
1799
  vaultManager?: VaultManagerState;
1803
1800
  vaultItem?: VaultManagerItemState;
1804
1801
  };
@@ -3534,6 +3531,7 @@ declare class RedirectPaymentComponent extends LitElement {
3534
3531
  static styles: import("lit").CSSResult;
3535
3532
  paymentMethod: RedirectPaymentMethod | undefined;
3536
3533
  disabled: boolean;
3534
+ primerContext?: ContextType;
3537
3535
  private _handleClick;
3538
3536
  render(): import("lit-html").TemplateResult<1>;
3539
3537
  }