purecloud-flow-scripting-api-sdk-javascript 0.56.2 → 0.56.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "purecloud-flow-scripting-api-sdk-javascript",
3
- "version": "0.56.2",
3
+ "version": "0.56.4",
4
4
  "description": "JavaScript library for creating, editing, and managing Genesys Cloud Architect flows",
5
5
  "main": "build-scripting/release/scripting.bundle.js",
6
6
  "author": "Genesys",
@@ -497,7 +497,7 @@ logging str contents wouldn't be set up.</p>
497
497
 
498
498
  <h4 class="name" id="addPromise">
499
499
 
500
- <span class="type-signature"></span>addPromise<span class="signature">(promise)</span><span class="type-signature"> &rarr; {Promise}</span>
500
+ <span class="type-signature"></span>addPromise<span class="signature">(promise, promiseName)</span><span class="type-signature"> &rarr; {Promise}</span>
501
501
 
502
502
 
503
503
  </h4>
@@ -566,6 +566,29 @@ Architect Scripting operations.</p></td>
566
566
  </tr>
567
567
 
568
568
 
569
+
570
+ <tr>
571
+
572
+ <td class="name"><code>promiseName</code></td>
573
+
574
+
575
+ <td class="type">
576
+
577
+
578
+ <span class="param-type">string</span>
579
+
580
+
581
+
582
+ </td>
583
+
584
+
585
+
586
+
587
+
588
+ <td class="description last"><p>the name of the promise to use for logging purposes</p></td>
589
+ </tr>
590
+
591
+
569
592
  </tbody>
570
593
  </table>
571
594
 
@@ -60,6 +60,16 @@
60
60
 
61
61
  <section>
62
62
  <article class="readme"><h2>Change Log</h2>
63
+ <h1>0.56.4</h1>
64
+ <h4>Improvements</h4>
65
+ <ul>
66
+ <li>We made internal stability improvements within Architect Scripting.</li>
67
+ </ul>
68
+ <h1>0.56.3</h1>
69
+ <h4>Bug Fixes</h4>
70
+ <ul>
71
+ <li>We fixed an issue with <a href="ArchAsyncTracker.html#addPromise"><code>ArchAsyncTracker#addPromise</code></a> method that addresses a problem when the add method was called with a promise that was already resolved which could cause execution to stall.</li>
72
+ </ul>
63
73
  <h1>0.56.2</h1>
64
74
  <h4>Improvements</h4>
65
75
  <ul>
@@ -3961,8 +3961,9 @@ export class ArchAsyncTracker extends ArchBaseObject {
3961
3961
  * Adds a promise to be tracked to prevent operations like save from starting till its resolved.
3962
3962
  * @param promise - the JavaScript promise to track. Promises are returned from async
3963
3963
  * Architect Scripting operations.
3964
+ * @param promiseName - the name of the promise to use for logging purposes
3964
3965
  */
3965
- addPromise(promise: Promise<any>): Promise<any>;
3966
+ addPromise(promise: Promise, promiseName: string): Promise<any>;
3966
3967
  /**
3967
3968
  * Returns a promise for all asynchronous operations currently being tracked.
3968
3969
  */
package/types.d.ts CHANGED
@@ -3961,8 +3961,9 @@ export class ArchAsyncTracker extends ArchBaseObject {
3961
3961
  * Adds a promise to be tracked to prevent operations like save from starting till its resolved.
3962
3962
  * @param promise - the JavaScript promise to track. Promises are returned from async
3963
3963
  * Architect Scripting operations.
3964
+ * @param promiseName - the name of the promise to use for logging purposes
3964
3965
  */
3965
- addPromise(promise: Promise<any>): Promise<any>;
3966
+ addPromise(promise: Promise, promiseName: string): Promise<any>;
3966
3967
  /**
3967
3968
  * Returns a promise for all asynchronous operations currently being tracked.
3968
3969
  */