Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@esri/telemetry

Package Overview
Dependencies
Maintainers
42
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@esri/telemetry - npm Package Compare versions

Comparing version 6.0.0 to 6.1.0

4

dist/esm/index.js

@@ -221,11 +221,15 @@ import sha256 from 'crypto-js/sha256.js';

disableTracker(trackerName) {
var _a;
const tracker = this.trackers.find(({ name }) => name === trackerName);
if (tracker) {
tracker.disabled = true;
(_a = tracker.disable) === null || _a === void 0 ? void 0 : _a.call(tracker);
}
}
enableTracker(trackerName) {
var _a;
const tracker = this.trackers.find(({ name }) => name === trackerName);
if (tracker) {
tracker.disabled = false;
(_a = tracker.enable) === null || _a === void 0 ? void 0 : _a.call(tracker);
}

@@ -232,0 +236,0 @@ }

@@ -225,11 +225,15 @@ "use strict";

disableTracker(trackerName) {
var _a;
const tracker = this.trackers.find(({ name }) => name === trackerName);
if (tracker) {
tracker.disabled = true;
(_a = tracker.disable) === null || _a === void 0 ? void 0 : _a.call(tracker);
}
}
enableTracker(trackerName) {
var _a;
const tracker = this.trackers.find(({ name }) => name === trackerName);
if (tracker) {
tracker.disabled = false;
(_a = tracker.enable) === null || _a === void 0 ? void 0 : _a.call(tracker);
}

@@ -236,0 +240,0 @@ }

@@ -42,2 +42,4 @@ export declare type GenericObject = {

logPageView?(page: string, attributes: any): Promise<unknown>;
enable?(): void;
disable?(): void;
}

@@ -44,0 +46,0 @@ export interface User {

@@ -1402,11 +1402,15 @@ (function (global, factory) {

disableTracker(trackerName) {
var _a;
const tracker = this.trackers.find(({ name }) => name === trackerName);
if (tracker) {
tracker.disabled = true;
(_a = tracker.disable) === null || _a === void 0 ? void 0 : _a.call(tracker);
}
}
enableTracker(trackerName) {
var _a;
const tracker = this.trackers.find(({ name }) => name === trackerName);
if (tracker) {
tracker.disabled = false;
(_a = tracker.enable) === null || _a === void 0 ? void 0 : _a.call(tracker);
}

@@ -1413,0 +1417,0 @@ }

@@ -1402,11 +1402,15 @@ (function (global, factory) {

disableTracker(trackerName) {
var _a;
const tracker = this.trackers.find(({ name }) => name === trackerName);
if (tracker) {
tracker.disabled = true;
(_a = tracker.disable) === null || _a === void 0 ? void 0 : _a.call(tracker);
}
}
enableTracker(trackerName) {
var _a;
const tracker = this.trackers.find(({ name }) => name === trackerName);
if (tracker) {
tracker.disabled = false;
(_a = tracker.enable) === null || _a === void 0 ? void 0 : _a.call(tracker);
}

@@ -1413,0 +1417,0 @@ }

4

package.json
{
"name": "@esri/telemetry",
"version": "6.0.0",
"version": "6.1.0",
"description": "A JavaScript Implementation of the ArcGIS Telemetry Specification",

@@ -55,3 +55,3 @@ "main": "dist/node/index.js",

},
"gitHead": "135cc7bacd23bfa1c56caceecd17b6d9330cc75c"
"gitHead": "d3d214ef1337a38c7dc7c04ec9042e2676b2813f"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc