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

Remove static stuff from *Message classes #1503

Merged

Conversation

lawrence-forooghian
Copy link
Collaborator

Note: This PR is based on top of #1443; please review that one first.

Replace them by standalone exports, which can be tree-shaken.

(My eye was in particular caught by the Message.encrypt function, which I was thinking it would be good to — at some point — bundle only if the Crypto module is used. This change isn’t made here though.)

@github-actions github-actions bot temporarily deployed to staging/pull/1503/features November 16, 2023 14:45 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1503/bundle-report November 16, 2023 14:46 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1503/typedoc November 16, 2023 14:46 Inactive
@lawrence-forooghian lawrence-forooghian force-pushed the remove-static-from-Message-classes branch from cce7de2 to 4ae8580 Compare November 16, 2023 16:25
@github-actions github-actions bot temporarily deployed to staging/pull/1503/features November 16, 2023 16:26 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1503/typedoc November 16, 2023 16:26 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1503/bundle-report November 16, 2023 16:26 Inactive
@lawrence-forooghian lawrence-forooghian marked this pull request as ready for review November 17, 2023 14:35
@lawrence-forooghian lawrence-forooghian force-pushed the remove-static-from-Message-classes branch from 4ae8580 to b59bd66 Compare November 22, 2023 16:16
@lawrence-forooghian
Copy link
Collaborator Author

@owenpearson I've just pushed a change to fix a typo in a comment.

@github-actions github-actions bot temporarily deployed to staging/pull/1503/features November 22, 2023 16:17 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1503/bundle-report November 22, 2023 16:17 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1503/typedoc November 22, 2023 16:18 Inactive
@lawrence-forooghian lawrence-forooghian force-pushed the 1443-add-documentation-for-tree-shakable-version branch 2 times, most recently from 72ba373 to d750acd Compare November 22, 2023 19:20
@lawrence-forooghian lawrence-forooghian force-pushed the remove-static-from-Message-classes branch from b59bd66 to 3b881f8 Compare November 22, 2023 19:24
@github-actions github-actions bot temporarily deployed to staging/pull/1503/features November 22, 2023 19:24 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1503/bundle-report November 22, 2023 19:25 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1503/typedoc November 22, 2023 19:25 Inactive
@lawrence-forooghian lawrence-forooghian force-pushed the 1443-add-documentation-for-tree-shakable-version branch from d750acd to 48ede7f Compare November 23, 2023 14:43
@lawrence-forooghian lawrence-forooghian force-pushed the remove-static-from-Message-classes branch from 3b881f8 to ed5ff7d Compare November 23, 2023 14:44
@github-actions github-actions bot temporarily deployed to staging/pull/1503/features November 23, 2023 14:44 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1503/bundle-report November 23, 2023 14:44 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1503/typedoc November 23, 2023 14:45 Inactive
Base automatically changed from 1443-add-documentation-for-tree-shakable-version to integration/v2 November 24, 2023 18:10
@lawrence-forooghian lawrence-forooghian force-pushed the remove-static-from-Message-classes branch from ed5ff7d to c09cee7 Compare November 27, 2023 13:03
Replace them by standalone exports, which can be tree-shaken.

(My eye was in particular caught by the Message.encrypt function, which
I was thinking it would be good to — at some point — bundle only if the
Crypto module is used. This change isn’t made here though.)
Copy link
Member

@owenpearson owenpearson left a comment

Choose a reason for hiding this comment

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

Looks good 👍

@lawrence-forooghian lawrence-forooghian merged commit a395593 into integration/v2 Nov 27, 2023
12 checks passed
@lawrence-forooghian lawrence-forooghian deleted the remove-static-from-Message-classes branch November 27, 2023 19:15
@VeskeR VeskeR mentioned this pull request Mar 1, 2024
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants