@@ -2,7 +2,7 @@ import WebDeviceInterface from './web_device_interface.js'
22import FakeWebCrypto from './fake_web_crypto.js'
33import * as Defaults from './Defaults.js'
44
5- export function createApplicationWithOptions ( { identifier, environment, platform, host, crypto, device } ) {
5+ export function createApplicationWithOptions ( { identifier, environment, platform, host, crypto, device, syncCallsThresholdPerMinute } ) {
66 if ( ! device ) {
77 device = new WebDeviceInterface ( )
88 device . environment = environment
@@ -22,11 +22,12 @@ export function createApplicationWithOptions({ identifier, environment, platform
2222 defaultHost : host || Defaults . getDefaultHost ( ) ,
2323 appVersion : Defaults . getAppVersion ( ) ,
2424 webSocketUrl : Defaults . getDefaultWebSocketUrl ( ) ,
25+ syncCallsThresholdPerMinute,
2526 } )
2627}
2728
28- export function createApplication ( identifier , environment , platform , host , crypto ) {
29- return createApplicationWithOptions ( { identifier, environment, platform, host, crypto } )
29+ export function createApplication ( identifier , environment , platform , host , crypto , syncCallsThresholdPerMinute ) {
30+ return createApplicationWithOptions ( { identifier, environment, platform, host, crypto, syncCallsThresholdPerMinute } )
3031}
3132
3233export function createApplicationWithFakeCrypto ( identifier , environment , platform , host ) {
0 commit comments