skyflow-js 2.4.0 → 2.4.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.
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/
|
|
8
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -235,9 +235,9 @@ export interface CollectElementOptions {
|
|
|
235
235
|
maskingChar?: string;
|
|
236
236
|
}
|
|
237
237
|
export interface CardMetadata {
|
|
238
|
-
scheme
|
|
238
|
+
scheme?: CardType[];
|
|
239
239
|
}
|
|
240
|
-
|
|
240
|
+
interface CollectElementCommonProps {
|
|
241
241
|
table?: string;
|
|
242
242
|
column?: string;
|
|
243
243
|
label?: string;
|
|
@@ -249,7 +249,10 @@ export interface CollectElementUpdateOptions {
|
|
|
249
249
|
validations?: IValidationRule[];
|
|
250
250
|
skyflowID?: string;
|
|
251
251
|
}
|
|
252
|
-
export interface
|
|
252
|
+
export interface CollectElementUpdateOptions extends CollectElementCommonProps {
|
|
253
|
+
cardMetadata?: CardMetadata;
|
|
254
|
+
}
|
|
255
|
+
export interface CollectElementInput extends CollectElementCommonProps {
|
|
253
256
|
type: ElementType;
|
|
254
257
|
}
|
|
255
258
|
export interface ICollectOptions {
|
|
@@ -294,3 +297,4 @@ export interface ElementState {
|
|
|
294
297
|
isRequired: boolean;
|
|
295
298
|
selectedCardScheme?: string;
|
|
296
299
|
}
|
|
300
|
+
export {};
|