@tesouro/embedded-components-loader 0.11.290 → 0.11.293

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.js CHANGED
@@ -57,7 +57,7 @@ function satisfiesRange(version, range) {
57
57
  }
58
58
  // src/loader.ts
59
59
  /** Baked at build time: installing loader 1.2.3 pins hosted 1.2.3. */
60
- var LOADER_VERSION = "0.11.290";
60
+ var LOADER_VERSION = "0.11.293";
61
61
  var DEFAULT_BASE_URL = "https://widgets.tesouro.com";
62
62
  /** Frozen forever: every future loader must read what every past one wrote. */
63
63
  var LOADED_VERSION_MARKER = Symbol.for("tesouro.embedded.loadedVersion");
@@ -3016,6 +3016,30 @@ interface ApplicationDeletedScreenLabels {
3016
3016
  startNewApplicationButton: string;
3017
3017
  }
3018
3018
 
3019
+ interface DocumentVerificationScreenLabels {
3020
+ heading: string;
3021
+ intro: string;
3022
+ /** Screen 9b says the text went a while ago, so it drops the "just". */
3023
+ stillWaitingIntro: string;
3024
+ /** `maskedPhoneNumber` is already masked by the caller, e.g. (•••) •••-1234. */
3025
+ textedTo: (maskedPhoneNumber: string) => string;
3026
+ textedBody: string;
3027
+ /** A returning applicant gets no new text, so these point them to the QR
3028
+ * code. The screen never reads them: the caller, which knows the applicant
3029
+ * is returning, passes them as `intro` and `textedBody`. */
3030
+ returningIntro: string;
3031
+ returningTextedBody: string;
3032
+ waiting: string;
3033
+ stillWaitingTitle: string;
3034
+ stillWaitingBody: string;
3035
+ disclaimer: string;
3036
+ or: string;
3037
+ scanTitle: string;
3038
+ scanHint: string;
3039
+ qrCodeAlt: string;
3040
+ qrCodeLoading: string;
3041
+ }
3042
+
3019
3043
  /**
3020
3044
  * Values the application-status copy can interpolate. The bank name comes from
3021
3045
  * widget init with `fallbackBankName` applied, so it is never missing. The rest
@@ -3160,6 +3184,11 @@ interface BankAccountOnboardingWidgetLabels {
3160
3184
  shellFdicDisclaimer: string;
3161
3185
  /** The card shown instead of the form for an existing application. */
3162
3186
  applicationStatus: ApplicationStatusLabels;
3187
+ /**
3188
+ * Screens 9a/9b: the identity check the applicant finishes on their phone.
3189
+ * `textedTo` takes the masked number, e.g. (•••) •••-1234.
3190
+ */
3191
+ documentVerification: Partial<DocumentVerificationScreenLabels>;
3163
3192
  /** Shown in place of the form while the browser check runs, or once it fails. */
3164
3193
  deviceProfiling: {
3165
3194
  /** Hidden status text while the check runs. */
@@ -1981,6 +1981,30 @@ interface ApplicationDeletedScreenLabels {
1981
1981
  startNewApplicationButton: string;
1982
1982
  }
1983
1983
 
1984
+ interface DocumentVerificationScreenLabels {
1985
+ heading: string;
1986
+ intro: string;
1987
+ /** Screen 9b says the text went a while ago, so it drops the "just". */
1988
+ stillWaitingIntro: string;
1989
+ /** `maskedPhoneNumber` is already masked by the caller, e.g. (•••) •••-1234. */
1990
+ textedTo: (maskedPhoneNumber: string) => string;
1991
+ textedBody: string;
1992
+ /** A returning applicant gets no new text, so these point them to the QR
1993
+ * code. The screen never reads them: the caller, which knows the applicant
1994
+ * is returning, passes them as `intro` and `textedBody`. */
1995
+ returningIntro: string;
1996
+ returningTextedBody: string;
1997
+ waiting: string;
1998
+ stillWaitingTitle: string;
1999
+ stillWaitingBody: string;
2000
+ disclaimer: string;
2001
+ or: string;
2002
+ scanTitle: string;
2003
+ scanHint: string;
2004
+ qrCodeAlt: string;
2005
+ qrCodeLoading: string;
2006
+ }
2007
+
1984
2008
  /**
1985
2009
  * Values the application-status copy can interpolate. The bank name comes from
1986
2010
  * widget init with `fallbackBankName` applied, so it is never missing. The rest
@@ -2125,6 +2149,11 @@ interface BankAccountOnboardingWidgetLabels {
2125
2149
  shellFdicDisclaimer: string;
2126
2150
  /** The card shown instead of the form for an existing application. */
2127
2151
  applicationStatus: ApplicationStatusLabels;
2152
+ /**
2153
+ * Screens 9a/9b: the identity check the applicant finishes on their phone.
2154
+ * `textedTo` takes the masked number, e.g. (•••) •••-1234.
2155
+ */
2156
+ documentVerification: Partial<DocumentVerificationScreenLabels>;
2128
2157
  /** Shown in place of the form while the browser check runs, or once it fails. */
2129
2158
  deviceProfiling: {
2130
2159
  /** Hidden status text while the check runs. */
@@ -2148,6 +2148,30 @@ interface ApplicationDeletedScreenLabels {
2148
2148
  startNewApplicationButton: string;
2149
2149
  }
2150
2150
 
2151
+ interface DocumentVerificationScreenLabels {
2152
+ heading: string;
2153
+ intro: string;
2154
+ /** Screen 9b says the text went a while ago, so it drops the "just". */
2155
+ stillWaitingIntro: string;
2156
+ /** `maskedPhoneNumber` is already masked by the caller, e.g. (•••) •••-1234. */
2157
+ textedTo: (maskedPhoneNumber: string) => string;
2158
+ textedBody: string;
2159
+ /** A returning applicant gets no new text, so these point them to the QR
2160
+ * code. The screen never reads them: the caller, which knows the applicant
2161
+ * is returning, passes them as `intro` and `textedBody`. */
2162
+ returningIntro: string;
2163
+ returningTextedBody: string;
2164
+ waiting: string;
2165
+ stillWaitingTitle: string;
2166
+ stillWaitingBody: string;
2167
+ disclaimer: string;
2168
+ or: string;
2169
+ scanTitle: string;
2170
+ scanHint: string;
2171
+ qrCodeAlt: string;
2172
+ qrCodeLoading: string;
2173
+ }
2174
+
2151
2175
  /**
2152
2176
  * Values the application-status copy can interpolate. The bank name comes from
2153
2177
  * widget init with `fallbackBankName` applied, so it is never missing. The rest
@@ -2291,6 +2315,11 @@ interface BankAccountOnboardingWidgetLabels {
2291
2315
  shellFdicDisclaimer: string;
2292
2316
  /** The card shown instead of the form for an existing application. */
2293
2317
  applicationStatus: ApplicationStatusLabels;
2318
+ /**
2319
+ * Screens 9a/9b: the identity check the applicant finishes on their phone.
2320
+ * `textedTo` takes the masked number, e.g. (•••) •••-1234.
2321
+ */
2322
+ documentVerification: Partial<DocumentVerificationScreenLabels>;
2294
2323
  /** Shown in place of the form while the browser check runs, or once it fails. */
2295
2324
  deviceProfiling: {
2296
2325
  /** Hidden status text while the check runs. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-loader",
3
- "version": "0.11.290",
3
+ "version": "0.11.293",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "sideEffects": false,