diff --git a/src/base-apis.js b/src/base-apis.js index 8fc4b4048..af473e7b6 100644 --- a/src/base-apis.js +++ b/src/base-apis.js @@ -29,7 +29,13 @@ import {SERVICE_TYPES} from './service-types'; import {logger} from './logger'; import {PushProcessor} from "./pushprocessor"; import * as utils from "./utils"; -import {MatrixHttpApi, PREFIX_IDENTITY_V1, PREFIX_IDENTITY_V2, PREFIX_R0, PREFIX_UNSTABLE} from "./http-api"; +import { + MatrixHttpApi, + PREFIX_IDENTITY_V1, + PREFIX_IDENTITY_V2, + PREFIX_R0, + PREFIX_UNSTABLE, +} from "./http-api"; function termsUrlForService(serviceType, baseUrl) { switch (serviceType) { diff --git a/src/crypto/algorithms/olm.js b/src/crypto/algorithms/olm.js index ea7cc7f09..3e813b14b 100644 --- a/src/crypto/algorithms/olm.js +++ b/src/crypto/algorithms/olm.js @@ -26,7 +26,12 @@ import * as utils from "../../utils"; import {polyfillSuper} from "../../utils"; import * as olmlib from "../olmlib"; import {DeviceInfo} from "../deviceinfo"; -import {DecryptionAlgorithm, DecryptionError, EncryptionAlgorithm, registerAlgorithm} from "./base"; +import { + DecryptionAlgorithm, + DecryptionError, + EncryptionAlgorithm, + registerAlgorithm, +} from "./base"; const DeviceVerification = DeviceInfo.DeviceVerification; diff --git a/src/crypto/index.js b/src/crypto/index.js index 760793adc..96cef52ae 100644 --- a/src/crypto/index.js +++ b/src/crypto/index.js @@ -33,7 +33,12 @@ import * as olmlib from "./olmlib"; import {DeviceList} from "./DeviceList"; import {DeviceInfo} from "./deviceinfo"; import * as algorithms from "./algorithms"; -import {CrossSigningInfo, CrossSigningLevel, DeviceTrustLevel, UserTrustLevel} from './CrossSigning'; +import { + CrossSigningInfo, + CrossSigningLevel, + DeviceTrustLevel, + UserTrustLevel, +} from './CrossSigning'; import {SECRET_STORAGE_ALGORITHM_V1, SecretStorage} from './SecretStorage'; import {OutgoingRoomKeyRequestManager} from './OutgoingRoomKeyRequestManager'; import {IndexedDBCryptoStore} from './store/indexeddb-crypto-store'; diff --git a/src/crypto/verification/QRCode.js b/src/crypto/verification/QRCode.js index 3650228bc..fe5830732 100644 --- a/src/crypto/verification/QRCode.js +++ b/src/crypto/verification/QRCode.js @@ -20,7 +20,12 @@ limitations under the License. */ import {VerificationBase as Base} from "./Base"; -import {errorFactory, newKeyMismatchError, newUserCancelledError, newUserMismatchError} from './Error'; +import { + errorFactory, + newKeyMismatchError, + newUserCancelledError, + newUserMismatchError, +} from './Error'; const MATRIXTO_REGEXP = /^(?:https?:\/\/)?(?:www\.)?matrix\.to\/#\/([#@!+][^?]+)\?(.+)$/; const KEY_REGEXP = /^key_([^:]+:.+)$/; diff --git a/src/crypto/verification/request/ToDeviceChannel.js b/src/crypto/verification/request/ToDeviceChannel.js index 4aa8cdaf9..dc9d74e31 100644 --- a/src/crypto/verification/request/ToDeviceChannel.js +++ b/src/crypto/verification/request/ToDeviceChannel.js @@ -17,7 +17,13 @@ limitations under the License. import {randomString} from '../../../randomstring'; import {logger} from '../../../logger'; -import {CANCEL_TYPE, PHASE_STARTED, REQUEST_TYPE, START_TYPE, VerificationRequest} from "./VerificationRequest"; +import { + CANCEL_TYPE, + PHASE_STARTED, + REQUEST_TYPE, + START_TYPE, + VerificationRequest, +} from "./VerificationRequest"; import {errorFromEvent, newUnexpectedMessageError} from "../Error"; /** diff --git a/src/crypto/verification/request/VerificationRequest.js b/src/crypto/verification/request/VerificationRequest.js index 37a2211bb..77a54f998 100644 --- a/src/crypto/verification/request/VerificationRequest.js +++ b/src/crypto/verification/request/VerificationRequest.js @@ -18,7 +18,12 @@ limitations under the License. import {logger} from '../../../logger'; import {RequestCallbackChannel} from "./RequestCallbackChannel"; import {EventEmitter} from 'events'; -import {errorFactory, errorFromEvent, newUnexpectedMessageError, newUnknownMethodError} from "../Error"; +import { + errorFactory, + errorFromEvent, + newUnexpectedMessageError, + newUnknownMethodError, +} from "../Error"; // the recommended amount of time before a verification request // should be (automatically) cancelled without user interaction