@scaleway/sdk-client 1.3.1 → 1.3.3

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.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  export type { WaitForOptions, WaitForStopCondition, } from './internal/async/interval-retrier.js';
2
- export type { NetworkInterceptors, RequestInterceptor, ResponseErrorInterceptor, ResponseInterceptor, } from './internal/interceptors/types';
2
+ export type { NetworkInterceptors, RequestInterceptor, ResponseErrorInterceptor, ResponseInterceptor, } from './internal/interceptors/types.js';
3
3
  export { enableConsoleLogger, setLogger } from './internal/logger/index.js';
4
- export type { Logger } from './internal/logger/logger';
5
- export * from './internals';
4
+ export type { Logger } from './internal/logger/logger.js';
5
+ export * from './internals.js';
6
6
  export type { Client } from './scw/client.js';
7
7
  export { createAdvancedClient, createClient } from './scw/client.js';
8
8
  export type { ClientConfig } from './scw/client-ini-factory.js';
@@ -1,4 +1,4 @@
1
- import type { RequestInterceptor, ResponseErrorInterceptor, ResponseInterceptor } from './types';
1
+ import type { RequestInterceptor, ResponseErrorInterceptor, ResponseInterceptor } from './types.js';
2
2
  /**
3
3
  * Composes request interceptors.
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { RequestInterceptor } from './types';
1
+ import type { RequestInterceptor } from './types.js';
2
2
  /**
3
3
  * Adds an header to a request through an interceptor.
4
4
  *
@@ -1,5 +1,5 @@
1
1
  import type { LogLevel } from './level-resolver.js';
2
- import type { Logger } from './logger';
2
+ import type { Logger } from './logger.js';
3
3
  /**
4
4
  * A Logger using console output.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import type { LogLevel } from './level-resolver.js';
2
- import type { Logger } from './logger';
2
+ import type { Logger } from './logger.js';
3
3
  /**
4
4
  * Sets a logger to be used within the SDK.
5
5
  *
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const version = "1.3.0";
3
+ const version = "1.3.2";
4
4
  const pkg = {
5
5
  version
6
6
  };
@@ -1,4 +1,4 @@
1
- const version = "1.3.0";
1
+ const version = "1.3.2";
2
2
  const pkg = {
3
3
  version
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { RequestInterceptor } from '../internal/interceptors/types';
1
+ import type { RequestInterceptor } from '../internal/interceptors/types.js';
2
2
  import type { AuthenticationSecrets } from './client-ini-profile.js';
3
3
  interface TokenAccessor {
4
4
  (): Promise<string | undefined>;
@@ -1,4 +1,4 @@
1
- import type { NetworkInterceptors, RequestInterceptor, ResponseInterceptor } from '../internal/interceptors/types';
1
+ import type { NetworkInterceptors, RequestInterceptor, ResponseInterceptor } from '../internal/interceptors/types.js';
2
2
  import type { Profile } from './client-ini-profile.js';
3
3
  /**
4
4
  * Holds default values of settings.
@@ -1,5 +1,5 @@
1
1
  import type { Settings } from '../client-settings.js';
2
- import type { ResponseUnmarshaller, ScwRequest } from './types';
2
+ import type { ResponseUnmarshaller, ScwRequest } from './types.js';
3
3
  /**
4
4
  * Builds Request from {@link ScwRequest} & {@link Settings}.
5
5
  *
@@ -1,4 +1,4 @@
1
- import type { RequestInterceptor, ResponseInterceptor } from '../../internal/interceptors/types';
1
+ import type { RequestInterceptor, ResponseInterceptor } from '../../internal/interceptors/types.js';
2
2
  /**
3
3
  * Mapper of an header entry.
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { ResponseUnmarshaller } from './types';
1
+ import type { ResponseUnmarshaller } from './types.js';
2
2
  /**
3
3
  * Fixes the totalCount property for old APIs.
4
4
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-client",
3
- "version": "1.3.1",
3
+ "version": "1.3.3",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Scaleway SDK Client",
6
6
  "keywords": [