@stryke/convert 0.3.0 → 0.3.1

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,4 +5,4 @@ import type { Buffer } from "node:buffer";
5
5
  * @param buf - The buffer to convert.
6
6
  * @returns The converted string.
7
7
  */
8
- export declare function bufferToString(buf: Buffer): string;
8
+ export declare function bufferToString(buf: Buffer | string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stryke/convert",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "type": "module",
5
5
  "description": "A utility package that helps convert between different data types.",
6
6
  "repository": {
@@ -191,5 +191,5 @@
191
191
  "main": "./dist/index.cjs",
192
192
  "module": "./dist/index.mjs",
193
193
  "types": "./dist/index.d.ts",
194
- "gitHead": "a16d6a2ece3f6f8d1d2a76eeae6ac40201bf5723"
194
+ "gitHead": "366390ec25211fb6b36feed4bf0cffb7713253cb"
195
195
  }