@tesouro/embedded-components-react 0.3.47 → 0.3.49

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.
@@ -6,9 +6,8 @@ import { useWidgetSuiteProvider as e } from "./index6.js";
6
6
  import { hasAnyScope as t } from "../../../shared/data-access/dist/lib/hasAnyScope.js";
7
7
  import { Scope as n } from "../../../shared/data-access/dist/lib/scopes.js";
8
8
  import "../../../shared/data-access/dist/index.js";
9
- import { CardProgram as r } from "../../../shared/feature/dist/lib/card/cardProgram.js";
10
- import "../../../shared/feature/dist/index.js";
11
- import { CardsWidget as i } from "../../../cards-widget/feature/dist/index9.js";
9
+ import { CreditCardsWidget as r } from "../../../cards-widget/feature/dist/index10.js";
10
+ import { DebitCardsWidget as i } from "../../../cards-widget/feature/dist/index11.js";
12
11
  import "../../../cards-widget/feature/dist/index.js";
13
12
  import { jsx as a, jsxs as o } from "react/jsx-runtime";
14
13
  //#region ../../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index9.js
@@ -16,13 +15,7 @@ function s() {
16
15
  let { grantedScopes: s, labels: c } = e();
17
16
  return /* @__PURE__ */ o("div", {
18
17
  className: "ttw:grid ttw:gap-8",
19
- children: [t(s, [n.CreditCardReadOrg]) && /* @__PURE__ */ a(i, {
20
- cardProgram: r.Credit,
21
- ...c.sections.cards.creditCards
22
- }), t(s, [n.DebitCardReadOrg]) && /* @__PURE__ */ a(i, {
23
- cardProgram: r.Debit,
24
- ...c.sections.cards.debitCards
25
- })]
18
+ children: [t(s, [n.CreditCardReadOrg]) && /* @__PURE__ */ a(r, { ...c.sections.cards.creditCards }), t(s, [n.DebitCardReadOrg]) && /* @__PURE__ */ a(i, { ...c.sections.cards.debitCards })]
26
19
  });
27
20
  }
28
21
  var c = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.3.47",
3
+ "version": "0.3.49",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "packageDepSync": {
@@ -1,3 +0,0 @@
1
- import { CardsWidget as e } from "../libs/tesouro-embedded-components-react/cards-widget/feature/dist/index9.js";
2
- import "../libs/tesouro-embedded-components-react/cards-widget/feature/dist/index.js";
3
- export { e as CardsWidget };