@atlaskit/analytics-next
Advanced tools
Comparing version 5.4.0 to 5.4.1
# @atlaskit/analytics-next | ||
## 5.4.1 | ||
### Patch Changes | ||
- [patch][1439241943](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1439241943): | ||
Adding error boundary in media picker dropzone | ||
## 5.4.0 | ||
@@ -19,3 +27,3 @@ | ||
// Wrapping your component with the component | ||
class ButtonWithAnalyticsErrorBoundary etends React.Component { | ||
class ButtonWithAnalyticsErrorBoundary extends React.Component { | ||
handleEvent = (analyticsEvent) => { | ||
@@ -22,0 +30,0 @@ const { payload, context } = analyticsEvent; |
{ | ||
"name": "@atlaskit/analytics-next", | ||
"version": "5.4.0", | ||
"version": "5.4.1", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/analytics-next", | ||
"version": "5.4.0", | ||
"version": "5.4.1", | ||
"sideEffects": false | ||
} |
@@ -141,3 +141,3 @@ // @flow | ||
// Wrapping your component with the component | ||
class ButtonWithAnalyticsErrorBoundary etends React.Component { | ||
class ButtonWithAnalyticsErrorBoundary extends React.Component { | ||
handleEvent = (analyticsEvent) => { | ||
@@ -144,0 +144,0 @@ const { payload, context } = analyticsEvent; |
@@ -193,2 +193,15 @@ declare module '@atlaskit/analytics-next' { | ||
export function cleanProps(props: ObjectType): ObjectType; | ||
/** | ||
* AnalyticsErrorBoundary | ||
*/ | ||
export type AnalyticsErrorBoundaryProps = { | ||
children: React.ReactNode; | ||
data: ObjectType; | ||
channel: string; | ||
}; | ||
export class AnalyticsErrorBoundary extends React.Component< | ||
AnalyticsErrorBoundaryProps | ||
> {} | ||
} |
{ | ||
"name": "@atlaskit/analytics-next", | ||
"version": "5.4.0", | ||
"version": "5.4.1", | ||
"description": "The 🆕 Atlaskit component analytics framework", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
{ | ||
"name": "@atlaskit/analytics-next", | ||
"version": "5.4.0", | ||
"version": "5.4.1", | ||
"sideEffects": false | ||
} |
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
199286
2870