@ledgerhq/live-common 34.49.0-nightly.4 → 34.49.0-nightly.5

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 (155) hide show
  1. package/lib/bridge/react/BridgeSync.d.ts.map +1 -1
  2. package/lib/bridge/react/BridgeSync.js +17 -4
  3. package/lib/bridge/react/BridgeSync.js.map +1 -1
  4. package/lib/bridge/syncSessionManager/index.d.ts +18 -0
  5. package/lib/bridge/syncSessionManager/index.d.ts.map +1 -0
  6. package/lib/bridge/syncSessionManager/index.js +75 -0
  7. package/lib/bridge/syncSessionManager/index.js.map +1 -0
  8. package/lib/bridge/syncSessionManager/index.test.d.ts +2 -0
  9. package/lib/bridge/syncSessionManager/index.test.d.ts.map +1 -0
  10. package/lib/bridge/syncSessionManager/index.test.js +118 -0
  11. package/lib/bridge/syncSessionManager/index.test.js.map +1 -0
  12. package/lib/e2e/data/deviceLabelsData.js +2 -2
  13. package/lib/e2e/data/deviceLabelsData.js.map +1 -1
  14. package/lib/e2e/enum/DeviceLabels.d.ts +1 -9
  15. package/lib/e2e/enum/DeviceLabels.d.ts.map +1 -1
  16. package/lib/e2e/enum/DeviceLabels.js +0 -8
  17. package/lib/e2e/enum/DeviceLabels.js.map +1 -1
  18. package/lib/e2e/families/tezos.d.ts.map +1 -1
  19. package/lib/e2e/families/tezos.js +5 -3
  20. package/lib/e2e/families/tezos.js.map +1 -1
  21. package/lib/e2e/index.d.ts +2 -0
  22. package/lib/e2e/index.d.ts.map +1 -1
  23. package/lib/e2e/models/Swap.d.ts +2 -0
  24. package/lib/e2e/models/Swap.d.ts.map +1 -1
  25. package/lib/e2e/models/Swap.js +6 -0
  26. package/lib/e2e/models/Swap.js.map +1 -1
  27. package/lib/e2e/speculos.d.ts +8 -0
  28. package/lib/e2e/speculos.d.ts.map +1 -1
  29. package/lib/e2e/speculos.js +17 -31
  30. package/lib/e2e/speculos.js.map +1 -1
  31. package/lib/exchange/providers/swap.js +2 -2
  32. package/lib/exchange/providers/swap.js.map +1 -1
  33. package/lib/featureFlags/defaultFeatures.d.ts.map +1 -1
  34. package/lib/featureFlags/defaultFeatures.js +1 -0
  35. package/lib/featureFlags/defaultFeatures.js.map +1 -1
  36. package/lib/featureFlags/useFeature.d.ts +1 -1
  37. package/lib/featureFlags/useFeature.d.ts.map +1 -1
  38. package/lib/modularDrawer/hooks/modules/useLeftApyModule.d.ts +1 -0
  39. package/lib/modularDrawer/hooks/modules/useLeftApyModule.d.ts.map +1 -1
  40. package/lib/modularDrawer/hooks/modules/useLeftMarketTrendModule.d.ts +1 -0
  41. package/lib/modularDrawer/hooks/modules/useLeftMarketTrendModule.d.ts.map +1 -1
  42. package/lib/modularDrawer/hooks/modules/useRightMarketTrendModule.d.ts +1 -0
  43. package/lib/modularDrawer/hooks/modules/useRightMarketTrendModule.d.ts.map +1 -1
  44. package/lib/modularDrawer/hooks/useRightBalanceAsset.d.ts +1 -0
  45. package/lib/modularDrawer/hooks/useRightBalanceAsset.d.ts.map +1 -1
  46. package/lib/modularDrawer/hooks/useRightBalanceNetwork.d.ts +1 -0
  47. package/lib/modularDrawer/hooks/useRightBalanceNetwork.d.ts.map +1 -1
  48. package/lib/notifications/ServiceStatusProvider/entry-points.d.ts +3 -0
  49. package/lib/notifications/ServiceStatusProvider/entry-points.d.ts.map +1 -0
  50. package/lib/notifications/ServiceStatusProvider/entry-points.js +3 -0
  51. package/lib/notifications/ServiceStatusProvider/entry-points.js.map +1 -0
  52. package/lib/notifications/ServiceStatusProvider/index.d.ts +18 -1
  53. package/lib/notifications/ServiceStatusProvider/index.d.ts.map +1 -1
  54. package/lib/notifications/ServiceStatusProvider/index.js +47 -9
  55. package/lib/notifications/ServiceStatusProvider/index.js.map +1 -1
  56. package/lib/notifications/ServiceStatusProvider/index.test.d.ts +2 -0
  57. package/lib/notifications/ServiceStatusProvider/index.test.d.ts.map +1 -0
  58. package/lib/notifications/ServiceStatusProvider/index.test.js +88 -0
  59. package/lib/notifications/ServiceStatusProvider/index.test.js.map +1 -0
  60. package/lib/notifications/ServiceStatusProvider/ledger-components.d.ts +2 -0
  61. package/lib/notifications/ServiceStatusProvider/ledger-components.d.ts.map +1 -0
  62. package/lib/notifications/ServiceStatusProvider/ledger-components.js +17 -0
  63. package/lib/notifications/ServiceStatusProvider/ledger-components.js.map +1 -0
  64. package/lib/notifications/ServiceStatusProvider/mocks/ledgerStatus.d.ts +154 -0
  65. package/lib/notifications/ServiceStatusProvider/mocks/ledgerStatus.d.ts.map +1 -0
  66. package/lib/notifications/ServiceStatusProvider/mocks/ledgerStatus.js +1192 -0
  67. package/lib/notifications/ServiceStatusProvider/mocks/ledgerStatus.js.map +1 -0
  68. package/lib/notifications/ServiceStatusProvider/types.d.ts +3 -1
  69. package/lib/notifications/ServiceStatusProvider/types.d.ts.map +1 -1
  70. package/lib-es/bridge/react/BridgeSync.d.ts.map +1 -1
  71. package/lib-es/bridge/react/BridgeSync.js +17 -4
  72. package/lib-es/bridge/react/BridgeSync.js.map +1 -1
  73. package/lib-es/bridge/syncSessionManager/index.d.ts +18 -0
  74. package/lib-es/bridge/syncSessionManager/index.d.ts.map +1 -0
  75. package/lib-es/bridge/syncSessionManager/index.js +68 -0
  76. package/lib-es/bridge/syncSessionManager/index.js.map +1 -0
  77. package/lib-es/bridge/syncSessionManager/index.test.d.ts +2 -0
  78. package/lib-es/bridge/syncSessionManager/index.test.d.ts.map +1 -0
  79. package/lib-es/bridge/syncSessionManager/index.test.js +116 -0
  80. package/lib-es/bridge/syncSessionManager/index.test.js.map +1 -0
  81. package/lib-es/e2e/data/deviceLabelsData.js +2 -2
  82. package/lib-es/e2e/data/deviceLabelsData.js.map +1 -1
  83. package/lib-es/e2e/enum/DeviceLabels.d.ts +1 -9
  84. package/lib-es/e2e/enum/DeviceLabels.d.ts.map +1 -1
  85. package/lib-es/e2e/enum/DeviceLabels.js +0 -8
  86. package/lib-es/e2e/enum/DeviceLabels.js.map +1 -1
  87. package/lib-es/e2e/families/tezos.d.ts.map +1 -1
  88. package/lib-es/e2e/families/tezos.js +6 -4
  89. package/lib-es/e2e/families/tezos.js.map +1 -1
  90. package/lib-es/e2e/index.d.ts +2 -0
  91. package/lib-es/e2e/index.d.ts.map +1 -1
  92. package/lib-es/e2e/models/Swap.d.ts +2 -0
  93. package/lib-es/e2e/models/Swap.d.ts.map +1 -1
  94. package/lib-es/e2e/models/Swap.js +6 -0
  95. package/lib-es/e2e/models/Swap.js.map +1 -1
  96. package/lib-es/e2e/speculos.d.ts +8 -0
  97. package/lib-es/e2e/speculos.d.ts.map +1 -1
  98. package/lib-es/e2e/speculos.js +16 -31
  99. package/lib-es/e2e/speculos.js.map +1 -1
  100. package/lib-es/exchange/providers/swap.js +2 -2
  101. package/lib-es/exchange/providers/swap.js.map +1 -1
  102. package/lib-es/featureFlags/defaultFeatures.d.ts.map +1 -1
  103. package/lib-es/featureFlags/defaultFeatures.js +1 -0
  104. package/lib-es/featureFlags/defaultFeatures.js.map +1 -1
  105. package/lib-es/featureFlags/useFeature.d.ts +1 -1
  106. package/lib-es/featureFlags/useFeature.d.ts.map +1 -1
  107. package/lib-es/modularDrawer/hooks/modules/useLeftApyModule.d.ts +1 -0
  108. package/lib-es/modularDrawer/hooks/modules/useLeftApyModule.d.ts.map +1 -1
  109. package/lib-es/modularDrawer/hooks/modules/useLeftMarketTrendModule.d.ts +1 -0
  110. package/lib-es/modularDrawer/hooks/modules/useLeftMarketTrendModule.d.ts.map +1 -1
  111. package/lib-es/modularDrawer/hooks/modules/useRightMarketTrendModule.d.ts +1 -0
  112. package/lib-es/modularDrawer/hooks/modules/useRightMarketTrendModule.d.ts.map +1 -1
  113. package/lib-es/modularDrawer/hooks/useRightBalanceAsset.d.ts +1 -0
  114. package/lib-es/modularDrawer/hooks/useRightBalanceAsset.d.ts.map +1 -1
  115. package/lib-es/modularDrawer/hooks/useRightBalanceNetwork.d.ts +1 -0
  116. package/lib-es/modularDrawer/hooks/useRightBalanceNetwork.d.ts.map +1 -1
  117. package/lib-es/notifications/ServiceStatusProvider/entry-points.d.ts +3 -0
  118. package/lib-es/notifications/ServiceStatusProvider/entry-points.d.ts.map +1 -0
  119. package/lib-es/notifications/ServiceStatusProvider/entry-points.js +2 -0
  120. package/lib-es/notifications/ServiceStatusProvider/entry-points.js.map +1 -0
  121. package/lib-es/notifications/ServiceStatusProvider/index.d.ts +18 -1
  122. package/lib-es/notifications/ServiceStatusProvider/index.d.ts.map +1 -1
  123. package/lib-es/notifications/ServiceStatusProvider/index.js +47 -9
  124. package/lib-es/notifications/ServiceStatusProvider/index.js.map +1 -1
  125. package/lib-es/notifications/ServiceStatusProvider/index.test.d.ts +2 -0
  126. package/lib-es/notifications/ServiceStatusProvider/index.test.d.ts.map +1 -0
  127. package/lib-es/notifications/ServiceStatusProvider/index.test.js +86 -0
  128. package/lib-es/notifications/ServiceStatusProvider/index.test.js.map +1 -0
  129. package/lib-es/notifications/ServiceStatusProvider/ledger-components.d.ts +2 -0
  130. package/lib-es/notifications/ServiceStatusProvider/ledger-components.d.ts.map +1 -0
  131. package/lib-es/notifications/ServiceStatusProvider/ledger-components.js +14 -0
  132. package/lib-es/notifications/ServiceStatusProvider/ledger-components.js.map +1 -0
  133. package/lib-es/notifications/ServiceStatusProvider/mocks/ledgerStatus.d.ts +154 -0
  134. package/lib-es/notifications/ServiceStatusProvider/mocks/ledgerStatus.d.ts.map +1 -0
  135. package/lib-es/notifications/ServiceStatusProvider/mocks/ledgerStatus.js +1189 -0
  136. package/lib-es/notifications/ServiceStatusProvider/mocks/ledgerStatus.js.map +1 -0
  137. package/lib-es/notifications/ServiceStatusProvider/types.d.ts +3 -1
  138. package/lib-es/notifications/ServiceStatusProvider/types.d.ts.map +1 -1
  139. package/package.json +67 -67
  140. package/src/bridge/react/BridgeSync.tsx +17 -3
  141. package/src/bridge/syncSessionManager/index.test.ts +151 -0
  142. package/src/bridge/syncSessionManager/index.ts +93 -0
  143. package/src/e2e/data/deviceLabelsData.ts +2 -2
  144. package/src/e2e/enum/DeviceLabels.ts +0 -8
  145. package/src/e2e/families/tezos.ts +13 -4
  146. package/src/e2e/models/Swap.ts +8 -0
  147. package/src/e2e/speculos.ts +19 -34
  148. package/src/exchange/providers/swap.ts +2 -2
  149. package/src/featureFlags/defaultFeatures.ts +1 -0
  150. package/src/notifications/ServiceStatusProvider/entry-points.ts +3 -0
  151. package/src/notifications/ServiceStatusProvider/index.test.ts +102 -0
  152. package/src/notifications/ServiceStatusProvider/index.tsx +61 -13
  153. package/src/notifications/ServiceStatusProvider/ledger-components.ts +13 -0
  154. package/src/notifications/ServiceStatusProvider/mocks/ledgerStatus.ts +1188 -0
  155. package/src/notifications/ServiceStatusProvider/types.ts +4 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/notifications/ServiceStatusProvider/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA6F;AAE7F,gDAAsC;AACtC,mCAAqC;AACrC,yCAA2C;AAC3C,uCAAiD;AAajD,MAAM,oBAAoB,GAAG,IAAA,qBAAa,EAAoB;IAC5D,SAAS,EAAE,EAAE;IACb,SAAS,EAAE,KAAK;IAChB,cAAc,EAAE,SAAS;IACzB,KAAK,EAAE,SAAS;IAChB,UAAU,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE;IACnC,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;CACzB,CAAC,CAAC;AAEH,SAAgB,gBAAgB;IAC9B,OAAO,IAAA,kBAAU,EAAC,oBAAoB,CAAC,CAAC;AAC1C,CAAC;AAFD,4CAEC;AAED,SAAS,YAAY,CAAC,MAAM;IAC1B,OAAO,MAAM,CAAC,OAAO,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC,CAAC,oCAAoC;AAC3F,CAAC;AAED,SAAgB,4BAA4B,CAC1C,SAAqB,EACrB,UAAoB,EAAE;IAEtB,IAAI,CAAC,OAAO,IAAI,OAA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AM,UAAU,CAAC,kBAAkB,EAAE,CAAC;QACnE,OAAO;YACL,SAAS,EAAE,oBAAoB,CAAC,SAAS;YACzC,UAAU,EAAE,IAAI,CAAC,GAAG,EAAE;SACvB,CAAC;IACJ,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;IAEjB,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,IAAA,kBAAU,EAC9B,8BAAoB,CAAC,OAAO,CAAC;QAC3B,MAAM,EAAE;YACN,SAAS,EAAE,IAAA,oBAAW,EAAC,SAAS,CAAC;SAClC;QACD,MAAM,EAAE;YACN,iBAAiB,EAAE,eAAe;SACnC;KACF,CAAC,CACH,CAAC;IACF,MAAM,GAAG,GAAG,IAAA,eAAO,EACjB,GAAG,EAAE,CAAC,CAAC;QACL,UAAU,EAAE,KAAK,IAAI,EAAE;YACrB,IAAI,CAAC;gBACH,IAAI,EAAE,aAAa;aACpB,CAAC,CAAC;QACL,CAAC;KACF,CAAC,EACF,CAAC,IAAI,CAAC,CACP,CAAC;IACF,MAAM,KAAK,GAAG,EAAE,GAAG,CAAC,KAAK,CAAC,OAAO,IAAI,EAAE,CAAC,EAAE,GAAG,GAAG,EAAE,OAAO,EAAE,CAAC;IAC5D,OAAO,8BAAC,oBAAoB,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,IAAG,QAAQ,CAAiC,CAAC;AACjG,CAAC,CAAC;AApCW,QAAA,qBAAqB,yBAoChC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/notifications/ServiceStatusProvider/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA6F;AAE7F,gDAAsC;AACtC,mCAAqC;AACrC,yCAA2C;AAC3C,uCAAiD;AACjD,2DAAwD;AAexD,MAAM,oBAAoB,GAAG,IAAA,qBAAa,EAAoB;IAC5D,SAAS,EAAE,EAAE;IACb,SAAS,EAAE,KAAK;IAChB,cAAc,EAAE,SAAS;IACz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M,UAAU,CAAC,kBAAkB,EAAE,CAAC;QAEnE,OAAO;YACL,SAAS,EAAE,oBAAoB,CAAC,SAAS;YACzC,UAAU,EAAE,IAAI,CAAC,GAAG,EAAE;SACvB,CAAC;IACJ,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;IAEjB,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,IAAA,kBAAU,EAC9B,8BAAoB,CAAC,OAAO,CAAC;QAC3B,MAAM,EAAE;YACN,SAAS,EAAE,IAAA,oBAAW,EAAC,SAAS,CAAC;SAClC;QACD,MAAM,EAAE;YACN,iBAAiB,EAAE,eAAe;SACnC;KACF,CAAC,CACH,CAAC;IACF,MAAM,GAAG,GAAG,IAAA,eAAO,EACjB,GAAG,EAAE,CAAC,CAAC;QACL,UAAU,EAAE,KAAK,IAAI,EAAE;YACrB,IAAI,CAAC;gBACH,IAAI,EAAE,aAAa;aACpB,CAAC,CAAC;QACL,CAAC;KACF,CAAC,EACF,CAAC,IAAI,CAAC,CACP,CAAC;IACF,MAAM,KAAK,GAAG,EAAE,GAAG,CAAC,KAAK,CAAC,OAAO,IAAI,EAAE,CAAC,EAAE,GAAG,GAAG,EAAE,OAAO,EAAE,CAAC;IAC5D,OAAO,8BAAC,oBAAoB,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,IAAG,QAAQ,CAAiC,CAAC;AACjG,CAAC,CAAC;AArCW,QAAA,qBAAqB,yBAqChC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../../src/notifications/ServiceStatusProvider/index.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,88 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const index_1 = require("./index");
4
+ const ledger_components_1 = require("./ledger-components");
5
+ const makeIncident = (overrides = {}) => ({
6
+ created_at: "2025-01-01T00:00:00Z",
7
+ id: Math.random().toString(16).slice(2),
8
+ impact: "minor",
9
+ incident_updates: [],
10
+ monitoring_at: null,
11
+ name: "Test incident",
12
+ page_id: null,
13
+ resolved_at: null,
14
+ shortlink: null,
15
+ status: "investigating",
16
+ updated_at: null,
17
+ ...overrides,
18
+ });
19
+ describe("filterServiceStatusIncidents", () => {
20
+ it("returns empty when no tickers or no incidents", () => {
21
+ expect((0, index_1.filterServiceStatusIncidents)([], ["BTC"]).length).toBe(0);
22
+ expect((0, index_1.filterServiceStatusIncidents)([makeIncident()], []).length).toBe(0);
23
+ });
24
+ it("matches incidents with known Ledger components (case-insensitive)", () => {
25
+ const incidents = [
26
+ makeIncident({ components: [{ id: "1", name: "Ledger Application Store" }] }),
27
+ makeIncident({ components: [{ id: "2", name: "ledger appliCAtion store" }] }),
28
+ makeIncident({ components: [{ id: "3", name: "Unknown Component" }] }),
29
+ ];
30
+ const result = (0, index_1.filterServiceStatusIncidents)(incidents, ["BTC"], "notifications");
31
+ expect(result.map(i => i.components?.[0].id)).toEqual(["1", "2"]);
32
+ });
33
+ it("matches incidents if a component contains a tracked ticker as a whole word (case-insensitive)", () => {
34
+ const incidents = [
35
+ makeIncident({ components: [{ id: "1", name: "BTC Node" }] }),
36
+ makeIncident({ components: [{ id: "2", name: "eth Node" }] }),
37
+ makeIncident({ components: [{ id: "3", name: "TETHER Service" }] }),
38
+ makeIncident({ components: [{ id: "4", name: "NOTBTCService" }] }),
39
+ ];
40
+ const result = (0, index_1.filterServiceStatusIncidents)(incidents, ["BTC", "ETH"]);
41
+ expect(result.map(i => i.components?.[0].id)).toEqual(["1", "2"]);
42
+ });
43
+ it("includes incidents with no components array or empty array", () => {
44
+ const incidents = [
45
+ makeIncident({ components: undefined }),
46
+ makeIncident({ components: [] }),
47
+ ];
48
+ const result = (0, index_1.filterServiceStatusIncidents)(incidents, ["BTC"]);
49
+ expect(result.length).toBe(2);
50
+ });
51
+ it("escapes tickers so special regex characters do not break matching", () => {
52
+ const incidents = [
53
+ makeIncident({ components: [{ id: "1", name: "USDT Node" }] }),
54
+ makeIncident({ components: [{ id: "2", name: "US.DT Node" }] }),
55
+ makeIncident({ components: [{ id: "3", name: "(USDT) Node" }] }),
56
+ makeIncident({ components: [{ id: "4", name: "Ethereum Node" }] }),
57
+ makeIncident({ components: [{ id: "5", name: "Ethereum (ETH) swap issue" }] }),
58
+ ];
59
+ const result = (0, index_1.filterServiceStatusIncidents)(incidents, ["USDT", "ETH"]);
60
+ expect(result.map(i => i.components?.[0].id)).toEqual(["1", "3", "5"]);
61
+ expect(result.length).toBe(3);
62
+ });
63
+ it("matches incidents for all known Ledger components", () => {
64
+ const incidents = ledger_components_1.LEDGER_COMPONENTS.map((name, index) => makeIncident({ components: [{ id: `${index + 1}`, name }] }));
65
+ const result = (0, index_1.filterServiceStatusIncidents)(incidents, ["BTC"], "notifications");
66
+ expect(result.length).toBe(ledger_components_1.LEDGER_COMPONENTS.length);
67
+ });
68
+ it("filters correctly with common tickers", () => {
69
+ const tickers = ["XRP", "SOL", "ETH", "BTC", "ADA", "USDC", "USDT"];
70
+ const incidents = [
71
+ makeIncident({ components: [{ id: "1", name: "BTC Node" }] }),
72
+ makeIncident({ components: [{ id: "2", name: "eth Node" }] }),
73
+ makeIncident({ components: [{ id: "3", name: "ADA-Service" }] }),
74
+ makeIncident({ components: [{ id: "4", name: "usdc gateway" }] }),
75
+ makeIncident({ components: [{ id: "5", name: "NOTUSDTService" }] }),
76
+ makeIncident({ components: [{ id: "6", name: "USDT" }] }),
77
+ makeIncident({ components: [{ id: "7", name: "xrp relayer" }] }),
78
+ makeIncident({ components: [{ id: "8", name: "SOL Node" }] }),
79
+ makeIncident({ components: [{ id: "9", name: "SOLANA Node" }] }),
80
+ makeIncident({ components: [{ id: "10", name: "Random Service" }] }),
81
+ makeIncident({ components: [] }),
82
+ ];
83
+ const result = (0, index_1.filterServiceStatusIncidents)(incidents, tickers);
84
+ expect(result.map(i => i.components?.[0]?.id)).toEqual(["1", "2", "3", "4", "6", "7", "8"]);
85
+ expect(result.length).toBe(8);
86
+ });
87
+ });
88
+ //# sourceMappingURL=index.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.test.js","sourceRoot":"","sources":["../../../src/notifications/ServiceStatusProvider/index.test.ts"],"names":[],"mappings":";;AAAA,mCAAuD;AACvD,2DAAwD;AAGxD,MAAM,YAAY,GAAG,CAAC,YAA+B,EAAE,EAAY,EAAE,CAAC,CAAC;IACrE,UAAU,EAAE,sBAAsB;IAClC,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;IACvC,MAAM,EAAE,OAAO;IACf,gBAAgB,EAAE,EAAE;IACpB,aAAa,EAAE,IAAI;IACnB,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,IAAI;IACb,WAAW,EAAE,IAAI;IACjB,SAAS,EAAE,IAAI;IACf,MAAM,EAAE,eAAe;IACvB,UAAU,EAAE,IAAI;IAChB,GAAG,SAAS;CACb,CAAC,CAAC;AAEH,QAAQ,CAAC,8BAA8B,EAAE,GAAG,EAAE;IAC5C,EAAE,CAAC,+CAA+C,EAAE,GAAG,EAAE;QACvD,MAAM,CAAC,IAAA,oCAA4B,EAAC,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QACjE,MAAM,CAAC,IAAA,oCAA4B,EAAC,CAAC,YAAY,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAC5E,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,mEAAmE,EAAE,GAAG,EAAE;QAC3E,MAAM,SAAS,GAAe;YAC5B,YAAY,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,0BAA0B,EAAE,CAAC,EA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UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;QAC5F,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAChC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const LEDGER_COMPONENTS: readonly ["Ledger Application Store", "Ledger Live Security Services", "Swap API", "Buy", "Earn Dashboard", "Crypto Assets Service", "Cloud Sync", "Trustchain", "Loyalty Program", "Card Program", "Countervalue API"];
2
+ //# sourceMappingURL=ledger-components.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ledger-components.d.ts","sourceRoot":"","sources":["../../../src/notifications/ServiceStatusProvider/ledger-components.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,yNAYpB,CAAC"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LEDGER_COMPONENTS = void 0;
4
+ exports.LEDGER_COMPONENTS = [
5
+ "Ledger Application Store",
6
+ "Ledger Live Security Services",
7
+ "Swap API",
8
+ "Buy",
9
+ "Earn Dashboard",
10
+ "Crypto Assets Service",
11
+ "Cloud Sync",
12
+ "Trustchain",
13
+ "Loyalty Program",
14
+ "Card Program",
15
+ "Countervalue API",
16
+ ];
17
+ //# sourceMappingURL=ledger-components.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ledger-components.js","sourceRoot":"","sources":["../../../src/notifications/ServiceStatusProvider/ledger-components.ts"],"names":[],"mappings":";;;AAAa,QAAA,iBAAiB,GAAG;IAC/B,0BAA0B;IAC1B,+BAA+B;IAC/B,UAAU;IACV,KAAK;IACL,gBAAgB;IAChB,uBAAuB;IACvB,YAAY;IACZ,YAAY;IACZ,iBAAiB;IACjB,cAAc;IACd,kBAAkB;CACV,CAAC"}
@@ -0,0 +1,154 @@
1
+ export declare const mockLedgerStatus: {
2
+ page: {
3
+ id: string;
4
+ name: string;
5
+ url: string;
6
+ time_zone: string;
7
+ updated_at: string;
8
+ };
9
+ components: ({
10
+ id: string;
11
+ name: string;
12
+ status: string;
13
+ created_at: string;
14
+ updated_at: string;
15
+ position: number;
16
+ description: null;
17
+ showcase: boolean;
18
+ start_date: string;
19
+ group_id: string;
20
+ page_id: string;
21
+ group: boolean;
22
+ only_show_if_degraded: boolean;
23
+ components?: undefined;
24
+ } | {
25
+ id: string;
26
+ name: string;
27
+ status: string;
28
+ created_at: string;
29
+ updated_at: string;
30
+ position: number;
31
+ description: null;
32
+ showcase: boolean;
33
+ start_date: null;
34
+ group_id: null;
35
+ page_id: string;
36
+ group: boolean;
37
+ only_show_if_degraded: boolean;
38
+ components: string[];
39
+ } | {
40
+ id: string;
41
+ name: string;
42
+ status: string;
43
+ created_at: string;
44
+ updated_at: string;
45
+ position: number;
46
+ description: null;
47
+ showcase: boolean;
48
+ start_date: string;
49
+ group_id: null;
50
+ page_id: string;
51
+ group: boolean;
52
+ only_show_if_degraded: boolean;
53
+ components?: undefined;
54
+ })[];
55
+ incidents: ({
56
+ id: string;
57
+ name: string;
58
+ status: string;
59
+ created_at: string;
60
+ updated_at: string;
61
+ monitoring_at: null;
62
+ resolved_at: null;
63
+ impact: string;
64
+ shortlink: string;
65
+ started_at: string;
66
+ page_id: string;
67
+ incident_updates: {
68
+ id: string;
69
+ status: string;
70
+ body: string;
71
+ incident_id: string;
72
+ created_at: string;
73
+ updated_at: string;
74
+ display_at: string;
75
+ affected_components: {
76
+ code: string;
77
+ name: string;
78
+ old_status: string;
79
+ new_status: string;
80
+ }[];
81
+ deliver_notifications: boolean;
82
+ custom_tweet: null;
83
+ tweet_id: null;
84
+ }[];
85
+ components: {
86
+ id: string;
87
+ name: string;
88
+ status: string;
89
+ created_at: string;
90
+ updated_at: string;
91
+ position: number;
92
+ description: null;
93
+ showcase: boolean;
94
+ start_date: string;
95
+ group_id: string;
96
+ page_id: string;
97
+ group: boolean;
98
+ only_show_if_degraded: boolean;
99
+ }[];
100
+ reminder_intervals: string;
101
+ } | {
102
+ id: string;
103
+ name: string;
104
+ status: string;
105
+ created_at: string;
106
+ updated_at: string;
107
+ monitoring_at: null;
108
+ resolved_at: null;
109
+ impact: string;
110
+ shortlink: string;
111
+ started_at: string;
112
+ page_id: string;
113
+ incident_updates: {
114
+ id: string;
115
+ status: string;
116
+ body: string;
117
+ incident_id: string;
118
+ created_at: string;
119
+ updated_at: string;
120
+ display_at: string;
121
+ affected_components: {
122
+ code: string;
123
+ name: string;
124
+ old_status: string;
125
+ new_status: string;
126
+ }[];
127
+ deliver_notifications: boolean;
128
+ custom_tweet: null;
129
+ tweet_id: null;
130
+ }[];
131
+ components: {
132
+ id: string;
133
+ name: string;
134
+ status: string;
135
+ created_at: string;
136
+ updated_at: string;
137
+ position: number;
138
+ description: null;
139
+ showcase: boolean;
140
+ start_date: string;
141
+ group_id: null;
142
+ page_id: string;
143
+ group: boolean;
144
+ only_show_if_degraded: boolean;
145
+ }[];
146
+ reminder_intervals: string;
147
+ })[];
148
+ scheduled_maintenances: never[];
149
+ status: {
150
+ indicator: string;
151
+ description: string;
152
+ };
153
+ };
154
+ //# sourceMappingURL=ledgerStatus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ledgerStatus.d.ts","sourceRoot":"","sources":["../../../../src/notifications/ServiceStatusProvider/mocks/ledgerStatus.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmqC5B,CAAC"}