@eid-easy/eideasy-widget 2.36.0 → 2.37.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: 'q9vSd5V6U2iWRFhDegGcYv3nk68FBSPp',
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) => {
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.37.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-tFx4Mnp48anUC9OPezXZzGGCtnEeJiYxy2OnkRtW890=",
7
+ "productionReleaseVersion": "2.37.0",
8
+ "productionReleaseSri": "sha256-tFx4Mnp48anUC9OPezXZzGGCtnEeJiYxy2OnkRtW890=",
9
9
  "files": [
10
10
  "dist"
11
11
  ],