@wayke-se/ecom-web 1.7.3 → 1.8.0-beta.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/README.md CHANGED
@@ -59,6 +59,7 @@ The associated css is injected into head by default once a `new WaykeEcomWeb(...
59
59
  new WaykeEcomWeb({
60
60
  id: '36364808-671a-49da-b69a-5e0fc4cfe83e',
61
61
  rootId: 'random-element-id',
62
+ marketCode: 'SE',
62
63
  vehicle: {
63
64
  title: 'Lorem ipsum',
64
65
  shortDescription: 'Lorem ipsum',
@@ -104,6 +105,7 @@ Instance contains three public methods, `.start()`, `.close()` and `.destroy()`.
104
105
  ### Optional
105
106
 
106
107
  - `rootId` Choose the element, id, that WakeEcomWeb should append to, by default it will be appended to the body.
108
+ - `marketCode` Used to specify which market to operate in (`'SE'` or `'NO'`), defaults to `'SE'` if unspecified.
107
109
  - `vehicle` Used to override specific vehicle data properties provided from Wayke.
108
110
  - `ecomSdkConfig.bankIdThumbprint` By default Wayke's BankId certificate is used to verify customer identity. There is an optional configuration property `bankIdThumbprint` which allows for dealers to use their own BankId certificate. If the certificate's thumbprint is set that certificate will be used instead, given that it is correctly setup in the Dealer back-office.
109
111
  - `logo` Logo to be displayed in the header of the modal.