@scaleway/sdk-client 2.3.0 → 2.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.
package/dist/bridge.d.ts CHANGED
@@ -6,7 +6,7 @@ export { waitForResource } from './internal/async/interval-retrier.js';
6
6
  export { API } from './scw/api.js';
7
7
  export type { DefaultValues } from './scw/client-settings.js';
8
8
  export { marshalBlobToScwFile, marshalDecimal, marshalMoney, marshalScwFile, marshalTimeSeries, unmarshalDecimal, unmarshalMoney, unmarshalScwFile, unmarshalServiceInfo, unmarshalTimeSeries, unmarshalTimeSeriesPoint, } from './scw/custom-marshalling.js';
9
- export type { Money, ScwFile, ServiceInfo, TimeSeries, } from './scw/custom-types.js';
9
+ export type { Money, ScwFile, ServiceInfo, TimeSeries } from './scw/custom-types.js';
10
10
  export { Decimal } from './scw/custom-types.js';
11
11
  export { enrichForPagination } from './scw/fetch/resource-paginator.js';
12
12
  export type { Region, Zone } from './scw/locality.js';
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export type { WaitForOptions, WaitForStopCondition, } from './internal/async/interval-retrier.js';
1
+ export type { WaitForOptions, WaitForStopCondition } from './internal/async/interval-retrier.js';
2
2
  export type { NetworkInterceptors, RequestInterceptor, ResponseErrorInterceptor, ResponseInterceptor, } from './internal/interceptors/types.js';
3
3
  export { enableConsoleLogger, setLogger } from './internal/logger/index.js';
4
4
  export type { Logger } from './internal/logger/logger.js';
@@ -1,6 +1,6 @@
1
1
  export { isJSONObject } from './helpers/json.js';
2
2
  export { resolveOneOf, unmarshalArrayOfObject, unmarshalDate, unmarshalMapOfObject, urlParams, validatePathParam, } from './helpers/marshalling.js';
3
- export { createExponentialBackoffStrategy, tryAtIntervals, waitForResource, } from './internal/async/interval-retrier.js';
3
+ export { createExponentialBackoffStrategy, tryAtIntervals, waitForResource } from './internal/async/interval-retrier.js';
4
4
  export { addAsyncHeaderInterceptor } from './internal/interceptors/helpers.js';
5
5
  export { API } from './scw/api.js';
6
6
  export { authenticateWithSessionToken } from './scw/auth.js';
package/dist/package.js CHANGED
@@ -1,34 +1,34 @@
1
1
  var package_default = {
2
2
  name: "@scaleway/sdk-client",
3
3
  version: "2.3.0",
4
- license: "Apache-2.0",
5
4
  description: "Scaleway SDK Client",
6
5
  keywords: [
7
- "scaleway",
6
+ "client",
8
7
  "cloud",
9
- "sdk",
10
- "client"
8
+ "scaleway",
9
+ "sdk"
11
10
  ],
12
- scripts: {
13
- "typecheck": "tsgo --noEmit",
14
- "type:generate": "tsgo --declaration -p tsconfig.build.json",
15
- "build": "vite build --config ../../vite.config.ts && pnpm run type:generate && tsc-alias -p tsconfig.build.json",
16
- "build:profile": "npx vite-bundle-visualizer -c ../../vite.config.ts"
17
- },
18
- files: ["dist"],
19
- publishConfig: { "access": "public" },
11
+ license: "Apache-2.0",
20
12
  repository: {
21
13
  "type": "git",
22
14
  "url": "git+https://github.com/scaleway/scaleway-sdk-js",
23
15
  "directory": "packages/client"
24
16
  },
25
- engines: { "node": ">=20.19.6" },
17
+ files: ["dist"],
26
18
  type: "module",
27
19
  exports: { ".": {
28
20
  "types": "./dist/index.d.ts",
29
21
  "default": "./dist/index.js"
30
22
  } },
31
- devDependencies: { "@repo/configs": "workspace:^" }
23
+ publishConfig: { "access": "public" },
24
+ scripts: {
25
+ "typecheck": "tsgo --noEmit",
26
+ "type:generate": "tsgo --declaration -p tsconfig.build.json",
27
+ "build": "vite build --config ../../vite.config.ts && pnpm run type:generate && tsc-alias -p tsconfig.build.json",
28
+ "build:profile": "npx vite-bundle-visualizer -c ../../vite.config.ts"
29
+ },
30
+ devDependencies: { "@repo/configs": "workspace:^" },
31
+ engines: { "node": ">=20.19.6" }
32
32
  };
33
33
  //#endregion
34
34
  export { package_default as default };
@@ -22,7 +22,7 @@ interface AddSessionHeader {
22
22
  * @returns The Request interceptor
23
23
  *
24
24
  */
25
- export declare const addSessionHeader: ({ request, getAsyncToken, }: AddSessionHeader) => Promise<Request>;
25
+ export declare const addSessionHeader: ({ request, getAsyncToken }: AddSessionHeader) => Promise<Request>;
26
26
  /**
27
27
  * Authenticates with a session token.
28
28
  *
@@ -73,5 +73,5 @@ type HeaderEntry = [string, string];
73
73
  *
74
74
  * @internal
75
75
  */
76
- export declare const obfuscateAuthHeadersEntry: ([name, value,]: HeaderEntry) => HeaderEntry;
76
+ export declare const obfuscateAuthHeadersEntry: ([name, value]: HeaderEntry) => HeaderEntry;
77
77
  export {};
@@ -7,7 +7,7 @@ export { OutOfStockError } from './out-of-stock-error.js';
7
7
  export type { PermissionsDeniedErrorDetails } from './permissions-denied-error.js';
8
8
  export { PermissionsDeniedError } from './permissions-denied-error.js';
9
9
  export { PreconditionFailedError } from './precondition-failed-error.js';
10
- export type { QuotasExceededErrorDetails, QuotasExceededErrorScope, } from './quotas-exceeded-error.js';
10
+ export type { QuotasExceededErrorDetails, QuotasExceededErrorScope } from './quotas-exceeded-error.js';
11
11
  export { QuotasExceededError } from './quotas-exceeded-error.js';
12
12
  export { ResourceExpiredError } from './resource-expired-error.js';
13
13
  export { ResourceLockedError } from './resource-locked-error.js';
package/package.json CHANGED
@@ -1,28 +1,22 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-client",
3
- "version": "2.3.0",
4
- "license": "Apache-2.0",
3
+ "version": "2.3.1",
5
4
  "description": "Scaleway SDK Client",
6
5
  "keywords": [
7
- "scaleway",
6
+ "client",
8
7
  "cloud",
9
- "sdk",
10
- "client"
11
- ],
12
- "files": [
13
- "dist"
8
+ "scaleway",
9
+ "sdk"
14
10
  ],
15
- "publishConfig": {
16
- "access": "public"
17
- },
11
+ "license": "Apache-2.0",
18
12
  "repository": {
19
13
  "type": "git",
20
14
  "url": "git+https://github.com/scaleway/scaleway-sdk-js",
21
15
  "directory": "packages/client"
22
16
  },
23
- "engines": {
24
- "node": ">=20.19.6"
25
- },
17
+ "files": [
18
+ "dist"
19
+ ],
26
20
  "type": "module",
27
21
  "exports": {
28
22
  ".": {
@@ -30,9 +24,15 @@
30
24
  "default": "./dist/index.js"
31
25
  }
32
26
  },
27
+ "publishConfig": {
28
+ "access": "public"
29
+ },
33
30
  "devDependencies": {
34
31
  "@repo/configs": "^0.1.1"
35
32
  },
33
+ "engines": {
34
+ "node": ">=20.19.6"
35
+ },
36
36
  "scripts": {
37
37
  "typecheck": "tsgo --noEmit",
38
38
  "type:generate": "tsgo --declaration -p tsconfig.build.json",