sst 3.0.17 → 3.0.19
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/event/index.d.ts +3 -3
- package/package.json +2 -2
package/dist/event/index.d.ts
CHANGED
|
@@ -11,15 +11,15 @@ export declare function EventClient<MetadataFunction extends () => any, Validato
|
|
|
11
11
|
validator: Validator;
|
|
12
12
|
}): {
|
|
13
13
|
<Type extends string, Schema extends Parameters<Validator>[0]>(type: Type, schema: Schema): {
|
|
14
|
-
create: undefined extends MetadataSchema ? (properties: inferParser<Schema>["in"]) => {
|
|
14
|
+
create: undefined extends MetadataSchema ? (properties: inferParser<Schema>["in"]) => Promise<{
|
|
15
15
|
type: Type;
|
|
16
16
|
properties: inferParser<Schema>["out"];
|
|
17
17
|
metadata: ReturnType<MetadataFunction>;
|
|
18
|
-
} : (properties: inferParser<Schema>["in"], metadata: inferParser<MetadataSchema>["in"]) => {
|
|
18
|
+
}> : (properties: inferParser<Schema>["in"], metadata: inferParser<MetadataSchema>["in"]) => Promise<{
|
|
19
19
|
type: Type;
|
|
20
20
|
properties: inferParser<Schema>["out"];
|
|
21
21
|
metadata: ReturnType<MetadataFunction>;
|
|
22
|
-
}
|
|
22
|
+
}>;
|
|
23
23
|
type: Type;
|
|
24
24
|
$input: inferParser<Schema>["in"];
|
|
25
25
|
$output: inferParser<Schema>["out"];
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "sst",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
|
-
"version": "3.0.
|
|
6
|
+
"version": "3.0.19",
|
|
7
7
|
"main": "./dist/index.js",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": "./dist/index.js",
|
|
@@ -31,6 +31,6 @@
|
|
|
31
31
|
"scripts": {
|
|
32
32
|
"build": "tsc",
|
|
33
33
|
"dev": "tsc -w",
|
|
34
|
-
"release": "
|
|
34
|
+
"release": "bun run build && pnpm version patch && pnpm publish --no-git-checks --tag=ion --access=public"
|
|
35
35
|
}
|
|
36
36
|
}
|