@scaleway/sdk-client 1.1.0 → 1.1.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const name = "@scaleway/sdk-client";
4
- const version = "1.0.0";
4
+ const version = "1.1.0";
5
5
  const license = "Apache-2.0";
6
6
  const description = "Scaleway SDK Client";
7
7
  const keywords = [
@@ -1,5 +1,5 @@
1
1
  const name = "@scaleway/sdk-client";
2
- const version = "1.0.0";
2
+ const version = "1.1.0";
3
3
  const license = "Apache-2.0";
4
4
  const description = "Scaleway SDK Client";
5
5
  const keywords = [
@@ -24,13 +24,17 @@ function fromByteArray(uint8) {
24
24
  var parts = [];
25
25
  var maxChunkLength = 16383;
26
26
  for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {
27
- parts.push(encodeChunk(uint8, i, i + maxChunkLength > len2 ? len2 : i + maxChunkLength));
27
+ parts.push(
28
+ encodeChunk(
29
+ uint8,
30
+ i,
31
+ i + maxChunkLength > len2 ? len2 : i + maxChunkLength
32
+ )
33
+ );
28
34
  }
29
35
  if (extraBytes === 1) {
30
36
  tmp = uint8[len - 1];
31
- parts.push(
32
- lookup[tmp >> 2] + lookup[tmp << 4 & 63] + "=="
33
- );
37
+ parts.push(lookup[tmp >> 2] + lookup[tmp << 4 & 63] + "==");
34
38
  } else if (extraBytes === 2) {
35
39
  tmp = (uint8[len - 2] << 8) + uint8[len - 1];
36
40
  parts.push(
@@ -22,13 +22,17 @@ function fromByteArray(uint8) {
22
22
  var parts = [];
23
23
  var maxChunkLength = 16383;
24
24
  for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {
25
- parts.push(encodeChunk(uint8, i, i + maxChunkLength > len2 ? len2 : i + maxChunkLength));
25
+ parts.push(
26
+ encodeChunk(
27
+ uint8,
28
+ i,
29
+ i + maxChunkLength > len2 ? len2 : i + maxChunkLength
30
+ )
31
+ );
26
32
  }
27
33
  if (extraBytes === 1) {
28
34
  tmp = uint8[len - 1];
29
- parts.push(
30
- lookup[tmp >> 2] + lookup[tmp << 4 & 63] + "=="
31
- );
35
+ parts.push(lookup[tmp >> 2] + lookup[tmp << 4 & 63] + "==");
32
36
  } else if (extraBytes === 2) {
33
37
  tmp = (uint8[len - 2] << 8) + uint8[len - 1];
34
38
  parts.push(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-client",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Scaleway SDK Client",
6
6
  "keywords": [
@@ -33,5 +33,5 @@
33
33
  "node": ">=18.0"
34
34
  },
35
35
  "type": "module",
36
- "gitHead": "3436da6ff6b394f1000688c996f96c2471b2598a"
36
+ "gitHead": "50cbd0a83df3ed423f7aedae4018e63299e7c945"
37
37
  }