@metamask-previews/core-backend 6.2.2-preview-150787a7d → 6.2.2-preview-2fd84c8

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 (90) hide show
  1. package/CHANGELOG.md +0 -8
  2. package/dist/AccountActivityService-method-action-types.cjs.map +1 -0
  3. package/dist/AccountActivityService-method-action-types.d.cts.map +1 -0
  4. package/dist/AccountActivityService-method-action-types.d.mts.map +1 -0
  5. package/dist/AccountActivityService-method-action-types.mjs.map +1 -0
  6. package/dist/{ws/AccountActivityService.cjs → AccountActivityService.cjs} +1 -1
  7. package/dist/AccountActivityService.cjs.map +1 -0
  8. package/dist/{ws/AccountActivityService.d.cts → AccountActivityService.d.cts} +1 -1
  9. package/dist/AccountActivityService.d.cts.map +1 -0
  10. package/dist/{ws/AccountActivityService.d.mts → AccountActivityService.d.mts} +1 -1
  11. package/dist/AccountActivityService.d.mts.map +1 -0
  12. package/dist/{ws/AccountActivityService.mjs → AccountActivityService.mjs} +1 -1
  13. package/dist/AccountActivityService.mjs.map +1 -0
  14. package/dist/BackendWebSocketService-method-action-types.cjs.map +1 -0
  15. package/dist/BackendWebSocketService-method-action-types.d.cts.map +1 -0
  16. package/dist/BackendWebSocketService-method-action-types.d.mts.map +1 -0
  17. package/dist/BackendWebSocketService-method-action-types.mjs.map +1 -0
  18. package/dist/{ws/BackendWebSocketService.cjs → BackendWebSocketService.cjs} +1 -1
  19. package/dist/BackendWebSocketService.cjs.map +1 -0
  20. package/dist/BackendWebSocketService.d.cts.map +1 -0
  21. package/dist/BackendWebSocketService.d.mts.map +1 -0
  22. package/dist/{ws/BackendWebSocketService.mjs → BackendWebSocketService.mjs} +1 -1
  23. package/dist/BackendWebSocketService.mjs.map +1 -0
  24. package/dist/index.cjs +3 -10
  25. package/dist/index.cjs.map +1 -1
  26. package/dist/index.d.cts +4 -6
  27. package/dist/index.d.cts.map +1 -1
  28. package/dist/index.d.mts +4 -6
  29. package/dist/index.d.mts.map +1 -1
  30. package/dist/index.mjs +2 -6
  31. package/dist/index.mjs.map +1 -1
  32. package/package.json +1 -2
  33. package/dist/ws/AccountActivityService-method-action-types.cjs.map +0 -1
  34. package/dist/ws/AccountActivityService-method-action-types.d.cts.map +0 -1
  35. package/dist/ws/AccountActivityService-method-action-types.d.mts.map +0 -1
  36. package/dist/ws/AccountActivityService-method-action-types.mjs.map +0 -1
  37. package/dist/ws/AccountActivityService.cjs.map +0 -1
  38. package/dist/ws/AccountActivityService.d.cts.map +0 -1
  39. package/dist/ws/AccountActivityService.d.mts.map +0 -1
  40. package/dist/ws/AccountActivityService.mjs.map +0 -1
  41. package/dist/ws/BackendWebSocketService-method-action-types.cjs.map +0 -1
  42. package/dist/ws/BackendWebSocketService-method-action-types.d.cts.map +0 -1
  43. package/dist/ws/BackendWebSocketService-method-action-types.d.mts.map +0 -1
  44. package/dist/ws/BackendWebSocketService-method-action-types.mjs.map +0 -1
  45. package/dist/ws/BackendWebSocketService.cjs.map +0 -1
  46. package/dist/ws/BackendWebSocketService.d.cts.map +0 -1
  47. package/dist/ws/BackendWebSocketService.d.mts.map +0 -1
  48. package/dist/ws/BackendWebSocketService.mjs.map +0 -1
  49. package/dist/ws/ohlcv/OHLCVService-method-action-types.cjs +0 -7
  50. package/dist/ws/ohlcv/OHLCVService-method-action-types.cjs.map +0 -1
  51. package/dist/ws/ohlcv/OHLCVService-method-action-types.d.cts +0 -35
  52. package/dist/ws/ohlcv/OHLCVService-method-action-types.d.cts.map +0 -1
  53. package/dist/ws/ohlcv/OHLCVService-method-action-types.d.mts +0 -35
  54. package/dist/ws/ohlcv/OHLCVService-method-action-types.d.mts.map +0 -1
  55. package/dist/ws/ohlcv/OHLCVService-method-action-types.mjs +0 -6
  56. package/dist/ws/ohlcv/OHLCVService-method-action-types.mjs.map +0 -1
  57. package/dist/ws/ohlcv/OHLCVService.cjs +0 -372
  58. package/dist/ws/ohlcv/OHLCVService.cjs.map +0 -1
  59. package/dist/ws/ohlcv/OHLCVService.d.cts +0 -109
  60. package/dist/ws/ohlcv/OHLCVService.d.cts.map +0 -1
  61. package/dist/ws/ohlcv/OHLCVService.d.mts +0 -109
  62. package/dist/ws/ohlcv/OHLCVService.d.mts.map +0 -1
  63. package/dist/ws/ohlcv/OHLCVService.mjs +0 -368
  64. package/dist/ws/ohlcv/OHLCVService.mjs.map +0 -1
  65. package/dist/ws/ohlcv/index.cjs +0 -9
  66. package/dist/ws/ohlcv/index.cjs.map +0 -1
  67. package/dist/ws/ohlcv/index.d.cts +0 -5
  68. package/dist/ws/ohlcv/index.d.cts.map +0 -1
  69. package/dist/ws/ohlcv/index.d.mts +0 -5
  70. package/dist/ws/ohlcv/index.d.mts.map +0 -1
  71. package/dist/ws/ohlcv/index.mjs +0 -3
  72. package/dist/ws/ohlcv/index.mjs.map +0 -1
  73. package/dist/ws/ohlcv/types.cjs +0 -6
  74. package/dist/ws/ohlcv/types.cjs.map +0 -1
  75. package/dist/ws/ohlcv/types.d.cts +0 -32
  76. package/dist/ws/ohlcv/types.d.cts.map +0 -1
  77. package/dist/ws/ohlcv/types.d.mts +0 -32
  78. package/dist/ws/ohlcv/types.d.mts.map +0 -1
  79. package/dist/ws/ohlcv/types.mjs +0 -5
  80. package/dist/ws/ohlcv/types.mjs.map +0 -1
  81. /package/dist/{ws/AccountActivityService-method-action-types.cjs → AccountActivityService-method-action-types.cjs} +0 -0
  82. /package/dist/{ws/AccountActivityService-method-action-types.d.cts → AccountActivityService-method-action-types.d.cts} +0 -0
  83. /package/dist/{ws/AccountActivityService-method-action-types.d.mts → AccountActivityService-method-action-types.d.mts} +0 -0
  84. /package/dist/{ws/AccountActivityService-method-action-types.mjs → AccountActivityService-method-action-types.mjs} +0 -0
  85. /package/dist/{ws/BackendWebSocketService-method-action-types.cjs → BackendWebSocketService-method-action-types.cjs} +0 -0
  86. /package/dist/{ws/BackendWebSocketService-method-action-types.d.cts → BackendWebSocketService-method-action-types.d.cts} +0 -0
  87. /package/dist/{ws/BackendWebSocketService-method-action-types.d.mts → BackendWebSocketService-method-action-types.d.mts} +0 -0
  88. /package/dist/{ws/BackendWebSocketService-method-action-types.mjs → BackendWebSocketService-method-action-types.mjs} +0 -0
  89. /package/dist/{ws/BackendWebSocketService.d.cts → BackendWebSocketService.d.cts} +0 -0
  90. /package/dist/{ws/BackendWebSocketService.d.mts → BackendWebSocketService.d.mts} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.cts","sourceRoot":"","sources":["../../../src/ws/ohlcv/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,kDAAkD;IAClD,SAAS,EAAE,MAAM,CAAC;IAClB,oBAAoB;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,6CAA6C;IAC7C,IAAI,EAAE,MAAM,CAAC;IACb,4CAA4C;IAC5C,GAAG,EAAE,MAAM,CAAC;IACZ,6BAA6B;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,8CAA8C;IAC9C,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,oGAAoG;IACpG,OAAO,EAAE,MAAM,CAAC;IAChB,gEAAgE;IAChE,QAAQ,EAAE,MAAM,CAAC;IACjB,4CAA4C;IAC5C,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC"}
@@ -1,32 +0,0 @@
1
- /**
2
- * OHLCV WebSocket streaming types for real-time candlestick data.
3
- */
4
- /**
5
- * A single OHLCV candlestick bar received from the market-data WebSocket stream.
6
- */
7
- export type OHLCVBar = {
8
- /** Unix timestamp (seconds) of the candle open */
9
- timestamp: number;
10
- /** Opening price */
11
- open: number;
12
- /** Highest price during the candle period */
13
- high: number;
14
- /** Lowest price during the candle period */
15
- low: number;
16
- /** Closing price (latest) */
17
- close: number;
18
- /** Trading volume during the candle period */
19
- volume: number;
20
- };
21
- /**
22
- * Options for subscribing to an OHLCV channel.
23
- */
24
- export type OHLCVSubscriptionOptions = {
25
- /** CAIP-19 asset identifier, e.g. "eip155:8453/erc20:0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" */
26
- assetId: string;
27
- /** Candle interval, e.g. "1m", "5m", "15m", "1h", "4h", "1d" */
28
- interval: string;
29
- /** Fiat currency code, e.g. "usd", "eur" */
30
- currency: string;
31
- };
32
- //# sourceMappingURL=types.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.mts","sourceRoot":"","sources":["../../../src/ws/ohlcv/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,kDAAkD;IAClD,SAAS,EAAE,MAAM,CAAC;IAClB,oBAAoB;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,6CAA6C;IAC7C,IAAI,EAAE,MAAM,CAAC;IACb,4CAA4C;IAC5C,GAAG,EAAE,MAAM,CAAC;IACZ,6BAA6B;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,8CAA8C;IAC9C,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,oGAAoG;IACpG,OAAO,EAAE,MAAM,CAAC;IAChB,gEAAgE;IAChE,QAAQ,EAAE,MAAM,CAAC;IACjB,4CAA4C;IAC5C,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC"}
@@ -1,5 +0,0 @@
1
- /**
2
- * OHLCV WebSocket streaming types for real-time candlestick data.
3
- */
4
- export {};
5
- //# sourceMappingURL=types.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.mjs","sourceRoot":"","sources":["../../../src/ws/ohlcv/types.ts"],"names":[],"mappings":"AAAA;;GAEG","sourcesContent":["/**\n * OHLCV WebSocket streaming types for real-time candlestick data.\n */\n\n/**\n * A single OHLCV candlestick bar received from the market-data WebSocket stream.\n */\nexport type OHLCVBar = {\n /** Unix timestamp (seconds) of the candle open */\n timestamp: number;\n /** Opening price */\n open: number;\n /** Highest price during the candle period */\n high: number;\n /** Lowest price during the candle period */\n low: number;\n /** Closing price (latest) */\n close: number;\n /** Trading volume during the candle period */\n volume: number;\n};\n\n/**\n * Options for subscribing to an OHLCV channel.\n */\nexport type OHLCVSubscriptionOptions = {\n /** CAIP-19 asset identifier, e.g. \"eip155:8453/erc20:0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\" */\n assetId: string;\n /** Candle interval, e.g. \"1m\", \"5m\", \"15m\", \"1h\", \"4h\", \"1d\" */\n interval: string;\n /** Fiat currency code, e.g. \"usd\", \"eur\" */\n currency: string;\n};\n"]}