@tesouro/embedded-components-react 0.11.92 → 0.11.93

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
@@ -1326,10 +1326,7 @@ interface AuditHistoryActorLabels {
1326
1326
  /** A template so locales own the wording/order, e.g. "Invoice created by Jane Doe". */
1327
1327
  byActor: (title: string, actorName: string) => string;
1328
1328
  }
1329
- /**
1330
- * Copy and formatting the caller owns, so the Monite panel can back this with
1331
- * lingui and the native widget with its labels.ts.
1332
- */
1329
+ /** Copy and formatting the caller owns, backed by the widget's labels.ts. */
1333
1330
  interface ReceivableAuditHistoryLabels extends AuditHistoryActorLabels {
1334
1331
  dateLabel: (isoDateTime: string) => string;
1335
1332
  timeLabel: (isoDateTime: string) => string;
@@ -1706,9 +1703,8 @@ interface UseWidgetTokenResult {
1706
1703
  refresh: () => Promise<void>;
1707
1704
  /**
1708
1705
  * Synchronously read the manager's current state without subscribing the
1709
- * caller to re-renders. Useful for non-React callbacks (e.g. a Monite
1710
- * `fetchToken` callback) that need the post-`await refresh()` token without
1711
- * the React render lag of `state`.
1706
+ * caller to re-renders. Useful for non-React callbacks that need the
1707
+ * post-`await refresh()` token without the React render lag of `state`.
1712
1708
  */
1713
1709
  getState: () => WidgetTokenState;
1714
1710
  }
@@ -690,10 +690,7 @@ interface AuditHistoryActorLabels {
690
690
  /** A template so locales own the wording/order, e.g. "Invoice created by Jane Doe". */
691
691
  byActor: (title: string, actorName: string) => string;
692
692
  }
693
- /**
694
- * Copy and formatting the caller owns, so the Monite panel can back this with
695
- * lingui and the native widget with its labels.ts.
696
- */
693
+ /** Copy and formatting the caller owns, backed by the widget's labels.ts. */
697
694
  interface ReceivableAuditHistoryLabels extends AuditHistoryActorLabels {
698
695
  dateLabel: (isoDateTime: string) => string;
699
696
  timeLabel: (isoDateTime: string) => string;
@@ -1284,9 +1284,8 @@ interface UseWidgetTokenResult {
1284
1284
  refresh: () => Promise<void>;
1285
1285
  /**
1286
1286
  * Synchronously read the manager's current state without subscribing the
1287
- * caller to re-renders. Useful for non-React callbacks (e.g. a Monite
1288
- * `fetchToken` callback) that need the post-`await refresh()` token without
1289
- * the React render lag of `state`.
1287
+ * caller to re-renders. Useful for non-React callbacks that need the
1288
+ * post-`await refresh()` token without the React render lag of `state`.
1290
1289
  */
1291
1290
  getState: () => WidgetTokenState;
1292
1291
  }
@@ -1,5 +1,5 @@
1
1
  // ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
2
- var e = "@tesouro/embedded-components-react", t = "0.11.92", n = "242e44d05ee24f69748f0cb3367d576ba37a532b", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.11.93", n = "82ac3563f467e3b730aded4ce345c7cdb4998700", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.11.92",
3
+ "version": "0.11.93",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "sideEffects": [