@amplifyup/sdk 0.3.2 → 0.3.3-uat.110.gb0b2158
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/AmplifyRenderer.js +3 -18
- package/dist/AmplifyRenderer.js.map +1 -1
- package/dist/AmplifyRenderer.mjs +3 -18
- package/dist/AmplifyRenderer.mjs.map +1 -1
- package/dist/index.d.mts +22 -1
- package/dist/index.d.ts +22 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/react.js +3 -18
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +3 -18
- package/dist/react.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -160,6 +160,8 @@ interface components {
|
|
|
160
160
|
schemas: {
|
|
161
161
|
DeliveryErrorBody: {
|
|
162
162
|
error: string;
|
|
163
|
+
/** @description Echoed on unknown or corrupt tracking id errors. */
|
|
164
|
+
trackingId?: string;
|
|
163
165
|
};
|
|
164
166
|
FormDefinition: {
|
|
165
167
|
id: string;
|
|
@@ -302,6 +304,15 @@ interface operations {
|
|
|
302
304
|
"application/json": components["schemas"]["DeliveryErrorBody"];
|
|
303
305
|
};
|
|
304
306
|
};
|
|
307
|
+
/** @description Too many requests; retry after the Retry-After seconds */
|
|
308
|
+
429: {
|
|
309
|
+
headers: {
|
|
310
|
+
[name: string]: unknown;
|
|
311
|
+
};
|
|
312
|
+
content: {
|
|
313
|
+
"application/json": components["schemas"]["DeliveryErrorBody"];
|
|
314
|
+
};
|
|
315
|
+
};
|
|
305
316
|
};
|
|
306
317
|
};
|
|
307
318
|
submitForm: {
|
|
@@ -348,6 +359,15 @@ interface operations {
|
|
|
348
359
|
"application/json": components["schemas"]["SubmitFormValidationError"];
|
|
349
360
|
};
|
|
350
361
|
};
|
|
362
|
+
/** @description Too many requests; retry after the Retry-After seconds */
|
|
363
|
+
429: {
|
|
364
|
+
headers: {
|
|
365
|
+
[name: string]: unknown;
|
|
366
|
+
};
|
|
367
|
+
content: {
|
|
368
|
+
"application/json": components["schemas"]["DeliveryErrorBody"];
|
|
369
|
+
};
|
|
370
|
+
};
|
|
351
371
|
};
|
|
352
372
|
};
|
|
353
373
|
}
|
|
@@ -599,7 +619,8 @@ declare class AmplifyUpSDK {
|
|
|
599
619
|
*/
|
|
600
620
|
trackFormSubmit(formId: string, formData?: EventProperties): void;
|
|
601
621
|
/**
|
|
602
|
-
* Track form field interaction
|
|
622
|
+
* Track form field interaction. The typed value is never sent: the event
|
|
623
|
+
* carries the field name and whether the field was filled.
|
|
603
624
|
*/
|
|
604
625
|
trackFormFieldInteraction(fieldName: string, fieldValue?: string): void;
|
|
605
626
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -160,6 +160,8 @@ interface components {
|
|
|
160
160
|
schemas: {
|
|
161
161
|
DeliveryErrorBody: {
|
|
162
162
|
error: string;
|
|
163
|
+
/** @description Echoed on unknown or corrupt tracking id errors. */
|
|
164
|
+
trackingId?: string;
|
|
163
165
|
};
|
|
164
166
|
FormDefinition: {
|
|
165
167
|
id: string;
|
|
@@ -302,6 +304,15 @@ interface operations {
|
|
|
302
304
|
"application/json": components["schemas"]["DeliveryErrorBody"];
|
|
303
305
|
};
|
|
304
306
|
};
|
|
307
|
+
/** @description Too many requests; retry after the Retry-After seconds */
|
|
308
|
+
429: {
|
|
309
|
+
headers: {
|
|
310
|
+
[name: string]: unknown;
|
|
311
|
+
};
|
|
312
|
+
content: {
|
|
313
|
+
"application/json": components["schemas"]["DeliveryErrorBody"];
|
|
314
|
+
};
|
|
315
|
+
};
|
|
305
316
|
};
|
|
306
317
|
};
|
|
307
318
|
submitForm: {
|
|
@@ -348,6 +359,15 @@ interface operations {
|
|
|
348
359
|
"application/json": components["schemas"]["SubmitFormValidationError"];
|
|
349
360
|
};
|
|
350
361
|
};
|
|
362
|
+
/** @description Too many requests; retry after the Retry-After seconds */
|
|
363
|
+
429: {
|
|
364
|
+
headers: {
|
|
365
|
+
[name: string]: unknown;
|
|
366
|
+
};
|
|
367
|
+
content: {
|
|
368
|
+
"application/json": components["schemas"]["DeliveryErrorBody"];
|
|
369
|
+
};
|
|
370
|
+
};
|
|
351
371
|
};
|
|
352
372
|
};
|
|
353
373
|
}
|
|
@@ -599,7 +619,8 @@ declare class AmplifyUpSDK {
|
|
|
599
619
|
*/
|
|
600
620
|
trackFormSubmit(formId: string, formData?: EventProperties): void;
|
|
601
621
|
/**
|
|
602
|
-
* Track form field interaction
|
|
622
|
+
* Track form field interaction. The typed value is never sent: the event
|
|
623
|
+
* carries the field name and whether the field was filled.
|
|
603
624
|
*/
|
|
604
625
|
trackFormFieldInteraction(fieldName: string, fieldValue?: string): void;
|
|
605
626
|
/**
|
package/dist/index.js
CHANGED
|
@@ -2122,13 +2122,13 @@ var AmplifyUpSDK = class {
|
|
|
2122
2122
|
});
|
|
2123
2123
|
}
|
|
2124
2124
|
/**
|
|
2125
|
-
* Track form field interaction
|
|
2125
|
+
* Track form field interaction. The typed value is never sent: the event
|
|
2126
|
+
* carries the field name and whether the field was filled.
|
|
2126
2127
|
*/
|
|
2127
2128
|
trackFormFieldInteraction(fieldName, fieldValue) {
|
|
2128
2129
|
this.track("Form Field Interaction", {
|
|
2129
2130
|
fieldName,
|
|
2130
|
-
|
|
2131
|
-
// Truncate for privacy
|
|
2131
|
+
filled: Boolean(fieldValue)
|
|
2132
2132
|
});
|
|
2133
2133
|
}
|
|
2134
2134
|
/**
|