@types/pager__jackrabbit 4.8.2 → 4.8.3

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.
pager__jackrabbit/LICENSE CHANGED
File without changes
@@ -20,75 +20,75 @@ export = jackrabbit;
20
20
  declare function jackrabbit(url: string): jackrabbit.JackRabbit;
21
21
 
22
22
  declare namespace jackrabbit {
23
- type Message = amqplib.Message;
23
+ type Message = amqplib.Message;
24
24
 
25
- type ExchangeOptions = amqplib.Options.AssertExchange & {
26
- noReply?: boolean | undefined;
27
- };
28
-
29
- interface JackRabbit extends NodeJS.EventEmitter {
30
- default(): Exchange;
31
- direct(name?: string, options?: ExchangeOptions): Exchange;
32
- fanout(name?: string, options?: ExchangeOptions): Exchange;
33
- topic(name?: string, options?: ExchangeOptions): Exchange;
34
- close(callback?: (e: Error) => any): void;
35
- getInternals: () => {
36
- amqp: any;
37
- connection: amqplib.Connection;
25
+ type ExchangeOptions = amqplib.Options.AssertExchange & {
26
+ noReply?: boolean | undefined;
38
27
  };
39
- }
40
28
 
41
- enum exchangeType {
42
- direct = "direct",
43
- fanout = "fanout",
44
- topic = "topic"
45
- }
29
+ interface JackRabbit extends NodeJS.EventEmitter {
30
+ default(): Exchange;
31
+ direct(name?: string, options?: ExchangeOptions): Exchange;
32
+ fanout(name?: string, options?: ExchangeOptions): Exchange;
33
+ topic(name?: string, options?: ExchangeOptions): Exchange;
34
+ close(callback?: (e: Error) => any): void;
35
+ getInternals: () => {
36
+ amqp: any;
37
+ connection: amqplib.Connection;
38
+ };
39
+ }
40
+
41
+ enum exchangeType {
42
+ direct = "direct",
43
+ fanout = "fanout",
44
+ topic = "topic",
45
+ }
46
46
 
47
- interface Exchange extends NodeJS.EventEmitter {
48
- name: string;
49
- type: exchangeType;
50
- options: amqplib.Options.AssertExchange;
51
- queue(options: QueueOptions): Queue;
52
- connect(con: amqplib.Connection): Exchange;
53
- publish(message: any, options?: PublishOptions): Exchange;
54
- }
47
+ interface Exchange extends NodeJS.EventEmitter {
48
+ name: string;
49
+ type: exchangeType;
50
+ options: amqplib.Options.AssertExchange;
51
+ queue(options: QueueOptions): Queue;
52
+ connect(con: amqplib.Connection): Exchange;
53
+ publish(message: any, options?: PublishOptions): Exchange;
54
+ }
55
55
 
56
- type PublishOptions = amqplib.Options.Publish & {
57
- key: string;
58
- reply?: AckCallback | undefined;
59
- };
56
+ type PublishOptions = amqplib.Options.Publish & {
57
+ key: string;
58
+ reply?: AckCallback | undefined;
59
+ };
60
60
 
61
- type QueueOptions = amqplib.Options.AssertQueue & {
62
- name?: string | undefined;
63
- key?: string | undefined;
64
- keys?: ReadonlyArray<string> | undefined;
65
- prefetch?: number | undefined;
66
- };
61
+ type QueueOptions = amqplib.Options.AssertQueue & {
62
+ name?: string | undefined;
63
+ key?: string | undefined;
64
+ keys?: ReadonlyArray<string> | undefined;
65
+ prefetch?: number | undefined;
66
+ };
67
67
 
68
- type AckCallback = (data?: any) => void;
68
+ type AckCallback = (data?: any) => void;
69
69
 
70
- interface Queue extends NodeJS.EventEmitter {
71
- name: string;
72
- options: QueueOptions;
73
- connect(con: amqplib.Connection): void;
74
- consume: (
75
- callback: (
76
- data: any,
77
- ack: AckCallback,
78
- nack: () => void,
79
- msg: Message
80
- ) => void,
81
- options?: amqplib.Options.Consume
82
- ) => void;
83
- cancel(done: any): void;
84
- purge(done: any): void;
85
- }
70
+ interface Queue extends NodeJS.EventEmitter {
71
+ name: string;
72
+ options: QueueOptions;
73
+ connect(con: amqplib.Connection): void;
74
+ consume: (
75
+ callback: (
76
+ data: any,
77
+ ack: AckCallback,
78
+ nack: () => void,
79
+ msg: Message,
80
+ ) => void,
81
+ options?: amqplib.Options.Consume,
82
+ ) => void;
83
+ cancel(done: any): void;
84
+ purge(done: any): void;
85
+ }
86
86
  }
87
87
 
88
88
  ````
89
89
 
90
90
  ### Additional Details
91
- * Last updated: Thu, 08 Jul 2021 20:19:15 GMT
91
+ * Last updated: Sun, 24 Sep 2023 06:37:27 GMT
92
92
  * Dependencies: [@types/amqplib](https://npmjs.com/package/@types/amqplib)
93
93
  * Global values: none
94
94
 
@@ -10,67 +10,67 @@ export = jackrabbit;
10
10
  declare function jackrabbit(url: string): jackrabbit.JackRabbit;
11
11
 
12
12
  declare namespace jackrabbit {
13
- type Message = amqplib.Message;
13
+ type Message = amqplib.Message;
14
14
 
15
- type ExchangeOptions = amqplib.Options.AssertExchange & {
16
- noReply?: boolean | undefined;
17
- };
18
-
19
- interface JackRabbit extends NodeJS.EventEmitter {
20
- default(): Exchange;
21
- direct(name?: string, options?: ExchangeOptions): Exchange;
22
- fanout(name?: string, options?: ExchangeOptions): Exchange;
23
- topic(name?: string, options?: ExchangeOptions): Exchange;
24
- close(callback?: (e: Error) => any): void;
25
- getInternals: () => {
26
- amqp: any;
27
- connection: amqplib.Connection;
15
+ type ExchangeOptions = amqplib.Options.AssertExchange & {
16
+ noReply?: boolean | undefined;
28
17
  };
29
- }
30
18
 
31
- enum exchangeType {
32
- direct = "direct",
33
- fanout = "fanout",
34
- topic = "topic"
35
- }
19
+ interface JackRabbit extends NodeJS.EventEmitter {
20
+ default(): Exchange;
21
+ direct(name?: string, options?: ExchangeOptions): Exchange;
22
+ fanout(name?: string, options?: ExchangeOptions): Exchange;
23
+ topic(name?: string, options?: ExchangeOptions): Exchange;
24
+ close(callback?: (e: Error) => any): void;
25
+ getInternals: () => {
26
+ amqp: any;
27
+ connection: amqplib.Connection;
28
+ };
29
+ }
30
+
31
+ enum exchangeType {
32
+ direct = "direct",
33
+ fanout = "fanout",
34
+ topic = "topic",
35
+ }
36
36
 
37
- interface Exchange extends NodeJS.EventEmitter {
38
- name: string;
39
- type: exchangeType;
40
- options: amqplib.Options.AssertExchange;
41
- queue(options: QueueOptions): Queue;
42
- connect(con: amqplib.Connection): Exchange;
43
- publish(message: any, options?: PublishOptions): Exchange;
44
- }
37
+ interface Exchange extends NodeJS.EventEmitter {
38
+ name: string;
39
+ type: exchangeType;
40
+ options: amqplib.Options.AssertExchange;
41
+ queue(options: QueueOptions): Queue;
42
+ connect(con: amqplib.Connection): Exchange;
43
+ publish(message: any, options?: PublishOptions): Exchange;
44
+ }
45
45
 
46
- type PublishOptions = amqplib.Options.Publish & {
47
- key: string;
48
- reply?: AckCallback | undefined;
49
- };
46
+ type PublishOptions = amqplib.Options.Publish & {
47
+ key: string;
48
+ reply?: AckCallback | undefined;
49
+ };
50
50
 
51
- type QueueOptions = amqplib.Options.AssertQueue & {
52
- name?: string | undefined;
53
- key?: string | undefined;
54
- keys?: ReadonlyArray<string> | undefined;
55
- prefetch?: number | undefined;
56
- };
51
+ type QueueOptions = amqplib.Options.AssertQueue & {
52
+ name?: string | undefined;
53
+ key?: string | undefined;
54
+ keys?: ReadonlyArray<string> | undefined;
55
+ prefetch?: number | undefined;
56
+ };
57
57
 
58
- type AckCallback = (data?: any) => void;
58
+ type AckCallback = (data?: any) => void;
59
59
 
60
- interface Queue extends NodeJS.EventEmitter {
61
- name: string;
62
- options: QueueOptions;
63
- connect(con: amqplib.Connection): void;
64
- consume: (
65
- callback: (
66
- data: any,
67
- ack: AckCallback,
68
- nack: () => void,
69
- msg: Message
70
- ) => void,
71
- options?: amqplib.Options.Consume
72
- ) => void;
73
- cancel(done: any): void;
74
- purge(done: any): void;
75
- }
60
+ interface Queue extends NodeJS.EventEmitter {
61
+ name: string;
62
+ options: QueueOptions;
63
+ connect(con: amqplib.Connection): void;
64
+ consume: (
65
+ callback: (
66
+ data: any,
67
+ ack: AckCallback,
68
+ nack: () => void,
69
+ msg: Message,
70
+ ) => void,
71
+ options?: amqplib.Options.Consume,
72
+ ) => void;
73
+ cancel(done: any): void;
74
+ purge(done: any): void;
75
+ }
76
76
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/pager__jackrabbit",
3
- "version": "4.8.2",
3
+ "version": "4.8.3",
4
4
  "description": "TypeScript definitions for @pager/jackrabbit",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pager__jackrabbit",
6
6
  "license": "MIT",
@@ -22,6 +22,6 @@
22
22
  "dependencies": {
23
23
  "@types/amqplib": "*"
24
24
  },
25
- "typesPublisherContentHash": "46ca6579e1102665432a4c032b58cd83b8b995ae9a8f7d9dfcbd839d97512b04",
26
- "typeScriptVersion": "3.6"
25
+ "typesPublisherContentHash": "f3810cbdcf0ee62b855125edcc7a741ba075b874125f9464da2cdce0507026d1",
26
+ "typeScriptVersion": "4.5"
27
27
  }