@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.
- package/CHANGELOG.md +0 -8
- package/dist/AccountActivityService-method-action-types.cjs.map +1 -0
- package/dist/AccountActivityService-method-action-types.d.cts.map +1 -0
- package/dist/AccountActivityService-method-action-types.d.mts.map +1 -0
- package/dist/AccountActivityService-method-action-types.mjs.map +1 -0
- package/dist/{ws/AccountActivityService.cjs → AccountActivityService.cjs} +1 -1
- package/dist/AccountActivityService.cjs.map +1 -0
- package/dist/{ws/AccountActivityService.d.cts → AccountActivityService.d.cts} +1 -1
- package/dist/AccountActivityService.d.cts.map +1 -0
- package/dist/{ws/AccountActivityService.d.mts → AccountActivityService.d.mts} +1 -1
- package/dist/AccountActivityService.d.mts.map +1 -0
- package/dist/{ws/AccountActivityService.mjs → AccountActivityService.mjs} +1 -1
- package/dist/AccountActivityService.mjs.map +1 -0
- package/dist/BackendWebSocketService-method-action-types.cjs.map +1 -0
- package/dist/BackendWebSocketService-method-action-types.d.cts.map +1 -0
- package/dist/BackendWebSocketService-method-action-types.d.mts.map +1 -0
- package/dist/BackendWebSocketService-method-action-types.mjs.map +1 -0
- package/dist/{ws/BackendWebSocketService.cjs → BackendWebSocketService.cjs} +1 -1
- package/dist/BackendWebSocketService.cjs.map +1 -0
- package/dist/BackendWebSocketService.d.cts.map +1 -0
- package/dist/BackendWebSocketService.d.mts.map +1 -0
- package/dist/{ws/BackendWebSocketService.mjs → BackendWebSocketService.mjs} +1 -1
- package/dist/BackendWebSocketService.mjs.map +1 -0
- package/dist/index.cjs +3 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -6
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +4 -6
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +2 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -2
- package/dist/ws/AccountActivityService-method-action-types.cjs.map +0 -1
- package/dist/ws/AccountActivityService-method-action-types.d.cts.map +0 -1
- package/dist/ws/AccountActivityService-method-action-types.d.mts.map +0 -1
- package/dist/ws/AccountActivityService-method-action-types.mjs.map +0 -1
- package/dist/ws/AccountActivityService.cjs.map +0 -1
- package/dist/ws/AccountActivityService.d.cts.map +0 -1
- package/dist/ws/AccountActivityService.d.mts.map +0 -1
- package/dist/ws/AccountActivityService.mjs.map +0 -1
- package/dist/ws/BackendWebSocketService-method-action-types.cjs.map +0 -1
- package/dist/ws/BackendWebSocketService-method-action-types.d.cts.map +0 -1
- package/dist/ws/BackendWebSocketService-method-action-types.d.mts.map +0 -1
- package/dist/ws/BackendWebSocketService-method-action-types.mjs.map +0 -1
- package/dist/ws/BackendWebSocketService.cjs.map +0 -1
- package/dist/ws/BackendWebSocketService.d.cts.map +0 -1
- package/dist/ws/BackendWebSocketService.d.mts.map +0 -1
- package/dist/ws/BackendWebSocketService.mjs.map +0 -1
- package/dist/ws/ohlcv/OHLCVService-method-action-types.cjs +0 -7
- package/dist/ws/ohlcv/OHLCVService-method-action-types.cjs.map +0 -1
- package/dist/ws/ohlcv/OHLCVService-method-action-types.d.cts +0 -35
- package/dist/ws/ohlcv/OHLCVService-method-action-types.d.cts.map +0 -1
- package/dist/ws/ohlcv/OHLCVService-method-action-types.d.mts +0 -35
- package/dist/ws/ohlcv/OHLCVService-method-action-types.d.mts.map +0 -1
- package/dist/ws/ohlcv/OHLCVService-method-action-types.mjs +0 -6
- package/dist/ws/ohlcv/OHLCVService-method-action-types.mjs.map +0 -1
- package/dist/ws/ohlcv/OHLCVService.cjs +0 -372
- package/dist/ws/ohlcv/OHLCVService.cjs.map +0 -1
- package/dist/ws/ohlcv/OHLCVService.d.cts +0 -109
- package/dist/ws/ohlcv/OHLCVService.d.cts.map +0 -1
- package/dist/ws/ohlcv/OHLCVService.d.mts +0 -109
- package/dist/ws/ohlcv/OHLCVService.d.mts.map +0 -1
- package/dist/ws/ohlcv/OHLCVService.mjs +0 -368
- package/dist/ws/ohlcv/OHLCVService.mjs.map +0 -1
- package/dist/ws/ohlcv/index.cjs +0 -9
- package/dist/ws/ohlcv/index.cjs.map +0 -1
- package/dist/ws/ohlcv/index.d.cts +0 -5
- package/dist/ws/ohlcv/index.d.cts.map +0 -1
- package/dist/ws/ohlcv/index.d.mts +0 -5
- package/dist/ws/ohlcv/index.d.mts.map +0 -1
- package/dist/ws/ohlcv/index.mjs +0 -3
- package/dist/ws/ohlcv/index.mjs.map +0 -1
- package/dist/ws/ohlcv/types.cjs +0 -6
- package/dist/ws/ohlcv/types.cjs.map +0 -1
- package/dist/ws/ohlcv/types.d.cts +0 -32
- package/dist/ws/ohlcv/types.d.cts.map +0 -1
- package/dist/ws/ohlcv/types.d.mts +0 -32
- package/dist/ws/ohlcv/types.d.mts.map +0 -1
- package/dist/ws/ohlcv/types.mjs +0 -5
- package/dist/ws/ohlcv/types.mjs.map +0 -1
- /package/dist/{ws/AccountActivityService-method-action-types.cjs → AccountActivityService-method-action-types.cjs} +0 -0
- /package/dist/{ws/AccountActivityService-method-action-types.d.cts → AccountActivityService-method-action-types.d.cts} +0 -0
- /package/dist/{ws/AccountActivityService-method-action-types.d.mts → AccountActivityService-method-action-types.d.mts} +0 -0
- /package/dist/{ws/AccountActivityService-method-action-types.mjs → AccountActivityService-method-action-types.mjs} +0 -0
- /package/dist/{ws/BackendWebSocketService-method-action-types.cjs → BackendWebSocketService-method-action-types.cjs} +0 -0
- /package/dist/{ws/BackendWebSocketService-method-action-types.d.cts → BackendWebSocketService-method-action-types.d.cts} +0 -0
- /package/dist/{ws/BackendWebSocketService-method-action-types.d.mts → BackendWebSocketService-method-action-types.d.mts} +0 -0
- /package/dist/{ws/BackendWebSocketService-method-action-types.mjs → BackendWebSocketService-method-action-types.mjs} +0 -0
- /package/dist/{ws/BackendWebSocketService.d.cts → BackendWebSocketService.d.cts} +0 -0
- /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"}
|
package/dist/ws/ohlcv/types.mjs
DELETED
|
@@ -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"]}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|