// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Microsoft Software License Terms for the Azure Communications Services, Azure CPaaS, MICROSOFT AZURE COMMUNICATION CALLING EFFECTS
// See LICENSE file for license information.

import{DEFAULT_CONFIG as t}from"./5cb3d3.js";import{stringifyObject as i}from"./cd7b0b.js";class ACSEffectsConfigProvider{constructor(i,e,o){this.eventEmitter=i,this.logger=e,this.effectName=o,this._config=Object.assign({},t)}get config(){return this._config}updateConfig(t){this.logger.info(`Setting new config: ${i(t)}`),this._config=Object.assign({},t),this.eventEmitter.emit("configUpdated",this.effectName)}}export{ACSEffectsConfigProvider};
