18 lines
801 B
JavaScript
18 lines
801 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.initialize = void 0;
|
|
var token_1 = require("./token");
|
|
var extraFile_1 = require("./extraFile");
|
|
var application_1 = require("./application");
|
|
function initialize(aspectWrapper, basicFeatures, type, context) {
|
|
var application = new application_1.Application(aspectWrapper, type, basicFeatures.cache, basicFeatures.localStorage, function (application) { return context.setApplication(application); });
|
|
var token = new token_1.Token(aspectWrapper, basicFeatures.cache, basicFeatures.localStorage, context);
|
|
var extraFile = new extraFile_1.ExtraFile(aspectWrapper);
|
|
return {
|
|
token: token,
|
|
extraFile: extraFile,
|
|
application: application,
|
|
};
|
|
}
|
|
exports.initialize = initialize;
|