@tauri-apps/plugin-clipboard-manager 2.2.1 → 2.2.2

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.
package/dist-js/index.cjs CHANGED
@@ -83,7 +83,7 @@ async function writeImage(image$1) {
83
83
  * import { readImage } from '@tauri-apps/plugin-clipboard-manager';
84
84
  *
85
85
  * const clipboardImage = await readImage();
86
- * const blob = new Blob([await clipboardImage.rbga()], { type: 'image' })
86
+ * const blob = new Blob([await clipboardImage.rgba()], { type: 'image' })
87
87
  * const url = URL.createObjectURL(blob)
88
88
  * ```
89
89
  * @since 2.0.0
@@ -62,7 +62,7 @@ declare function writeImage(image: string | Image | Uint8Array | ArrayBuffer | n
62
62
  * import { readImage } from '@tauri-apps/plugin-clipboard-manager';
63
63
  *
64
64
  * const clipboardImage = await readImage();
65
- * const blob = new Blob([await clipboardImage.rbga()], { type: 'image' })
65
+ * const blob = new Blob([await clipboardImage.rgba()], { type: 'image' })
66
66
  * const url = URL.createObjectURL(blob)
67
67
  * ```
68
68
  * @since 2.0.0
package/dist-js/index.js CHANGED
@@ -81,7 +81,7 @@ async function writeImage(image) {
81
81
  * import { readImage } from '@tauri-apps/plugin-clipboard-manager';
82
82
  *
83
83
  * const clipboardImage = await readImage();
84
- * const blob = new Blob([await clipboardImage.rbga()], { type: 'image' })
84
+ * const blob = new Blob([await clipboardImage.rgba()], { type: 'image' })
85
85
  * const url = URL.createObjectURL(blob)
86
86
  * ```
87
87
  * @since 2.0.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tauri-apps/plugin-clipboard-manager",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "license": "MIT OR Apache-2.0",
5
5
  "authors": [
6
6
  "Tauri Programme within The Commons Conservancy"