fix(tauri.js) promisified API fails on Reflect.deleteProperty, fix #1038 (#1056)

This commit is contained in:
Lucas Fernandes Nogueira 2020-10-17 21:02:32 -03:00 committed by GitHub
parent 82cda98532
commit c8b167adb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 229 additions and 409 deletions

View File

@ -0,0 +1,5 @@
---
"tauri.js": patch
---
Fixes `Reflect.deleteProperty` on promisified API calls failing with `Unable to delete property` by making it configurable.

View File

@ -50,7 +50,8 @@ function transformCallback(
return callback?.(result)
},
writable: false
writable: false,
configurable: true
})
return identifier

File diff suppressed because one or more lines are too long