Skip to content

Commit fc05c52

Browse files
committed
disallow config
1 parent 5a4ad34 commit fc05c52

File tree

3 files changed

+4
-57
lines changed

3 files changed

+4
-57
lines changed

packages/browser-integration-tests/suites/replay/canvas/withCustomOptions/init.js

Lines changed: 0 additions & 21 deletions
This file was deleted.

packages/browser-integration-tests/suites/replay/canvas/withCustomOptions/test.ts

Lines changed: 0 additions & 34 deletions
This file was deleted.

packages/replay/src/canvas.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@ export class ReplayCanvas implements Integration {
2121

2222
private _canvasOptions: ReplayCanvasOptions;
2323

24-
public constructor(options?: Partial<ReplayCanvasOptions>) {
24+
public constructor() {
2525
this.name = ReplayCanvas.id;
26+
// TODO FN: Allow to configure this
27+
// But since we haven't finalized how to configure this, this is predefined for now
28+
// to avoid breaking changes
2629
this._canvasOptions = {
2730
fps: 4,
2831
quality: 0.6,
29-
...options,
3032
};
3133
}
3234

0 commit comments

Comments
 (0)