@yuno-payments/sdk-web-types 1.0.2 → 1.2.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/dist/index.d.ts CHANGED
@@ -101,7 +101,8 @@ type Create = {
101
101
  onBlur?(): void;
102
102
  onFocus?(): void;
103
103
  styles?: string;
104
- placeholder: string;
104
+ placeholder?: string;
105
+ errorMessage?: string;
105
106
  };
106
107
  };
107
108
  type GetElement = {
@@ -254,6 +255,9 @@ interface YunoConfig {
254
255
  externalPaymentButtons?: ExternalPaymentButtons;
255
256
  card?: CardConfig;
256
257
  showLoading?: boolean;
258
+ c2pConfig?: {
259
+ enableRememberMe?: boolean;
260
+ };
257
261
  texts?: TextsCustom;
258
262
  issuersFormEnable?: boolean;
259
263
  automaticallyUnmount?: boolean;
package/dist/types.ts CHANGED
@@ -101,7 +101,8 @@ type Create = {
101
101
  onBlur?(): void;
102
102
  onFocus?(): void;
103
103
  styles?: string;
104
- placeholder: string;
104
+ placeholder?: string;
105
+ errorMessage?: string;
105
106
  };
106
107
  };
107
108
  type GetElement = {
@@ -254,6 +255,9 @@ interface YunoConfig {
254
255
  externalPaymentButtons?: ExternalPaymentButtons;
255
256
  card?: CardConfig;
256
257
  showLoading?: boolean;
258
+ c2pConfig?: {
259
+ enableRememberMe?: boolean;
260
+ };
257
261
  texts?: TextsCustom;
258
262
  issuersFormEnable?: boolean;
259
263
  automaticallyUnmount?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuno-payments/sdk-web-types",
3
- "version": "1.0.2",
3
+ "version": "1.2.0",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/types.ts",
6
6
  "type": "commonjs",