@hybrid-compute/remote 0.21.0 → 0.23.0

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 CHANGED
@@ -1,5 +1,39 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.23.0](https://github.com/phun-ky/hybrid-compute/compare/@hybrid-compute/remote@0.22.0...@hybrid-compute/remote@0.23.0) (2026-02-12)
4
+
5
+ ### Tasks
6
+
7
+ * 🤖 @hybrid-compute/core@0.23.0 ([49a1a4f](https://github.com/phun-ky/hybrid-compute/commit/49a1a4f0032836336aab70deedb16852515828b2))
8
+ * 🤖 @hybrid-compute/local@0.23.0 ([e0d27c4](https://github.com/phun-ky/hybrid-compute/commit/e0d27c4102a4bdcb325ccbf854c2c15ff28094ae))
9
+ * 🤖 @hybrid-compute/worker@0.22.0 ([6692487](https://github.com/phun-ky/hybrid-compute/commit/66924876c688b44a6f4bc9ec48fda983403fe170))
10
+ * 🤖 Preparing for docs site ([7743428](https://github.com/phun-ky/hybrid-compute/commit/774342810573b6e4351c15e144ce8c225de245e0))
11
+
12
+ ### Documentation
13
+
14
+ * ✏️ Add docs site ([f9c0afe](https://github.com/phun-ky/hybrid-compute/commit/f9c0afef19ee985b24c0e7b908dd2d5a4d45071c))
15
+ * ✏️ Regenerate docs ([df5293f](https://github.com/phun-ky/hybrid-compute/commit/df5293f6b90c891efc03206ef7967e049c874f07))
16
+ * ✏️ Regenerate docs ([ab22036](https://github.com/phun-ky/hybrid-compute/commit/ab22036b72ae20e44c2ff6b14b663cfc921d34ef))
17
+
18
+ ### Bug
19
+
20
+ * 🐛 Small fixes ([06125d8](https://github.com/phun-ky/hybrid-compute/commit/06125d8e4713eac0ec73aa47f10b979c19a091dd))
21
+
22
+ ## [0.22.0](https://github.com/phun-ky/hybrid-compute/compare/@hybrid-compute/remote@0.21.0...@hybrid-compute/remote@0.22.0) (2026-02-12)
23
+
24
+ ### Tasks
25
+
26
+ * 🤖 @hybrid-compute/core@0.22.0 ([c66124e](https://github.com/phun-ky/hybrid-compute/commit/c66124e504a419acd6b4eebbdb62b46ce1cc6644))
27
+ * 🤖 @hybrid-compute/local@0.22.0 ([44ddbae](https://github.com/phun-ky/hybrid-compute/commit/44ddbae654b152699d7376e6d559690e37a762e2))
28
+ * 🤖 @hybrid-compute/worker@0.21.0 ([f1c1a3d](https://github.com/phun-ky/hybrid-compute/commit/f1c1a3d7f12b465a2c2a824a862eb4effbea210a))
29
+ * 🤖 bump the major-updates group across 1 directory with 2 updates ([1f73fdb](https://github.com/phun-ky/hybrid-compute/commit/1f73fdb36f258af191f8c3b901dc9ff94d34b7bc))
30
+ * 🤖 bump the major-updates group across 1 directory with 3 updates ([e2defae](https://github.com/phun-ky/hybrid-compute/commit/e2defae02a5c1ffe49a3314eb26b453edb45d965))
31
+ * 🤖 Ensure that we can use trusted publishing ([8c1c34b](https://github.com/phun-ky/hybrid-compute/commit/8c1c34bf2db8fe172c10bf4066d0f4cd75c234e6))
32
+
33
+ ### Refactoring
34
+
35
+ * 💡 Replace glob with glob-bin ([98cc893](https://github.com/phun-ky/hybrid-compute/commit/98cc8932bee41bfdb7eb2b668b039def35867402))
36
+
3
37
  ## [0.21.0](///compare/@hybrid-compute/remote@0.20.0...@hybrid-compute/remote@0.21.0) (2025-11-24)
4
38
 
5
39
  ## [0.20.0](https://github.com/phun-ky/hybrid-compute/compare/@hybrid-compute/remote@0.19.0...@hybrid-compute/remote@0.20.0) (2025-11-10)
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=remote.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remote.spec.d.ts","sourceRoot":"","sources":["../../src/__tests__/remote.spec.ts"],"names":[],"mappings":""}
@@ -0,0 +1,140 @@
1
+ import test, { describe } from 'node:test';
2
+ import assert from 'node:assert/strict';
3
+ import { createRemoteCompute, RemoteCompute } from '..';
4
+ globalThis.fetch = async (input, init) => {
5
+ const body = JSON.parse(init?.body ?? '{}');
6
+ const isError = body.task === 'fail';
7
+ return {
8
+ ok: !isError,
9
+ status: isError ? 400 : 200,
10
+ headers: new Headers(),
11
+ redirected: false,
12
+ statusText: isError ? 'Bad Request' : 'OK',
13
+ type: 'basic',
14
+ url: String(input),
15
+ clone: function () {
16
+ return this;
17
+ },
18
+ body: null,
19
+ bodyUsed: true,
20
+ arrayBuffer: async () => new ArrayBuffer(0),
21
+ blob: async () => new Blob(),
22
+ formData: async () => new FormData(),
23
+ text: async () => JSON.stringify(isError
24
+ ? { error: 'Task failed' }
25
+ : { result: `Result for ${body.task}` }),
26
+ json: async () => isError ? { error: 'Task failed' } : { result: `Result for ${body.task}` }
27
+ };
28
+ };
29
+ describe('RemoteCompute', () => {
30
+ test('fetch transport returns result from remote', async () => {
31
+ const compute = new RemoteCompute({
32
+ transport: 'fetch',
33
+ endpoint: 'https://api.example.com/compute'
34
+ });
35
+ const result = await compute.runTask('echo', { message: 'hi' });
36
+ assert.equal(result, 'Result for echo');
37
+ });
38
+ test('fetch transport throws on error response', async () => {
39
+ const compute = new RemoteCompute({
40
+ transport: 'fetch',
41
+ endpoint: 'https://api.example.com/compute'
42
+ });
43
+ await assert.rejects(() => compute.runTask('fail', {}), /Task failed/);
44
+ });
45
+ test('canRun returns true if task is allowed', () => {
46
+ const compute = new RemoteCompute({
47
+ transport: 'fetch',
48
+ endpoint: '/compute',
49
+ canRunTasks: ['foo', 'bar']
50
+ });
51
+ assert.equal(compute.canRun('foo'), true);
52
+ assert.equal(compute.canRun('baz'), false);
53
+ });
54
+ test('canRun returns true if canRunTasks is undefined', () => {
55
+ const compute = new RemoteCompute({
56
+ transport: 'fetch',
57
+ endpoint: '/compute'
58
+ });
59
+ assert.equal(compute.canRun('anything'), true);
60
+ });
61
+ test('WebSocket transport sends and resolves a message', { timeout: 200 }, async () => {
62
+ const OriginalWebSocket = globalThis.WebSocket;
63
+ let sentData = '';
64
+ class MockWebSocket {
65
+ constructor(url) {
66
+ this.url = url;
67
+ this.readyState = WebSocket.OPEN;
68
+ this.onmessage = null;
69
+ }
70
+ send(data) {
71
+ sentData = data;
72
+ const { id } = JSON.parse(data);
73
+ const fakeResponse = { id, result: 'websocket-result' };
74
+ setTimeout(() => {
75
+ this.onmessage?.({
76
+ data: JSON.stringify(fakeResponse)
77
+ });
78
+ }, 10);
79
+ }
80
+ }
81
+ // @ts-expect-error override native WebSocket
82
+ globalThis.WebSocket = MockWebSocket;
83
+ try {
84
+ const compute = new RemoteCompute({
85
+ transport: 'websocket',
86
+ endpoint: 'wss://example.com/ws'
87
+ });
88
+ // Wait a tick before calling runTask (mimics real socket delay)
89
+ await new Promise((resolve) => setTimeout(resolve, 0));
90
+ const result = await compute.runTask('test', { foo: 1 });
91
+ assert.equal(result, 'websocket-result');
92
+ }
93
+ finally {
94
+ globalThis.WebSocket = OriginalWebSocket;
95
+ }
96
+ });
97
+ test('WebSocket rejects if not connected', async () => {
98
+ const OriginalWebSocket = globalThis.WebSocket;
99
+ class MockWebSocket {
100
+ constructor(url) {
101
+ this.url = url;
102
+ this.readyState = 3; // WebSocket.CLOSED
103
+ this.onmessage = null;
104
+ console.log('[MOCK] MockWebSocket constructor called');
105
+ }
106
+ send() {
107
+ console.log('[MOCK] send() should not be called');
108
+ }
109
+ }
110
+ // @ts-expect-error override
111
+ globalThis.WebSocket = MockWebSocket;
112
+ try {
113
+ const compute = new RemoteCompute({
114
+ transport: 'websocket',
115
+ endpoint: 'wss://example.com/ws'
116
+ });
117
+ const resultPromise = compute.runTask('any', {});
118
+ await assert.rejects(resultPromise, /WebSocket not connected/);
119
+ }
120
+ finally {
121
+ globalThis.WebSocket = OriginalWebSocket;
122
+ }
123
+ });
124
+ test('runTask() manually rejects for testing', async () => {
125
+ const compute = {
126
+ runTask: () => Promise.reject(new Error('WebSocket not connected'))
127
+ };
128
+ await assert.rejects(() => compute.runTask('x', {}), /WebSocket not connected/);
129
+ });
130
+ });
131
+ describe('createRemoteCompute', () => {
132
+ test('returns instance of RemoteCompute', () => {
133
+ const instance = createRemoteCompute({
134
+ transport: 'fetch',
135
+ endpoint: '/compute'
136
+ });
137
+ assert.ok(instance instanceof RemoteCompute);
138
+ });
139
+ });
140
+ //# sourceMappingURL=remote.spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remote.spec.js","sourceRoot":"","sources":["../../src/__tests__/remote.spec.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,EAAE,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AACxD,UAAU,CAAC,KAAK,GAAG,KAAK,EACtB,KAAwB,EACxB,IAAkB,EACC,EAAE;IACrB,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAE,IAAI,EAAE,IAAe,IAAI,IAAI,CAAC,CAAC;IAExD,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,KAAK,MAAM,CAAC;IAErC,OAAO;QACL,EAAE,EAAE,CAAC,OAAO;QACZ,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG;QAC3B,OAAO,EAAE,IAAI,OAAO,EAAE;QACtB,UAAU,EAAE,KAAK;QACjB,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI;QAC1C,IAAI,EAAE,OAAO;QACb,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC;QAClB,KAAK,EAAE;YACL,OAAO,IAAI,CAAC;QACd,CAAC;QACD,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,KAAK,IAAI,EAAE,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC;QAC3C,IAAI,EAAE,KAAK,IAAI,EAAE,CAAC,IAAI,IAAI,EAAE;QAC5B,QAAQ,EAAE,KAAK,IAAI,EAAE,CAAC,IAAI,QAAQ,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jC,CAAC,CAAC;YAEH,MAAM,aAAa,GAAG,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;YACjD,MAAM,MAAM,CAAC,OAAO,CAAC,aAAa,EAAE,yBAAyB,CAAC,CAAC;QACjE,CAAC;gBAAS,CAAC;YACT,UAAU,CAAC,SAAS,GAAG,iBAAiB,CAAC;QAC3C,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,wCAAwC,EAAE,KAAK,IAAI,EAAE;QACxD,MAAM,OAAO,GAAG;YACd,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;SACxC,CAAC;QAE9B,MAAM,MAAM,CAAC,OAAO,CAClB,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,EAC9B,yBAAyB,CAC1B,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AACH,QAAQ,CAAC,qBAAqB,EAAE,GAAG,EAAE;IACnC,IAAI,CAAC,mCAAmC,EAAE,GAAG,EAAE;QAC7C,MAAM,QAAQ,GAAG,mBAAmB,CAAC;YACnC,SAAS,EAAE,OAAO;YAClB,QAAQ,EAAE,UAAU;SACrB,CAAC,CAAC;QAEH,MAAM,CAAC,EAAE,CAAC,QAAQ,YAAY,aAAa,CAAC,CAAC;IAC/C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -0,0 +1,82 @@
1
+ import { ComputeBackendInterface } from '@hybrid-compute/core';
2
+ import { RemoteComputeOptionsInterface } from './types.js';
3
+ export * from './types.js';
4
+ /**
5
+ * RemoteCompute is a backend that delegates compute tasks to a remote API
6
+ * using either HTTP requests (fetch) or a persistent WebSocket connection.
7
+ *
8
+ * It supports bidirectional communication, which is useful for low-latency
9
+ * or streaming scenarios using WebSocket, or traditional stateless interaction
10
+ * using fetch.
11
+ *
12
+ * @remarks
13
+ * WebSocket-based transport allows concurrent request handling via an internal
14
+ * request/response map using `id`. This is useful when running multiple tasks in parallel.
15
+ *
16
+ * Fetch transport is simpler and more interoperable with typical REST APIs.
17
+ *
18
+ * @example Fetch transport
19
+ * ```ts
20
+ * const remote = new RemoteCompute({
21
+ * transport: 'fetch',
22
+ * endpoint: 'https://api.example.com/compute',
23
+ * canRunTasks: ['translateText']
24
+ * });
25
+ *
26
+ * const result = await remote.runTask('translateText', { text: 'hello' });
27
+ * ```
28
+ *
29
+ * @example WebSocket transport
30
+ * ```ts
31
+ * const remote = new RemoteCompute({
32
+ * transport: 'websocket',
33
+ * endpoint: 'wss://api.example.com/ws',
34
+ * canRunTasks: ['analyzeSentiment']
35
+ * });
36
+ *
37
+ * const result = await remote.runTask('analyzeSentiment', { text: 'It works!' });
38
+ * ```
39
+ *
40
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/fetch
41
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/WebSocket
42
+ */
43
+ export declare class RemoteCompute implements ComputeBackendInterface {
44
+ private transport;
45
+ private endpoint;
46
+ private canRunSet;
47
+ private socket?;
48
+ private pending;
49
+ private nextId;
50
+ /**
51
+ * Initializes the remote compute backend.
52
+ *
53
+ * @param options - Transport type and endpoint configuration.
54
+ */
55
+ constructor(options: RemoteComputeOptionsInterface);
56
+ /**
57
+ * Determines if this backend is allowed to handle the given task.
58
+ *
59
+ * @param taskName - Name of the task.
60
+ * @returns `true` if task is permitted, or if no restrictions are set.
61
+ */
62
+ canRun(taskName: string): boolean;
63
+ /**
64
+ * Executes the specified task using remote communication.
65
+ *
66
+ * @typeParam Input - The input data structure expected by the task.
67
+ * @typeParam Output - The output structure returned by the task.
68
+ *
69
+ * @param taskName - Name of the remote task.
70
+ * @param input - Input data to send.
71
+ * @returns A promise resolving to the result from the server.
72
+ */
73
+ runTask<Input, Output>(taskName: string, input: Input): Promise<Output>;
74
+ }
75
+ /**
76
+ * Factory to create a RemoteCompute instance with given options.
77
+ *
78
+ * @param options - Remote connection configuration.
79
+ * @returns Instance of RemoteCompute.
80
+ */
81
+ export declare function createRemoteCompute(options: RemoteComputeOptionsInterface): RemoteCompute;
82
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,OAAO,EAAE,6BAA6B,EAAuB,MAAM,YAAY,CAAC;AAEhF,cAAc,YAAY,CAAC;AAE3B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,qBAAa,aAAc,YAAW,uBAAuB;IAC3D,OAAO,CAAC,SAAS,CAAsB;IACvC,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,SAAS,CAAc;IAC/B,OAAO,CAAC,MAAM,CAAC,CAAY;IAC3B,OAAO,CAAC,OAAO,CAMX;IACJ,OAAO,CAAC,MAAM,CAAK;IAEnB;;;;OAIG;gBACS,OAAO,EAAE,6BAA6B;IAmBlD;;;;;OAKG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO;IAIjC;;;;;;;;;OASG;IACG,OAAO,CAAC,KAAK,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,KAAK,GACX,OAAO,CAAC,MAAM,CAAC;CA2BnB;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,6BAA6B,iBAEzE"}
package/dist/index.js ADDED
@@ -0,0 +1,116 @@
1
+ export * from './types.js';
2
+ /**
3
+ * RemoteCompute is a backend that delegates compute tasks to a remote API
4
+ * using either HTTP requests (fetch) or a persistent WebSocket connection.
5
+ *
6
+ * It supports bidirectional communication, which is useful for low-latency
7
+ * or streaming scenarios using WebSocket, or traditional stateless interaction
8
+ * using fetch.
9
+ *
10
+ * @remarks
11
+ * WebSocket-based transport allows concurrent request handling via an internal
12
+ * request/response map using `id`. This is useful when running multiple tasks in parallel.
13
+ *
14
+ * Fetch transport is simpler and more interoperable with typical REST APIs.
15
+ *
16
+ * @example Fetch transport
17
+ * ```ts
18
+ * const remote = new RemoteCompute({
19
+ * transport: 'fetch',
20
+ * endpoint: 'https://api.example.com/compute',
21
+ * canRunTasks: ['translateText']
22
+ * });
23
+ *
24
+ * const result = await remote.runTask('translateText', { text: 'hello' });
25
+ * ```
26
+ *
27
+ * @example WebSocket transport
28
+ * ```ts
29
+ * const remote = new RemoteCompute({
30
+ * transport: 'websocket',
31
+ * endpoint: 'wss://api.example.com/ws',
32
+ * canRunTasks: ['analyzeSentiment']
33
+ * });
34
+ *
35
+ * const result = await remote.runTask('analyzeSentiment', { text: 'It works!' });
36
+ * ```
37
+ *
38
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/fetch
39
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/WebSocket
40
+ */
41
+ export class RemoteCompute {
42
+ /**
43
+ * Initializes the remote compute backend.
44
+ *
45
+ * @param options - Transport type and endpoint configuration.
46
+ */
47
+ constructor(options) {
48
+ this.pending = new Map();
49
+ this.nextId = 1;
50
+ this.transport = options.transport;
51
+ this.endpoint = options.endpoint;
52
+ this.canRunSet = new Set(options.canRunTasks ?? []);
53
+ if (this.transport === 'websocket') {
54
+ this.socket = new WebSocket(this.endpoint);
55
+ this.socket.onmessage = (event) => {
56
+ const { id, result, error } = JSON.parse(event.data);
57
+ if (error)
58
+ this.pending.get(id)?.reject(error);
59
+ else
60
+ this.pending.get(id)?.resolve(result);
61
+ this.pending.delete(id);
62
+ };
63
+ }
64
+ }
65
+ /**
66
+ * Determines if this backend is allowed to handle the given task.
67
+ *
68
+ * @param taskName - Name of the task.
69
+ * @returns `true` if task is permitted, or if no restrictions are set.
70
+ */
71
+ canRun(taskName) {
72
+ return this.canRunSet.size === 0 || this.canRunSet.has(taskName);
73
+ }
74
+ /**
75
+ * Executes the specified task using remote communication.
76
+ *
77
+ * @typeParam Input - The input data structure expected by the task.
78
+ * @typeParam Output - The output structure returned by the task.
79
+ *
80
+ * @param taskName - Name of the remote task.
81
+ * @param input - Input data to send.
82
+ * @returns A promise resolving to the result from the server.
83
+ */
84
+ async runTask(taskName, input) {
85
+ const id = this.nextId++;
86
+ if (this.transport === 'fetch') {
87
+ const response = await fetch(this.endpoint, {
88
+ method: 'POST',
89
+ headers: { 'Content-Type': 'application/json' },
90
+ body: JSON.stringify({ task: taskName, input })
91
+ });
92
+ const { result, error } = await response.json();
93
+ if (error)
94
+ throw new Error(error);
95
+ return result;
96
+ }
97
+ return new Promise((resolve, reject) => {
98
+ if (!this.socket || this.socket.readyState !== WebSocket.OPEN) {
99
+ reject(new Error('WebSocket not connected'));
100
+ return;
101
+ }
102
+ this.pending.set(id, { resolve, reject });
103
+ this.socket.send(JSON.stringify({ task: taskName, input, id }));
104
+ });
105
+ }
106
+ }
107
+ /**
108
+ * Factory to create a RemoteCompute instance with given options.
109
+ *
110
+ * @param options - Remote connection configuration.
111
+ * @returns Instance of RemoteCompute.
112
+ */
113
+ export function createRemoteCompute(options) {
114
+ return new RemoteCompute(options);
115
+ }
116
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,cAAc,YAAY,CAAC;AAE3B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAM,OAAO,aAAa;IAcxB;;;;OAIG;IACH,YAAY,OAAsC;QAd1C,YAAO,GAAG,IAAI,GAAG,EAMtB,CAAC;QACI,WAAM,GAAG,CAAC,CAAC;QAQjB,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;QACnC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;QACjC,IAAI,CAAC,SAAS,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,WAAW,IAAI,EAAE,CA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AC,CAAC;YACH,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;YAEhD,IAAI,KAAK;gBAAE,MAAM,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC;YAElC,OAAO,MAAM,CAAC;QAChB,CAAC;QAED,OAAO,IAAI,OAAO,CAAS,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YAC7C,IAAI,CAAC,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,MAAM,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,EAAE,CAAC;gBAC9D,MAAM,CAAC,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC,CAAC;gBAE7C,OAAO;YACT,CAAC;YAED,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAC;YAC1C,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;QAClE,CAAC,CAAC,CAAC;IACL,CAAC;CACF;AAED;;;;;GAKG;AACH,MAAM,UAAU,mBAAmB,CAAC,OAAsC;IACxE,OAAO,IAAI,aAAa,CAAC,OAAO,CAAC,CAAC;AACpC,CAAC"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Represents the communication method used by the `RemoteCompute` backend
3
+ * to interact with a remote server.
4
+ *
5
+ * - `'fetch'`: Sends HTTP POST requests for each task.
6
+ * - `'websocket'`: Maintains a persistent WebSocket connection for bi-directional messaging.
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const transport: RemoteTransportType = 'fetch';
11
+ * ```
12
+ */
13
+ export type RemoteTransportType = 'fetch' | 'websocket';
14
+ /**
15
+ * Configuration options for initializing a `RemoteCompute` backend.
16
+ *
17
+ * @property transport - The transport mechanism to use (`fetch` or `websocket`).
18
+ * @property endpoint - The server URL for handling task requests.
19
+ * @property canRunTasks - An optional list of task names this backend can handle. If omitted, it is assumed the backend can attempt all tasks.
20
+ *
21
+ * @example
22
+ * ```ts
23
+ * const options: RemoteComputeOptionsInterface = {
24
+ * transport: 'websocket',
25
+ * endpoint: 'wss://api.example.com/ws',
26
+ * canRunTasks: ['resizeImage', 'generatePDF']
27
+ * };
28
+ * ```
29
+ *
30
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/fetch
31
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/WebSocket
32
+ */
33
+ export interface RemoteComputeOptionsInterface {
34
+ transport: RemoteTransportType;
35
+ endpoint: string;
36
+ canRunTasks?: string[];
37
+ }
38
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,GAAG,WAAW,CAAC;AAExD;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,WAAW,6BAA6B;IAC5C,SAAS,EAAE,mBAAmB,CAAC;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB"}
package/dist/types.js ADDED
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hybrid-compute/remote",
3
- "version": "0.21.0",
3
+ "version": "0.23.0",
4
4
  "description": "Remote compute backend using fetch or WebSocket transport for distributed task execution.",
5
5
  "keywords": [
6
6
  "remote",
@@ -33,10 +33,10 @@
33
33
  "release": "release-it",
34
34
  "test": "tsx --test **/__tests__/**/*.spec.ts",
35
35
  "pretest:ci": "rm -rf coverage && mkdir -p coverage",
36
- "test:ci": "glob -c \"node --import tsx --test --no-warnings --experimental-test-coverage --test-reporter=cobertura --test-reporter-destination=coverage/cobertura-coverage.xml --test-reporter=spec --test-reporter-destination=stdout\" \"**/__tests__/**/*.spec.ts\""
36
+ "test:ci": "glob-bin -c \"node --import tsx --test --no-warnings --experimental-test-coverage --test-reporter=cobertura --test-reporter-destination=coverage/cobertura-coverage.xml --test-reporter=spec --test-reporter-destination=stdout\" \"**/__tests__/**/*.spec.ts\""
37
37
  },
38
38
  "dependencies": {
39
- "@hybrid-compute/core": "0.21.0"
39
+ "@hybrid-compute/core": "0.23.0"
40
40
  },
41
41
  "devDependencies": {
42
42
  "eslint": "^9.27.0",
@@ -0,0 +1 @@
1
+ {"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../core/dist/types.d.ts","../core/dist/index.d.ts","./src/types.ts","./src/index.ts","./src/__tests__/remote.spec.ts","../../node_modules/@types/d3-array/index.d.ts","../../node_modules/@types/d3-selection/index.d.ts","../../node_modules/@types/d3-axis/index.d.ts","../../node_modules/@types/d3-brush/index.d.ts","../../node_modules/@types/d3-chord/index.d.ts","../../node_modules/@types/d3-color/index.d.ts","../../node_modules/@types/geojson/index.d.ts","../../node_modules/@types/d3-contour/index.d.ts","../../node_modules/@types/d3-delaunay/index.d.ts","../../node_modules/@types/d3-dispatch/index.d.ts","../../node_modules/@types/d3-drag/index.d.ts","../../node_modules/@types/d3-dsv/index.d.ts","../../node_modules/@types/d3-ease/index.d.ts","../../node_modules/@types/d3-fetch/index.d.ts","../../node_modules/@types/d3-force/index.d.ts","../../node_modules/@types/d3-format/index.d.ts","../../node_modules/@types/d3-geo/index.d.ts","../../node_modules/@types/d3-hierarchy/index.d.ts","../../node_modules/@types/d3-interpolate/index.d.ts","../../node_modules/@types/d3-path/index.d.ts","../../node_modules/@types/d3-polygon/index.d.ts","../../node_modules/@types/d3-quadtree/index.d.ts","../../node_modules/@types/d3-random/index.d.ts","../../node_modules/@types/d3-time/index.d.ts","../../node_modules/@types/d3-scale/index.d.ts","../../node_modules/@types/d3-scale-chromatic/index.d.ts","../../node_modules/@types/d3-shape/index.d.ts","../../node_modules/@types/d3-time-format/index.d.ts","../../node_modules/@types/d3-timer/index.d.ts","../../node_modules/@types/d3-transition/index.d.ts","../../node_modules/@types/d3-zoom/index.d.ts","../../node_modules/@types/d3/index.d.ts","../../node_modules/@types/ms/index.d.ts","../../node_modules/@types/debug/index.d.ts","../../node_modules/@types/estree/index.d.ts","../../node_modules/@types/unist/index.d.ts","../../node_modules/@types/hast/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/json5/index.d.ts","../../node_modules/@types/linkify-it/build/index.cjs.d.ts","../../node_modules/@types/linkify-it/index.d.ts","../../node_modules/@types/mdurl/build/index.cjs.d.ts","../../node_modules/@types/mdurl/index.d.ts","../../node_modules/@types/markdown-it/dist/index.cjs.d.ts","../../node_modules/@types/markdown-it/index.d.ts","../../node_modules/@types/mdast/index.d.ts","../../node_modules/@types/node/compatibility/disposable.d.ts","../../node_modules/@types/node/compatibility/indexable.d.ts","../../node_modules/@types/node/compatibility/iterators.d.ts","../../node_modules/@types/node/compatibility/index.d.ts","../../node_modules/@types/node/globals.typedarray.d.ts","../../node_modules/@types/node/buffer.buffer.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/web-globals/abortcontroller.d.ts","../../node_modules/@types/node/web-globals/domexception.d.ts","../../node_modules/@types/node/web-globals/events.d.ts","../../node_modules/undici-types/header.d.ts","../../node_modules/undici-types/readable.d.ts","../../node_modules/undici-types/file.d.ts","../../node_modules/undici-types/fetch.d.ts","../../node_modules/undici-types/formdata.d.ts","../../node_modules/undici-types/connector.d.ts","../../node_modules/undici-types/client.d.ts","../../node_modules/undici-types/errors.d.ts","../../node_modules/undici-types/dispatcher.d.ts","../../node_modules/undici-types/global-dispatcher.d.ts","../../node_modules/undici-types/global-origin.d.ts","../../node_modules/undici-types/pool-stats.d.ts","../../node_modules/undici-types/pool.d.ts","../../node_modules/undici-types/handlers.d.ts","../../node_modules/undici-types/balanced-pool.d.ts","../../node_modules/undici-types/agent.d.ts","../../node_modules/undici-types/mock-interceptor.d.ts","../../node_modules/undici-types/mock-agent.d.ts","../../node_modules/undici-types/mock-client.d.ts","../../node_modules/undici-types/mock-pool.d.ts","../../node_modules/undici-types/mock-errors.d.ts","../../node_modules/undici-types/proxy-agent.d.ts","../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../node_modules/undici-types/retry-handler.d.ts","../../node_modules/undici-types/retry-agent.d.ts","../../node_modules/undici-types/api.d.ts","../../node_modules/undici-types/interceptors.d.ts","../../node_modules/undici-types/util.d.ts","../../node_modules/undici-types/cookies.d.ts","../../node_modules/undici-types/patch.d.ts","../../node_modules/undici-types/websocket.d.ts","../../node_modules/undici-types/eventsource.d.ts","../../node_modules/undici-types/filereader.d.ts","../../node_modules/undici-types/diagnostics-channel.d.ts","../../node_modules/undici-types/content-type.d.ts","../../node_modules/undici-types/cache.d.ts","../../node_modules/undici-types/index.d.ts","../../node_modules/@types/node/web-globals/fetch.d.ts","../../node_modules/@types/node/web-globals/navigator.d.ts","../../node_modules/@types/node/web-globals/storage.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/inspector.generated.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/readline/promises.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/sea.d.ts","../../node_modules/@types/node/sqlite.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/test.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/index.d.ts","../../node_modules/@types/normalize-package-data/index.d.ts","../../node_modules/@types/parse-path/index.d.ts","../../node_modules/@types/trusted-types/lib/index.d.ts","../../node_modules/@types/trusted-types/index.d.ts","../../node_modules/@types/ungap__structured-clone/index.d.ts","../../node_modules/@types/web-bluetooth/index.d.ts"],"fileIdsList":[[103,151,168,169],[53,81,103,151,168,169],[52,58,103,151,168,169],[63,103,151,168,169],[58,103,151,168,169],[57,103,151,168,169],[75,103,151,168,169],[71,103,151,168,169],[53,70,81,103,151,168,169],[52,53,54,55,56,57,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,103,151,168,169],[84,103,151,168,169],[87,103,151,168,169],[91,103,151,168,169],[92,94,103,151,168,169],[95,103,151,168,169],[93,103,151,168,169],[103,148,149,151,168,169],[103,150,151,168,169],[151,168,169],[103,151,156,168,169,186],[103,151,152,157,162,168,169,171,183,194],[103,151,152,153,162,168,169,171],[98,99,100,103,151,168,169],[103,151,154,168,169,195],[103,151,155,156,163,168,169,172],[103,151,156,168,169,183,191],[103,151,157,159,162,168,169,171],[103,150,151,158,168,169],[103,151,159,160,168,169],[103,151,161,162,168,169],[103,150,151,162,168,169],[103,151,162,163,164,168,169,183,194],[103,151,162,163,164,168,169,178,183,186],[103,144,151,159,162,165,168,169,171,183,194],[103,151,162,163,165,166,168,169,171,183,191,194],[103,151,165,167,168,169,183,191,194],[101,102,103,104,105,106,107,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[103,151,162,168,169],[103,151,168,169,170,194],[103,151,159,162,168,169,171,183],[103,151,168,169,172],[103,151,168,169,173],[103,150,151,168,169,174],[103,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[103,151,168,169,176],[103,151,168,169,177],[103,151,162,168,169,178,179],[103,151,168,169,178,180,195,197],[103,151,163,168,169],[103,151,162,168,169,183,184,186],[103,151,168,169,185,186],[103,151,168,169,183,184],[103,151,168,169,186],[103,151,168,169,187],[103,148,151,168,169,183,188,194],[103,151,162,168,169,189,190],[103,151,168,169,189,190],[103,151,156,168,169,171,183,191],[103,151,168,169,192],[103,151,168,169,171,193],[103,151,165,168,169,177,194],[103,151,156,168,169,195],[103,151,168,169,183,196],[103,151,168,169,170,197],[103,151,168,169,198],[103,144,151,168,169],[103,144,151,162,164,168,169,174,183,186,194,196,197,199],[103,151,168,169,183,200],[103,151,168,169,204],[103,116,120,151,168,169,194],[103,116,151,168,169,183,194],[103,111,151,168,169],[103,113,116,151,168,169,191,194],[103,151,168,169,171,191],[103,151,168,169,201],[103,111,151,168,169,201],[103,113,116,151,168,169,171,194],[103,108,109,112,115,151,162,168,169,183,194],[103,116,123,151,168,169],[103,108,114,151,168,169],[103,116,137,138,151,168,169],[103,112,116,151,168,169,186,194,201],[103,137,151,168,169,201],[103,110,111,151,168,169,201],[103,116,151,168,169],[103,110,111,112,113,114,115,116,117,118,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,138,139,140,141,142,143,151,168,169],[103,116,131,151,168,169],[103,116,123,124,151,168,169],[103,114,116,124,125,151,168,169],[103,115,151,168,169],[103,108,111,116,151,168,169],[103,116,120,124,125,151,168,169],[103,120,151,168,169],[103,114,116,119,151,168,169,194],[103,108,113,116,123,151,168,169],[103,151,168,169,183],[103,111,116,137,151,168,169,199,201],[47,103,151,168,169],[50,103,149,151,168,169,188],[48,49,103,151,168,169]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},"7e0a39d7e9bd71bc245d45bef20fb3e8f9aeef8fff85144e7e49ffff376d2a65","2bd8e387a34aaa8d553144408e70c8eb2fa3882a82efb788c633b83dc1cb8141",{"version":"153c3ad8ad63772461ba1be113058068f9ff972d9a65806516ee6166714d82e5","signature":"ad1c34037b2410e53e743847eea7e2b971f0144c95f2bd3d5d1f3df32ccc0af9"},{"version":"4a4ff0a44d9e823f8d7e46c1ff4bbed8e33795e35923309c27d489ba08dbcd2a","signature":"09adb7980b3562a306c23ca2dd7de368f25c5cc43d96431a571621c9b0858359"},{"version":"dca9c3845aeeba2419b37c0cd8be7aaf8c91da5f9537514f3dfafd91a7ba39e4","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"b1538a92b9bae8d230267210c5db38c2eb6bdb352128a3ce3aa8c6acf9fc9622","impliedFormat":1},{"version":"469532350a366536390c6eb3bde6839ec5c81fe1227a6b7b6a70202954d70c40","impliedFormat":1},{"version":"17c9f569be89b4c3c17dc17a9fb7909b6bab34f73da5a9a02d160f502624e2e8","impliedFormat":1},{"version":"003df7b9a77eaeb7a524b795caeeb0576e624e78dea5e362b053cb96ae89132a","impliedFormat":1},{"version":"7ba17571f91993b87c12b5e4ecafe66b1a1e2467ac26fcb5b8cee900f6cf8ff4","impliedFormat":1},{"version":"6fc1a4f64372593767a9b7b774e9b3b92bf04e8785c3f9ea98973aa9f4bbe490","impliedFormat":1},{"version":"d30e67059f5c545c5f8f0cc328a36d2e03b8c4a091b4301bc1d6afb2b1491a3a","impliedFormat":1},{"version":"8b219399c6a743b7c526d4267800bd7c84cf8e27f51884c86ad032d662218a9d","impliedFormat":1},{"version":"bad6d83a581dbd97677b96ee3270a5e7d91b692d220b87aab53d63649e47b9ad","impliedFormat":1},{"version":"324726a1827e34c0c45c43c32ecf73d235b01e76ef6d0f44c2c0270628df746a","impliedFormat":1},{"version":"54e79224429e911b5d6aeb3cf9097ec9fd0f140d5a1461bbdece3066b17c232c","impliedFormat":1},{"version":"e1b666b145865bc8d0d843134b21cf589c13beba05d333c7568e7c30309d933a","impliedFormat":1},{"version":"ff09b6fbdcf74d8af4e131b8866925c5e18d225540b9b19ce9485ca93e574d84","impliedFormat":1},{"version":"c836b5d8d84d990419548574fc037c923284df05803b098fe5ddaa49f88b898a","impliedFormat":1},{"version":"3a2b8ed9d6b687ab3e1eac3350c40b1624632f9e837afe8a4b5da295acf491cb","impliedFormat":1},{"version":"189266dd5f90a981910c70d7dfa05e2bca901a4f8a2680d7030c3abbfb5b1e23","impliedFormat":1},{"version":"5ec8dcf94c99d8f1ed7bb042cdfa4ef6a9810ca2f61d959be33bcaf3f309debe","impliedFormat":1},{"version":"a80e02af710bdac31f2d8308890ac4de4b6a221aafcbce808123bfc2903c5dc2","impliedFormat":1},{"version":"d5895252efa27a50f134a9b580aa61f7def5ab73d0a8071f9b5bf9a317c01c2d","impliedFormat":1},{"version":"2c378d9368abcd2eba8c29b294d40909845f68557bc0b38117e4f04fc56e5f9c","impliedFormat":1},{"version":"0f345151cece7be8d10df068b58983ea8bcbfead1b216f0734037a6c63d8af87","impliedFormat":1},{"version":"37fd7bde9c88aa142756d15aeba872498f45ad149e0d1e56f3bccc1af405c520","impliedFormat":1},{"version":"2a920fd01157f819cf0213edfb801c3fb970549228c316ce0a4b1885020bad35","impliedFormat":1},{"version":"56208c500dcb5f42be7e18e8cb578f257a1a89b94b3280c506818fed06391805","impliedFormat":1},{"version":"0c94c2e497e1b9bcfda66aea239d5d36cd980d12a6d9d59e66f4be1fa3da5d5a","impliedFormat":1},{"version":"a67774ceb500c681e1129b50a631fa210872bd4438fae55e5e8698bac7036b19","impliedFormat":1},{"version":"9b048390bcffe88c023a4cd742a720b41d4cd7df83bc9270e6f2339bf38de278","affectsGlobalScope":true,"impliedFormat":1},{"version":"dd8936160e41420264a9d5fade0ff95cc92cab56032a84c74a46b4c38e43121e","impliedFormat":1},{"version":"1f366bde16e0513fa7b64f87f86689c4d36efd85afce7eb24753e9c99b91c319","impliedFormat":1},{"version":"421c3f008f6ef4a5db2194d58a7b960ef6f33e94b033415649cd557be09ef619","impliedFormat":1},{"version":"57568ff84b8ba1a4f8c817141644b49252cc39ec7b899e4bfba0ec0557c910a0","impliedFormat":1},{"version":"e6f10f9a770dedf552ca0946eef3a3386b9bfb41509233a30fc8ca47c49db71c","impliedFormat":1},{"version":"fb893a0dfc3c9fb0f9ca93d0648694dd95f33cbad2c0f2c629f842981dfd4e2e","impliedFormat":1},{"version":"3eb11dbf3489064a47a2e1cf9d261b1f100ef0b3b50ffca6c44dd99d6dd81ac1","impliedFormat":1},{"version":"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","impliedFormat":1},{"version":"89121c1bf2990f5219bfd802a3e7fc557de447c62058d6af68d6b6348d64499a","impliedFormat":1},{"version":"79b4369233a12c6fa4a07301ecb7085802c98f3a77cf9ab97eee27e1656f82e6","impliedFormat":1},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","impliedFormat":1},{"version":"742f21debb3937c3839a63245648238555bdab1ea095d43fd10c88a64029bf76","impliedFormat":1},{"version":"7cfdf3b9a5ba934a058bfc9390c074104dc7223b7e3c16fd5335206d789bc3d3","impliedFormat":1},{"version":"0944f27ebff4b20646b71e7e3faaaae50a6debd40bc63e225de1320dd15c5795","impliedFormat":1},{"version":"5d30565583300c9256072a013ac0318cc603ff769b4c5cafc222394ea93963e1","impliedFormat":1},{"version":"8a7219b41d3c1c93f3f3b779146f313efade2404eeece88dcd366df7e2364977","impliedFormat":1},{"version":"a109c4289d59d9019cfe1eeab506fe57817ee549499b02a83a7e9d3bdf662d63","impliedFormat":1},{"version":"d4a22007b481fe2a2e6bfd3a42c00cd62d41edb36d30fc4697df2692e9891fc8","impliedFormat":1},{"version":"6c7176368037af28cb72f2392010fa1cef295d6d6744bca8cfb54985f3a18c3e","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"437e20f2ba32abaeb7985e0afe0002de1917bc74e949ba585e49feba65da6ca1","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"98cffbf06d6bab333473c70a893770dbe990783904002c4f1a960447b4b53dca","affectsGlobalScope":true,"impliedFormat":1},{"version":"3af97acf03cc97de58a3a4bc91f8f616408099bc4233f6d0852e72a8ffb91ac9","affectsGlobalScope":true,"impliedFormat":1},{"version":"808069bba06b6768b62fd22429b53362e7af342da4a236ed2d2e1c89fcca3b4a","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"b52476feb4a0cbcb25e5931b930fc73cb6643fb1a5060bf8a3dda0eeae5b4b68","affectsGlobalScope":true,"impliedFormat":1},{"version":"f9501cc13ce624c72b61f12b3963e84fad210fbdf0ffbc4590e08460a3f04eba","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0fa06ada475b910e2106c98c68b10483dc8811d0c14a8a8dd36efb2672485b29","impliedFormat":1},{"version":"33e5e9aba62c3193d10d1d33ae1fa75c46a1171cf76fef750777377d53b0303f","impliedFormat":1},{"version":"2b06b93fd01bcd49d1a6bd1f9b65ddcae6480b9a86e9061634d6f8e354c1468f","impliedFormat":1},{"version":"6a0cd27e5dc2cfbe039e731cf879d12b0e2dded06d1b1dedad07f7712de0d7f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"13f5c844119c43e51ce777c509267f14d6aaf31eafb2c2b002ca35584cd13b29","impliedFormat":1},{"version":"e60477649d6ad21542bd2dc7e3d9ff6853d0797ba9f689ba2f6653818999c264","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"4c829ab315f57c5442c6667b53769975acbf92003a66aef19bce151987675bd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"b2ade7657e2db96d18315694789eff2ddd3d8aea7215b181f8a0b303277cc579","impliedFormat":1},{"version":"9855e02d837744303391e5623a531734443a5f8e6e8755e018c41d63ad797db2","impliedFormat":1},{"version":"4d631b81fa2f07a0e63a9a143d6a82c25c5f051298651a9b69176ba28930756d","impliedFormat":1},{"version":"836a356aae992ff3c28a0212e3eabcb76dd4b0cc06bcb9607aeef560661b860d","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"41670ee38943d9cbb4924e436f56fc19ee94232bc96108562de1a734af20dc2c","affectsGlobalScope":true,"impliedFormat":1},{"version":"c906fb15bd2aabc9ed1e3f44eb6a8661199d6c320b3aa196b826121552cb3695","impliedFormat":1},{"version":"22295e8103f1d6d8ea4b5d6211e43421fe4564e34d0dd8e09e520e452d89e659","impliedFormat":1},{"version":"f949f7f6c7802a338039cfc2156d1fe285cdd1e092c64437ebe15ae8edc854e0","impliedFormat":1},{"version":"6b4e081d55ac24fc8a4631d5dd77fe249fa25900abd7d046abb87d90e3b45645","impliedFormat":1},{"version":"a10f0e1854f3316d7ee437b79649e5a6ae3ae14ffe6322b02d4987071a95362e","impliedFormat":1},{"version":"e208f73ef6a980104304b0d2ca5f6bf1b85de6009d2c7e404028b875020fa8f2","impliedFormat":1},{"version":"d163b6bc2372b4f07260747cbc6c0a6405ab3fbcea3852305e98ac43ca59f5bc","impliedFormat":1},{"version":"e6fa9ad47c5f71ff733744a029d1dc472c618de53804eae08ffc243b936f87ff","affectsGlobalScope":true,"impliedFormat":1},{"version":"83e63d6ccf8ec004a3bb6d58b9bb0104f60e002754b1e968024b320730cc5311","impliedFormat":1},{"version":"24826ed94a78d5c64bd857570fdbd96229ad41b5cb654c08d75a9845e3ab7dde","impliedFormat":1},{"version":"8b479a130ccb62e98f11f136d3ac80f2984fdc07616516d29881f3061f2dd472","impliedFormat":1},{"version":"928af3d90454bf656a52a48679f199f64c1435247d6189d1caf4c68f2eaf921f","affectsGlobalScope":true,"impliedFormat":1},{"version":"d2bc7425ef40526650d6db7e072c1ff4a51101c3ac2cc4b666623b19496a6e27","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"933921f0bb0ec12ef45d1062a1fc0f27635318f4d294e4d99de9a5493e618ca2","impliedFormat":1},{"version":"71a0f3ad612c123b57239a7749770017ecfe6b66411488000aba83e4546fde25","impliedFormat":1},{"version":"77fbe5eecb6fac4b6242bbf6eebfc43e98ce5ccba8fa44e0ef6a95c945ff4d98","impliedFormat":1},{"version":"4f9d8ca0c417b67b69eeb54c7ca1bedd7b56034bb9bfd27c5d4f3bc4692daca7","impliedFormat":1},{"version":"814118df420c4e38fe5ae1b9a3bafb6e9c2aa40838e528cde908381867be6466","impliedFormat":1},{"version":"a3fc63c0d7b031693f665f5494412ba4b551fe644ededccc0ab5922401079c95","impliedFormat":1},{"version":"f27524f4bef4b6519c604bdb23bf4465bddcccbf3f003abb901acbd0d7404d99","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"6b039f55681caaf111d5eb84d292b9bee9e0131d0db1ad0871eef0964f533c73","affectsGlobalScope":true,"impliedFormat":1},{"version":"18fd40412d102c5564136f29735e5d1c3b455b8a37f920da79561f1fde068208","impliedFormat":1},{"version":"c8d3e5a18ba35629954e48c4cc8f11dc88224650067a172685c736b27a34a4dc","impliedFormat":1},{"version":"f0be1b8078cd549d91f37c30c222c2a187ac1cf981d994fb476a1adc61387b14","affectsGlobalScope":true,"impliedFormat":1},{"version":"0aaed1d72199b01234152f7a60046bc947f1f37d78d182e9ae09c4289e06a592","impliedFormat":1},{"version":"0dba70b3fb0dcd713fda33c2df64fa6751fff6460e536971cee917260fb17882","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"5b7aa3c4c1a5d81b411e8cb302b45507fea9358d3569196b27eb1a27ae3a90ef","affectsGlobalScope":true,"impliedFormat":1},{"version":"5987a903da92c7462e0b35704ce7da94d7fdc4b89a984871c0e2b87a8aae9e69","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea08a0345023ade2b47fbff5a76d0d0ed8bff10bc9d22b83f40858a8e941501c","impliedFormat":1},{"version":"47613031a5a31510831304405af561b0ffaedb734437c595256bb61a90f9311b","impliedFormat":1},{"version":"ae062ce7d9510060c5d7e7952ae379224fb3f8f2dd74e88959878af2057c143b","impliedFormat":1},{"version":"8a1a0d0a4a06a8d278947fcb66bf684f117bf147f89b06e50662d79a53be3e9f","affectsGlobalScope":true,"impliedFormat":1},{"version":"9f663c2f91127ef7024e8ca4b3b4383ff2770e5f826696005de382282794b127","impliedFormat":1},{"version":"9f55299850d4f0921e79b6bf344b47c420ce0f507b9dcf593e532b09ea7eeea1","impliedFormat":1},{"version":"22293bd6fa12747929f8dfca3ec1684a3fe08638aa18023dd286ab337e88a592","impliedFormat":1},{"version":"e72bcd16c134dae5a840b1d5d0e8b87e1d07fbbff01d66e9a7b913da3cd39b8e","impliedFormat":1},{"version":"15fe687c59d62741b4494d5e623d497d55eb38966ecf5bea7f36e48fc3fbe15e","impliedFormat":1},{"version":"2c3b8be03577c98530ef9cb1a76e2c812636a871f367e9edf4c5f3ce702b77f8","affectsGlobalScope":true,"impliedFormat":1},{"version":"4c9dd88817e91f98e93c3445102dd3671748c8c523a5b3ba01c5b65af0db07e2","impliedFormat":1},{"version":"28ca156f93e9f2f073d825452a114d106291d123564ca49af5b108ba20311011","affectsGlobalScope":true,"impliedFormat":1}],"root":[[49,51]],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"module":99,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":7},"referencedMap":[[52,1],[54,2],[55,2],[56,1],[57,1],[59,3],[60,1],[61,1],[62,2],[63,1],[64,1],[65,4],[66,1],[67,1],[68,5],[69,1],[70,6],[71,1],[72,1],[73,1],[74,1],[77,1],[76,7],[53,1],[78,8],[79,1],[75,1],[80,1],[81,2],[82,9],[83,10],[85,11],[86,1],[58,1],[88,12],[89,1],[90,1],[91,1],[92,13],[95,14],[96,15],[97,12],[93,1],[94,16],[84,1],[148,17],[149,17],[150,18],[103,19],[151,20],[152,21],[153,22],[98,1],[101,23],[99,1],[100,1],[154,24],[155,25],[156,26],[157,27],[158,28],[159,29],[160,29],[161,30],[162,31],[163,32],[164,33],[104,1],[102,1],[165,34],[166,35],[167,36],[201,37],[168,38],[169,1],[170,39],[171,40],[172,41],[173,42],[174,43],[175,44],[176,45],[177,46],[178,47],[179,47],[180,48],[181,1],[182,49],[183,50],[185,51],[184,52],[186,53],[187,54],[188,55],[189,56],[190,57],[191,58],[192,59],[193,60],[194,61],[195,62],[196,63],[197,64],[198,65],[105,1],[106,1],[107,1],[145,66],[146,1],[147,1],[199,67],[200,68],[202,1],[203,1],[205,69],[204,1],[206,1],[87,1],[207,1],[45,1],[46,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[19,1],[20,1],[4,1],[21,1],[25,1],[22,1],[23,1],[24,1],[26,1],[27,1],[28,1],[5,1],[29,1],[30,1],[31,1],[32,1],[6,1],[36,1],[33,1],[34,1],[35,1],[37,1],[7,1],[38,1],[43,1],[44,1],[39,1],[40,1],[41,1],[42,1],[1,1],[123,70],[133,71],[122,70],[143,72],[114,73],[113,74],[142,75],[136,76],[141,77],[116,78],[130,79],[115,80],[139,81],[111,82],[110,75],[140,83],[112,84],[117,85],[118,1],[121,85],[108,1],[144,86],[134,87],[125,88],[126,89],[128,90],[124,91],[127,92],[137,75],[119,93],[120,94],[129,95],[109,96],[132,87],[131,85],[135,1],[138,97],[48,98],[47,1],[51,99],[50,100],[49,1]],"latestChangedDtsFile":"./dist/__tests__/remote.spec.d.ts","version":"5.9.3"}