@ryuu-reinzz/haruka-lib 2.0.7 → 2.0.9

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.
@@ -5,7 +5,7 @@ import pkg from 'file-type';
5
5
  import convert from './internal/convert.js';
6
6
  import Exif from './internal/Metadata/Exif.js';
7
7
  import { StickerTypes } from './internal/Metadata/StickerTypes.js';
8
- import { extractMetadata } from './index.js';
8
+ import { extractMetadata } from './extractMetadata.js';
9
9
  /**
10
10
  * Sticker class
11
11
  */
@@ -4,7 +4,7 @@ import webp from 'node-webpmux';
4
4
  * @param {Buffer}image - The image buffer to extract metadata from
5
5
  */
6
6
  const WebP = webp;
7
- export const extractMetapdata = async (image) => {
7
+ export const extractMetadata = async (image) => {
8
8
  const img = new WebP();
9
9
  await img.load(image);
10
10
  const exif = img.exif?.toString('utf-8') ?? '{}';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ryuu-reinzz/haruka-lib",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "description": "Library extra for bot WhatsApp",
5
5
  "main": "main/index.js",
6
6
  "type": "module",