@cloudscape-design/component-toolkit
Advanced tools
Comparing version 1.0.0-beta.70 to 1.0.0-beta.71
export interface MetricsV2EventItem { | ||
eventName?: string; | ||
eventType?: string; | ||
@@ -3,0 +4,0 @@ eventContext?: string; |
@@ -30,2 +30,10 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
} | ||
else { | ||
new PanoramaClient().sendMetric({ | ||
eventName: metricName, | ||
eventDetail: detail, | ||
eventValue: `${value}`, | ||
timestamp: Date.now(), | ||
}); | ||
} | ||
} | ||
@@ -63,2 +71,6 @@ findAWSC(currentWindow) { | ||
} | ||
if (!validateLength(metric.eventName, 1000)) { | ||
console.error(`Event name for metric is too long: ${metric.eventName}`); | ||
return; | ||
} | ||
if (!validateLength(metric.eventDetail, 4000)) { | ||
@@ -65,0 +77,0 @@ console.error(`Event detail for metric is too long: ${metric.eventDetail}`); |
{ | ||
"commit": "877ec3219288bad001bcdae970a8414afe765426" | ||
"commit": "d5a6726b5acd165f100e8f390a2642d6a8e9432f" | ||
} |
{ | ||
"name": "@cloudscape-design/component-toolkit", | ||
"version": "1.0.0-beta.70", | ||
"version": "1.0.0-beta.71", | ||
"files": [ | ||
@@ -5,0 +5,0 @@ "container-queries", |
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
84445
1688