@ravti/analytics
Advanced tools
Comparing version 21.6.2-beta.0 to 21.6.2-beta.1
"use strict"; | ||
module.exports = require("./constants"); | ||
module.exports.RavtiAnalytics = require("./analytics"); | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
var _exportNames = { | ||
RavtiAnalytics: true | ||
}; | ||
Object.defineProperty(exports, "RavtiAnalytics", { | ||
enumerable: true, | ||
get: function get() { | ||
return _analytics.default; | ||
} | ||
}); | ||
var _analytics = _interopRequireDefault(require("./analytics")); | ||
var _constants = require("./constants"); | ||
Object.keys(_constants).forEach(function (key) { | ||
if (key === "default" || key === "__esModule") return; | ||
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; | ||
Object.defineProperty(exports, key, { | ||
enumerable: true, | ||
get: function get() { | ||
return _constants[key]; | ||
} | ||
}); | ||
}); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } |
{ | ||
"name": "@ravti/analytics", | ||
"version": "21.6.2-beta.0", | ||
"version": "21.6.2-beta.1", | ||
"description": "Ravti analytics", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
/* global it, expect */ | ||
import RavtiAnalytics from "../src/analytics"; | ||
import { RavtiAnalytics, USER_VIEWED_CHANGELOG } from "../src"; | ||
@@ -9,1 +9,5 @@ it("should have the interface methods", () => { | ||
}); | ||
it("should export the event names", () => { | ||
expect(typeof USER_VIEWED_CHANGELOG).toEqual("string"); | ||
}); |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
33528
867
0