telemetry-js-beacon
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -1,2 +0,2 @@ | ||
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | ||
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.TelemetryReferrer = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | ||
'use strict'; | ||
@@ -12,5 +12,5 @@ | ||
var TelemetryReferrer = function () { | ||
function TelemetryReferrer() { | ||
_classCallCheck(this, TelemetryReferrer); | ||
var _class = function () { | ||
function _class() { | ||
_classCallCheck(this, _class); | ||
@@ -34,3 +34,3 @@ if (!this.testStorage()) { | ||
_createClass(TelemetryReferrer, [{ | ||
_createClass(_class, [{ | ||
key: 'testStorage', | ||
@@ -107,9 +107,9 @@ value: function testStorage() { | ||
return TelemetryReferrer; | ||
return _class; | ||
}(); | ||
exports.default = _class; | ||
; | ||
exports.default = TelemetryReferrer; | ||
},{}]},{},[1]); | ||
},{}]},{},[1])(1) | ||
}); |
{ | ||
"name": "telemetry-js-beacon", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "Tracking referrals for Telemetry data-records", | ||
@@ -9,3 +9,3 @@ "main": "./dist/index.js", | ||
"prepublish": "npm run build-for-npm", | ||
"build-for-npm": "./node_modules/browserify/bin/cmd.js src/index.js -o dist/index.js -t babelify", | ||
"build-for-npm": "./node_modules/browserify/bin/cmd.js src/index.js --standalone TelemetryReferrer -o dist/index.js -t babelify", | ||
"build-js": "./node_modules/browserify/bin/cmd.js src/index.js --standalone Telemetry -o public/index.js -t babelify", | ||
@@ -12,0 +12,0 @@ "watch-js": "./node_modules/watchify/bin/cmd.js src/index.js --standalone Telemetry -o public/index.js -t babelify -v" |
@@ -1,2 +0,2 @@ | ||
class TelemetryReferrer { | ||
export default class { | ||
@@ -80,2 +80,1 @@ constructor() { | ||
export default TelemetryReferrer |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
103588
163