@fto-consult/expo-ui 7.4.58 → 7.4.60

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.
@@ -30,7 +30,7 @@
30
30
  } else if(params.dataURL){
31
31
  PDFObject.embed(params.dataURL,container,params);
32
32
  }
33
- console.log(params," is params heeein marrrrrrrrrrr ");
33
+ console.log(params," is params heeein marrrrrrrrrrr ",window.location,url.searchParams);
34
34
  </script>
35
35
  </body>
36
36
  </html>
@@ -386,11 +386,12 @@ const ELECTRON = {
386
386
  const urlPath = path.resolve(__dirname,"pdf-viewer","viewer.html");
387
387
  if(fs.existsSync(mainPath)){
388
388
  const opts = {
389
- loadURL : `file://${urlPath}?file=${decodeURIComponent(filePathUrl)}&locale=fr&fileName=${fileName}`,
389
+ loadURL : `file://${urlPath}?file=${encodeURIComponent(filePathUrl)}&locale=fr&fileName=${fileName}`,
390
390
  showOnLoad : true,
391
391
  devTools : true,
392
392
  webPreferences : {
393
393
  devTools : true,
394
+ webSecurity: false,
394
395
  ...Object.assign({},options.webPreferences),
395
396
  },
396
397
  fileName
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "7.4.58",
3
+ "version": "7.4.60",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "scripts": {
6
6
  "clear-npx-cache": "npx clear-npx-cache",