@cloudscape-design/component-toolkit
Advanced tools
Comparing version 1.0.0-beta.58 to 1.0.0-beta.59
@@ -26,4 +26,5 @@ import { MetricsV2EventItem } from './log-clients'; | ||
} | ||
export declare function clearOneTimeMetricsCache(): void; | ||
export declare class MetricsTestHelper { | ||
resetOneTimeMetricsCache(): void; | ||
resetOneTimeMetricsCache: typeof clearOneTimeMetricsCache; | ||
} |
@@ -82,6 +82,9 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
} | ||
export function clearOneTimeMetricsCache() { | ||
oneTimeMetrics.clear(); | ||
} | ||
export class MetricsTestHelper { | ||
resetOneTimeMetricsCache() { | ||
oneTimeMetrics.clear(); | ||
constructor() { | ||
this.resetOneTimeMetricsCache = clearOneTimeMetricsCache; | ||
} | ||
} |
@@ -14,2 +14,2 @@ export { useComponentMetadata, COMPONENT_METADATA_KEY } from './base-component/component-metadata'; | ||
export { KeyCode, isModifierKey } from './keycode'; | ||
export { getGlobalFlag, setGlobalFlag } from './global-flags'; | ||
export { getGlobalFlag } from './global-flags'; |
@@ -16,2 +16,2 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
export { KeyCode, isModifierKey } from './keycode'; | ||
export { getGlobalFlag, setGlobalFlag } from './global-flags'; | ||
export { getGlobalFlag } from './global-flags'; |
{ | ||
"commit": "8c373b008dffbc976ef5e5eca191b1727d968e0c" | ||
"commit": "11aa841d1248b1f308b41f60130739d87603f598" | ||
} |
{ | ||
"name": "@cloudscape-design/component-toolkit", | ||
"version": "1.0.0-beta.58", | ||
"version": "1.0.0-beta.59", | ||
"files": [ | ||
@@ -18,2 +18,3 @@ "container-queries", | ||
"./internal": "./internal/index.js", | ||
"./internal/testing": "./internal/testing/index.js", | ||
"./internal/analytics-metadata": "./internal/analytics-metadata/index.js", | ||
@@ -20,0 +21,0 @@ "./internal/analytics-metadata/utils": "./internal/analytics-metadata/utils.js", |
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
83702
77
1666