@metamask-previews/core-backend 6.2.1-preview-3569042f0 → 6.2.1-preview-181ae75e1
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/dist/ws/ohlcv/OHLCVService-method-action-types.cjs.map +1 -1
- package/dist/ws/ohlcv/OHLCVService-method-action-types.d.cts +8 -3
- package/dist/ws/ohlcv/OHLCVService-method-action-types.d.cts.map +1 -1
- package/dist/ws/ohlcv/OHLCVService-method-action-types.d.mts +8 -3
- package/dist/ws/ohlcv/OHLCVService-method-action-types.d.mts.map +1 -1
- package/dist/ws/ohlcv/OHLCVService-method-action-types.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OHLCVService-method-action-types.cjs","sourceRoot":"","sources":["../../../src/ws/ohlcv/OHLCVService-method-action-types.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated.\n * Do not edit manually.\n */\n\nimport type { OHLCVService } from './OHLCVService';\n\n/**\n * Subscribe to an OHLCV channel for
|
|
1
|
+
{"version":3,"file":"OHLCVService-method-action-types.cjs","sourceRoot":"","sources":["../../../src/ws/ohlcv/OHLCVService-method-action-types.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated.\n * Do not edit manually.\n */\n\nimport type { OHLCVService } from './OHLCVService';\n\n/**\n * Subscribe to an OHLCV channel. If this is the first subscriber for the\n * given asset/interval/currency combination a WebSocket subscription is\n * created. Additional calls for the same combination only bump the reference\n * count.\n *\n * @param options - The subscription parameters.\n */\nexport type OHLCVServiceSubscribeAction = {\n type: `OHLCVService:subscribe`;\n handler: OHLCVService['subscribe'];\n};\n\n/**\n * Unsubscribe from an OHLCV channel. Decrements the reference count and,\n * when it reaches zero, starts a grace-period timer before actually\n * unsubscribing from the WebSocket to absorb rapid navigation patterns.\n *\n * @param options - The subscription parameters to unsubscribe from.\n */\nexport type OHLCVServiceUnsubscribeAction = {\n type: `OHLCVService:unsubscribe`;\n handler: OHLCVService['unsubscribe'];\n};\n\n/**\n * Union of all OHLCVService action types.\n */\nexport type OHLCVServiceMethodActions =\n | OHLCVServiceSubscribeAction\n | OHLCVServiceUnsubscribeAction;\n"]}
|
|
@@ -4,16 +4,21 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { OHLCVService } from "./OHLCVService.cjs";
|
|
6
6
|
/**
|
|
7
|
-
* Subscribe to an OHLCV channel
|
|
7
|
+
* Subscribe to an OHLCV channel. If this is the first subscriber for the
|
|
8
|
+
* given asset/interval/currency combination a WebSocket subscription is
|
|
9
|
+
* created. Additional calls for the same combination only bump the reference
|
|
10
|
+
* count.
|
|
8
11
|
*
|
|
9
|
-
* @param options - The subscription parameters
|
|
12
|
+
* @param options - The subscription parameters.
|
|
10
13
|
*/
|
|
11
14
|
export type OHLCVServiceSubscribeAction = {
|
|
12
15
|
type: `OHLCVService:subscribe`;
|
|
13
16
|
handler: OHLCVService['subscribe'];
|
|
14
17
|
};
|
|
15
18
|
/**
|
|
16
|
-
* Unsubscribe from an OHLCV channel.
|
|
19
|
+
* Unsubscribe from an OHLCV channel. Decrements the reference count and,
|
|
20
|
+
* when it reaches zero, starts a grace-period timer before actually
|
|
21
|
+
* unsubscribing from the WebSocket to absorb rapid navigation patterns.
|
|
17
22
|
*
|
|
18
23
|
* @param options - The subscription parameters to unsubscribe from.
|
|
19
24
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OHLCVService-method-action-types.d.cts","sourceRoot":"","sources":["../../../src/ws/ohlcv/OHLCVService-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,2BAAuB;AAEnD
|
|
1
|
+
{"version":3,"file":"OHLCVService-method-action-types.d.cts","sourceRoot":"","sources":["../../../src/ws/ohlcv/OHLCVService-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,2BAAuB;AAEnD;;;;;;;GAOG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC,IAAI,EAAE,wBAAwB,CAAC;IAC/B,OAAO,EAAE,YAAY,CAAC,WAAW,CAAC,CAAC;CACpC,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C,IAAI,EAAE,0BAA0B,CAAC;IACjC,OAAO,EAAE,YAAY,CAAC,aAAa,CAAC,CAAC;CACtC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,yBAAyB,GACjC,2BAA2B,GAC3B,6BAA6B,CAAC"}
|
|
@@ -4,16 +4,21 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { OHLCVService } from "./OHLCVService.mjs";
|
|
6
6
|
/**
|
|
7
|
-
* Subscribe to an OHLCV channel
|
|
7
|
+
* Subscribe to an OHLCV channel. If this is the first subscriber for the
|
|
8
|
+
* given asset/interval/currency combination a WebSocket subscription is
|
|
9
|
+
* created. Additional calls for the same combination only bump the reference
|
|
10
|
+
* count.
|
|
8
11
|
*
|
|
9
|
-
* @param options - The subscription parameters
|
|
12
|
+
* @param options - The subscription parameters.
|
|
10
13
|
*/
|
|
11
14
|
export type OHLCVServiceSubscribeAction = {
|
|
12
15
|
type: `OHLCVService:subscribe`;
|
|
13
16
|
handler: OHLCVService['subscribe'];
|
|
14
17
|
};
|
|
15
18
|
/**
|
|
16
|
-
* Unsubscribe from an OHLCV channel.
|
|
19
|
+
* Unsubscribe from an OHLCV channel. Decrements the reference count and,
|
|
20
|
+
* when it reaches zero, starts a grace-period timer before actually
|
|
21
|
+
* unsubscribing from the WebSocket to absorb rapid navigation patterns.
|
|
17
22
|
*
|
|
18
23
|
* @param options - The subscription parameters to unsubscribe from.
|
|
19
24
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OHLCVService-method-action-types.d.mts","sourceRoot":"","sources":["../../../src/ws/ohlcv/OHLCVService-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,2BAAuB;AAEnD
|
|
1
|
+
{"version":3,"file":"OHLCVService-method-action-types.d.mts","sourceRoot":"","sources":["../../../src/ws/ohlcv/OHLCVService-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,2BAAuB;AAEnD;;;;;;;GAOG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC,IAAI,EAAE,wBAAwB,CAAC;IAC/B,OAAO,EAAE,YAAY,CAAC,WAAW,CAAC,CAAC;CACpC,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C,IAAI,EAAE,0BAA0B,CAAC;IACjC,OAAO,EAAE,YAAY,CAAC,aAAa,CAAC,CAAC;CACtC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,yBAAyB,GACjC,2BAA2B,GAC3B,6BAA6B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OHLCVService-method-action-types.mjs","sourceRoot":"","sources":["../../../src/ws/ohlcv/OHLCVService-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated.\n * Do not edit manually.\n */\n\nimport type { OHLCVService } from './OHLCVService';\n\n/**\n * Subscribe to an OHLCV channel for
|
|
1
|
+
{"version":3,"file":"OHLCVService-method-action-types.mjs","sourceRoot":"","sources":["../../../src/ws/ohlcv/OHLCVService-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated.\n * Do not edit manually.\n */\n\nimport type { OHLCVService } from './OHLCVService';\n\n/**\n * Subscribe to an OHLCV channel. If this is the first subscriber for the\n * given asset/interval/currency combination a WebSocket subscription is\n * created. Additional calls for the same combination only bump the reference\n * count.\n *\n * @param options - The subscription parameters.\n */\nexport type OHLCVServiceSubscribeAction = {\n type: `OHLCVService:subscribe`;\n handler: OHLCVService['subscribe'];\n};\n\n/**\n * Unsubscribe from an OHLCV channel. Decrements the reference count and,\n * when it reaches zero, starts a grace-period timer before actually\n * unsubscribing from the WebSocket to absorb rapid navigation patterns.\n *\n * @param options - The subscription parameters to unsubscribe from.\n */\nexport type OHLCVServiceUnsubscribeAction = {\n type: `OHLCVService:unsubscribe`;\n handler: OHLCVService['unsubscribe'];\n};\n\n/**\n * Union of all OHLCVService action types.\n */\nexport type OHLCVServiceMethodActions =\n | OHLCVServiceSubscribeAction\n | OHLCVServiceUnsubscribeAction;\n"]}
|