@effect-aws/client-api-gateway-v2 1.10.7 → 2.0.0-beta.0
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/LICENSE +1 -1
- package/README.md +3 -3
- package/dist/dts/ApiGatewayV2ClientInstance.d.ts +2 -2
- package/dist/dts/ApiGatewayV2ClientInstance.d.ts.map +1 -1
- package/dist/dts/ApiGatewayV2Service.d.ts +105 -107
- package/dist/dts/ApiGatewayV2Service.d.ts.map +1 -1
- package/dist/dts/ApiGatewayV2ServiceConfig.d.ts.map +1 -1
- package/dist/esm/ApiGatewayV2ClientInstance.js +3 -3
- package/dist/esm/ApiGatewayV2ClientInstance.js.map +1 -1
- package/dist/esm/ApiGatewayV2Service.js +2 -2
- package/dist/esm/ApiGatewayV2Service.js.map +1 -1
- package/dist/esm/ApiGatewayV2ServiceConfig.js +5 -6
- package/dist/esm/ApiGatewayV2ServiceConfig.js.map +1 -1
- package/package.json +8 -14
- package/src/ApiGatewayV2ClientInstance.ts +4 -4
- package/src/ApiGatewayV2Service.ts +106 -106
- package/src/ApiGatewayV2ServiceConfig.ts +6 -7
- package/dist/cjs/ApiGatewayV2ClientInstance.d.ts +0 -24
- package/dist/cjs/ApiGatewayV2ClientInstance.d.ts.map +0 -1
- package/dist/cjs/ApiGatewayV2ClientInstance.js +0 -50
- package/dist/cjs/ApiGatewayV2ClientInstance.js.map +0 -1
- package/dist/cjs/ApiGatewayV2Service.d.ts +0 -458
- package/dist/cjs/ApiGatewayV2Service.d.ts.map +0 -1
- package/dist/cjs/ApiGatewayV2Service.js +0 -162
- package/dist/cjs/ApiGatewayV2Service.js.map +0 -1
- package/dist/cjs/ApiGatewayV2ServiceConfig.d.ts +0 -25
- package/dist/cjs/ApiGatewayV2ServiceConfig.d.ts.map +0 -1
- package/dist/cjs/ApiGatewayV2ServiceConfig.js +0 -35
- package/dist/cjs/ApiGatewayV2ServiceConfig.js.map +0 -1
- package/dist/cjs/Errors.d.ts +0 -12
- package/dist/cjs/Errors.d.ts.map +0 -1
- package/dist/cjs/Errors.js +0 -11
- package/dist/cjs/Errors.js.map +0 -1
- package/dist/cjs/index.d.ts +0 -44
- package/dist/cjs/index.d.ts.map +0 -1
- package/dist/cjs/index.js +0 -56
- package/dist/cjs/index.js.map +0 -1
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ With default ApiGatewayV2Client instance:
|
|
|
16
16
|
```typescript
|
|
17
17
|
import { ApiGatewayV2 } from "@effect-aws/client-api-gateway-v2";
|
|
18
18
|
|
|
19
|
-
const program = ApiGatewayV2.getApi(args);
|
|
19
|
+
const program = ApiGatewayV2.use((svc) => svc.getApi(args));
|
|
20
20
|
|
|
21
21
|
const result = pipe(
|
|
22
22
|
program,
|
|
@@ -30,7 +30,7 @@ With custom ApiGatewayV2Client instance:
|
|
|
30
30
|
```typescript
|
|
31
31
|
import { ApiGatewayV2 } from "@effect-aws/client-api-gateway-v2";
|
|
32
32
|
|
|
33
|
-
const program = ApiGatewayV2.getApi(args);
|
|
33
|
+
const program = ApiGatewayV2.use((svc) => svc.getApi(args));
|
|
34
34
|
|
|
35
35
|
const result = await pipe(
|
|
36
36
|
program,
|
|
@@ -46,7 +46,7 @@ With custom ApiGatewayV2Client configuration:
|
|
|
46
46
|
```typescript
|
|
47
47
|
import { ApiGatewayV2 } from "@effect-aws/client-api-gateway-v2";
|
|
48
48
|
|
|
49
|
-
const program = ApiGatewayV2.getApi(args);
|
|
49
|
+
const program = ApiGatewayV2.use((svc) => svc.getApi(args));
|
|
50
50
|
|
|
51
51
|
const result = await pipe(
|
|
52
52
|
program,
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { ApiGatewayV2Client } from "@aws-sdk/client-apigatewayv2";
|
|
5
|
-
import {
|
|
6
|
-
declare const ApiGatewayV2ClientInstance_base:
|
|
5
|
+
import { Effect, Layer, ServiceMap } from "effect";
|
|
6
|
+
declare const ApiGatewayV2ClientInstance_base: ServiceMap.ServiceClass<ApiGatewayV2ClientInstance, "@effect-aws/client-api-gateway-v2/ApiGatewayV2ClientInstance", ApiGatewayV2Client>;
|
|
7
7
|
/**
|
|
8
8
|
* @since 1.0.0
|
|
9
9
|
* @category tags
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiGatewayV2ClientInstance.d.ts","sourceRoot":"","sources":["../../src/ApiGatewayV2ClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ApiGatewayV2ClientInstance.d.ts","sourceRoot":"","sources":["../../src/ApiGatewayV2ClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;;AAGnD;;;GAGG;AACH,qBAAa,0BAA2B,SAAQ,+BAE/C;CAAG;AAEJ;;;GAGG;AACH,eAAO,MAAM,IAAI,wEAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,uDAAiD,CAAC"}
|