@metamask/notification-services-controller 0.1.2 → 0.2.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.
Files changed (94) hide show
  1. package/CHANGELOG.md +30 -1
  2. package/dist/NotificationServicesController/NotificationServicesController.js +4 -3
  3. package/dist/NotificationServicesController/NotificationServicesController.mjs +3 -2
  4. package/dist/NotificationServicesController/index.js +17 -16
  5. package/dist/NotificationServicesController/index.mjs +16 -15
  6. package/dist/NotificationServicesController/services/onchain-notifications.js +3 -2
  7. package/dist/NotificationServicesController/services/onchain-notifications.mjs +2 -1
  8. package/dist/NotificationServicesController/types/index.js +2 -2
  9. package/dist/NotificationServicesController/types/index.mjs +2 -2
  10. package/dist/NotificationServicesController/ui/constants.js +4 -2
  11. package/dist/NotificationServicesController/ui/constants.mjs +5 -3
  12. package/dist/NotificationServicesController/ui/index.js +5 -3
  13. package/dist/NotificationServicesController/ui/index.mjs +6 -4
  14. package/dist/NotificationServicesPushController/NotificationServicesPushController.js +14 -13
  15. package/dist/NotificationServicesPushController/NotificationServicesPushController.mjs +13 -12
  16. package/dist/NotificationServicesPushController/index.js +18 -17
  17. package/dist/NotificationServicesPushController/index.mjs +17 -16
  18. package/dist/NotificationServicesPushController/services/push/push-web.js +12 -11
  19. package/dist/NotificationServicesPushController/services/push/push-web.mjs +11 -10
  20. package/dist/NotificationServicesPushController/services/services.js +13 -12
  21. package/dist/NotificationServicesPushController/services/services.mjs +12 -11
  22. package/dist/NotificationServicesPushController/utils/get-notification-message.js +10 -9
  23. package/dist/NotificationServicesPushController/utils/get-notification-message.mjs +10 -9
  24. package/dist/NotificationServicesPushController/utils/index.js +10 -9
  25. package/dist/NotificationServicesPushController/utils/index.mjs +10 -9
  26. package/dist/{chunk-MT4VCZEE.js → chunk-2BCJRWFF.js} +6 -6
  27. package/dist/{chunk-4VVOTF2Y.mjs → chunk-4E76LF6X.mjs} +50 -5
  28. package/dist/chunk-4E76LF6X.mjs.map +1 -0
  29. package/dist/{chunk-GJHW5Z65.js → chunk-4HOEZMSV.js} +4 -4
  30. package/dist/{chunk-5IPZMRR5.mjs → chunk-5JDAO4ZC.mjs} +6 -4
  31. package/dist/{chunk-5IPZMRR5.mjs.map → chunk-5JDAO4ZC.mjs.map} +1 -1
  32. package/dist/{chunk-5TUHE2FM.js → chunk-6GXEFQ64.js} +11 -11
  33. package/dist/chunk-6GXEFQ64.js.map +1 -0
  34. package/dist/chunk-DINCLRZT.mjs +12 -0
  35. package/dist/chunk-DINCLRZT.mjs.map +1 -0
  36. package/dist/chunk-DT6SLUWJ.js +12 -0
  37. package/dist/chunk-DT6SLUWJ.js.map +1 -0
  38. package/dist/{chunk-2Z3NDVOV.js → chunk-FFKCMR6Q.js} +55 -10
  39. package/dist/chunk-FFKCMR6Q.js.map +1 -0
  40. package/dist/{chunk-EZHMYHBX.mjs → chunk-FN6GVBCU.mjs} +9 -11
  41. package/dist/chunk-FN6GVBCU.mjs.map +1 -0
  42. package/dist/{chunk-72H2V4J5.js → chunk-GDKHOBJT.js} +7 -3
  43. package/dist/chunk-GDKHOBJT.js.map +1 -0
  44. package/dist/{chunk-DNVD3CHQ.js → chunk-H73GATCU.js} +9 -11
  45. package/dist/chunk-H73GATCU.js.map +1 -0
  46. package/dist/{chunk-AQPBSNWA.js → chunk-IG3KWCQU.js} +6 -4
  47. package/dist/chunk-IG3KWCQU.js.map +1 -0
  48. package/dist/{chunk-R373BQEU.mjs → chunk-N4EKQQX7.mjs} +5 -5
  49. package/dist/{chunk-D7VP2FPR.js → chunk-P5DZ7JHL.js} +16 -16
  50. package/dist/{chunk-S2FM5DOS.js → chunk-QOG3RCXM.js} +40 -2
  51. package/dist/chunk-QOG3RCXM.js.map +1 -0
  52. package/dist/{chunk-ADYRLXWY.mjs → chunk-WGGW6VCR.mjs} +2 -2
  53. package/dist/{chunk-XVIUHFC3.mjs → chunk-X3ZU3HL7.mjs} +4 -4
  54. package/dist/{chunk-XVIUHFC3.mjs.map → chunk-X3ZU3HL7.mjs.map} +1 -1
  55. package/dist/{chunk-A5QFYBTR.mjs → chunk-YHVXD5WW.mjs} +7 -3
  56. package/dist/chunk-YHVXD5WW.mjs.map +1 -0
  57. package/dist/chunk-YZYQYIKS.mjs +67 -0
  58. package/dist/chunk-YZYQYIKS.mjs.map +1 -0
  59. package/dist/{chunk-YYWFWJTJ.mjs → chunk-Z5VM5N2S.mjs} +10 -10
  60. package/dist/index.js +16 -15
  61. package/dist/index.mjs +15 -14
  62. package/dist/shared/to-raw-notification.js +8 -0
  63. package/dist/shared/to-raw-notification.js.map +1 -0
  64. package/dist/shared/to-raw-notification.mjs +8 -0
  65. package/dist/shared/to-raw-notification.mjs.map +1 -0
  66. package/dist/tsconfig.build.tsbuildinfo +1 -1
  67. package/dist/types/NotificationServicesController/NotificationServicesController.d.ts +14 -5
  68. package/dist/types/NotificationServicesController/NotificationServicesController.d.ts.map +1 -1
  69. package/dist/types/NotificationServicesController/services/onchain-notifications.d.ts.map +1 -1
  70. package/dist/types/NotificationServicesController/types/on-chain-notification/on-chain-notification.d.ts +1 -0
  71. package/dist/types/NotificationServicesController/types/on-chain-notification/on-chain-notification.d.ts.map +1 -1
  72. package/dist/types/NotificationServicesController/ui/constants.d.ts +34 -0
  73. package/dist/types/NotificationServicesController/ui/constants.d.ts.map +1 -1
  74. package/dist/types/NotificationServicesPushController/services/push/push-web.d.ts.map +1 -1
  75. package/dist/types/shared/to-raw-notification.d.ts +11 -0
  76. package/dist/types/shared/to-raw-notification.d.ts.map +1 -0
  77. package/package.json +11 -11
  78. package/dist/chunk-2Z3NDVOV.js.map +0 -1
  79. package/dist/chunk-4VVOTF2Y.mjs.map +0 -1
  80. package/dist/chunk-5TUHE2FM.js.map +0 -1
  81. package/dist/chunk-72H2V4J5.js.map +0 -1
  82. package/dist/chunk-7SDGAI6Z.mjs +0 -29
  83. package/dist/chunk-7SDGAI6Z.mjs.map +0 -1
  84. package/dist/chunk-A5QFYBTR.mjs.map +0 -1
  85. package/dist/chunk-AQPBSNWA.js.map +0 -1
  86. package/dist/chunk-DNVD3CHQ.js.map +0 -1
  87. package/dist/chunk-EZHMYHBX.mjs.map +0 -1
  88. package/dist/chunk-S2FM5DOS.js.map +0 -1
  89. /package/dist/{chunk-MT4VCZEE.js.map → chunk-2BCJRWFF.js.map} +0 -0
  90. /package/dist/{chunk-GJHW5Z65.js.map → chunk-4HOEZMSV.js.map} +0 -0
  91. /package/dist/{chunk-R373BQEU.mjs.map → chunk-N4EKQQX7.mjs.map} +0 -0
  92. /package/dist/{chunk-D7VP2FPR.js.map → chunk-P5DZ7JHL.js.map} +0 -0
  93. /package/dist/{chunk-ADYRLXWY.mjs.map → chunk-WGGW6VCR.mjs.map} +0 -0
  94. /package/dist/{chunk-YYWFWJTJ.mjs.map → chunk-Z5VM5N2S.mjs.map} +0 -0
package/dist/index.mjs CHANGED
@@ -1,22 +1,21 @@
1
1
  import {
2
2
  NotificationServicesPushController_exports
3
- } from "./chunk-R373BQEU.mjs";
3
+ } from "./chunk-N4EKQQX7.mjs";
4
+ import "./chunk-IOMDG67D.mjs";
4
5
  import "./chunk-DCADU5QI.mjs";
5
6
  import "./chunk-6GUOLD7O.mjs";
6
7
  import "./chunk-ODI2BTKS.mjs";
7
- import "./chunk-IOMDG67D.mjs";
8
8
  import "./chunk-RAUV5UV4.mjs";
9
- import "./chunk-XVIUHFC3.mjs";
10
- import "./chunk-ADYRLXWY.mjs";
11
- import "./chunk-A5QFYBTR.mjs";
9
+ import "./chunk-X3ZU3HL7.mjs";
10
+ import "./chunk-WGGW6VCR.mjs";
11
+ import "./chunk-YHVXD5WW.mjs";
12
12
  import "./chunk-IKWNHNJQ.mjs";
13
13
  import {
14
14
  NotificationServicesController_exports
15
- } from "./chunk-YYWFWJTJ.mjs";
16
- import "./chunk-5IPZMRR5.mjs";
17
- import "./chunk-7SDGAI6Z.mjs";
18
- import "./chunk-X42WN3FE.mjs";
15
+ } from "./chunk-Z5VM5N2S.mjs";
19
16
  import "./chunk-B4ECJJ5C.mjs";
17
+ import "./chunk-U74Q3BRP.mjs";
18
+ import "./chunk-G52DNXFH.mjs";
20
19
  import "./chunk-7RM3YNTD.mjs";
21
20
  import "./chunk-PNCS6GEX.mjs";
22
21
  import "./chunk-4QXAPVW3.mjs";
@@ -25,17 +24,19 @@ import "./chunk-IDO4JFV5.mjs";
25
24
  import "./chunk-A2RPVX47.mjs";
26
25
  import "./chunk-4BTNTREI.mjs";
27
26
  import "./chunk-QB5IFRLA.mjs";
28
- import "./chunk-U74Q3BRP.mjs";
29
- import "./chunk-G52DNXFH.mjs";
30
- import "./chunk-4VVOTF2Y.mjs";
27
+ import "./chunk-5JDAO4ZC.mjs";
28
+ import "./chunk-YZYQYIKS.mjs";
29
+ import "./chunk-ZHAD55AN.mjs";
30
+ import "./chunk-X42WN3FE.mjs";
31
+ import "./chunk-4E76LF6X.mjs";
31
32
  import "./chunk-KCWTVLMK.mjs";
32
33
  import "./chunk-BONB66A2.mjs";
33
34
  import "./chunk-QFJZBLYQ.mjs";
34
35
  import "./chunk-D42BBXBM.mjs";
35
- import "./chunk-EZHMYHBX.mjs";
36
+ import "./chunk-FN6GVBCU.mjs";
36
37
  import "./chunk-ILPTPB4U.mjs";
37
- import "./chunk-ZHAD55AN.mjs";
38
38
  import "./chunk-J4D2NH6Y.mjs";
39
+ import "./chunk-DINCLRZT.mjs";
39
40
  import "./chunk-6ZDVTRRT.mjs";
40
41
  import "./chunk-U5UIDVOO.mjs";
41
42
  export {
@@ -0,0 +1,8 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkDT6SLUWJjs = require('../chunk-DT6SLUWJ.js');
4
+ require('../chunk-IGY2S5BC.js');
5
+
6
+
7
+ exports.toRawOnChainNotification = _chunkDT6SLUWJjs.toRawOnChainNotification;
8
+ //# sourceMappingURL=to-raw-notification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import {
2
+ toRawOnChainNotification
3
+ } from "../chunk-DINCLRZT.mjs";
4
+ import "../chunk-U5UIDVOO.mjs";
5
+ export {
6
+ toRawOnChainNotification
7
+ };
8
+ //# sourceMappingURL=to-raw-notification.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}