Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor/plugins #38

Merged
merged 24 commits into from
Jan 17, 2024
Merged

Refactor/plugins #38

merged 24 commits into from
Jan 17, 2024

Conversation

wqcstrong
Copy link
Collaborator

@wqcstrong wqcstrong commented Jan 13, 2024

@huolala-tech/page-spy-browser

  • Update plugins' lifecycle (onInit / onMounted / onReset);
  • Support register plugin (PageSpy.registerPlugin());
  • Support disable plugin in config (new PageSpy({ disabledPlugins: [] }))
  • Support destroy / reset PageSpy (PageSpy.prototype.abort method)
  • Support plugin dispatch messages (socketStore.dispatchEvent('public-data', data) in each plugin)
  • Update unit-tests

@huolala-tech/page-spy-wechat

  • Update plugins' lifecycle (onInit / onMounted / onReset);
  • Support register plugin (PageSpy.registerPlugin());
  • Support disable plugin in config (new PageSpy({ disabledPlugins: [] }))
  • Support destroy / reset PageSpy (PageSpy.prototype.abort method)
  • Support plugin dispatch messages (socketStore.dispatchEvent('public-data', data) in each plugin)
  • Update unit-tests

@wqcstrong wqcstrong requested a review from qkang07 January 13, 2024 08:43
@wqcstrong wqcstrong merged commit 5ee0f74 into main Jan 17, 2024
1 check passed
@wqcstrong wqcstrong deleted the refactor/plugins branch January 19, 2024 07:22
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