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

@launcher/component

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@launcher/component - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

build/types/analytics/google-analytics.d.ts

2

build/types/analytics/analytics.d.ts
export interface Analytics {
init(): any;
pageview(path: string): any;
event(name: string, action: string, label?: string, value?: number, params?: object): any;
event(category: string, action: string, label?: string, value?: number, params?: object): any;
}
export * from './analytics';
export * from './google-analytics';
export * from './analytics-context';

@@ -6,2 +6,13 @@ # Change Log

# [1.3.0](https://github.com/fabric8-launcher/launcher-frontend/compare/v1.2.0...v1.3.0) (2019-07-04)
### Features
* introduce Google Analytics implementation ([#1314](https://github.com/fabric8-launcher/launcher-frontend/issues/1314)) ([f3d73bd](https://github.com/fabric8-launcher/launcher-frontend/commit/f3d73bd))
# [1.2.0](https://github.com/fabric8-launcher/launcher-frontend/compare/v1.1.0...v1.2.0) (2019-07-03)

@@ -8,0 +19,0 @@

{
"name": "@launcher/component",
"version": "1.2.0",
"version": "1.3.0",
"license": "Apache-2.0",

@@ -28,2 +28,3 @@ "main": "build/index.js",

"@storybook/theming": "5.0.9",
"@types/google.analytics": "0.0.40",
"@types/storybook__addon-actions": "3.4.2",

@@ -38,3 +39,3 @@ "@types/storybook__react": "4.0.1",

},
"gitHead": "46bcc73bbfd907aa70632fac396adb5ca0d7ea38"
"gitHead": "7a64d27039e11e593506d4248d08fe25a6b3046d"
}

@@ -13,4 +13,4 @@ import React, { useContext } from 'react';

event(name: string, action: string, label?: string, value?: number, params?: object) {
console.log(`analytics>event(${name}, ${action}, ${label}, ${value})`)
event(category: string, action: string, label?: string, value?: number, params?: object) {
console.log(`analytics>event(${category}, ${action}, ${label}, ${value})`)
}

@@ -17,0 +17,0 @@ }

export interface Analytics {
init();
pageview(path: string);
event(name: string, action: string, label?: string, value?: number, params?: object);
event(category: string, action: string, label?: string, value?: number, params?: object);
}
export * from './analytics';
export * from './google-analytics';
export * from './analytics-context';

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

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