@payrails/web-sdk 5.31.2-RC.0 → 5.31.2
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/README.md +9 -4
- package/index.js +4 -4
- package/package.json +1 -1
- package/payrails.d.ts +3 -0
- package/payrails.js +4 -4
package/package.json
CHANGED
package/payrails.d.ts
CHANGED
|
@@ -583,6 +583,7 @@ declare class CollectElement extends SkyflowElement {
|
|
|
583
583
|
resetError(): void;
|
|
584
584
|
setValue(elementValue: string): void;
|
|
585
585
|
clearValue(): void;
|
|
586
|
+
setAttribute(attribute: string, value: string | number): void;
|
|
586
587
|
}
|
|
587
588
|
|
|
588
589
|
interface CollectElementInput$1 {
|
|
@@ -642,6 +643,7 @@ declare class ComposableElement {
|
|
|
642
643
|
constructor(name: any, eventEmitter: any);
|
|
643
644
|
on(eventName: string, handler: any): void;
|
|
644
645
|
update: (options: any) => void;
|
|
646
|
+
setAttribute(attribute: string, value: string | number): void;
|
|
645
647
|
}
|
|
646
648
|
|
|
647
649
|
/**
|
|
@@ -900,6 +902,7 @@ interface PayrailsSecureField {
|
|
|
900
902
|
setValue?: (elementValue: string) => void;
|
|
901
903
|
clearValue?: () => void;
|
|
902
904
|
update?: (data: Partial<CollectElementOptions>) => void;
|
|
905
|
+
setAttribute: (attribute: string, value: string | number) => void;
|
|
903
906
|
}
|
|
904
907
|
declare class PayrailsCollectContainer implements Mountable {
|
|
905
908
|
bin: string;
|