@swan-io/shared-business 13.3.0 → 13.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swan-io/shared-business",
3
- "version": "13.3.0",
3
+ "version": "13.4.0",
4
4
  "engines": {
5
5
  "node": "^22.12.0"
6
6
  },
@@ -12,10 +12,6 @@
12
12
  "src/**/*.d.ts",
13
13
  "README.md"
14
14
  ],
15
- "publishConfig": {
16
- "access": "public",
17
- "registry": "https://registry.npmjs.org"
18
- },
19
15
  "browserslist": [
20
16
  ">0.2%",
21
17
  "not op_mini all",
@@ -25,7 +21,7 @@
25
21
  ],
26
22
  "license": "MIT",
27
23
  "peerDependencies": {
28
- "@swan-io/lake": "13.3.0"
24
+ "@swan-io/lake": "13.4.0"
29
25
  },
30
26
  "dependencies": {
31
27
  "@formatjs/intl": "^3.1.6",
@@ -50,6 +46,6 @@
50
46
  "@types/react-dom": "^19.1.7",
51
47
  "@types/react-native": "^0.72.8",
52
48
  "type-fest": "^4.41.0",
53
- "@swan-io/lake": "13.3.0"
49
+ "@swan-io/lake": "13.4.0"
54
50
  }
55
51
  }
@@ -37,7 +37,7 @@ type RIBv1Props = {
37
37
  bankNumber: string;
38
38
  } | {
39
39
  accountCountry: "BEL";
40
- agency: string;
40
+ bankKey: string;
41
41
  bankNumber: string;
42
42
  });
43
43
  export type RIBProps = RIBv1Props;
@@ -73,7 +73,7 @@ const RIBv1 = ({ accountHolderAddress, bank, bankAddress, bic, iban, partnerColo
73
73
  .with({ accountCountry: "ESP" }, ({ agency, bankNumber, nationalCode }) => (_jsxs(_Fragment, { children: [_jsx(Item, { kind: "small", label: t("rib.bank"), value: bank }), _jsx(Space, { width: 24 }), _jsx(Item, { kind: "small", label: t("rib.agency"), value: agency }), _jsx(Space, { width: 24 }), _jsx(Item, { kind: "small", label: t("rib.nationalCode"), value: nationalCode }), _jsx(Space, { width: 24 }), _jsx(Item, { kind: "small", label: t("rib.number"), value: bankNumber })] })))
74
74
  .with({ accountCountry: "NLD" }, ({ bankKey, bankNumber }) => (_jsxs(_Fragment, { children: [_jsx(Item, { kind: "small", label: t("rib.bank"), value: bank }), _jsx(Space, { width: 24 }), _jsx(Item, { kind: "small", label: t("rib.number"), value: bankNumber }), _jsx(Space, { width: 24 }), _jsx(Item, { kind: "small", label: t("rib.key"), value: bankKey })] })))
75
75
  .with({ accountCountry: "ITA" }, ({ agency, bankNumber }) => (_jsxs(_Fragment, { children: [_jsx(Item, { kind: "small", label: t("rib.bank"), value: bank }), _jsx(Space, { width: 24 }), _jsx(Item, { kind: "small", label: t("rib.agency"), value: agency }), _jsx(Space, { width: 24 }), _jsx(Item, { kind: "small", label: t("rib.number"), value: bankNumber })] })))
76
- .with({ accountCountry: "BEL" }, ({ agency, bankNumber }) => (_jsxs(_Fragment, { children: [_jsx(Item, { kind: "small", label: t("rib.bank"), value: bank }), _jsx(Space, { width: 24 }), _jsx(Item, { kind: "small", label: t("rib.agency"), value: agency }), _jsx(Space, { width: 24 }), _jsx(Item, { kind: "small", label: t("rib.number"), value: bankNumber })] })))
76
+ .with({ accountCountry: "BEL" }, ({ bankKey, bankNumber }) => (_jsxs(_Fragment, { children: [_jsx(Item, { kind: "small", label: t("rib.bank"), value: bank }), _jsx(Space, { width: 24 }), _jsx(Item, { kind: "small", label: t("rib.key"), value: bankKey }), _jsx(Space, { width: 24 }), _jsx(Item, { kind: "small", label: t("rib.number"), value: bankNumber })] })))
77
77
  .exhaustive() })] }), _jsx(Separator, {}), _jsxs(View, { style: styles.half, children: [_jsxs(Box, { direction: "row", alignItems: "center", children: [_jsx(Item, { kind: "address", color: "partner", label: t("rib.address"), value: [
78
78
  bankAddress.name,
79
79
  bankAddress.address,