@lightspeed/online-payments-sdk 1.2.0 → 1.2.1

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.
@@ -88,10 +88,7 @@ function getThemeConfig(theme) {
88
88
  appearance: {
89
89
  theme: 'night',
90
90
  },
91
- fonts: [],
92
- layout: {
93
- type: 'tabs',
94
- },
91
+ fonts: []
95
92
  };
96
93
  default:
97
94
  return undefined;
@@ -26,7 +26,7 @@ export interface ThemeConfig {
26
26
  fonts: Array<{
27
27
  cssSrc: string;
28
28
  }>;
29
- layout: {
29
+ layout?: {
30
30
  type: 'tabs' | 'accordion';
31
31
  };
32
32
  }
@@ -82,10 +82,7 @@ export function getThemeConfig(theme) {
82
82
  appearance: {
83
83
  theme: 'night',
84
84
  },
85
- fonts: [],
86
- layout: {
87
- type: 'tabs',
88
- },
85
+ fonts: []
89
86
  };
90
87
  default:
91
88
  return undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightspeed/online-payments-sdk",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Process online-payments with Lightspeed Payments",
5
5
  "author": "Lightspeed Commerce Inc.",
6
6
  "license": "SEE LICENSE IN LICENSE.md",