@eid-easy/eideasy-widget 2.31.0 → 2.34.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
@@ -35,8 +35,8 @@
35
35
  <label for="langPicker">Language:</label>
36
36
  <select name="langPicker" id="langPicker">
37
37
  <option value="cs">Czech</option>
38
- <option value="en">English</option>
39
- <option value="et" selected="">Estonian</option>
38
+ <option value="en" selected="">English</option>
39
+ <option value="et">Estonian</option>
40
40
  <option value="fi">Finnish</option>
41
41
  <option value="fr">French</option>
42
42
  <option value="de">German</option>
@@ -60,8 +60,8 @@
60
60
  const eidEasyWidget = document.createElement('eideasy-widget');
61
61
 
62
62
  const settings = {
63
- countryCode: 'BE', // ISO 3166 two letter country code
64
- language: 'et', // ISO 639-1 two letter language code,
63
+ countryCode: 'FI', // ISO 3166 two letter country code
64
+ language: 'en', // ISO 639-1 two letter language code,
65
65
  sandbox: true,
66
66
  clientId: '9kKmNtYQ7LDOlHvasAE9oYQ0gKS4V4Bl',
67
67
  redirectUri: 'http://localhost:8080/', // this gets used for redirects e.g. when using eParaksts mobile
@@ -150,21 +150,21 @@
150
150
 
151
151
  const settings = {
152
152
  debug: true,
153
- countryCode: 'IT', // ISO 3166 two letter country code
154
- language: 'et', // ISO 639-1 two letter language code,
153
+ countryCode: 'FI', // ISO 3166 two letter country code
154
+ language: 'en', // ISO 639-1 two letter language code,
155
155
  sandbox: true,
156
- clientId: '9kKmNtYQ7LDOlHvasAE9oYQ0gKS4V4Bl',
157
- docId: 'pGD9EaahA2qCqMHvEsl7arVAWzXOQxAuDEDzcXna',
156
+ clientId: '8bCSWU8EPV17KWmGUpRGeafUn0Gzjd2N',
157
+ docId: 'rdwLRarEaLI5aatUWUrCeLNWtVbILeVcIot5Cqur',
158
158
  apiEndpoints: {
159
159
  base: () => 'https://id.eideasy.eu',
160
160
  },
161
161
  translations: {
162
+ 'en': {
163
+ message: "I am provided in settings",
164
+ },
162
165
  'et': {
163
166
  "message": "Mina olen antud kasutaja poolt i18n !!",
164
167
  },
165
- 'en': {
166
- message: "I am provided in settings",
167
- }
168
168
  }, // translations object to override existing translations
169
169
  // identification: true or 'all' will enable all methods
170
170
  // if you want to enable specific methods, then use
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@eid-easy/eideasy-widget",
3
- "version": "2.31.0",
3
+ "version": "2.34.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-pl8c1ZkYVPsvQXmXOCUX04fp63mpcT7uv2T6+sY0+5A=",
7
- "productionReleaseVersion": "2.31.0",
8
- "productionReleaseSri": "sha256-pl8c1ZkYVPsvQXmXOCUX04fp63mpcT7uv2T6+sY0+5A=",
6
+ "sri": "sha256-Vk+GVLfqoWl2t46sxU5QPklC/M4tXx6hkBVXnE44dig=",
7
+ "productionReleaseVersion": "2.34.0",
8
+ "productionReleaseSri": "sha256-Vk+GVLfqoWl2t46sxU5QPklC/M4tXx6hkBVXnE44dig=",
9
9
  "files": [
10
10
  "dist"
11
11
  ],
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "license": "MIT",
45
45
  "dependencies": {
46
- "@eid-easy/eideasy-browser-client": "2.32.0",
46
+ "@eid-easy/eideasy-browser-client": "2.34.0",
47
47
  "core-js": "^3.6.5",
48
48
  "i18n-iso-countries": "^6.7.0",
49
49
  "lodash.defaultsdeep": "^4.6.1",