diff --git a/src/commands/recipes/subscribe.ts b/src/commands/recipes/subscribe.ts index 160eb6b8c6a203daf1fc022f25560860d412eead..2b19d8aba22cff850c41f4a736199d6d48a918d1 100644 --- a/src/commands/recipes/subscribe.ts +++ b/src/commands/recipes/subscribe.ts @@ -13,6 +13,7 @@ const make: MakeFn = (call, on): SubscribeRecipe => async (opts, callback) => { Enable: true, ID: id, NotifType: opts.notif, + NotifRetry: 'retry' in opts ? opts.retry : true, ReferenceList: refList, Persistent: false, }, diff --git a/src/types.ts b/src/types.ts index bf7f0edcccf477988522b8f8c2e37300ecb77af5..67c97dc2d99949ff0ec0fc4d012f11fad4025fe6 100644 --- a/src/types.ts +++ b/src/types.ts @@ -606,6 +606,7 @@ type NotifType = export interface SubscriptionOptions { id?: string; notif: NotifType; + retry?: boolean; reference: string | string[]; }