push neon reactor
This commit is contained in:
Generated
Vendored
+25
@@ -0,0 +1,25 @@
|
||||
/*!
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
import { ActionsHttpClient } from './Common/HttpClient.js';
|
||||
import { initializePlayerServices } from './services/index.js';
|
||||
import { setVfs } from './VfsManager.js';
|
||||
export function initializePlayerActions(config) {
|
||||
const { logger, authProvider, region, environmentName, vfs, httpClient } = config;
|
||||
const servicesHttpClient = httpClient || new ActionsHttpClient(authProvider);
|
||||
initializePlayerServices({
|
||||
logger,
|
||||
httpClient: servicesHttpClient,
|
||||
region,
|
||||
environmentName,
|
||||
});
|
||||
logger?.trackActivityEvent('PlayerActionsInitialized', {
|
||||
region,
|
||||
environmentName,
|
||||
vfsDefined: vfs ? 'true' : 'false',
|
||||
});
|
||||
if (vfs) {
|
||||
setVfs(vfs);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=initializePlayerActions.js.map
|
||||
Reference in New Issue
Block a user