@@ -58,7 +58,7 @@ describe('Client', () => {
5858 message ,
5959 {
6060 "Content-Type" : "application/json" ,
61- "User-Agent" : "android-sms-gateway/2 .0 (client; js)" ,
61+ "User-Agent" : "android-sms-gateway/3 .0 (client; js)" ,
6262 Authorization : expect . any ( String ) ,
6363 } ,
6464 ) ;
@@ -91,7 +91,7 @@ describe('Client', () => {
9191 message ,
9292 {
9393 "Content-Type" : "application/json" ,
94- "User-Agent" : "android-sms-gateway/2 .0 (client; js)" ,
94+ "User-Agent" : "android-sms-gateway/3 .0 (client; js)" ,
9595 Authorization : expect . any ( String ) ,
9696 } ,
9797 ) ;
@@ -118,7 +118,7 @@ describe('Client', () => {
118118 expect ( mockHttpClient . get ) . toHaveBeenCalledWith (
119119 `${ BASE_URL } /message/${ messageId } ` ,
120120 {
121- "User-Agent" : "android-sms-gateway/2 .0 (client; js)" ,
121+ "User-Agent" : "android-sms-gateway/3 .0 (client; js)" ,
122122 Authorization : expect . any ( String ) ,
123123 } ,
124124 ) ;
@@ -138,7 +138,7 @@ describe('Client', () => {
138138 expect ( mockHttpClient . get ) . toHaveBeenCalledWith (
139139 `${ BASE_URL } /webhooks` ,
140140 {
141- "User-Agent" : "android-sms-gateway/2 .0 (client; js)" ,
141+ "User-Agent" : "android-sms-gateway/3 .0 (client; js)" ,
142142 Authorization : expect . any ( String ) ,
143143 } ,
144144 ) ;
@@ -167,7 +167,7 @@ describe('Client', () => {
167167 req ,
168168 {
169169 "Content-Type" : "application/json" ,
170- "User-Agent" : "android-sms-gateway/2 .0 (client; js)" ,
170+ "User-Agent" : "android-sms-gateway/3 .0 (client; js)" ,
171171 Authorization : expect . any ( String ) ,
172172 } ,
173173 ) ;
@@ -182,7 +182,7 @@ describe('Client', () => {
182182 expect ( mockHttpClient . delete ) . toHaveBeenCalledWith (
183183 `${ BASE_URL } /webhooks/test` ,
184184 {
185- "User-Agent" : "android-sms-gateway/2 .0 (client; js)" ,
185+ "User-Agent" : "android-sms-gateway/3 .0 (client; js)" ,
186186 Authorization : expect . any ( String ) ,
187187 } ,
188188 ) ;
@@ -204,7 +204,7 @@ describe('Client', () => {
204204 expect ( mockHttpClient . get ) . toHaveBeenCalledWith (
205205 `${ BASE_URL } /devices` ,
206206 {
207- "User-Agent" : "android-sms-gateway/2 .0 (client; js)" ,
207+ "User-Agent" : "android-sms-gateway/3 .0 (client; js)" ,
208208 Authorization : expect . any ( String ) ,
209209 } ,
210210 ) ;
@@ -219,7 +219,7 @@ describe('Client', () => {
219219 expect ( mockHttpClient . delete ) . toHaveBeenCalledWith (
220220 `${ BASE_URL } /devices/test-device-id` ,
221221 {
222- "User-Agent" : "android-sms-gateway/2 .0 (client; js)" ,
222+ "User-Agent" : "android-sms-gateway/3 .0 (client; js)" ,
223223 Authorization : expect . any ( String ) ,
224224 } ,
225225 ) ;
@@ -244,7 +244,7 @@ describe('Client', () => {
244244 expect ( mockHttpClient . get ) . toHaveBeenCalledWith (
245245 `${ BASE_URL } /health` ,
246246 {
247- "User-Agent" : "android-sms-gateway/2 .0 (client; js)" ,
247+ "User-Agent" : "android-sms-gateway/3 .0 (client; js)" ,
248248 Authorization : expect . any ( String ) ,
249249 } ,
250250 ) ;
@@ -270,7 +270,7 @@ describe('Client', () => {
270270 expectedRequest ,
271271 {
272272 "Content-Type" : "application/json" ,
273- "User-Agent" : "android-sms-gateway/2 .0 (client; js)" ,
273+ "User-Agent" : "android-sms-gateway/3 .0 (client; js)" ,
274274 Authorization : expect . any ( String ) ,
275275 } ,
276276 ) ;
@@ -292,7 +292,7 @@ describe('Client', () => {
292292 expect ( mockHttpClient . get ) . toHaveBeenCalledWith (
293293 `${ BASE_URL } /logs?from=${ encodeURIComponent ( from . toISOString ( ) ) } &to=${ encodeURIComponent ( to . toISOString ( ) ) } ` ,
294294 {
295- "User-Agent" : "android-sms-gateway/2 .0 (client; js)" ,
295+ "User-Agent" : "android-sms-gateway/3 .0 (client; js)" ,
296296 Authorization : expect . any ( String ) ,
297297 } ,
298298 ) ;
@@ -312,7 +312,7 @@ describe('Client', () => {
312312 expect ( mockHttpClient . get ) . toHaveBeenCalledWith (
313313 `${ BASE_URL } /settings` ,
314314 {
315- "User-Agent" : "android-sms-gateway/2 .0 (client; js)" ,
315+ "User-Agent" : "android-sms-gateway/3 .0 (client; js)" ,
316316 Authorization : expect . any ( String ) ,
317317 } ,
318318 ) ;
@@ -334,7 +334,7 @@ describe('Client', () => {
334334 settings ,
335335 {
336336 "Content-Type" : "application/json" ,
337- "User-Agent" : "android-sms-gateway/2 .0 (client; js)" ,
337+ "User-Agent" : "android-sms-gateway/3 .0 (client; js)" ,
338338 Authorization : expect . any ( String ) ,
339339 } ,
340340 ) ;
@@ -355,7 +355,7 @@ describe('Client', () => {
355355 settings ,
356356 {
357357 "Content-Type" : "application/json" ,
358- "User-Agent" : "android-sms-gateway/2 .0 (client; js)" ,
358+ "User-Agent" : "android-sms-gateway/3 .0 (client; js)" ,
359359 Authorization : expect . any ( String ) ,
360360 } ,
361361 ) ;
0 commit comments