Selaa lähdekoodia

chore(deps): pin wry to 0.27 (#6477)

* chore(deps): pin wry to 0.27

* update index.js [skip ci]

* fmt
Lucas Fernandes Nogueira 2 vuotta sitten
vanhempi
sitoutus
30e94677b0

+ 1 - 1
core/tauri-runtime-wry/Cargo.toml

@@ -13,7 +13,7 @@ exclude = [ "CHANGELOG.md", "/target" ]
 readme = "README.md"
 
 [dependencies]
-wry = { git = "https://github.com/tauri-apps/wry", branch = "dev", default-features = false, features = [ "file-drop", "protocol" ] }
+wry = { version = "0.27", default-features = false, features = [ "file-drop", "protocol" ] }
 tauri-runtime = { version = "0.13.0-alpha.1", path = "../tauri-runtime" }
 tauri-utils = { version = "2.0.0-alpha.1", path = "../tauri-utils" }
 uuid = { version = "1", features = [ "v4" ] }

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
examples/api/dist/assets/index.css


+ 2 - 1
examples/api/src-tauri/Cargo.lock

@@ -4081,7 +4081,8 @@ dependencies = [
 [[package]]
 name = "wry"
 version = "0.27.0"
-source = "git+https://github.com/tauri-apps/wry?branch=dev#db6618b560b9fbaed7e333bb6bb2463f5196ca17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "26712b3ea99abb29c3b0067b284515e2ccdf5d6df7ac5e21129d71550eb9c3e6"
 dependencies = [
  "base64 0.13.1",
  "block",

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
tooling/api/docs/js-api.json


+ 15 - 15
tooling/api/src/window.ts

@@ -1279,12 +1279,12 @@ class WindowManager extends WebviewWindowHandle {
             type: 'setMinSize',
             payload: size
               ? {
-                type: size.type,
-                data: {
-                  width: size.width,
-                  height: size.height
+                  type: size.type,
+                  data: {
+                    width: size.width,
+                    height: size.height
+                  }
                 }
-              }
               : null
           }
         }
@@ -1321,12 +1321,12 @@ class WindowManager extends WebviewWindowHandle {
             type: 'setMaxSize',
             payload: size
               ? {
-                type: size.type,
-                data: {
-                  width: size.width,
-                  height: size.height
+                  type: size.type,
+                  data: {
+                    width: size.width,
+                    height: size.height
+                  }
                 }
-              }
               : null
           }
         }
@@ -2206,11 +2206,11 @@ function mapMonitor(m: Monitor | null): Monitor | null {
   return m === null
     ? null
     : {
-      name: m.name,
-      scaleFactor: m.scaleFactor,
-      position: new PhysicalPosition(m.position.x, m.position.y),
-      size: new PhysicalSize(m.size.width, m.size.height)
-    }
+        name: m.name,
+        scaleFactor: m.scaleFactor,
+        position: new PhysicalPosition(m.position.x, m.position.y),
+        size: new PhysicalSize(m.size.width, m.size.height)
+      }
 }
 
 /**

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä