@heroku/plugin-compute 0.1.0 → 0.2.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.
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@heroku/plugin-compute",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@heroku/plugin-compute",
9
- "version": "0.1.0",
9
+ "version": "0.2.0",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@oclif/core": "^4",
13
13
  "@salesforce/core": "^8.32.6",
14
- "@salesforce/kit": "^3.2.6",
14
+ "@salesforce/kit": "^4.0.1",
15
15
  "@salesforce/sf-plugins-core": "^12",
16
16
  "@salesforce/source-deploy-retrieve": "^12.37.2",
17
17
  "form-data": "^4.0.6",
@@ -4336,19 +4336,6 @@
4336
4336
  "node": ">=22.0.0"
4337
4337
  }
4338
4338
  },
4339
- "node_modules/@salesforce/cli-plugins-testkit/node_modules/@salesforce/kit": {
4340
- "version": "4.0.1",
4341
- "resolved": "https://registry.npmjs.org/@salesforce/kit/-/kit-4.0.1.tgz",
4342
- "integrity": "sha512-gEqWxNsouii5bFRpmLGOO93ndiL0Ds3UOuu2JLTfyZGgezQxg8wEUnnYzV2trZsrlptvarj94AfiQvWI5WkjAw==",
4343
- "dev": true,
4344
- "license": "Apache-2.0",
4345
- "dependencies": {
4346
- "@salesforce/ts-types": "^3.2.0"
4347
- },
4348
- "engines": {
4349
- "node": ">=22.0.0"
4350
- }
4351
- },
4352
4339
  "node_modules/@salesforce/cli-plugins-testkit/node_modules/jszip": {
4353
4340
  "version": "3.10.1",
4354
4341
  "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.1.tgz",
@@ -4392,6 +4379,15 @@
4392
4379
  "node": ">=18.0.0"
4393
4380
  }
4394
4381
  },
4382
+ "node_modules/@salesforce/core/node_modules/@salesforce/kit": {
4383
+ "version": "3.2.6",
4384
+ "resolved": "https://registry.npmjs.org/@salesforce/kit/-/kit-3.2.6.tgz",
4385
+ "integrity": "sha512-O8S4LWerHa9Zosqh+IoQjgLtpxMOfObRxaRnUdRV4MLtFUi+bQxQiyFvve6eEaBaMP1b1xVDQpvSvQ+PXEDGFQ==",
4386
+ "license": "Apache-2.0",
4387
+ "dependencies": {
4388
+ "@salesforce/ts-types": "^2.0.12"
4389
+ }
4390
+ },
4395
4391
  "node_modules/@salesforce/core/node_modules/@salesforce/ts-types": {
4396
4392
  "version": "2.0.12",
4397
4393
  "resolved": "https://registry.npmjs.org/@salesforce/ts-types/-/ts-types-2.0.12.tgz",
@@ -4414,21 +4410,15 @@
4414
4410
  }
4415
4411
  },
4416
4412
  "node_modules/@salesforce/kit": {
4417
- "version": "3.2.6",
4418
- "resolved": "https://registry.npmjs.org/@salesforce/kit/-/kit-3.2.6.tgz",
4419
- "integrity": "sha512-O8S4LWerHa9Zosqh+IoQjgLtpxMOfObRxaRnUdRV4MLtFUi+bQxQiyFvve6eEaBaMP1b1xVDQpvSvQ+PXEDGFQ==",
4413
+ "version": "4.0.1",
4414
+ "resolved": "https://registry.npmjs.org/@salesforce/kit/-/kit-4.0.1.tgz",
4415
+ "integrity": "sha512-gEqWxNsouii5bFRpmLGOO93ndiL0Ds3UOuu2JLTfyZGgezQxg8wEUnnYzV2trZsrlptvarj94AfiQvWI5WkjAw==",
4420
4416
  "license": "Apache-2.0",
4421
4417
  "dependencies": {
4422
- "@salesforce/ts-types": "^2.0.12"
4423
- }
4424
- },
4425
- "node_modules/@salesforce/kit/node_modules/@salesforce/ts-types": {
4426
- "version": "2.0.12",
4427
- "resolved": "https://registry.npmjs.org/@salesforce/ts-types/-/ts-types-2.0.12.tgz",
4428
- "integrity": "sha512-BIJyduJC18Kc8z+arUm5AZ9VkPRyw1KKAm+Tk+9LT99eOzhNilyfKzhZ4t+tG2lIGgnJpmytZfVDZ0e2kFul8g==",
4429
- "license": "BSD-3-Clause",
4418
+ "@salesforce/ts-types": "^3.2.0"
4419
+ },
4430
4420
  "engines": {
4431
- "node": ">=18.0.0"
4421
+ "node": ">=22.0.0"
4432
4422
  }
4433
4423
  },
4434
4424
  "node_modules/@salesforce/sf-plugins-core": {
@@ -4452,6 +4442,15 @@
4452
4442
  "node": ">=18.0.0"
4453
4443
  }
4454
4444
  },
4445
+ "node_modules/@salesforce/sf-plugins-core/node_modules/@salesforce/kit": {
4446
+ "version": "3.2.6",
4447
+ "resolved": "https://registry.npmjs.org/@salesforce/kit/-/kit-3.2.6.tgz",
4448
+ "integrity": "sha512-O8S4LWerHa9Zosqh+IoQjgLtpxMOfObRxaRnUdRV4MLtFUi+bQxQiyFvve6eEaBaMP1b1xVDQpvSvQ+PXEDGFQ==",
4449
+ "license": "Apache-2.0",
4450
+ "dependencies": {
4451
+ "@salesforce/ts-types": "^2.0.12"
4452
+ }
4453
+ },
4455
4454
  "node_modules/@salesforce/sf-plugins-core/node_modules/@salesforce/ts-types": {
4456
4455
  "version": "2.0.12",
4457
4456
  "resolved": "https://registry.npmjs.org/@salesforce/ts-types/-/ts-types-2.0.12.tgz",
@@ -4495,6 +4494,15 @@
4495
4494
  "node": ">=18.0.0"
4496
4495
  }
4497
4496
  },
4497
+ "node_modules/@salesforce/source-deploy-retrieve/node_modules/@salesforce/kit": {
4498
+ "version": "3.2.6",
4499
+ "resolved": "https://registry.npmjs.org/@salesforce/kit/-/kit-3.2.6.tgz",
4500
+ "integrity": "sha512-O8S4LWerHa9Zosqh+IoQjgLtpxMOfObRxaRnUdRV4MLtFUi+bQxQiyFvve6eEaBaMP1b1xVDQpvSvQ+PXEDGFQ==",
4501
+ "license": "Apache-2.0",
4502
+ "dependencies": {
4503
+ "@salesforce/ts-types": "^2.0.12"
4504
+ }
4505
+ },
4498
4506
  "node_modules/@salesforce/source-deploy-retrieve/node_modules/@salesforce/ts-types": {
4499
4507
  "version": "2.0.12",
4500
4508
  "resolved": "https://registry.npmjs.org/@salesforce/ts-types/-/ts-types-2.0.12.tgz",
@@ -4547,7 +4555,6 @@
4547
4555
  "version": "3.2.1",
4548
4556
  "resolved": "https://registry.npmjs.org/@salesforce/ts-types/-/ts-types-3.2.1.tgz",
4549
4557
  "integrity": "sha512-yVuXM7esC4LGEfS4Zh0wHJmDG2gzGWJM1JCFjM3kx5KfAfHP6zmhUn7XUMaKoaaQ5nF4F6WFEW1kblgpDk54mA==",
4550
- "dev": true,
4551
4558
  "license": "Apache-2.0",
4552
4559
  "engines": {
4553
4560
  "node": ">=22.0.0"
@@ -823,21 +823,15 @@
823
823
  "runtime-log:get:compute"
824
824
  ]
825
825
  },
826
- "compute:source:retrieve": {
826
+ "compute:tail:runtime-log": {
827
827
  "aliases": [],
828
828
  "args": {},
829
- "description": "Creates the compute app's directory under force-app/main/default/platformComputeApps/<name>/\n(or --output-dir), retrieves its <name>.compute-meta.xml through the Metadata\nAPI, then downloads its source code through the Connect API and extracts it\ninto that same directory. This is the inverse of sf compute deploy.",
829
+ "description": "Streams a compute app's runtime log -- the app's ongoing output (request\nhandling, application logs), not the build/compile log; use compute get\nbuild-log for that.\n\nKeeps the session open and prints new log lines as they arrive, until you stop\nit with Ctrl-C or the session ends on its own. For a one-time snapshot of the\nmost recent lines, use compute get runtime-log.\n\nThis is an org-mediated operation by --name (the app's DeveloperName) -- the\norg creates a log session with Heroku on your behalf and hands back a\nshort-lived, pre-authorized URL that the CLI reads from directly. It doesn't\nread from or require a local Salesforce DX project.",
830
830
  "examples": [
831
- "Retrieve a compute app's source and metadata from an org:\n<%= config.bin %> <%= command.id %> --name CreditRatingScorer --target-org my-org"
831
+ "Tail the log until stopped with Ctrl-C:\n<%= config.bin %> <%= command.id %> --name CreditRatingScorer --target-org my-org",
832
+ "Print the most recent 500 lines, then keep streaming:\n<%= config.bin %> <%= command.id %> --name CreditRatingScorer --num 500 --target-org my-org"
832
833
  ],
833
834
  "flags": {
834
- "json": {
835
- "description": "Format output as json.",
836
- "helpGroup": "GLOBAL",
837
- "name": "json",
838
- "allowNo": false,
839
- "type": "boolean"
840
- },
841
835
  "flags-dir": {
842
836
  "helpGroup": "GLOBAL",
843
837
  "name": "flags-dir",
@@ -848,9 +842,9 @@
848
842
  },
849
843
  "name": {
850
844
  "char": "n",
845
+ "env": "COMPUTE_APP_NAME",
851
846
  "name": "name",
852
- "required": true,
853
- "summary": "DeveloperName of the compute app to retrieve (or <namespace>\\_\\_<developerName>\nif it was deployed under a namespace).",
847
+ "summary": "DeveloperName of the compute app to tail logs for (or\n<namespace>\\_\\_<developerName> if it was deployed under a namespace).\nDefaults to the COMPUTE_APP_NAME environment variable, or the current\ndirectory's app name if that isn't set either.",
854
848
  "hasDynamicHelp": false,
855
849
  "multiple": false,
856
850
  "type": "option"
@@ -865,12 +859,10 @@
865
859
  "multiple": false,
866
860
  "type": "option"
867
861
  },
868
- "output-dir": {
869
- "char": "d",
870
- "description": "Defaults to force-app/main/default/platformComputeApps. The app itself is created in a\nsubdirectory named after --name.",
871
- "name": "output-dir",
872
- "summary": "Directory to create the app in.",
873
- "default": "force-app/main/default/platformComputeApps",
862
+ "num": {
863
+ "name": "num",
864
+ "summary": "Number of recent log lines to print before streaming new output.",
865
+ "default": 100,
874
866
  "hasDynamicHelp": false,
875
867
  "multiple": false,
876
868
  "type": "option"
@@ -878,41 +870,47 @@
878
870
  },
879
871
  "hasDynamicHelp": true,
880
872
  "hiddenAliases": [],
881
- "id": "compute:source:retrieve",
873
+ "id": "compute:tail:runtime-log",
882
874
  "pluginAlias": "@heroku/plugin-compute",
883
875
  "pluginName": "@heroku/plugin-compute",
884
876
  "pluginType": "core",
885
877
  "strict": true,
886
- "summary": "Retrieve a compute app's source and metadata from an org into your local Salesforce DX project.",
887
- "enableJsonFlag": true,
888
- "requiresProject": true,
878
+ "summary": "Stream the live runtime log for a compute app.",
879
+ "enableJsonFlag": false,
880
+ "requiresProject": false,
889
881
  "isESM": true,
890
882
  "relativePath": [
891
883
  "lib",
892
884
  "commands",
893
885
  "compute",
894
- "source",
895
- "retrieve.js"
886
+ "tail",
887
+ "runtime-log.js"
896
888
  ],
897
889
  "aliasPermutations": [],
898
890
  "permutations": [
899
- "compute:source:retrieve",
900
- "source:compute:retrieve",
901
- "source:retrieve:compute",
902
- "compute:retrieve:source",
903
- "retrieve:compute:source",
904
- "retrieve:source:compute"
891
+ "compute:tail:runtime-log",
892
+ "tail:compute:runtime-log",
893
+ "tail:runtime-log:compute",
894
+ "compute:runtime-log:tail",
895
+ "runtime-log:compute:tail",
896
+ "runtime-log:tail:compute"
905
897
  ]
906
898
  },
907
- "compute:tail:runtime-log": {
899
+ "compute:source:retrieve": {
908
900
  "aliases": [],
909
901
  "args": {},
910
- "description": "Streams a compute app's runtime log -- the app's ongoing output (request\nhandling, application logs), not the build/compile log; use compute get\nbuild-log for that.\n\nKeeps the session open and prints new log lines as they arrive, until you stop\nit with Ctrl-C or the session ends on its own. For a one-time snapshot of the\nmost recent lines, use compute get runtime-log.\n\nThis is an org-mediated operation by --name (the app's DeveloperName) -- the\norg creates a log session with Heroku on your behalf and hands back a\nshort-lived, pre-authorized URL that the CLI reads from directly. It doesn't\nread from or require a local Salesforce DX project.",
902
+ "description": "Creates the compute app's directory under force-app/main/default/platformComputeApps/<name>/\n(or --output-dir), retrieves its <name>.compute-meta.xml through the Metadata\nAPI, then downloads its source code through the Connect API and extracts it\ninto that same directory. This is the inverse of sf compute deploy.",
911
903
  "examples": [
912
- "Tail the log until stopped with Ctrl-C:\n<%= config.bin %> <%= command.id %> --name CreditRatingScorer --target-org my-org",
913
- "Print the most recent 500 lines, then keep streaming:\n<%= config.bin %> <%= command.id %> --name CreditRatingScorer --num 500 --target-org my-org"
904
+ "Retrieve a compute app's source and metadata from an org:\n<%= config.bin %> <%= command.id %> --name CreditRatingScorer --target-org my-org"
914
905
  ],
915
906
  "flags": {
907
+ "json": {
908
+ "description": "Format output as json.",
909
+ "helpGroup": "GLOBAL",
910
+ "name": "json",
911
+ "allowNo": false,
912
+ "type": "boolean"
913
+ },
916
914
  "flags-dir": {
917
915
  "helpGroup": "GLOBAL",
918
916
  "name": "flags-dir",
@@ -923,9 +921,9 @@
923
921
  },
924
922
  "name": {
925
923
  "char": "n",
926
- "env": "COMPUTE_APP_NAME",
927
924
  "name": "name",
928
- "summary": "DeveloperName of the compute app to tail logs for (or\n<namespace>\\_\\_<developerName> if it was deployed under a namespace).\nDefaults to the COMPUTE_APP_NAME environment variable, or the current\ndirectory's app name if that isn't set either.",
925
+ "required": true,
926
+ "summary": "DeveloperName of the compute app to retrieve (or <namespace>\\_\\_<developerName>\nif it was deployed under a namespace).",
929
927
  "hasDynamicHelp": false,
930
928
  "multiple": false,
931
929
  "type": "option"
@@ -940,10 +938,12 @@
940
938
  "multiple": false,
941
939
  "type": "option"
942
940
  },
943
- "num": {
944
- "name": "num",
945
- "summary": "Number of recent log lines to print before streaming new output.",
946
- "default": 100,
941
+ "output-dir": {
942
+ "char": "d",
943
+ "description": "Defaults to force-app/main/default/platformComputeApps. The app itself is created in a\nsubdirectory named after --name.",
944
+ "name": "output-dir",
945
+ "summary": "Directory to create the app in.",
946
+ "default": "force-app/main/default/platformComputeApps",
947
947
  "hasDynamicHelp": false,
948
948
  "multiple": false,
949
949
  "type": "option"
@@ -951,32 +951,32 @@
951
951
  },
952
952
  "hasDynamicHelp": true,
953
953
  "hiddenAliases": [],
954
- "id": "compute:tail:runtime-log",
954
+ "id": "compute:source:retrieve",
955
955
  "pluginAlias": "@heroku/plugin-compute",
956
956
  "pluginName": "@heroku/plugin-compute",
957
957
  "pluginType": "core",
958
958
  "strict": true,
959
- "summary": "Stream the live runtime log for a compute app.",
960
- "enableJsonFlag": false,
961
- "requiresProject": false,
959
+ "summary": "Retrieve a compute app's source and metadata from an org into your local Salesforce DX project.",
960
+ "enableJsonFlag": true,
961
+ "requiresProject": true,
962
962
  "isESM": true,
963
963
  "relativePath": [
964
964
  "lib",
965
965
  "commands",
966
966
  "compute",
967
- "tail",
968
- "runtime-log.js"
967
+ "source",
968
+ "retrieve.js"
969
969
  ],
970
970
  "aliasPermutations": [],
971
971
  "permutations": [
972
- "compute:tail:runtime-log",
973
- "tail:compute:runtime-log",
974
- "tail:runtime-log:compute",
975
- "compute:runtime-log:tail",
976
- "runtime-log:compute:tail",
977
- "runtime-log:tail:compute"
972
+ "compute:source:retrieve",
973
+ "source:compute:retrieve",
974
+ "source:retrieve:compute",
975
+ "compute:retrieve:source",
976
+ "retrieve:compute:source",
977
+ "retrieve:source:compute"
978
978
  ]
979
979
  }
980
980
  },
981
- "version": "0.1.0"
981
+ "version": "0.2.0"
982
982
  }
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@heroku/plugin-compute",
3
3
  "description": "CLI for Compute",
4
- "version": "0.1.0",
4
+ "version": "0.2.0",
5
5
  "author": "Heroku",
6
6
  "bugs": "https://github.com/heroku/plugin-compute/issues",
7
7
  "dependencies": {
8
8
  "@oclif/core": "^4",
9
9
  "@salesforce/core": "^8.32.6",
10
- "@salesforce/kit": "^3.2.6",
10
+ "@salesforce/kit": "^4.0.1",
11
11
  "@salesforce/sf-plugins-core": "^12",
12
12
  "@salesforce/source-deploy-retrieve": "^12.37.2",
13
13
  "form-data": "^4.0.6",
@@ -80,7 +80,7 @@
80
80
  },
81
81
  "repository": {
82
82
  "type": "git",
83
- "url": "git+https://github.com/heroku/plugin-compute.git"
83
+ "url": "https://github.com/heroku/plugin-compute"
84
84
  },
85
85
  "scripts": {
86
86
  "clean": "rimraf lib tmp oclif.manifest.json *.tsbuildinfo .eslintcache",
@@ -1,11 +0,0 @@
1
- import type { components } from '../generated/heroku-platform-api.js';
2
- import type { TelemetryExporterType, TelemetrySignal } from './herokuProxyApi.js';
3
- export declare const TELEMETRY_SIGNALS: readonly TelemetrySignal[];
4
- export declare const TELEMETRY_TRANSPORTS: readonly string[];
5
- export declare function validateAndFormatSignals(input: string): TelemetrySignal[];
6
- export declare function exporterTypeForTransport(transport: string): TelemetryExporterType;
7
- export declare function transportLabelForExporterType(exporterType: string): string;
8
- export declare function formatTelemetryDrainRows(drain: components['schemas']['TelemetryDrain'], appName: string): Array<{
9
- key: string;
10
- value: string;
11
- }>;
@@ -1,78 +0,0 @@
1
- /*
2
- * Copyright 2026, Salesforce, Inc.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { Messages } from '@salesforce/core';
17
- import { PLUGIN_NAME } from './plugin-name.js';
18
- Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
19
- const messages = Messages.loadMessages(PLUGIN_NAME, 'compute.errors');
20
- // Placeholder for a drain field Heroku left unset -- matches the dash HerokuAppSummary/formation
21
- // rendering uses so single-drain display reads consistently with the other compute tables.
22
- const DASH = '-';
23
- // The three OpenTelemetry signal categories a drain can forward. Order matches the enum in
24
- // api-specs/heroku-platform-api.yaml (TelemetryDrain.signals); `all` is the shorthand for every one.
25
- export const TELEMETRY_SIGNALS = ['traces', 'metrics', 'logs'];
26
- // User-facing --transport values and the exporter type each maps to on Heroku's side. `grpc`/`http`
27
- // are the two OTLP wire protocols; `splunk` is its own exporter. Reversed for display by
28
- // transportLabelForExporterType below.
29
- const TRANSPORT_TO_EXPORTER = {
30
- grpc: 'otlp',
31
- http: 'otlphttp',
32
- splunk: 'splunk',
33
- };
34
- export const TELEMETRY_TRANSPORTS = Object.keys(TRANSPORT_TO_EXPORTER);
35
- // Ported from heroku/cli's `telemetry` command. DELIBERATELY case-sensitive, non-trimming, and
36
- // treats `all` only as the whole input (never as a comma-separated element) -- preserving behavioral
37
- // parity with heroku/cli. This is an explicit decision, not an oversight: the plugin is pre-GA and no
38
- // command consumes this yet, so staying strict now is the safe direction -- leniency (trimming,
39
- // case-insensitivity) can be loosened in later without breaking anyone, whereas tightening after GA
40
- // would break users. The companion unit tests lock each quirk (`Traces`/` traces`/`all,logs` all throw).
41
- export function validateAndFormatSignals(input) {
42
- if (input === 'all') {
43
- return [...TELEMETRY_SIGNALS];
44
- }
45
- const requested = input.split(',');
46
- const invalid = requested.filter(signal => !TELEMETRY_SIGNALS.includes(signal));
47
- if (invalid.length > 0) {
48
- throw messages.createError('error.invalidSignal', [invalid.join(', '), [...TELEMETRY_SIGNALS, 'all'].join(', ')]);
49
- }
50
- return requested;
51
- }
52
- // Maps a user-facing --transport onto Heroku's exporter type. Same strictness as signals above
53
- // (exact-match, no trim/case-fold); an unknown transport throws rather than silently defaulting.
54
- export function exporterTypeForTransport(transport) {
55
- if (!Object.hasOwn(TRANSPORT_TO_EXPORTER, transport)) {
56
- throw messages.createError('error.invalidTransport', [transport, TELEMETRY_TRANSPORTS.join(', ')]);
57
- }
58
- return TRANSPORT_TO_EXPORTER[transport];
59
- }
60
- // Display label for an exporter type: only `otlp` is gRPC; `otlphttp` and `splunk` both ride HTTP.
61
- export function transportLabelForExporterType(exporterType) {
62
- return exporterType === 'otlp' ? 'gRPC' : 'HTTP';
63
- }
64
- // Builds the ordered key/value rows for a single-drain display. App-only: the app name is passed in
65
- // (already resolved by the command), not re-derived from the drain's owner, since this foundation
66
- // never looks owners up. A follow-up `telemetry-drain info` command renders these rows.
67
- export function formatTelemetryDrainRows(drain, appName) {
68
- const headers = drain.exporter?.headers;
69
- const hasHeaders = headers !== undefined && Object.keys(headers).length > 0;
70
- return [
71
- { key: 'App', value: appName },
72
- { key: 'Signals', value: drain.signals && drain.signals.length > 0 ? drain.signals.join(', ') : DASH },
73
- { key: 'Endpoint', value: drain.exporter?.endpoint ?? DASH },
74
- { key: 'Transport', value: drain.exporter?.type ? transportLabelForExporterType(drain.exporter.type) : DASH },
75
- { key: 'Headers', value: hasHeaders ? JSON.stringify(headers) : DASH },
76
- ];
77
- }
78
- //# sourceMappingURL=computeTelemetryDrain.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"computeTelemetryDrain.js","sourceRoot":"","sources":["../../src/shared/computeTelemetryDrain.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAC,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAK1C,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAE7C,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,WAAW,EAAE,gBAAgB,CAAC,CAAC;AAEtE,iGAAiG;AACjG,2FAA2F;AAC3F,MAAM,IAAI,GAAG,GAAG,CAAC;AAEjB,2FAA2F;AAC3F,qGAAqG;AACrG,MAAM,CAAC,MAAM,iBAAiB,GAA+B,CAAC,QAAQ,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;AAE3F,oGAAoG;AACpG,yFAAyF;AACzF,uCAAuC;AACvC,MAAM,qBAAqB,GAAG;IAC5B,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,UAAU;IAChB,MAAM,EAAE,QAAQ;CACwC,CAAC;AAE3D,MAAM,CAAC,MAAM,oBAAoB,GAAsB,MAAM,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;AAI1F,+FAA+F;AAC/F,qGAAqG;AACrG,sGAAsG;AACtG,gGAAgG;AAChG,oGAAoG;AACpG,yGAAyG;AACzG,MAAM,UAAU,wBAAwB,CAAC,KAAa;IACpD,IAAI,KAAK,KAAK,KAAK,EAAE,CAAC;QACpB,OAAO,CAAC,GAAG,iBAAiB,CAAC,CAAC;IAChC,CAAC;IAED,MAAM,SAAS,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACnC,MAAM,OAAO,GAAG,SAAS,CAAC,MAAM,CAAC,MAA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