From f5db8be041e2e88f2785aa201663ebfd2c4d988c Mon Sep 17 00:00:00 2001 From: Ehsan Barooni <66495214+ebarooni@users.noreply.github.com> Date: Sun, 8 Dec 2024 00:09:30 +0100 Subject: [PATCH] feat(performance): add missing methods (#505) Change return of getAttributes on the web. --- packages/performance/src/web.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/performance/src/web.ts b/packages/performance/src/web.ts index 2c92611f..b45dc1ab 100644 --- a/packages/performance/src/web.ts +++ b/packages/performance/src/web.ts @@ -91,7 +91,7 @@ export class FirebasePerformanceWeb }: GetAttributesOptions): Promise { const trace = this.traces[traceName]; if (!trace) throw new Error(traceNotFoundError); - return { value: trace.getAttributes() }; + return { result: trace.getAttributes() }; } public async removeAttribute({