Skip to content

Commit

Permalink
Merge pull request #643 from salesforcecli/sm/use-connection-string
Browse files Browse the repository at this point in the history
fix: use connection string
  • Loading branch information
shetzel authored Jun 21, 2024
2 parents b642524 + 39ac32c commit 6f93c5f
Show file tree
Hide file tree
Showing 4 changed files with 1,001 additions and 1,140 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"bugs": "https://github.com/forcedotcom/cli/issues",
"dependencies": {
"@oclif/core": "^4.0.6",
"@salesforce/core": "^8.0.1",
"@salesforce/core": "^8.0.2",
"@salesforce/kit": "^3.1.6",
"@salesforce/sf-plugins-core": "^11.1.1",
"@salesforce/telemetry": "^6.0.14",
Expand All @@ -15,13 +15,13 @@
},
"devDependencies": {
"@oclif/plugin-command-snapshot": "^5.2.3",
"@oclif/plugin-help": "^6.1.0",
"@oclif/plugin-help": "^6.2.3",
"@salesforce/cli-plugins-testkit": "^5.3.15",
"@salesforce/dev-scripts": "^10.2.2",
"@salesforce/plugin-command-reference": "^3.1.5",
"@salesforce/ts-sinon": "^1.4.15",
"@salesforce/ts-sinon": "^1.4.22",
"@types/debug": "^4.1.12",
"oclif": "^4.7.1",
"oclif": "^4.13.8",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
},
Expand Down
2 changes: 1 addition & 1 deletion src/telemetry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { EOL, tmpdir } from 'node:os';
import { join } from 'node:path';
import type { Attributes } from '@salesforce/telemetry';
import { AsyncCreatable, env } from '@salesforce/kit';
import { SfError } from '@salesforce/core';
import { SfError } from '@salesforce/core/sfError';
import { isBoolean, isNumber, isString, JsonMap } from '@salesforce/ts-types';
import { debug } from './debugger.js';
import { guessCISystem } from './guessCI.js';
Expand Down
6 changes: 3 additions & 3 deletions src/uploader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*/

/* eslint-disable no-await-in-loop */
import { SfError } from '@salesforce/core';
import { SfError } from '@salesforce/core/sfError';
import { asString, Dictionary } from '@salesforce/ts-types';
import Telemetry from './telemetry.js';
import { debug } from './debugger.js';
Expand All @@ -16,7 +15,8 @@ import { TelemetryGlobal } from './telemetryGlobal.js';
declare const global: TelemetryGlobal;

const PROJECT = 'salesforce-cli';
const APP_INSIGHTS_KEY = '2ca64abb-6123-4c7b-bd9e-4fe73e71fe9c';
const APP_INSIGHTS_KEY =
'InstrumentationKey=2ca64abb-6123-4c7b-bd9e-4fe73e71fe9c;IngestionEndpoint=https://eastus-1.in.applicationinsights.azure.com/;LiveEndpoint=https://eastus.livediagnostics.monitor.azure.com/;ApplicationId=ecd8fa7a-0e0d-4109-94db-4d7878ada862';

export class Uploader {
private constructor(private telemetry: Telemetry, private version: string) {}
Expand Down
Loading

0 comments on commit 6f93c5f

Please sign in to comment.