@eid-easy/eideasy-widget 2.36.0 → 2.39.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
@@ -63,7 +63,7 @@
63
63
  countryCode: 'FI', // 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) => {
@@ -134,7 +137,8 @@
134
137
  },
135
138
  modifyEndpointUrl(urlString) {
136
139
  return urlString;
137
- }
140
+ },
141
+ oauthParamState: 'custom-state-value-from-widget',
138
142
  }
139
143
 
140
144
  Object.keys(settings).forEach(key => {
@@ -150,11 +154,11 @@
150
154
 
151
155
  const settings = {
152
156
  debug: true,
153
- countryCode: 'EE', // ISO 3166 two letter country code
157
+ countryCode: 'DE', // ISO 3166 two letter country code
154
158
  language: 'en', // ISO 639-1 two letter language code,
155
159
  sandbox: true,
156
160
  clientId: 'SNcycaJFfibUABHrbx6c51YRqSiV76Nz',
157
- docId: 'GxS4XPn1iunNr3Yunftq1yzUh1JYKE0T3uE3x0VQ',
161
+ docId: 'zM8i4KMwfphUPJG6lOYHEmT7faOItfD8tjgAtNwX',
158
162
  apiEndpoints: {
159
163
  base: () => 'https://id.eideasy.eu',
160
164
  },
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@eid-easy/eideasy-widget",
3
- "version": "2.36.0",
3
+ "version": "2.39.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-NxWopAxuvtZK5AsmYteiK9ye9e1PKUTeCe5GwPDjrkM=",
7
- "productionReleaseVersion": "2.36.0",
8
- "productionReleaseSri": "sha256-NxWopAxuvtZK5AsmYteiK9ye9e1PKUTeCe5GwPDjrkM=",
6
+ "sri": "sha256-YrLbyu8vmrjOaPjBh5IbJcj55oy1kXHxBp1QF7u0gzA=",
7
+ "productionReleaseVersion": "2.39.0",
8
+ "productionReleaseSri": "sha256-YrLbyu8vmrjOaPjBh5IbJcj55oy1kXHxBp1QF7u0gzA=",
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.37.0",
46
+ "@eid-easy/eideasy-browser-client": "2.39.0",
47
47
  "core-js": "^3.6.5",
48
48
  "i18n-iso-countries": "^6.7.0",
49
49
  "lodash.defaultsdeep": "^4.6.1",