Skip to content

Commit 0d13a35

Browse files
chore(dependencies): ran prettier formatting on all files
ran prettier formatting on all files COMUI-4513
1 parent 6fab2da commit 0d13a35

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+272
-204
lines changed

apps/ifc-example-client/client-worker.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,12 @@ try {
1717
const api = request.api;
1818
console.log("worker: Got exercise API request from host", request);
1919

20-
if(client[api] && typeof client[api] == 'function') {
21-
client[api](request.data);
20+
if (client[api] && typeof client[api] == "function") {
21+
client[api](request.data);
2222
} else {
23-
console.log(`Unrecognized API: ${api}`)
23+
console.log(`Unrecognized API: ${api}`);
2424
}
25-
26-
})
27-
25+
});
2826

2927
console.log("Sending client start");
3028
client.start();

apps/ifc-example-client/ifc-cli.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ module.exports = function (frameRouter, workerPool) {
6767
},
6868
};
6969

70-
7170
return {
7271
// These are the topics that the host app should display payloads for when
7372
// the client publishes on them.

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
**iframe-coordinator v6.5.0**
22

3-
***
3+
---
44

55
# iframe-coordinator
66

docs/client/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[**iframe-coordinator v6.5.0**](../README.md)
22

3-
***
3+
---
44

55
[iframe-coordinator](../modules.md) / client
66

@@ -29,49 +29,49 @@
2929

3030
Re-exports [Breadcrumb](../messages/interfaces/Breadcrumb.md)
3131

32-
***
32+
---
3333

3434
### EnvData
3535

3636
Re-exports [EnvData](../messages/interfaces/EnvData.md)
3737

38-
***
38+
---
3939

4040
### KeyData
4141

4242
Re-exports [KeyData](../messages/interfaces/KeyData.md)
4343

44-
***
44+
---
4545

4646
### ModalRequest
4747

4848
Re-exports [ModalRequest](../messages/interfaces/ModalRequest.md)
4949

50-
***
50+
---
5151

5252
### NavRequest
5353

5454
Re-exports [NavRequest](../messages/interfaces/NavRequest.md)
5555

56-
***
56+
---
5757

5858
### Notification
5959

6060
Re-exports [Notification](../messages/interfaces/Notification.md)
6161

62-
***
62+
---
6363

6464
### PageMetadata
6565

6666
Re-exports [PageMetadata](../messages/interfaces/PageMetadata.md)
6767

68-
***
68+
---
6969

7070
### PromptOnLeave
7171

7272
Re-exports [PromptOnLeave](../messages/interfaces/PromptOnLeave.md)
7373

74-
***
74+
---
7575

7676
### Publication
7777

docs/client/classes/Client.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[**iframe-coordinator v6.5.0**](../../README.md)
22

3-
***
3+
---
44

55
[iframe-coordinator](../../modules.md) / [client](../README.md) / Client
66

@@ -56,7 +56,7 @@ custom data sent by the host.
5656

5757
`AbstractClient.environmentData`
5858

59-
***
59+
---
6060

6161
### messaging
6262

@@ -116,7 +116,7 @@ The handler which receives a notification when an event of the specified type oc
116116

117117
`AbstractClient.addListener`
118118

119-
***
119+
---
120120

121121
### ~~asHostUrl()~~
122122

@@ -147,7 +147,7 @@ Use the new [urlFromClientPath](#urlfromclientpath) method instead
147147

148148
`AbstractClient.asHostUrl`
149149

150-
***
150+
---
151151

152152
### clearPromptOnLeave()
153153

@@ -165,7 +165,7 @@ Asks the host application to clear the prompt on leave dialog.
165165

166166
`AbstractClient.clearPromptOnLeave`
167167

168-
***
168+
---
169169

170170
### publish()
171171

@@ -191,7 +191,7 @@ The data object to be published.
191191

192192
`AbstractClient.publish`
193193

194-
***
194+
---
195195

196196
### registerCustomElements()
197197

@@ -205,7 +205,7 @@ Registers custom elements used by the client application
205205

206206
`void`
207207

208-
***
208+
---
209209

210210
### removeAllListeners()
211211

@@ -231,7 +231,7 @@ A string which specifies the type of event for which to remove an event listener
231231

232232
`AbstractClient.removeAllListeners`
233233

234-
***
234+
---
235235

236236
### removeListener()
237237

@@ -263,7 +263,7 @@ The event handler to remove from the event target.
263263

264264
`AbstractClient.removeListener`
265265

266-
***
266+
---
267267

268268
### requestModal()
269269

@@ -292,7 +292,7 @@ the ID and any data specific to the modal instance required
292292

293293
`AbstractClient.requestModal`
294294

295-
***
295+
---
296296

297297
### requestNavigation()
298298

@@ -323,7 +323,7 @@ a description of where the client wants to navigate the app to.
323323

324324
`AbstractClient.requestNavigation`
325325

326-
***
326+
---
327327

328328
### requestNotification()
329329

@@ -334,7 +334,7 @@ Defined in: [AbstractClient.ts:351](https://github.com/purecloudlabs/iframe-coor
334334
Asks the host application to display a user notification.
335335

336336
The page embedding the client app is responsible for handling the fired custom event and
337-
presenting/styling the notification. Application-specific concerns such as level, TTLs,
337+
presenting/styling the notification. Application-specific concerns such as level, TTLs,
338338
ids for action callbacks (notification click, notification action buttons), etc. can be passed via
339339
the `custom` property of the `notification` type.
340340

@@ -353,32 +353,32 @@ the desired notification configuration.
353353
#### Examples
354354

355355
```typescript
356-
client.requestNotification({ title: 'Hello world' });
356+
client.requestNotification({ title: "Hello world" });
357357
```
358358

359359
```typescript
360360
client.requestNotification({
361-
title: 'Hello',
362-
message: 'World'
361+
title: "Hello",
362+
message: "World",
363363
});
364364
```
365365

366366
```typescript
367367
client.requestNotification({
368-
title: 'Hello',
369-
message: 'World',
368+
title: "Hello",
369+
message: "World",
370370
custom: {
371371
displaySeconds: 5,
372-
level: 'info'
373-
}
372+
level: "info",
373+
},
374374
});
375375
```
376376

377377
#### Inherited from
378378

379379
`AbstractClient.requestNotification`
380380

381-
***
381+
---
382382

383383
### requestPromptOnLeave()
384384

@@ -402,7 +402,7 @@ Asks the host application to display a prompt on leave dialog.
402402

403403
`AbstractClient.requestPromptOnLeave`
404404

405-
***
405+
---
406406

407407
### sendPageMetadata()
408408

@@ -432,7 +432,7 @@ data that will be used for display in host application and browser page title
432432

433433
`AbstractClient.sendPageMetadata`
434434

435-
***
435+
---
436436

437437
### start()
438438

@@ -450,7 +450,7 @@ Initiates responding to events triggered by the host application.
450450

451451
`AbstractClient.start`
452452

453-
***
453+
---
454454

455455
### startInterceptingLinks()
456456

@@ -467,7 +467,7 @@ links that you may not want to intercept.
467467

468468
`void`
469469

470-
***
470+
---
471471

472472
### stop()
473473

@@ -486,7 +486,7 @@ the sake of API completeness. It's unlikely to be used by most applications.
486486

487487
`AbstractClient.stop`
488488

489-
***
489+
---
490490

491491
### stopInterceptingLinks()
492492

@@ -500,7 +500,7 @@ Turns off the behavior of intercepting link clicks in the client window click ha
500500

501501
`void`
502502

503-
***
503+
---
504504

505505
### urlFromClientPath()
506506

@@ -530,7 +530,7 @@ The /-separated path within the client app to link to.
530530

531531
`AbstractClient.urlFromClientPath`
532532

533-
***
533+
---
534534

535535
### urlFromHostPath()
536536

0 commit comments

Comments
 (0)