|
|
@ -32,7 +32,7 @@ window.BrowserApi = BrowserApi;
|
|
|
|
import { U2f } from '../../scripts/u2f';
|
|
|
|
import { U2f } from '../../scripts/u2f';
|
|
|
|
window.U2f = U2f;
|
|
|
|
window.U2f = U2f;
|
|
|
|
|
|
|
|
|
|
|
|
import { Analytics } from '../../../node_modules/@bitwarden/jslib/src/misc/analytics';
|
|
|
|
import { Analytics } from '../../../jslib/src/misc/analytics';
|
|
|
|
new Analytics(window, () => BrowserApi.gaFilter(), null, null, null, () => {
|
|
|
|
new Analytics(window, () => BrowserApi.gaFilter(), null, null, null, () => {
|
|
|
|
const bgPage = BrowserApi.getBackgroundPage();
|
|
|
|
const bgPage = BrowserApi.getBackgroundPage();
|
|
|
|
if (!bgPage || !bgPage.bitwardenMain) {
|
|
|
|
if (!bgPage || !bgPage.bitwardenMain) {
|
|
|
@ -42,15 +42,15 @@ new Analytics(window, () => BrowserApi.gaFilter(), null, null, null, () => {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
// Model imports
|
|
|
|
// Model imports
|
|
|
|
import { Attachment } from '../../../node_modules/@bitwarden/jslib/src/models/domain/attachment';
|
|
|
|
import { Attachment } from '../../../jslib/src/models/domain/attachment';
|
|
|
|
import { Card } from '../../../node_modules/@bitwarden/jslib/src/models/domain/card';
|
|
|
|
import { Card } from '../../../jslib/src/models/domain/card';
|
|
|
|
import { Cipher } from '../../../node_modules/@bitwarden/jslib/src/models/domain/cipher';
|
|
|
|
import { Cipher } from '../../../jslib/src/models/domain/cipher';
|
|
|
|
import { CipherString } from '../../../node_modules/@bitwarden/jslib/src/models/domain/cipherString';
|
|
|
|
import { CipherString } from '../../../jslib/src/models/domain/cipherString';
|
|
|
|
import { Field } from '../../../node_modules/@bitwarden/jslib/src/models/domain/field';
|
|
|
|
import { Field } from '../../../jslib/src/models/domain/field';
|
|
|
|
import { Folder } from '../../../node_modules/@bitwarden/jslib/src/models/domain/folder';
|
|
|
|
import { Folder } from '../../../jslib/src/models/domain/folder';
|
|
|
|
import { Identity } from '../../../node_modules/@bitwarden/jslib/src/models/domain/identity';
|
|
|
|
import { Identity } from '../../../jslib/src/models/domain/identity';
|
|
|
|
import { Login } from '../../../node_modules/@bitwarden/jslib/src/models/domain/login';
|
|
|
|
import { Login } from '../../../jslib/src/models/domain/login';
|
|
|
|
import { SecureNote } from '../../../node_modules/@bitwarden/jslib/src/models/domain/secureNote';
|
|
|
|
import { SecureNote } from '../../../jslib/src/models/domain/secureNote';
|
|
|
|
window.Attachment = Attachment;
|
|
|
|
window.Attachment = Attachment;
|
|
|
|
window.Card = Card;
|
|
|
|
window.Card = Card;
|
|
|
|
window.Cipher = Cipher;
|
|
|
|
window.Cipher = Cipher;
|
|
|
@ -61,15 +61,15 @@ window.Identity = Identity;
|
|
|
|
window.Login = Login;
|
|
|
|
window.Login = Login;
|
|
|
|
window.SecureNote = SecureNote;
|
|
|
|
window.SecureNote = SecureNote;
|
|
|
|
|
|
|
|
|
|
|
|
import { AttachmentData } from '../../../node_modules/@bitwarden/jslib/src/models/data/attachmentData';
|
|
|
|
import { AttachmentData } from '../../../jslib/src/models/data/attachmentData';
|
|
|
|
import { CardData } from '../../../node_modules/@bitwarden/jslib/src/models/data/cardData';
|
|
|
|
import { CardData } from '../../../jslib/src/models/data/cardData';
|
|
|
|
import { CipherData } from '../../../node_modules/@bitwarden/jslib/src/models/data/cipherData';
|
|
|
|
import { CipherData } from '../../../jslib/src/models/data/cipherData';
|
|
|
|
import { CollectionData } from '../../../node_modules/@bitwarden/jslib/src/models/data/collectionData';
|
|
|
|
import { CollectionData } from '../../../jslib/src/models/data/collectionData';
|
|
|
|
import { FieldData } from '../../../node_modules/@bitwarden/jslib/src/models/data/fieldData';
|
|
|
|
import { FieldData } from '../../../jslib/src/models/data/fieldData';
|
|
|
|
import { FolderData } from '../../../node_modules/@bitwarden/jslib/src/models/data/folderData';
|
|
|
|
import { FolderData } from '../../../jslib/src/models/data/folderData';
|
|
|
|
import { IdentityData } from '../../../node_modules/@bitwarden/jslib/src/models/data/identityData';
|
|
|
|
import { IdentityData } from '../../../jslib/src/models/data/identityData';
|
|
|
|
import { LoginData } from '../../../node_modules/@bitwarden/jslib/src/models/data/loginData';
|
|
|
|
import { LoginData } from '../../../jslib/src/models/data/loginData';
|
|
|
|
import { SecureNoteData } from '../../../node_modules/@bitwarden/jslib/src/models/data/secureNoteData';
|
|
|
|
import { SecureNoteData } from '../../../jslib/src/models/data/secureNoteData';
|
|
|
|
window.AttachmentData = AttachmentData;
|
|
|
|
window.AttachmentData = AttachmentData;
|
|
|
|
window.CardData = CardData;
|
|
|
|
window.CardData = CardData;
|
|
|
|
window.CipherData = CipherData;
|
|
|
|
window.CipherData = CipherData;
|
|
|
@ -80,14 +80,14 @@ window.IdentityData = IdentityData;
|
|
|
|
window.LoginData = LoginData;
|
|
|
|
window.LoginData = LoginData;
|
|
|
|
window.SecureNoteData = SecureNoteData;
|
|
|
|
window.SecureNoteData = SecureNoteData;
|
|
|
|
|
|
|
|
|
|
|
|
import { CipherRequest } from '../../../node_modules/@bitwarden/jslib/src/models/request/cipherRequest';
|
|
|
|
import { CipherRequest } from '../../../jslib/src/models/request/cipherRequest';
|
|
|
|
import { DeviceRequest } from '../../../node_modules/@bitwarden/jslib/src/models/request/deviceRequest';
|
|
|
|
import { DeviceRequest } from '../../../jslib/src/models/request/deviceRequest';
|
|
|
|
import { DeviceTokenRequest } from '../../../node_modules/@bitwarden/jslib/src/models/request/deviceTokenRequest';
|
|
|
|
import { DeviceTokenRequest } from '../../../jslib/src/models/request/deviceTokenRequest';
|
|
|
|
import { FolderRequest } from '../../../node_modules/@bitwarden/jslib/src/models/request/folderRequest';
|
|
|
|
import { FolderRequest } from '../../../jslib/src/models/request/folderRequest';
|
|
|
|
import { PasswordHintRequest } from '../../../node_modules/@bitwarden/jslib/src/models/request/passwordHintRequest';
|
|
|
|
import { PasswordHintRequest } from '../../../jslib/src/models/request/passwordHintRequest';
|
|
|
|
import { RegisterRequest } from '../../../node_modules/@bitwarden/jslib/src/models/request/registerRequest';
|
|
|
|
import { RegisterRequest } from '../../../jslib/src/models/request/registerRequest';
|
|
|
|
import { TokenRequest } from '../../../node_modules/@bitwarden/jslib/src/models/request/tokenRequest';
|
|
|
|
import { TokenRequest } from '../../../jslib/src/models/request/tokenRequest';
|
|
|
|
import { TwoFactorEmailRequest } from '../../../node_modules/@bitwarden/jslib/src/models/request/twoFactorEmailRequest';
|
|
|
|
import { TwoFactorEmailRequest } from '../../../jslib/src/models/request/twoFactorEmailRequest';
|
|
|
|
window.CipherRequest = CipherRequest;
|
|
|
|
window.CipherRequest = CipherRequest;
|
|
|
|
window.DeviceRequest = DeviceRequest;
|
|
|
|
window.DeviceRequest = DeviceRequest;
|
|
|
|
window.DeviceTokenRequest = DeviceTokenRequest;
|
|
|
|
window.DeviceTokenRequest = DeviceTokenRequest;
|
|
|
@ -97,20 +97,20 @@ window.RegisterRequest = RegisterRequest;
|
|
|
|
window.TokenRequest = TokenRequest;
|
|
|
|
window.TokenRequest = TokenRequest;
|
|
|
|
window.TwoFactorEmailRequest = TwoFactorEmailRequest;
|
|
|
|
window.TwoFactorEmailRequest = TwoFactorEmailRequest;
|
|
|
|
|
|
|
|
|
|
|
|
import { AttachmentResponse } from '../../../node_modules/@bitwarden/jslib/src/models/response/attachmentResponse';
|
|
|
|
import { AttachmentResponse } from '../../../jslib/src/models/response/attachmentResponse';
|
|
|
|
import { CipherResponse } from '../../../node_modules/@bitwarden/jslib/src/models/response/cipherResponse';
|
|
|
|
import { CipherResponse } from '../../../jslib/src/models/response/cipherResponse';
|
|
|
|
import { CollectionResponse } from '../../../node_modules/@bitwarden/jslib/src/models/response/collectionResponse';
|
|
|
|
import { CollectionResponse } from '../../../jslib/src/models/response/collectionResponse';
|
|
|
|
import { DeviceResponse } from '../../../node_modules/@bitwarden/jslib/src/models/response/deviceResponse';
|
|
|
|
import { DeviceResponse } from '../../../jslib/src/models/response/deviceResponse';
|
|
|
|
import { DomainsResponse } from '../../../node_modules/@bitwarden/jslib/src/models/response/domainsResponse';
|
|
|
|
import { DomainsResponse } from '../../../jslib/src/models/response/domainsResponse';
|
|
|
|
import { ErrorResponse } from '../../../node_modules/@bitwarden/jslib/src/models/response/errorResponse';
|
|
|
|
import { ErrorResponse } from '../../../jslib/src/models/response/errorResponse';
|
|
|
|
import { FolderResponse } from '../../../node_modules/@bitwarden/jslib/src/models/response/folderResponse';
|
|
|
|
import { FolderResponse } from '../../../jslib/src/models/response/folderResponse';
|
|
|
|
import { GlobalDomainResponse } from '../../../node_modules/@bitwarden/jslib/src/models/response/globalDomainResponse';
|
|
|
|
import { GlobalDomainResponse } from '../../../jslib/src/models/response/globalDomainResponse';
|
|
|
|
import { IdentityTokenResponse } from '../../../node_modules/@bitwarden/jslib/src/models/response/identityTokenResponse';
|
|
|
|
import { IdentityTokenResponse } from '../../../jslib/src/models/response/identityTokenResponse';
|
|
|
|
import { KeysResponse } from '../../../node_modules/@bitwarden/jslib/src/models/response/keysResponse';
|
|
|
|
import { KeysResponse } from '../../../jslib/src/models/response/keysResponse';
|
|
|
|
import { ListResponse } from '../../../node_modules/@bitwarden/jslib/src/models/response/listResponse';
|
|
|
|
import { ListResponse } from '../../../jslib/src/models/response/listResponse';
|
|
|
|
import { ProfileOrganizationResponse } from '../../../node_modules/@bitwarden/jslib/src/models/response/profileOrganizationResponse';
|
|
|
|
import { ProfileOrganizationResponse } from '../../../jslib/src/models/response/profileOrganizationResponse';
|
|
|
|
import { ProfileResponse } from '../../../node_modules/@bitwarden/jslib/src/models/response/profileResponse';
|
|
|
|
import { ProfileResponse } from '../../../jslib/src/models/response/profileResponse';
|
|
|
|
import { SyncResponse } from '../../../node_modules/@bitwarden/jslib/src/models/response/syncResponse';
|
|
|
|
import { SyncResponse } from '../../../jslib/src/models/response/syncResponse';
|
|
|
|
window.AttachmentResponse = AttachmentResponse;
|
|
|
|
window.AttachmentResponse = AttachmentResponse;
|
|
|
|
window.CipherResponse = CipherResponse;
|
|
|
|
window.CipherResponse = CipherResponse;
|
|
|
|
window.CollectionResponse = CollectionResponse;
|
|
|
|
window.CollectionResponse = CollectionResponse;
|
|
|
|