@naturalcycles/js-lib 15.94.0 → 15.94.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.
@@ -74,7 +74,7 @@ export declare class Fetcher {
74
74
  /**
75
75
  * Returns response body as Uint8Array.
76
76
  */
77
- getBytes(url: string, opt?: FetcherOptions): Promise<Uint8Array>;
77
+ getBytes(url: string, opt?: FetcherOptions): Promise<Uint8Array<ArrayBuffer>>;
78
78
  /**
79
79
  * Returns raw fetchResponse.body, which is a ReadableStream<Uint8Array>
80
80
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@naturalcycles/js-lib",
3
3
  "type": "module",
4
- "version": "15.94.0",
4
+ "version": "15.94.1",
5
5
  "dependencies": {
6
6
  "tslib": "^2"
7
7
  },
@@ -14,7 +14,7 @@
14
14
  }
15
15
  },
16
16
  "devDependencies": {
17
- "@naturalcycles/dev-lib": "20.66.0",
17
+ "@naturalcycles/dev-lib": "0.0.0",
18
18
  "@types/node": "^26",
19
19
  "@types/semver": "^7",
20
20
  "typescript": "^7",
@@ -266,7 +266,7 @@ export class Fetcher {
266
266
  /**
267
267
  * Returns response body as Uint8Array.
268
268
  */
269
- async getBytes(url: string, opt?: FetcherOptions): Promise<Uint8Array> {
269
+ async getBytes(url: string, opt?: FetcherOptions): Promise<Uint8Array<ArrayBuffer>> {
270
270
  return await this.fetch({
271
271
  url,
272
272
  responseType: 'bytes',