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

Fix re-exports for SAS.ts #3405

Merged
merged 1 commit into from
May 24, 2023

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented May 24, 2023

These three are only types, not objects we can export.

Fixes warnings in EW (and probably some build failures for someone somewhere):

2023-05-24 11:27:28.294 [element-js] WARNING in ../matrix-js-sdk/src/crypto/verification/SAS.ts 31:0-123
2023-05-24 11:27:28.294 [element-js] "export 'EmojiMapping' was not found in '../../crypto-api/verification'
2023-05-24 11:27:28.294 [element-js]
2023-05-24 11:27:28.294 [element-js] WARNING in ../matrix-js-sdk/src/crypto/verification/SAS.ts 31:0-123
2023-05-24 11:27:28.294 [element-js] "export 'GeneratedSas' (reexported as 'IGeneratedSas') was not found in '../../crypto-api/verification'
2023-05-24 11:27:28.294 [element-js]
2023-05-24 11:27:28.294 [element-js] WARNING in ../matrix-js-sdk/src/crypto/verification/SAS.ts 31:0-123
2023-05-24 11:27:28.294 [element-js] "export 'ShowSasCallbacks' (reexported as 'ISasEvent') was not found in '../../crypto-api/verification'

Followup to #3386.


This change is marked as an internal change (Task), so will not be included in the changelog.

These three are only types, not objects we can export.

Fixes warnings in EW (and probably some build failures for someone somewhere):

```
2023-05-24 11:27:28.294 [element-js] WARNING in ../matrix-js-sdk/src/crypto/verification/SAS.ts 31:0-123
2023-05-24 11:27:28.294 [element-js] "export 'EmojiMapping' was not found in '../../crypto-api/verification'
2023-05-24 11:27:28.294 [element-js]
2023-05-24 11:27:28.294 [element-js] WARNING in ../matrix-js-sdk/src/crypto/verification/SAS.ts 31:0-123
2023-05-24 11:27:28.294 [element-js] "export 'GeneratedSas' (reexported as 'IGeneratedSas') was not found in '../../crypto-api/verification'
2023-05-24 11:27:28.294 [element-js]
2023-05-24 11:27:28.294 [element-js] WARNING in ../matrix-js-sdk/src/crypto/verification/SAS.ts 31:0-123
2023-05-24 11:27:28.294 [element-js] "export 'ShowSasCallbacks' (reexported as 'ISasEvent') was not found in '../../crypto-api/verification'
```
@t3chguy
Copy link
Member

t3chguy commented May 24, 2023

@richvdh does this need backporting given the release blocker label?

@richvdh richvdh added the T-Task Tasks for the team like planning label May 24, 2023
@richvdh
Copy link
Member Author

richvdh commented May 24, 2023

@richvdh does this need backporting given the release blocker label?

I think that would be best. According to #3250, while this sort of thing only causes errors warnings in Webpack, it causes actual errors in Vite.

@richvdh richvdh added this pull request to the merge queue May 24, 2023
@t3chguy
Copy link
Member

t3chguy commented May 24, 2023

#3386 isn't in the RC though, so this isn't a release blocker for this cycle.

@richvdh
Copy link
Member Author

richvdh commented May 24, 2023

#3386 isn't in the RC though, so this isn't a release blocker for this cycle.

ah my mistake, thanks

Merged via the queue into develop with commit d7bcdff May 24, 2023
@richvdh richvdh deleted the rav/element-r/12_fix_verifier_events_re_export branch May 24, 2023 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Task Tasks for the team like planning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants