@uniformdev/webhooks 20.12.1-alpha.8 → 20.13.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/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -282,7 +282,7 @@ type Definition<TSchema extends ZodTypeAny = ZodTypeAny> = DefinitionOptions<TSc
|
|
|
282
282
|
example: z.TypeOf<TSchema>;
|
|
283
283
|
};
|
|
284
284
|
declare const isDefinition: (obj: any) => obj is Definition;
|
|
285
|
-
declare const definition: <TSchema extends ZodTypeAny =
|
|
285
|
+
declare const definition: <TSchema extends ZodTypeAny = ZodTypeAny>(options: DefinitionOptions<TSchema>, example: z.infer<TSchema>) => Definition<TSchema>;
|
|
286
286
|
declare const webhookInitiatorSchema: z.ZodObject<{
|
|
287
287
|
id: z.ZodString;
|
|
288
288
|
name: z.ZodOptional<z.ZodString>;
|
package/dist/index.d.ts
CHANGED
|
@@ -282,7 +282,7 @@ type Definition<TSchema extends ZodTypeAny = ZodTypeAny> = DefinitionOptions<TSc
|
|
|
282
282
|
example: z.TypeOf<TSchema>;
|
|
283
283
|
};
|
|
284
284
|
declare const isDefinition: (obj: any) => obj is Definition;
|
|
285
|
-
declare const definition: <TSchema extends ZodTypeAny =
|
|
285
|
+
declare const definition: <TSchema extends ZodTypeAny = ZodTypeAny>(options: DefinitionOptions<TSchema>, example: z.infer<TSchema>) => Definition<TSchema>;
|
|
286
286
|
declare const webhookInitiatorSchema: z.ZodObject<{
|
|
287
287
|
id: z.ZodString;
|
|
288
288
|
name: z.ZodOptional<z.ZodString>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/webhooks",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.13.0",
|
|
4
4
|
"description": "Uniform Webhooks",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"format": "prettier --write \"src/**/*.{js,ts,tsx}\"",
|
|
25
25
|
"migrate:svix": "tsx ./scripts/sync-svix-schemas.ts",
|
|
26
26
|
"deploy": "run-s migrate:svix",
|
|
27
|
-
"document": "api-extractor run --local"
|
|
27
|
+
"document:prebuild": "api-extractor run --local"
|
|
28
28
|
},
|
|
29
29
|
"files": [
|
|
30
30
|
"/dist"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"zod": "3.23.8"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"dotenv": "^16.
|
|
36
|
+
"dotenv": "^16.4.7",
|
|
37
37
|
"npm-run-all2": "7.0.0",
|
|
38
38
|
"svix": "^1.0.0",
|
|
39
39
|
"zod-to-json-schema": "3.21.4"
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "36c83896202c3bc07890f4ce940fb2047fa51042"
|
|
45
45
|
}
|