@effect-aws/commons 0.2.0 → 0.2.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.
@@ -7,7 +7,7 @@ import type { Array } from "effect";
7
7
  import { Effect } from "effect";
8
8
  import type { TaggedException } from "./Errors.js";
9
9
  import { SdkError } from "./Errors.js";
10
- import type { BaseResolvedConfig, CommandCtor, LoggerResolvedConfig } from "./internal/types.js";
10
+ import type { BaseResolvedConfig, CommandCtor, LoggerResolvedConfig } from "./internal/service.js";
11
11
  import type { HttpHandlerOptions } from "./Types.js";
12
12
  type ServiceFnOptions = {
13
13
  errorTags?: Array.NonEmptyReadonlyArray<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"Service.d.ts","sourceRoot":"","sources":["../../src/Service.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,KAAK,EAAE,MAAM,EAAmB,MAAM,eAAe,CAAC;AAC7D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAAQ,MAAM,EAAkB,MAAM,QAAQ,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AACjG,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD,KAAK,gBAAgB,GAAG;IACtB,SAAS,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC;IAChD,mBAAmB,EAAE,MAAM,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC;CAC1D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,eAAgB,MAAM,qBAAqB,CAAC,MAAM,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,oBAAoB,CAAC,CAAC;CAC1D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,eAAgB,MAAM,qBAAqB,CAAC,MAAM,CAAC,SAAS,OAAO,iDAUrG,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,WAChB,OAAO,GAAG,EAAE,GAAG,EAAE,kBAAkB,CAAC,eAC/B,YAAY,GAAG,CAAC,aAClB,gBAAgB,YAEb,GAAG,YAAY,kBAAkB,4EAQhD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,wBAAwB,sBACzB,OAAO,MAAM,EAAE,YAAY,GAAG,CAAC,CAAC,kBAC1B,CAAC,aAAa,YAAY,GAAG,CAAC,KAAK,WAAW,oBAAoB,CAAC,KAClF,OAoBY,CAAC;AAEhB;;;GAGG;AACH,eAAO,MAAM,qBAAqB,oBACxB,OAAO,GAAG,EAAE,GAAG,EAAE,kBAAkB,CAAC,YAClC,OAAO,MAAM,EAAE,YAAY,GAAG,CAAC,CAAC,WACjC,gBAAgB,KACxB,OAA2G,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { CommandImpl, SmithyResolvedConfiguration } from "@smithy/smithy-client";
2
+ import type { HandlerOptions, Logger, RequestHandler } from "@smithy/types";
3
+ export interface LoggerResolvedConfig {
4
+ logger?: Logger;
5
+ }
6
+ export interface BaseResolvedConfig extends Required<LoggerResolvedConfig>, SmithyResolvedConfiguration<HandlerOptions> {
7
+ requestHandler: RequestHandler<any, any, any>;
8
+ }
9
+ export type CommandCtor<I> = new (input: I, ...args: Array<any>) => CommandImpl<I, any, BaseResolvedConfig>;
10
+ //# sourceMappingURL=service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../src/internal/service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AACtF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE5E,MAAM,WAAW,oBAAoB;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,kBACf,SAAQ,QAAQ,CAAC,oBAAoB,CAAC,EAAE,2BAA2B,CAAC,cAAc,CAAC;IAEnF,cAAc,EAAE,cAAc,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;CAC/C;AAED,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,KAAI,KAAK,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,KAAK,WAAW,CAAC,CAAC,EAAE,GAAG,EAAE,kBAAkB,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=types.js.map
3
+ //# sourceMappingURL=service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service.js","sourceRoot":"","sources":["../../../src/internal/service.ts"],"names":[],"mappings":""}
@@ -7,7 +7,7 @@ import type { Array } from "effect";
7
7
  import { Effect } from "effect";
8
8
  import type { TaggedException } from "./Errors.js";
9
9
  import { SdkError } from "./Errors.js";
10
- import type { BaseResolvedConfig, CommandCtor, LoggerResolvedConfig } from "./internal/types.js";
10
+ import type { BaseResolvedConfig, CommandCtor, LoggerResolvedConfig } from "./internal/service.js";
11
11
  import type { HttpHandlerOptions } from "./Types.js";
12
12
  type ServiceFnOptions = {
13
13
  errorTags?: Array.NonEmptyReadonlyArray<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"Service.d.ts","sourceRoot":"","sources":["../../src/Service.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,KAAK,EAAE,MAAM,EAAmB,MAAM,eAAe,CAAC;AAC7D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AACp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pl, SmithyResolvedConfiguration } from "@smithy/smithy-client";
2
+ import type { HandlerOptions, Logger, RequestHandler } from "@smithy/types";
3
+ export interface LoggerResolvedConfig {
4
+ logger?: Logger;
5
+ }
6
+ export interface BaseResolvedConfig extends Required<LoggerResolvedConfig>, SmithyResolvedConfiguration<HandlerOptions> {
7
+ requestHandler: RequestHandler<any, any, any>;
8
+ }
9
+ export type CommandCtor<I> = new (input: I, ...args: Array<any>) => CommandImpl<I, any, BaseResolvedConfig>;
10
+ //# sourceMappingURL=service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../src/internal/service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AACtF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE5E,MAAM,WAAW,oBAAoB;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,kBACf,SAAQ,QAAQ,CAAC,oBAAoB,CAAC,EAAE,2BAA2B,CAAC,cAAc,CAAC;IAEnF,cAAc,EAAE,cAAc,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;CAC/C;AAED,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,KAAI,KAAK,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,KAAK,WAAW,CAAC,CAAC,EAAE,GAAG,EAAE,kBAAkB,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service.js","sourceRoot":"","sources":["../../../src/internal/service.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect-aws/commons",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Effectful AWS common library",
5
5
  "license": "MIT",
6
6
  "repository": {
package/src/Service.ts CHANGED
@@ -7,7 +7,7 @@ import type { Array } from "effect";
7
7
  import { Data, Effect, Record, String } from "effect";
8
8
  import type { TaggedException } from "./Errors.js";
9
9
  import { SdkError } from "./Errors.js";
10
- import type { BaseResolvedConfig, CommandCtor, LoggerResolvedConfig } from "./internal/types.js";
10
+ import type { BaseResolvedConfig, CommandCtor, LoggerResolvedConfig } from "./internal/service.js";
11
11
  import type { HttpHandlerOptions } from "./Types.js";
12
12
 
13
13
  type ServiceFnOptions = {
@@ -1,23 +1,14 @@
1
1
  import type { CommandImpl, SmithyResolvedConfiguration } from "@smithy/smithy-client";
2
2
  import type { HandlerOptions, Logger, RequestHandler } from "@smithy/types";
3
3
 
4
- /**
5
- * @internal
6
- */
7
4
  export interface LoggerResolvedConfig {
8
5
  logger?: Logger;
9
6
  }
10
7
 
11
- /**
12
- * @internal
13
- */
14
8
  export interface BaseResolvedConfig
15
9
  extends Required<LoggerResolvedConfig>, SmithyResolvedConfiguration<HandlerOptions>
16
10
  {
17
11
  requestHandler: RequestHandler<any, any, any>;
18
12
  }
19
13
 
20
- /**
21
- * @internal
22
- */
23
14
  export type CommandCtor<I> = new(input: I, ...args: Array<any>) => CommandImpl<I, any, BaseResolvedConfig>;
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/internal/types.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/internal/types.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/internal/types.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/internal/types.ts"],"names":[],"mappings":""}