matrix-js-sdk
db9936e0 - Standardise content type handling in MSC3089 createFile() and createNewVersion() (#2014)

Commit
3 years ago
Standardise content type handling in MSC3089 createFile() and createNewVersion() (#2014) * Provide cross platform compatible versions of createFile() and createNewVersion() The exist implementations are deprecated as they only work in a browser and support a different type of contents from MatrixClient.uploadContent() * Fix MSC3089 content upload meta data in NodeJS runtime * Break unstable createFile() and createNewVersion() instead of deprecating Test using NodeJS types instead of mocked browser Blob * chore: remove incorrect comment
Author
Parents
  • spec
    • File
      MockBlob.ts
    • unit/models
      • File
        MSC3089Branch.spec.ts
      • File
        MSC3089TreeSpace.spec.ts
  • src/models
    • File
      MSC3089Branch.ts
    • File
      MSC3089TreeSpace.ts