New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@devboldly/react-use-google-analytics-embed-api

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@devboldly/react-use-google-analytics-embed-api - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

112

dist/hooks/GoogleAnalyticsEmbedAPI.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var throwError = function (className) {
if (className === void 0) { className = 'API'; }
throw Error(className + ' class must be accessed via the Google Analytics Embed API.');
};
/**
* The Data component allows you to query the Google Analytics Core Reporting API and get back the results.
*
* See: https://developers.google.com/analytics/devguides/reporting/embed/v1/component-reference#data
*/
var Data = /** @class */ (function () {
function Data(options) {
throwError('Data');
}
Data.prototype.set = function (options) {
return throwError('Data');
};
Data.prototype.get = function () {
return throwError('Data');
};
Data.prototype.execute = function () {
return throwError('Data');
};
Data.prototype.on = function (event, handler) {
return throwError('Data');
};
Data.prototype.once = function (event, handler) {
return throwError('Data');
};
Data.prototype.off = function (optEvent, optHandler) {
throwError('Data');
};
Data.prototype.emit = function (event) {
var optArgs = [];
for (var _i = 1; _i < arguments.length; _i++) {
optArgs[_i - 1] = arguments[_i];
}
throwError('Data');
};
return Data;
}());
/**
* DataChart wraps a standard Google chart and a Data component so you can easily create a visualization from a query without having to wire it together yourself.
*
* See: https://developers.google.com/analytics/devguides/reporting/embed/v1/component-reference#datachart
*/
var DataChart = /** @class */ (function () {
function DataChart(options) {
throwError('DataChart');
}
DataChart.prototype.set = function (options) {
return throwError('DataChart');
};
DataChart.prototype.get = function () {
return throwError('DataChart');
};
DataChart.prototype.execute = function () {
return throwError('DataChart');
};
DataChart.prototype.on = function (event, handler) {
return throwError('DataChart');
};
DataChart.prototype.once = function (event, handler) {
return throwError('DataChart');
};
DataChart.prototype.off = function (optEvent, optHandler) {
throwError('DataChart');
};
DataChart.prototype.emit = function (event) {
var optArgs = [];
for (var _i = 1; _i < arguments.length; _i++) {
optArgs[_i - 1] = arguments[_i];
}
throwError('DataChart');
};
return DataChart;
}());
/**
* The ViewSelector component allows you to choose your account, property, and view via dropdown menus.
*
* See: https://developers.google.com/analytics/devguides/reporting/embed/v1/component-reference#viewselector
*/
var ViewSelector = /** @class */ (function () {
function ViewSelector(options) {
throwError('ViewSelector');
}
ViewSelector.prototype.set = function (options) {
return throwError('ViewSelector');
};
ViewSelector.prototype.get = function () {
return throwError('ViewSelector');
};
ViewSelector.prototype.execute = function () {
return throwError('ViewSelector');
};
ViewSelector.prototype.on = function (event, handler) {
return throwError('ViewSelector');
};
ViewSelector.prototype.once = function (event, handler) {
return throwError('ViewSelector');
};
ViewSelector.prototype.off = function (optEvent, optHandler) {
throwError('ViewSelector');
};
ViewSelector.prototype.emit = function (event) {
var optArgs = [];
for (var _i = 1; _i < arguments.length; _i++) {
optArgs[_i - 1] = arguments[_i];
}
throwError('ViewSelector');
};
return ViewSelector;
}());

2

package.json
{
"name": "@devboldly/react-use-google-analytics-embed-api",
"version": "0.0.4",
"version": "0.0.5",
"author": "Dev Boldly <devboldly@gmail.com>",

@@ -5,0 +5,0 @@ "description": "React hook to async load the Google Analytics Embed API.",

Sorry, the diff of this file is too big to display

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