@cofondateurauchomage/libs 1.1.33 → 1.1.34

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/build/api.d.ts CHANGED
@@ -35,6 +35,7 @@ export type BodyForO<O extends CloudFunctionNames | RouteNames> = {
35
35
  checkout_session: {
36
36
  stripeId?: string;
37
37
  email: string;
38
+ type: "user" | "project";
38
39
  };
39
40
  delete_customer: {
40
41
  stripeId: string;
@@ -124,6 +124,7 @@ const validatorsForAllRoutes = {
124
124
  checkout_session: {
125
125
  stripeId: stripeId.isOptional(),
126
126
  email,
127
+ type: (0, validate_1.isMatchEnum)(["user", "project"]),
127
128
  },
128
129
  delete_customer: {
129
130
  stripeId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cofondateurauchomage/libs",
3
- "version": "1.1.33",
3
+ "version": "1.1.34",
4
4
  "description": "",
5
5
  "main": "build/index",
6
6
  "scripts": {