Skip to content

Conversation

matux
Copy link
Contributor

@matux matux commented Oct 14, 2025

Description of the change

  • Updates type definition files
  • Adds ReplayType
  • Fixes Component type still using recorder
  • Fixes examples that use recorder Component

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Maintenance
  • New release

@matux matux requested a review from Copilot October 14, 2025 13:03
@matux matux self-assigned this Oct 14, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes type definitions and component definitions by updating references from the old recorder module to the new replay module across the codebase. The changes ensure consistency between the module exports and their usage in examples.

  • Updates CommonJS export to reference replay.js instead of recorder.js
  • Updates all example files to import and use replay component instead of recorder
  • Maintains consistent naming convention across all component registration calls

Reviewed Changes

Copilot reviewed 6 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/browser/replay/replay.cjs Updates CommonJS module export to reference replay.js
examples/webpack-require/src/index.js Updates component import and registration from recorder to replay
examples/react-ts-components/src/rollbar.ts Updates TypeScript example to use replay component
examples/react-js-components/src/rollbar.js Updates React JS example to use replay component
examples/node-components/src/test.js Updates Node.js test file to use replay component
examples/node-components/src/index.ts Updates Node.js TypeScript example to use replay component

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

): void;
start(): this;
stop(): this;
clear(): void;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file can be deleted since it's no longer the component.

Copy link
Contributor Author

@matux matux Oct 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's used by the IDE's own internal TS, I find it useful, that's why I didn't remove it. I did remove the cjs file, tho.

@matux matux merged commit 1f78c3c into master Oct 14, 2025
6 checks passed
@matux matux deleted the matux/fix-d-ts branch October 14, 2025 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants