Skip to content

Commit 42c05c8

Browse files
authored
feat: make matches public on RewriterHandler (#17)
1 parent 62fa8f1 commit 42c05c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/RewriteHandler.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ interface RewriterMatch {
1212
* This class handles rewriting the query and the reponse according to the rewriters passed in
1313
*/
1414
export default class RewriteHandler {
15+
public matches: RewriterMatch[] = [];
16+
1517
private rewriters: Rewriter[];
16-
private matches: RewriterMatch[] = [];
1718
private hasProcessedRequest: boolean = false;
1819
private hasProcessedResponse: boolean = false;
1920

0 commit comments

Comments
 (0)