@deepbounty/sdk 1.2.1 → 1.2.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.
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
export interface CreateCallbackOptions {
|
|
9
9
|
/** Time-to-live in seconds. If not set, the callback never expires */
|
|
10
10
|
expiresIn?: number;
|
|
11
|
+
/** Delay before the callback becomes active, in seconds (default: 0 = active immediately) */
|
|
12
|
+
effectiveIn?: number;
|
|
11
13
|
/** Whether the callback can be triggered multiple times (default: true) */
|
|
12
14
|
allowMultipleTriggers?: boolean;
|
|
13
15
|
}
|
|
@@ -25,6 +27,8 @@ export interface ModuleCallback {
|
|
|
25
27
|
metadata: Record<string, any>;
|
|
26
28
|
/** When the callback was created */
|
|
27
29
|
createdAt: string;
|
|
30
|
+
/** When the callback becomes active (callbacks before this time are ignored) */
|
|
31
|
+
effectiveAt: string;
|
|
28
32
|
/** When the callback expires (null = never) */
|
|
29
33
|
expiresAt: string | null;
|
|
30
34
|
/** Whether multiple triggers are allowed */
|