@dev-crew-berlin/enter-js-utils 0.24.0 → 0.25.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.
@@ -19,7 +19,7 @@ export declare type AttendeeJSON = {
19
19
  };
20
20
  payment: {
21
21
  paid: boolean;
22
- provider: 'credit' | 'paypal';
22
+ provider: 'credit' | 'paypal' | 'manual';
23
23
  amount: number;
24
24
  testmode: boolean;
25
25
  } | null;
@@ -42,7 +42,7 @@ export declare class Attendee {
42
42
  };
43
43
  payment: {
44
44
  paid: boolean;
45
- provider: 'credit' | 'paypal';
45
+ provider: 'credit' | 'paypal' | 'manual';
46
46
  amount: number;
47
47
  testmode: boolean;
48
48
  } | null;
@@ -83,7 +83,7 @@ export declare const rawAttendee: import("fefe").Validator<import("fefe").Object
83
83
  }>, import("fefe").LeafError>;
84
84
  payment: import("fefe").Validator<import("fefe").ObjectResult<{
85
85
  paid: import("fefe").Validator<boolean, import("fefe").LeafError>;
86
- provider: import("fefe").Validator<"credit" | "paypal", import("fefe").LeafError>;
86
+ provider: import("fefe").Validator<"credit" | "paypal" | "manual", import("fefe").LeafError>;
87
87
  amount: import("fefe").Validator<number, import("fefe").LeafError>;
88
88
  testmode: import("fefe").Validator<boolean, import("fefe").LeafError>;
89
89
  }> | null, import("fefe").FefeError>;
@@ -121,7 +121,7 @@ export const rawAttendee = object({
121
121
  })),
122
122
  payment: defaultTo(maybe(object({
123
123
  paid: boolean(),
124
- provider: enumerate('credit', 'paypal'),
124
+ provider: enumerate('credit', 'paypal', 'manual'),
125
125
  amount: number({
126
126
  integer: true
127
127
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-crew-berlin/enter-js-utils",
3
- "version": "0.24.0",
3
+ "version": "0.25.1",
4
4
  "description": "utils such as vaildation and other helpers to work with data from the enter app",
5
5
  "files": [
6
6
  "dist",