@distilled.cloud/aws 0.5.0 → 0.5.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.
Files changed (2) hide show
  1. package/README.md +6 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -12,7 +12,9 @@ npm install @distilled.cloud/aws effect
12
12
 
13
13
  ```typescript
14
14
  import { Effect, Layer } from "effect";
15
+ import * as Stream from "effect/Stream";
15
16
  import * as FetchHttpClient from "effect/unstable/http/FetchHttpClient";
17
+ import * as Lambda from "@distilled.cloud/aws/lambda";
16
18
  import * as S3 from "@distilled.cloud/aws/s3";
17
19
  import { Credentials, Region } from "@distilled.cloud/aws";
18
20
 
@@ -28,6 +30,10 @@ const program = Effect.gen(function* () {
28
30
  Key: "hello.txt",
29
31
  });
30
32
 
33
+ const functions = yield* Lambda.listFunctions
34
+ .items({})
35
+ .pipe(Stream.take(10), Stream.runCollect);
36
+
31
37
  return result.ContentType;
32
38
  });
33
39
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@distilled.cloud/aws",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/alchemy-run/distilled",
@@ -74,7 +74,7 @@
74
74
  "test": "bunx vitest run test",
75
75
  "publish:npm": "bun run build && bun publish --access public",
76
76
  "generate": "bun run scripts/generate.ts && oxlint --fix src && oxfmt --write src && oxfmt --write src",
77
- "specs:fetch": "git submodule update --force --init --recursive specs/api-models-aws && git -C specs/api-models-aws checkout -- . && git submodule update --force --init --recursive specs/aws-sdk-js-v3 && git -C specs/aws-sdk-js-v3 checkout -- . && git submodule update --force --init --recursive specs/smithy && git -C specs/smithy checkout -- . && git submodule update --force --init --recursive specs/smithy-typescript && git -C specs/smithy-typescript checkout -- .",
77
+ "specs:fetch": "git submodule update --force --init --recursive --depth=1 specs/api-models-aws && git -C specs/api-models-aws checkout -- . && git submodule update --force --init --recursive --depth=1 specs/aws-sdk-js-v3 && git -C specs/aws-sdk-js-v3 checkout -- . && git submodule update --force --init --recursive --depth=1 specs/smithy && git -C specs/smithy checkout -- . && git submodule update --force --init --recursive --depth=1 specs/smithy-typescript && git -C specs/smithy-typescript checkout -- .",
78
78
  "specs:update": "git -C specs/api-models-aws fetch && git -C specs/api-models-aws checkout main && git -C specs/api-models-aws pull && git -C specs/aws-sdk-js-v3 fetch && git -C specs/aws-sdk-js-v3 checkout main && git -C specs/aws-sdk-js-v3 pull && git -C specs/smithy fetch && git -C specs/smithy checkout main && git -C specs/smithy pull && git -C specs/smithy-typescript fetch && git -C specs/smithy-typescript checkout main && git -C specs/smithy-typescript pull"
79
79
  },
80
80
  "dependencies": {
@@ -82,7 +82,7 @@
82
82
  "@aws-crypto/util": "^5.2.0",
83
83
  "@aws-sdk/credential-providers": "^3.994.0",
84
84
  "@aws-sdk/types": "^3.973.1",
85
- "@distilled.cloud/core": "0.5.0",
85
+ "@distilled.cloud/core": "0.5.1",
86
86
  "@smithy/shared-ini-file-loader": "^4.4.3",
87
87
  "@smithy/types": "^4.12.0",
88
88
  "@smithy/util-base64": "^4.3.0",