@tap-payments/auth-jsconnect 1.0.96-test → 1.0.97-test

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.
@@ -65,7 +65,9 @@ var SuccessWithFlowButtons = function () {
65
65
  var reMapFlowData = function (flows) {
66
66
  if (flows === void 0) { flows = []; }
67
67
  var images = ICONS_NAMES;
68
- var mappedFlows = flows.map(function (_a) {
68
+ var mappedFlows = flows
69
+ .filter(function (item) { return item.name; })
70
+ .map(function (_a) {
69
71
  var name = _a.name, url = _a.url, status = _a.status;
70
72
  var type = status === 'initiated' ? 'pending' : 'completed';
71
73
  var title = t("".concat(name, "_flow_").concat(type), {
@@ -65,7 +65,9 @@ var SuccessWithFlowButtons = function () {
65
65
  var reMapFlowData = function (flows) {
66
66
  if (flows === void 0) { flows = []; }
67
67
  var images = ICONS_NAMES;
68
- var mappedFlows = flows.map(function (_a) {
68
+ var mappedFlows = flows
69
+ .filter(function (item) { return item.name; })
70
+ .map(function (_a) {
69
71
  var name = _a.name, url = _a.url, status = _a.status;
70
72
  var type = status === 'initiated' ? 'pending' : 'completed';
71
73
  var title = t("".concat(name, "_flow_").concat(type), {
@@ -65,7 +65,9 @@ var SuccessWithFlowButtons = function () {
65
65
  var reMapFlowData = function (flows) {
66
66
  if (flows === void 0) { flows = []; }
67
67
  var images = ICONS_NAMES;
68
- var mappedFlows = flows.map(function (_a) {
68
+ var mappedFlows = flows
69
+ .filter(function (item) { return item.name; })
70
+ .map(function (_a) {
69
71
  var name = _a.name, url = _a.url, status = _a.status;
70
72
  var type = status === 'initiated' ? 'pending' : 'completed';
71
73
  var title = t("".concat(name, "_flow_").concat(type), {
@@ -65,7 +65,9 @@ var SuccessWithFlowButtons = function () {
65
65
  var reMapFlowData = function (flows) {
66
66
  if (flows === void 0) { flows = []; }
67
67
  var images = ICONS_NAMES;
68
- var mappedFlows = flows.map(function (_a) {
68
+ var mappedFlows = flows
69
+ .filter(function (item) { return item.name; })
70
+ .map(function (_a) {
69
71
  var name = _a.name, url = _a.url, status = _a.status;
70
72
  var type = status === 'initiated' ? 'pending' : 'completed';
71
73
  var title = t("".concat(name, "_flow_").concat(type), {
@@ -65,7 +65,9 @@ var SuccessWithFlowButtons = function () {
65
65
  var reMapFlowData = function (flows) {
66
66
  if (flows === void 0) { flows = []; }
67
67
  var images = ICONS_NAMES;
68
- var mappedFlows = flows.map(function (_a) {
68
+ var mappedFlows = flows
69
+ .filter(function (item) { return item.name; })
70
+ .map(function (_a) {
69
71
  var name = _a.name, url = _a.url, status = _a.status;
70
72
  var type = status === 'initiated' ? 'pending' : 'completed';
71
73
  var title = t("".concat(name, "_flow_").concat(type), {
package/build/index.css CHANGED
@@ -133,3 +133,7 @@ table {
133
133
  border-collapse: collapse;
134
134
  border-spacing: 0;
135
135
  }
136
+
137
+ * {
138
+ box-sizing: border-box;
139
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/auth-jsconnect",
3
- "version": "1.0.96-test",
3
+ "version": "1.0.97-test",
4
4
  "description": "connect library, auth",
5
5
  "private": false,
6
6
  "main": "build/index.js",