@metamask-previews/notification-services-controller 18.1.0-preview-5a701133 → 18.1.0-preview-8ccfcb37

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.
@@ -25,6 +25,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
25
25
  isRead: boolean;
26
26
  } | {
27
27
  id: string;
28
+ address: string;
28
29
  trigger_id: string;
29
30
  chain_id: number;
30
31
  block_number: number;
@@ -32,7 +33,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
32
33
  tx_hash: string;
33
34
  unread: boolean;
34
35
  created_at: string;
35
- address: string;
36
36
  type: TRIGGER_TYPES.METAMASK_SWAP_COMPLETED;
37
37
  data: {
38
38
  kind: "metamask_swap_completed";
@@ -64,6 +64,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
64
64
  isRead: boolean;
65
65
  } | {
66
66
  id: string;
67
+ address: string;
67
68
  trigger_id: string;
68
69
  chain_id: number;
69
70
  block_number: number;
@@ -71,7 +72,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
71
72
  tx_hash: string;
72
73
  unread: boolean;
73
74
  created_at: string;
74
- address: string;
75
75
  type: TRIGGER_TYPES.ERC20_SENT;
76
76
  data: {
77
77
  kind: "erc20_sent";
@@ -95,6 +95,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
95
95
  isRead: boolean;
96
96
  } | {
97
97
  id: string;
98
+ address: string;
98
99
  trigger_id: string;
99
100
  chain_id: number;
100
101
  block_number: number;
@@ -102,7 +103,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
102
103
  tx_hash: string;
103
104
  unread: boolean;
104
105
  created_at: string;
105
- address: string;
106
106
  type: TRIGGER_TYPES.ERC20_RECEIVED;
107
107
  data: {
108
108
  kind: "erc20_received";
@@ -126,6 +126,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
126
126
  isRead: boolean;
127
127
  } | {
128
128
  id: string;
129
+ address: string;
129
130
  trigger_id: string;
130
131
  chain_id: number;
131
132
  block_number: number;
@@ -133,7 +134,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
133
134
  tx_hash: string;
134
135
  unread: boolean;
135
136
  created_at: string;
136
- address: string;
137
137
  type: TRIGGER_TYPES.ETH_SENT;
138
138
  data: {
139
139
  kind: "eth_sent";
@@ -152,6 +152,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
152
152
  isRead: boolean;
153
153
  } | {
154
154
  id: string;
155
+ address: string;
155
156
  trigger_id: string;
156
157
  chain_id: number;
157
158
  block_number: number;
@@ -159,7 +160,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
159
160
  tx_hash: string;
160
161
  unread: boolean;
161
162
  created_at: string;
162
- address: string;
163
163
  type: TRIGGER_TYPES.ETH_RECEIVED;
164
164
  data: {
165
165
  kind: "eth_received";
@@ -178,6 +178,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
178
178
  isRead: boolean;
179
179
  } | {
180
180
  id: string;
181
+ address: string;
181
182
  trigger_id: string;
182
183
  chain_id: number;
183
184
  block_number: number;
@@ -185,7 +186,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
185
186
  tx_hash: string;
186
187
  unread: boolean;
187
188
  created_at: string;
188
- address: string;
189
189
  type: TRIGGER_TYPES.ROCKETPOOL_STAKE_COMPLETED;
190
190
  data: {
191
191
  kind: "rocketpool_stake_completed";
@@ -216,6 +216,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
216
216
  isRead: boolean;
217
217
  } | {
218
218
  id: string;
219
+ address: string;
219
220
  trigger_id: string;
220
221
  chain_id: number;
221
222
  block_number: number;
@@ -223,7 +224,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
223
224
  tx_hash: string;
224
225
  unread: boolean;
225
226
  created_at: string;
226
- address: string;
227
227
  type: TRIGGER_TYPES.ROCKETPOOL_UNSTAKE_COMPLETED;
228
228
  data: {
229
229
  kind: "rocketpool_unstake_completed";
@@ -254,6 +254,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
254
254
  isRead: boolean;
255
255
  } | {
256
256
  id: string;
257
+ address: string;
257
258
  trigger_id: string;
258
259
  chain_id: number;
259
260
  block_number: number;
@@ -261,7 +262,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
261
262
  tx_hash: string;
262
263
  unread: boolean;
263
264
  created_at: string;
264
- address: string;
265
265
  type: TRIGGER_TYPES.LIDO_STAKE_COMPLETED;
266
266
  data: {
267
267
  kind: "lido_stake_completed";
@@ -292,6 +292,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
292
292
  isRead: boolean;
293
293
  } | {
294
294
  id: string;
295
+ address: string;
295
296
  trigger_id: string;
296
297
  chain_id: number;
297
298
  block_number: number;
@@ -299,7 +300,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
299
300
  tx_hash: string;
300
301
  unread: boolean;
301
302
  created_at: string;
302
- address: string;
303
303
  type: TRIGGER_TYPES.LIDO_WITHDRAWAL_REQUESTED;
304
304
  data: {
305
305
  kind: "lido_withdrawal_requested";
@@ -330,6 +330,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
330
330
  isRead: boolean;
331
331
  } | {
332
332
  id: string;
333
+ address: string;
333
334
  trigger_id: string;
334
335
  chain_id: number;
335
336
  block_number: number;
@@ -337,7 +338,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
337
338
  tx_hash: string;
338
339
  unread: boolean;
339
340
  created_at: string;
340
- address: string;
341
341
  type: TRIGGER_TYPES.LIDO_WITHDRAWAL_COMPLETED;
342
342
  data: {
343
343
  kind: "lido_withdrawal_completed";
@@ -368,6 +368,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
368
368
  isRead: boolean;
369
369
  } | {
370
370
  id: string;
371
+ address: string;
371
372
  trigger_id: string;
372
373
  chain_id: number;
373
374
  block_number: number;
@@ -375,7 +376,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
375
376
  tx_hash: string;
376
377
  unread: boolean;
377
378
  created_at: string;
378
- address: string;
379
379
  type: TRIGGER_TYPES.LIDO_STAKE_READY_TO_BE_WITHDRAWN;
380
380
  data: {
381
381
  kind: "lido_stake_ready_to_be_withdrawn";
@@ -394,6 +394,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
394
394
  isRead: boolean;
395
395
  } | {
396
396
  id: string;
397
+ address: string;
397
398
  trigger_id: string;
398
399
  chain_id: number;
399
400
  block_number: number;
@@ -401,7 +402,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
401
402
  tx_hash: string;
402
403
  unread: boolean;
403
404
  created_at: string;
404
- address: string;
405
405
  type: TRIGGER_TYPES.ERC721_SENT;
406
406
  data: {
407
407
  kind: "erc721_sent";
@@ -427,6 +427,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
427
427
  isRead: boolean;
428
428
  } | {
429
429
  id: string;
430
+ address: string;
430
431
  trigger_id: string;
431
432
  chain_id: number;
432
433
  block_number: number;
@@ -434,7 +435,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
434
435
  tx_hash: string;
435
436
  unread: boolean;
436
437
  created_at: string;
437
- address: string;
438
438
  type: TRIGGER_TYPES.ERC721_RECEIVED;
439
439
  data: {
440
440
  kind: "erc721_received";
@@ -460,6 +460,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
460
460
  isRead: boolean;
461
461
  } | {
462
462
  id: string;
463
+ address: string;
463
464
  trigger_id: string;
464
465
  chain_id: number;
465
466
  block_number: number;
@@ -467,7 +468,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
467
468
  tx_hash: string;
468
469
  unread: boolean;
469
470
  created_at: string;
470
- address: string;
471
471
  type: TRIGGER_TYPES.ERC1155_SENT;
472
472
  data: {
473
473
  kind: "erc1155_sent";
@@ -493,6 +493,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
493
493
  isRead: boolean;
494
494
  } | {
495
495
  id: string;
496
+ address: string;
496
497
  trigger_id: string;
497
498
  chain_id: number;
498
499
  block_number: number;
@@ -500,7 +501,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
500
501
  tx_hash: string;
501
502
  unread: boolean;
502
503
  created_at: string;
503
- address: string;
504
504
  type: TRIGGER_TYPES.ERC1155_RECEIVED;
505
505
  data: {
506
506
  kind: "erc1155_received";
@@ -526,11 +526,11 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
526
526
  isRead: boolean;
527
527
  } | {
528
528
  id: string;
529
+ address: string;
529
530
  trigger_id: string;
530
531
  chain_id: number;
531
532
  unread: boolean;
532
533
  created_at: string;
533
- address: string;
534
534
  type: TRIGGER_TYPES.AAVE_V3_HEALTH_FACTOR;
535
535
  data: {
536
536
  kind: "aave_v3_health_factor";
@@ -542,11 +542,11 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
542
542
  isRead: boolean;
543
543
  } | {
544
544
  id: string;
545
+ address: string;
545
546
  trigger_id: string;
546
547
  chain_id: number;
547
548
  unread: boolean;
548
549
  created_at: string;
549
- address: string;
550
550
  type: TRIGGER_TYPES.ENS_EXPIRATION;
551
551
  data: {
552
552
  kind: "ens_expiration";
@@ -559,11 +559,11 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
559
559
  isRead: boolean;
560
560
  } | {
561
561
  id: string;
562
+ address: string;
562
563
  trigger_id: string;
563
564
  chain_id: number;
564
565
  unread: boolean;
565
566
  created_at: string;
566
- address: string;
567
567
  type: TRIGGER_TYPES.LIDO_STAKING_REWARDS;
568
568
  data: {
569
569
  kind: "lido_staking_rewards";
@@ -578,11 +578,11 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
578
578
  isRead: boolean;
579
579
  } | {
580
580
  id: string;
581
+ address: string;
581
582
  trigger_id: string;
582
583
  chain_id: number;
583
584
  unread: boolean;
584
585
  created_at: string;
585
- address: string;
586
586
  type: TRIGGER_TYPES.ROCKETPOOL_STAKING_REWARDS;
587
587
  data: {
588
588
  kind: "rocketpool_staking_rewards";
@@ -597,11 +597,11 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
597
597
  isRead: boolean;
598
598
  } | {
599
599
  id: string;
600
+ address: string;
600
601
  trigger_id: string;
601
602
  chain_id: number;
602
603
  unread: boolean;
603
604
  created_at: string;
604
- address: string;
605
605
  type: TRIGGER_TYPES.NOTIONAL_LOAN_EXPIRATION;
606
606
  data: {
607
607
  kind: "notional_loan_expiration";
@@ -617,11 +617,11 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
617
617
  isRead: boolean;
618
618
  } | {
619
619
  id: string;
620
+ address: string;
620
621
  trigger_id: string;
621
622
  chain_id: number;
622
623
  unread: boolean;
623
624
  created_at: string;
624
- address: string;
625
625
  type: TRIGGER_TYPES.SPARK_FI_HEALTH_FACTOR;
626
626
  data: {
627
627
  kind: "spark_fi_health_factor";
@@ -25,6 +25,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
25
25
  isRead: boolean;
26
26
  } | {
27
27
  id: string;
28
+ address: string;
28
29
  trigger_id: string;
29
30
  chain_id: number;
30
31
  block_number: number;
@@ -32,7 +33,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
32
33
  tx_hash: string;
33
34
  unread: boolean;
34
35
  created_at: string;
35
- address: string;
36
36
  type: TRIGGER_TYPES.METAMASK_SWAP_COMPLETED;
37
37
  data: {
38
38
  kind: "metamask_swap_completed";
@@ -64,6 +64,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
64
64
  isRead: boolean;
65
65
  } | {
66
66
  id: string;
67
+ address: string;
67
68
  trigger_id: string;
68
69
  chain_id: number;
69
70
  block_number: number;
@@ -71,7 +72,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
71
72
  tx_hash: string;
72
73
  unread: boolean;
73
74
  created_at: string;
74
- address: string;
75
75
  type: TRIGGER_TYPES.ERC20_SENT;
76
76
  data: {
77
77
  kind: "erc20_sent";
@@ -95,6 +95,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
95
95
  isRead: boolean;
96
96
  } | {
97
97
  id: string;
98
+ address: string;
98
99
  trigger_id: string;
99
100
  chain_id: number;
100
101
  block_number: number;
@@ -102,7 +103,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
102
103
  tx_hash: string;
103
104
  unread: boolean;
104
105
  created_at: string;
105
- address: string;
106
106
  type: TRIGGER_TYPES.ERC20_RECEIVED;
107
107
  data: {
108
108
  kind: "erc20_received";
@@ -126,6 +126,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
126
126
  isRead: boolean;
127
127
  } | {
128
128
  id: string;
129
+ address: string;
129
130
  trigger_id: string;
130
131
  chain_id: number;
131
132
  block_number: number;
@@ -133,7 +134,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
133
134
  tx_hash: string;
134
135
  unread: boolean;
135
136
  created_at: string;
136
- address: string;
137
137
  type: TRIGGER_TYPES.ETH_SENT;
138
138
  data: {
139
139
  kind: "eth_sent";
@@ -152,6 +152,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
152
152
  isRead: boolean;
153
153
  } | {
154
154
  id: string;
155
+ address: string;
155
156
  trigger_id: string;
156
157
  chain_id: number;
157
158
  block_number: number;
@@ -159,7 +160,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
159
160
  tx_hash: string;
160
161
  unread: boolean;
161
162
  created_at: string;
162
- address: string;
163
163
  type: TRIGGER_TYPES.ETH_RECEIVED;
164
164
  data: {
165
165
  kind: "eth_received";
@@ -178,6 +178,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
178
178
  isRead: boolean;
179
179
  } | {
180
180
  id: string;
181
+ address: string;
181
182
  trigger_id: string;
182
183
  chain_id: number;
183
184
  block_number: number;
@@ -185,7 +186,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
185
186
  tx_hash: string;
186
187
  unread: boolean;
187
188
  created_at: string;
188
- address: string;
189
189
  type: TRIGGER_TYPES.ROCKETPOOL_STAKE_COMPLETED;
190
190
  data: {
191
191
  kind: "rocketpool_stake_completed";
@@ -216,6 +216,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
216
216
  isRead: boolean;
217
217
  } | {
218
218
  id: string;
219
+ address: string;
219
220
  trigger_id: string;
220
221
  chain_id: number;
221
222
  block_number: number;
@@ -223,7 +224,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
223
224
  tx_hash: string;
224
225
  unread: boolean;
225
226
  created_at: string;
226
- address: string;
227
227
  type: TRIGGER_TYPES.ROCKETPOOL_UNSTAKE_COMPLETED;
228
228
  data: {
229
229
  kind: "rocketpool_unstake_completed";
@@ -254,6 +254,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
254
254
  isRead: boolean;
255
255
  } | {
256
256
  id: string;
257
+ address: string;
257
258
  trigger_id: string;
258
259
  chain_id: number;
259
260
  block_number: number;
@@ -261,7 +262,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
261
262
  tx_hash: string;
262
263
  unread: boolean;
263
264
  created_at: string;
264
- address: string;
265
265
  type: TRIGGER_TYPES.LIDO_STAKE_COMPLETED;
266
266
  data: {
267
267
  kind: "lido_stake_completed";
@@ -292,6 +292,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
292
292
  isRead: boolean;
293
293
  } | {
294
294
  id: string;
295
+ address: string;
295
296
  trigger_id: string;
296
297
  chain_id: number;
297
298
  block_number: number;
@@ -299,7 +300,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
299
300
  tx_hash: string;
300
301
  unread: boolean;
301
302
  created_at: string;
302
- address: string;
303
303
  type: TRIGGER_TYPES.LIDO_WITHDRAWAL_REQUESTED;
304
304
  data: {
305
305
  kind: "lido_withdrawal_requested";
@@ -330,6 +330,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
330
330
  isRead: boolean;
331
331
  } | {
332
332
  id: string;
333
+ address: string;
333
334
  trigger_id: string;
334
335
  chain_id: number;
335
336
  block_number: number;
@@ -337,7 +338,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
337
338
  tx_hash: string;
338
339
  unread: boolean;
339
340
  created_at: string;
340
- address: string;
341
341
  type: TRIGGER_TYPES.LIDO_WITHDRAWAL_COMPLETED;
342
342
  data: {
343
343
  kind: "lido_withdrawal_completed";
@@ -368,6 +368,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
368
368
  isRead: boolean;
369
369
  } | {
370
370
  id: string;
371
+ address: string;
371
372
  trigger_id: string;
372
373
  chain_id: number;
373
374
  block_number: number;
@@ -375,7 +376,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
375
376
  tx_hash: string;
376
377
  unread: boolean;
377
378
  created_at: string;
378
- address: string;
379
379
  type: TRIGGER_TYPES.LIDO_STAKE_READY_TO_BE_WITHDRAWN;
380
380
  data: {
381
381
  kind: "lido_stake_ready_to_be_withdrawn";
@@ -394,6 +394,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
394
394
  isRead: boolean;
395
395
  } | {
396
396
  id: string;
397
+ address: string;
397
398
  trigger_id: string;
398
399
  chain_id: number;
399
400
  block_number: number;
@@ -401,7 +402,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
401
402
  tx_hash: string;
402
403
  unread: boolean;
403
404
  created_at: string;
404
- address: string;
405
405
  type: TRIGGER_TYPES.ERC721_SENT;
406
406
  data: {
407
407
  kind: "erc721_sent";
@@ -427,6 +427,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
427
427
  isRead: boolean;
428
428
  } | {
429
429
  id: string;
430
+ address: string;
430
431
  trigger_id: string;
431
432
  chain_id: number;
432
433
  block_number: number;
@@ -434,7 +435,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
434
435
  tx_hash: string;
435
436
  unread: boolean;
436
437
  created_at: string;
437
- address: string;
438
438
  type: TRIGGER_TYPES.ERC721_RECEIVED;
439
439
  data: {
440
440
  kind: "erc721_received";
@@ -460,6 +460,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
460
460
  isRead: boolean;
461
461
  } | {
462
462
  id: string;
463
+ address: string;
463
464
  trigger_id: string;
464
465
  chain_id: number;
465
466
  block_number: number;
@@ -467,7 +468,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
467
468
  tx_hash: string;
468
469
  unread: boolean;
469
470
  created_at: string;
470
- address: string;
471
471
  type: TRIGGER_TYPES.ERC1155_SENT;
472
472
  data: {
473
473
  kind: "erc1155_sent";
@@ -493,6 +493,7 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
493
493
  isRead: boolean;
494
494
  } | {
495
495
  id: string;
496
+ address: string;
496
497
  trigger_id: string;
497
498
  chain_id: number;
498
499
  block_number: number;
@@ -500,7 +501,6 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
500
501
  tx_hash: string;
501
502
  unread: boolean;
502
503
  created_at: string;
503
- address: string;
504
504
  type: TRIGGER_TYPES.ERC1155_RECEIVED;
505
505
  data: {
506
506
  kind: "erc1155_received";
@@ -526,11 +526,11 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
526
526
  isRead: boolean;
527
527
  } | {
528
528
  id: string;
529
+ address: string;
529
530
  trigger_id: string;
530
531
  chain_id: number;
531
532
  unread: boolean;
532
533
  created_at: string;
533
- address: string;
534
534
  type: TRIGGER_TYPES.AAVE_V3_HEALTH_FACTOR;
535
535
  data: {
536
536
  kind: "aave_v3_health_factor";
@@ -542,11 +542,11 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
542
542
  isRead: boolean;
543
543
  } | {
544
544
  id: string;
545
+ address: string;
545
546
  trigger_id: string;
546
547
  chain_id: number;
547
548
  unread: boolean;
548
549
  created_at: string;
549
- address: string;
550
550
  type: TRIGGER_TYPES.ENS_EXPIRATION;
551
551
  data: {
552
552
  kind: "ens_expiration";
@@ -559,11 +559,11 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
559
559
  isRead: boolean;
560
560
  } | {
561
561
  id: string;
562
+ address: string;
562
563
  trigger_id: string;
563
564
  chain_id: number;
564
565
  unread: boolean;
565
566
  created_at: string;
566
- address: string;
567
567
  type: TRIGGER_TYPES.LIDO_STAKING_REWARDS;
568
568
  data: {
569
569
  kind: "lido_staking_rewards";
@@ -578,11 +578,11 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
578
578
  isRead: boolean;
579
579
  } | {
580
580
  id: string;
581
+ address: string;
581
582
  trigger_id: string;
582
583
  chain_id: number;
583
584
  unread: boolean;
584
585
  created_at: string;
585
- address: string;
586
586
  type: TRIGGER_TYPES.ROCKETPOOL_STAKING_REWARDS;
587
587
  data: {
588
588
  kind: "rocketpool_staking_rewards";
@@ -597,11 +597,11 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
597
597
  isRead: boolean;
598
598
  } | {
599
599
  id: string;
600
+ address: string;
600
601
  trigger_id: string;
601
602
  chain_id: number;
602
603
  unread: boolean;
603
604
  created_at: string;
604
- address: string;
605
605
  type: TRIGGER_TYPES.NOTIONAL_LOAN_EXPIRATION;
606
606
  data: {
607
607
  kind: "notional_loan_expiration";
@@ -617,11 +617,11 @@ export declare const processAndFilterNotifications: (ns: RawNotificationUnion[],
617
617
  isRead: boolean;
618
618
  } | {
619
619
  id: string;
620
+ address: string;
620
621
  trigger_id: string;
621
622
  chain_id: number;
622
623
  unread: boolean;
623
624
  created_at: string;
624
- address: string;
625
625
  type: TRIGGER_TYPES.SPARK_FI_HEALTH_FACTOR;
626
626
  data: {
627
627
  kind: "spark_fi_health_factor";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/notification-services-controller",
3
- "version": "18.1.0-preview-5a701133",
3
+ "version": "18.1.0-preview-8ccfcb37",
4
4
  "description": "Manages New MetaMask decentralized Notification system",
5
5
  "keywords": [
6
6
  "MetaMask",