diff --git a/README.md b/README.md index 28802d3..270235e 100644 --- a/README.md +++ b/README.md @@ -26,14 +26,14 @@ const topper = new TopperWebSdk(); Where a `config` object can be passed to the constructor: -| Property | Default Value | Values | -| -------------- | ------------- | ------------------------------- | -| environment | `production` | `production`, `sandbox` | -| is_android_app | `false` | `true`, `false` | -| is_ios_app | `false` | `true`, `false` | -| locale | `en` | `en`, `en-US`, `pt`, `pt-BR` | -| theme | `dark` | `dark`, `light` | -| variant | `new-tab` | `new-tab`, `same-tab`, `iframe` | +| Property | Default Value | Values | +| -------------- | ------------- | ---------------------------------------------- | +| environment | `production` | `production`, `sandbox` | +| is_android_app | `false` | `true`, `false` | +| is_ios_app | `false` | `true`, `false` | +| locale | `en` | `en`, `en-US`, `pt`, `pt-BR`, 'es', `es-ES` | +| theme | `dark` | `dark`, `light` | +| variant | `new-tab` | `new-tab`, `same-tab`, `iframe` | ### Initiate Topper diff --git a/src/enums/locales.ts b/src/enums/locales.ts index 442c983..28b7fcc 100644 --- a/src/enums/locales.ts +++ b/src/enums/locales.ts @@ -2,5 +2,7 @@ export enum Locales { EN = 'en', EN_US = 'en-US', PT = 'pt', - PT_BR = 'pt-BR' + PT_BR = 'pt-BR', + ES = 'es', + ES_ES = 'es-ES' }