sst 2.48.0 → 2.48.2
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/constructs/Function.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ declare const supportedRuntimes: {
|
|
|
24
24
|
"python3.10": CDKRuntime;
|
|
25
25
|
"python3.11": CDKRuntime;
|
|
26
26
|
"python3.12": CDKRuntime;
|
|
27
|
+
"python3.13": CDKRuntime;
|
|
27
28
|
"dotnetcore3.1": CDKRuntime;
|
|
28
29
|
dotnet6: CDKRuntime;
|
|
29
30
|
dotnet8: CDKRuntime;
|
|
@@ -797,7 +798,7 @@ export declare class Function extends CDKFunction implements SSTConstruct {
|
|
|
797
798
|
type: "Function";
|
|
798
799
|
data: {
|
|
799
800
|
arn: string;
|
|
800
|
-
runtime: "container" | "rust" | "nodejs16.x" | "nodejs18.x" | "nodejs20.x" | "nodejs22.x" | "python3.7" | "python3.8" | "python3.9" | "python3.10" | "python3.11" | "python3.12" | "dotnetcore3.1" | "dotnet6" | "dotnet8" | "java8" | "java11" | "java17" | "java21" | "go1.x" | "go" | undefined;
|
|
801
|
+
runtime: "container" | "rust" | "nodejs16.x" | "nodejs18.x" | "nodejs20.x" | "nodejs22.x" | "python3.7" | "python3.8" | "python3.9" | "python3.10" | "python3.11" | "python3.12" | "python3.13" | "dotnetcore3.1" | "dotnet6" | "dotnet8" | "java8" | "java11" | "java17" | "java21" | "go1.x" | "go" | undefined;
|
|
801
802
|
handler: string | undefined;
|
|
802
803
|
missingSourcemap: boolean | undefined;
|
|
803
804
|
localId: string;
|
package/constructs/Function.js
CHANGED
|
@@ -43,6 +43,7 @@ const supportedRuntimes = {
|
|
|
43
43
|
"python3.10": CDKRuntime.PYTHON_3_10,
|
|
44
44
|
"python3.11": CDKRuntime.PYTHON_3_11,
|
|
45
45
|
"python3.12": CDKRuntime.PYTHON_3_12,
|
|
46
|
+
"python3.13": CDKRuntime.PYTHON_3_13,
|
|
46
47
|
"dotnetcore3.1": CDKRuntime.DOTNET_CORE_3_1,
|
|
47
48
|
dotnet6: CDKRuntime.DOTNET_6,
|
|
48
49
|
dotnet8: CDKRuntime.DOTNET_8,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface EventBusResources {
|
|
2
2
|
}
|
|
3
3
|
export declare const EventBus: EventBusResources;
|
|
4
|
-
import { PutEventsCommandOutput } from "@aws-sdk/client-eventbridge";
|
|
4
|
+
import { EventBridgeClient, PutEventsCommandOutput } from "@aws-sdk/client-eventbridge";
|
|
5
5
|
import { EventBridgeEvent } from "aws-lambda";
|
|
6
6
|
import { ZodObject, ZodSchema, z } from "zod";
|
|
7
7
|
/**
|
|
@@ -23,6 +23,7 @@ export declare function createEventBuilder<Bus extends keyof typeof EventBus, Me
|
|
|
23
23
|
metadata?: MetadataSchema;
|
|
24
24
|
metadataFn?: MetadataFunction;
|
|
25
25
|
validator: Validator;
|
|
26
|
+
client?: EventBridgeClient;
|
|
26
27
|
}): <Type extends string, Schema extends Parameters<Validator>[0]>(type: Type, schema: Schema) => {
|
|
27
28
|
publish: undefined extends MetadataSchema ? (properties: inferParser<Schema>["in"], options?: PublishOptions) => Promise<PutEventsCommandOutput> : (properties: inferParser<Schema>["in"], metadata: inferParser<MetadataSchema>["in"], options?: PublishOptions) => Promise<void>;
|
|
28
29
|
type: Type;
|
package/node/event-bus/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { EventBridgeClient, PutEventsCommand, } from "@aws-sdk/client-eventbridg
|
|
|
5
5
|
import { useLoader } from "../util/loader.js";
|
|
6
6
|
import { Config } from "../config/index.js";
|
|
7
7
|
export function createEventBuilder(input) {
|
|
8
|
-
const client = new EventBridgeClient({});
|
|
8
|
+
const client = input.client || new EventBridgeClient({});
|
|
9
9
|
const validator = input.validator;
|
|
10
10
|
const metadataValidator = input.metadata ? validator(input.metadata) : null;
|
|
11
11
|
return function event(type, schema) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"sideEffects": false,
|
|
3
3
|
"name": "sst",
|
|
4
|
-
"version": "2.48.
|
|
4
|
+
"version": "2.48.2",
|
|
5
5
|
"bin": {
|
|
6
6
|
"sst": "cli/sst.js"
|
|
7
7
|
},
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"dotenv": "^16.0.3",
|
|
70
70
|
"esbuild": "0.18.13",
|
|
71
71
|
"express": "^4.18.2",
|
|
72
|
-
"fast-jwt": "^
|
|
72
|
+
"fast-jwt": "^5.0.5",
|
|
73
73
|
"get-port": "^6.1.2",
|
|
74
74
|
"glob": "^10.0.0",
|
|
75
75
|
"graphql": "*",
|
package/package.json.bak
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
},
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"name": "sst",
|
|
8
|
-
"version": "2.48.
|
|
8
|
+
"version": "2.48.2",
|
|
9
9
|
"bin": {
|
|
10
10
|
"sst": "cli/sst.js"
|
|
11
11
|
},
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"dotenv": "^16.0.3",
|
|
80
80
|
"esbuild": "0.18.13",
|
|
81
81
|
"express": "^4.18.2",
|
|
82
|
-
"fast-jwt": "^
|
|
82
|
+
"fast-jwt": "^5.0.5",
|
|
83
83
|
"get-port": "^6.1.2",
|
|
84
84
|
"glob": "^10.0.0",
|
|
85
85
|
"graphql": "*",
|
package/util/process.d.ts
CHANGED