@sheerid/jslib 1.99.0 → 1.100.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/es5/Tmetrix.bundle.js +5 -5
- package/es5/Tmetrix.bundle.js.map +1 -1
- package/es5/messages_ar.bundle.js +5 -5
- package/es5/messages_bg.bundle.js +5 -5
- package/es5/messages_cs.bundle.js +5 -5
- package/es5/messages_da.bundle.js +5 -5
- package/es5/messages_de.bundle.js +5 -5
- package/es5/messages_el.bundle.js +5 -5
- package/es5/messages_en-GB.bundle.js +5 -5
- package/es5/messages_es-ES.bundle.js +5 -5
- package/es5/messages_es.bundle.js +5 -5
- package/es5/messages_fi.bundle.js +5 -5
- package/es5/messages_fr-CA.bundle.js +5 -5
- package/es5/messages_fr.bundle.js +5 -5
- package/es5/messages_ga.bundle.js +5 -5
- package/es5/messages_hr.bundle.js +5 -5
- package/es5/messages_hu.bundle.js +5 -5
- package/es5/messages_id.bundle.js +5 -5
- package/es5/messages_it.bundle.js +5 -5
- package/es5/messages_iw.bundle.js +5 -5
- package/es5/messages_ja.bundle.js +5 -5
- package/es5/messages_ko.bundle.js +5 -5
- package/es5/messages_lo.bundle.js +5 -5
- package/es5/messages_lt.bundle.js +5 -5
- package/es5/messages_ms.bundle.js +5 -5
- package/es5/messages_nl.bundle.js +5 -5
- package/es5/messages_no.bundle.js +5 -5
- package/es5/messages_pl.bundle.js +5 -5
- package/es5/messages_pt-BR.bundle.js +5 -5
- package/es5/messages_pt.bundle.js +5 -5
- package/es5/messages_ru.bundle.js +5 -5
- package/es5/messages_sk.bundle.js +5 -5
- package/es5/messages_sl.bundle.js +5 -5
- package/es5/messages_sr.bundle.js +5 -5
- package/es5/messages_sv.bundle.js +5 -5
- package/es5/messages_th.bundle.js +5 -5
- package/es5/messages_tr.bundle.js +5 -5
- package/es5/messages_zh-HK.bundle.js +5 -5
- package/es5/messages_zh.bundle.js +5 -5
- package/manifest.json +47 -47
- package/package.json +1 -1
- package/sheerid-requestOrg.css +4 -4
- package/sheerid-requestOrg.js +14 -14
- package/sheerid-requestOrg.js.map +1 -1
- package/sheerid-utils.js +8 -8
- package/sheerid-utils.js.map +1 -1
- package/sheerid.css +4 -4
- package/sheerid.js +18 -18
- package/sheerid.js.map +1 -1
- package/sheerides6.js +125 -127
- package/sheerides6.js.map +1 -1
- package/src/components/FeatureFlags/flags.d.ts +0 -1
- package/src/components/FeatureFlags/hooks.d.ts +1 -1
- package/src/lib/ServerApi/Network.d.ts +1 -4
- package/src/lib/ServerApi/VerificationApiClient.d.ts +1 -1
- package/src/lib/types/types.d.ts +2 -2
- package/types-reference.zip +0 -0
|
@@ -17,10 +17,7 @@ export declare const GetResponse: (url: string, headers?: {
|
|
|
17
17
|
"Content-Type": string;
|
|
18
18
|
}) => Promise<Object>;
|
|
19
19
|
export declare const createFormData: (files: File[]) => FormData;
|
|
20
|
-
export declare const PostFiles: (url: string, files: File[], headers?: {
|
|
21
|
-
Accept: string;
|
|
22
|
-
}) => Promise<Object>;
|
|
23
20
|
export declare const createDocUploadData: (files: File[]) => DocUploadData[];
|
|
24
|
-
export declare const
|
|
21
|
+
export declare const PostFiles: (url: string, files: File[], headers?: {
|
|
25
22
|
"Content-Type": string;
|
|
26
23
|
}) => Promise<Object>;
|
|
@@ -13,7 +13,7 @@ declare function getResendNewEmailCode(verificationId: DatabaseId): Promise<any>
|
|
|
13
13
|
export declare function getMockVerificationRequestErrorResponse(errorId: NetworkErrorId): VerificationResponse;
|
|
14
14
|
export declare const memberViewModelToRequest: (viewModel: MemberPersonalInfoViewModel) => MemberPersonalInfoRequest;
|
|
15
15
|
export declare const firstResponderViewModelToRequest: (viewModel: FirstResponderPersonalInfoViewModel) => FirstResponderPersonalInfoRequest;
|
|
16
|
-
declare function submitStep(stepName: VerificationStep, previousResponse: VerificationResponse, viewModel: ViewModel
|
|
16
|
+
declare function submitStep(stepName: VerificationStep, previousResponse: VerificationResponse, viewModel: ViewModel): Promise<VerificationResponse | ErrorResponse>;
|
|
17
17
|
/**
|
|
18
18
|
* EXPERIMENTAL - Check which fields are required and optional for a given view model
|
|
19
19
|
*/
|
package/src/lib/types/types.d.ts
CHANGED
|
@@ -1446,7 +1446,7 @@ export interface VerificationServiceFunctions {
|
|
|
1446
1446
|
readonly updateViewModel: (viewModel: ViewModel) => void;
|
|
1447
1447
|
readonly updateProgramTheme: (programTheme: ProgramTheme) => void;
|
|
1448
1448
|
readonly updateFieldValidationErrors: (fieldValidationErrors: FieldValidationErrors) => void;
|
|
1449
|
-
readonly submitStep: (stepName: VerificationStep, viewModel: ViewModel, previousResponse: VerificationResponse
|
|
1449
|
+
readonly submitStep: (stepName: VerificationStep, viewModel: ViewModel, previousResponse: VerificationResponse) => Promise<void>;
|
|
1450
1450
|
readonly updateLocale: (viewModel: ViewModel, programTheme: ProgramTheme, segment: Segment) => void;
|
|
1451
1451
|
}
|
|
1452
1452
|
/**
|
|
@@ -1569,7 +1569,7 @@ export declare type Hook = {
|
|
|
1569
1569
|
callback: (verificationResponse: SuccessResponse) => void;
|
|
1570
1570
|
} | {
|
|
1571
1571
|
name: "ON_VERIFICATION_STEP_CHANGE";
|
|
1572
|
-
callback: (verificationResponse:
|
|
1572
|
+
callback: (verificationResponse: AllResponseTypes) => void;
|
|
1573
1573
|
};
|
|
1574
1574
|
export declare type HookName = "ON_VERIFICATION_READY" | "ON_VERIFICATION_SUCCESS" | "ON_VERIFICATION_STEP_CHANGE";
|
|
1575
1575
|
/**
|
package/types-reference.zip
CHANGED
|
Binary file
|