@voicenter-team/opensips-js 1.0.127 → 1.0.128

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -991,7 +991,7 @@ declare interface TriggerListenerOptions {
991
991
  }
992
992
 
993
993
  declare type UAConfigurationExtended = UAConfiguration & {
994
- overrideUserAgent: (userAgent: string) => string
994
+ overrideUserAgent?: (userAgent: string) => string
995
995
  }
996
996
 
997
997
  declare const UAConstructor: typeof UA;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voicenter-team/opensips-js",
3
- "version": "1.0.127",
3
+ "version": "1.0.128",
4
4
  "description": "The JS package for opensips",
5
5
  "default": "src/index.ts",
6
6
  "jsdelivr": "dist/opensips-js.iife.js",
@@ -133,7 +133,7 @@ export type MSRPModuleName = typeof MODULES.MSRP
133
133
  export type Modules = AudioModuleName | VideoModuleName | MSRPModuleName
134
134
 
135
135
  type UAConfigurationExtended = UAConfiguration & {
136
- overrideUserAgent: (userAgent: string) => string
136
+ overrideUserAgent?: (userAgent: string) => string
137
137
  }
138
138
 
139
139
  export type IOpenSIPSConfiguration = Omit<UAConfigurationExtended, 'sockets'>