@eid-easy/eideasy-widget 2.36.0-beta.1 → 2.38.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
@@ -60,10 +60,10 @@
60
60
  const eidEasyWidget = document.createElement('eideasy-widget');
61
61
 
62
62
  const settings = {
63
- countryCode: 'FI', // ISO 3166 two letter country code
63
+ countryCode: 'LV', // ISO 3166 two letter country code
64
64
  language: 'en', // ISO 639-1 two letter language code,
65
65
  sandbox: true,
66
- clientId: '9kKmNtYQ7LDOlHvasAE9oYQ0gKS4V4Bl',
66
+ clientId: 'SNcycaJFfibUABHrbx6c51YRqSiV76Nz',
67
67
  redirectUri: 'http://localhost:8080/', // this gets used for redirects e.g. when using eParaksts mobile
68
68
  apiEndpoints: {
69
69
  base: () => 'http://id.eideasy.eu',
@@ -116,6 +116,9 @@
116
116
  console.log(error);
117
117
  },
118
118
  methodsConfigFilter(methods) {
119
+ console.log(
120
+ methods.identification.filter(({actionType}) => actionType.includes('eparaksts'))
121
+ );
119
122
  const modifiedMethods = {};
120
123
 
121
124
  modifiedMethods.signature = methods.signature.map((method) => {
@@ -150,11 +153,11 @@
150
153
 
151
154
  const settings = {
152
155
  debug: true,
153
- countryCode: 'EE', // ISO 3166 two letter country code
156
+ countryCode: 'DE', // ISO 3166 two letter country code
154
157
  language: 'en', // ISO 639-1 two letter language code,
155
158
  sandbox: true,
156
159
  clientId: 'SNcycaJFfibUABHrbx6c51YRqSiV76Nz',
157
- docId: 'GxS4XPn1iunNr3Yunftq1yzUh1JYKE0T3uE3x0VQ',
160
+ docId: 'zM8i4KMwfphUPJG6lOYHEmT7faOItfD8tjgAtNwX',
158
161
  apiEndpoints: {
159
162
  base: () => 'https://id.eideasy.eu',
160
163
  },
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@eid-easy/eideasy-widget",
3
- "version": "2.36.0-beta.1",
3
+ "version": "2.38.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-8TXuiK8H0l4S18wBipLDdSxG/H+G6wR6tEFGvJIMni8=",
7
- "productionReleaseVersion": "2.35.2",
8
- "productionReleaseSri": "sha256-cH7tnAEqSyAyIZjlHKVkcBL+R3oPF/dhHXzBlqvIp38=",
6
+ "sri": "sha256-B6uGiOuOagUQa0yno6OWHCBz/n5vsGq56nllhKcSk38=",
7
+ "productionReleaseVersion": "2.38.0",
8
+ "productionReleaseSri": "sha256-B6uGiOuOagUQa0yno6OWHCBz/n5vsGq56nllhKcSk38=",
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.35.2",
46
+ "@eid-easy/eideasy-browser-client": "2.38.0",
47
47
  "core-js": "^3.6.5",
48
48
  "i18n-iso-countries": "^6.7.0",
49
49
  "lodash.defaultsdeep": "^4.6.1",