Skip to content

Commit eddeb8e

Browse files
committed
Add deleteDoc unwrapper
1 parent 767a417 commit eddeb8e

File tree

1 file changed

+5
-0
lines changed
  • packages/node/src/integrations/tracing/firebase/otel/patches

1 file changed

+5
-0
lines changed

packages/node/src/integrations/tracing/firebase/otel/patches/firestore.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,11 @@ function unwrapMethods(
138138
unwrap(moduleExports, 'setDoc');
139139
}
140140

141+
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
142+
if (isWrapped(moduleExports.deleteDoc)) {
143+
unwrap(moduleExports, 'deleteDoc');
144+
}
145+
141146
return moduleExports;
142147
}
143148

0 commit comments

Comments
 (0)