@tauri-apps/plugin-geolocation 2.2.2 → 2.2.4

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/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -118,8 +118,8 @@ import {
118
118
 
119
119
  let permissions = await checkPermissions()
120
120
  if (
121
- permissions.location === 'prompt' ||
122
- permissions.location === 'prompt-with-rationale'
121
+ permissions.location === 'prompt'
122
+ || permissions.location === 'prompt-with-rationale'
123
123
  ) {
124
124
  permissions = await requestPermissions(['location'])
125
125
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tauri-apps/plugin-geolocation",
3
- "version": "2.2.2",
3
+ "version": "2.2.4",
4
4
  "license": "MIT OR Apache-2.0",
5
5
  "authors": [
6
6
  "Tauri Programme within The Commons Conservancy"