@ethersphere/bee-js 6.0.0-pre.3 → 6.0.0-pre.5

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.
@@ -1,7 +1,7 @@
1
1
  import getMajorSemver from 'semver/functions/major.js';
2
2
  import { http } from "../../utils/http.js"; // Following lines bellow are automatically updated with GitHub Action when Bee version is updated
3
3
  // so if you are changing anything about them change the `update_bee` action accordingly!
4
- export const SUPPORTED_BEE_VERSION_EXACT = '1.12.0-88c1d236';
4
+ export const SUPPORTED_BEE_VERSION_EXACT = '1.13.0-f1067884';
5
5
  export const SUPPORTED_API_VERSION = '4.0.0';
6
6
  export const SUPPORTED_DEBUG_API_VERSION = '4.0.0';
7
7
  export const SUPPORTED_BEE_VERSION = SUPPORTED_BEE_VERSION_EXACT.substring(0, SUPPORTED_BEE_VERSION_EXACT.indexOf('-'));
@@ -23,7 +23,7 @@ export async function http(options, config) {
23
23
  function maybeRunOnRequestHook(options, requestConfig) {
24
24
  if (options.onRequest) {
25
25
  options.onRequest({
26
- method: requestConfig.method,
26
+ method: requestConfig.method || 'GET',
27
27
  url: Strings.joinUrl(requestConfig.baseURL, requestConfig.url),
28
28
  headers: {
29
29
  ...requestConfig.headers
@@ -1,7 +1,7 @@
1
1
  import { BeeRequestOptions } from '../../index';
2
2
  import type { Health, NodeInfo } from '../../types/debug';
3
3
  import { BeeVersions } from '../../types/debug';
4
- export declare const SUPPORTED_BEE_VERSION_EXACT = "1.12.0-88c1d236";
4
+ export declare const SUPPORTED_BEE_VERSION_EXACT = "1.13.0-f1067884";
5
5
  export declare const SUPPORTED_API_VERSION = "4.0.0";
6
6
  export declare const SUPPORTED_DEBUG_API_VERSION = "4.0.0";
7
7
  export declare const SUPPORTED_BEE_VERSION: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethersphere/bee-js",
3
- "version": "6.0.0-pre.3",
3
+ "version": "6.0.0-pre.5",
4
4
  "description": "Javascript client for Bee",
5
5
  "keywords": [
6
6
  "bee",
@@ -132,6 +132,6 @@
132
132
  "npm": ">=6.0.0",
133
133
  "beeApiVersion": "4.0.0",
134
134
  "beeDebugApiVersion": "4.0.0",
135
- "bee": "1.12.0-88c1d236"
135
+ "bee": "1.13.0-f1067884"
136
136
  }
137
137
  }