pinokiod 6.0.13 → 6.0.15

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server/index.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "6.0.13",
3
+ "version": "6.0.15",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server/index.js CHANGED
@@ -895,6 +895,7 @@ class Server {
895
895
  if (options && options.requestPermissions && req.agent === "electron" && this.browser && typeof this.browser.requestPermissions === "function") {
896
896
  try {
897
897
  const permissions = config && config.permissions ? config.permissions : []
898
+ console.log('[PERMISSION] Dispatch request', { name, agent: req.agent, permissions })
898
899
  Promise.resolve(this.browser.requestPermissions({ name, permissions })).catch((err) => {
899
900
  console.warn('[PERMISSION] Callback request failed', err)
900
901
  })