@scaleway/sdk 1.10.0 → 1.10.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.
package/dist/index.cjs CHANGED
@@ -497,7 +497,7 @@ const assertValidSettings = obj => {
497
497
  }
498
498
  };
499
499
 
500
- const version = 'v1.9.0';
500
+ const version = 'v1.10.0';
501
501
  const userAgent = `scaleway-sdk-js/${version}`;
502
502
 
503
503
  const isBrowser = () => typeof window !== 'undefined' && typeof window.document !== 'undefined';
@@ -1489,7 +1489,7 @@ const buildFetcher = (settings, httpClient) => {
1489
1489
  } catch (err) {
1490
1490
  const resErrorInterceptors = prepareResponseErrors();
1491
1491
  const handledError = await resErrorInterceptors(finalRequest, err);
1492
- return handledError;
1492
+ return unwrapper(handledError);
1493
1493
  }
1494
1494
  };
1495
1495
  };
package/dist/index.d.ts CHANGED
@@ -14555,10 +14555,7 @@ type CreateClusterRequest$2 = {
14555
14555
  * could be set.
14556
14556
  */
14557
14557
  projectId?: string;
14558
- /**
14559
- * Type of the cluster. Type of the cluster (possible values are kapsule,
14560
- * multicloud).
14561
- */
14558
+ /** Type of the cluster (possible values are kapsule, multicloud). */
14562
14559
  type: string;
14563
14560
  /** Name of the cluster. */
14564
14561
  name?: string;
@@ -14705,8 +14702,8 @@ type SetClusterTypeRequest = {
14705
14702
  /** ID of the cluster to migrate from one type to another. */
14706
14703
  clusterId: string;
14707
14704
  /**
14708
- * Type of the cluster. Type of the cluster. Note that some migrations are not
14709
- * possible (please refer to product documentation).
14705
+ * Type of the cluster. Note that some migrations are not possible (please
14706
+ * refer to product documentation).
14710
14707
  */
14711
14708
  type: string;
14712
14709
  };
@@ -1,4 +1,4 @@
1
- const version = 'v1.9.0';
1
+ const version = 'v1.10.0';
2
2
  const userAgent = `scaleway-sdk-js/${version}`;
3
3
 
4
4
  export { userAgent, version };
@@ -64,7 +64,7 @@ const buildFetcher = (settings, httpClient) => {
64
64
  } catch (err) {
65
65
  const resErrorInterceptors = prepareResponseErrors();
66
66
  const handledError = await resErrorInterceptors(finalRequest, err);
67
- return handledError;
67
+ return unwrapper(handledError);
68
68
  }
69
69
  };
70
70
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Scaleway SDK.",
6
6
  "keywords": [
@@ -35,5 +35,5 @@
35
35
  "bundledDependencies": [
36
36
  "@scaleway/random-name"
37
37
  ],
38
- "gitHead": "3fcccb0fe3ba944bea778ea0d6bb55273ec01db6"
38
+ "gitHead": "63a666c22bd14e195fef02ca3d6395a426cdfa05"
39
39
  }