@eid-easy/eideasy-widget 2.5.0 → 2.9.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/dist/index.html CHANGED
@@ -36,10 +36,15 @@
36
36
  <select name="langPicker" id="langPicker">
37
37
  <option value="en">English</option>
38
38
  <option value="et" selected="">Estonian</option>
39
+ <option value="fi">Finnish</option>
40
+ <option value="fr">French</option>
39
41
  <option value="de">German</option>
40
42
  <option value="lv">Latvian</option>
41
43
  <option value="lt">Lithuanian</option>
44
+ <option value="pt">Portuguese</option>
42
45
  <option value="ru">Russian</option>
46
+ <option value="es">Spanish</option>
47
+ <option value="sv">Swedish</option>
43
48
  </select>
44
49
  </div>
45
50
  <h2>Signatures</h2>
@@ -124,6 +129,9 @@
124
129
  });
125
130
  return methods;
126
131
  },
132
+ modifyEndpointUrl(urlString) {
133
+ return urlString;
134
+ }
127
135
  }
128
136
 
129
137
  Object.keys(settings).forEach(key => {
@@ -143,10 +151,10 @@
143
151
  language: 'et', // ISO 639-1 two letter language code,
144
152
  sandbox: true,
145
153
  clientId: 'SNcycaJFfibUABHrbx6c51YRqSiV76Nz',
146
- docId: 'nQoR4Ypaa3AGaHFmWvGX5PeNEoXMJ2Xx1QVWzPxt',
154
+ docId: 'VDu0UefMoCvlekkFLm0eusMcHDx7M4xV6hOrqG5J',
147
155
  redirectUri: 'http://localhost:8080/', // this gets used for redirects e.g. when using eParaksts mobile
148
156
  apiEndpoints: {
149
- base: () => 'https://id.eideasy.localhost',
157
+ base: () => 'https://id.eideasy.eu',
150
158
  },
151
159
  translations: {
152
160
  'et': {
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@eid-easy/eideasy-widget",
3
- "version": "2.5.0",
3
+ "version": "2.9.0",
4
4
  "description": "eID Easy Widget is a client-side embeddable component for creating electronic signatures and identifying users through eID Easy API.",
5
5
  "main": "dist/full/eideasy-widget.umd.min.js",
6
- "sri": "sha256-GiLOGBjdHbnD3gbIEHCr9/eRyuL3L7wWx09EpnvbpoU=",
7
- "productionReleaseVersion": "2.5.0",
8
- "productionReleaseSri": "sha256-GiLOGBjdHbnD3gbIEHCr9/eRyuL3L7wWx09EpnvbpoU=",
6
+ "sri": "sha256-tKLV/7vd4d3KBasLsL8/1LWbJrUpgiM3tqMf7BwaZII=",
7
+ "productionReleaseVersion": "2.9.0",
8
+ "productionReleaseSri": "sha256-tKLV/7vd4d3KBasLsL8/1LWbJrUpgiM3tqMf7BwaZII=",
9
9
  "files": [
10
10
  "dist"
11
11
  ],
@@ -41,7 +41,7 @@
41
41
  },
42
42
  "license": "MIT",
43
43
  "dependencies": {
44
- "@eid-easy/eideasy-browser-client": "2.9.0",
44
+ "@eid-easy/eideasy-browser-client": "2.12.1",
45
45
  "core-js": "^3.6.5",
46
46
  "i18n-iso-countries": "^6.7.0",
47
47
  "lodash.defaultsdeep": "^4.6.1",