hunk.code_window:  */
   module.exports.app = (optionsArg = {}) => {
     validateConfig(optionsArg)
     const options = merge({}, defaultOptions, optionsArg)
     const providers = providerManager.getDefaultProviders()
     const searchProviders = providerManager.getSearchProviders()
     providerManager.addProviderOptions(options, grantConfig)
  
hunk.labels: keep keep keep keep add keep keep keep keep
hunk.after_edit:   // todo remove in next major and default to the safer getKey instead
     if (options.providerOptions.s3.getKey === defaultOptions.providerOptions.s3.getKey) process.emitWarning('The current default getKey implementation is not safe because it will cause files with the same name to be overwritten and should be avoided. Please use the environment variable COMPANION_S3_GETKEY_SAFE_BEHAVIOR=true (standalone) or provide your own getKey implementation instead')
  
hunk.file_path: packages/@uppy/companion/src/companion.js
hunk.type: add
file: import { h } from 'preact'
  
  function SubmitButton ({ onSubmit, i18n }) {
    return (
      <button
        className="uppy-u-reset uppy-c-btn uppy-Webcam-button uppy-Webcam-button--submit"
        type="button"
        title={i18n('submitRecordedFile')}
        aria-label={i18n('submitRecordedFile')}
        onClick={onSubmit}
        data-uppy-super-focusable
      >
        <svg
          width="12"
          height="9"
          viewBox="0 0 12 9"
          xmlns="http://www.w3.org/2000/svg"
          aria-hidden="true"
          focusable="false"
          className="uppy-c-icon"
        >
          <path fill="#fff" fillRule="nonzero" d="M10.66 0L12 1.31 4.136 9 0 4.956l1.34-1.31L4.136 6.38z" />
        </svg>
      </button>
    )
  }
  
  export default SubmitButton
  