Skip to content

Commit d0bfad8

Browse files
author
PureCloud Jenkins
committed
250.1.0
1 parent fe19da0 commit d0bfad8

188 files changed

Lines changed: 595 additions & 2055 deletions

File tree

Some content is hidden

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

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ A JavaScript library to interface with the Genesys Cloud Platform API. View the
66
[![npm](https://img.shields.io/npm/v/purecloud-platform-client-v2.svg)](https://www.npmjs.com/package/purecloud-platform-client-v2)
77
[![Release Notes Badge](https://developer-content.genesys.cloud/images/sdk-release-notes.png)](https://github.com/MyPureCloud/platform-client-sdk-javascript/blob/master/releaseNotes.md)
88

9-
Documentation version purecloud-platform-client-v2@250.0.0
9+
Documentation version purecloud-platform-client-v2@250.1.0
1010

1111
## Preview APIs
1212

@@ -29,7 +29,7 @@ For direct use in a browser script:
2929

3030
```html
3131
<!-- Include the CJS SDK -->
32-
<script src="https://sdk-cdn.mypurecloud.com/javascript/250.0.0/purecloud-platform-client-v2.min.js"></script>
32+
<script src="https://sdk-cdn.mypurecloud.com/javascript/250.1.0/purecloud-platform-client-v2.min.js"></script>
3333

3434
<script type="text/javascript">
3535
// Obtain a reference to the platformClient object
@@ -46,7 +46,7 @@ For direct use in a browser script:
4646

4747
<script type="text/javascript">
4848
// Obtain a reference to the platformClient object
49-
requirejs(['https://sdk-cdn.mypurecloud.com/javascript/amd/250.0.0/purecloud-platform-client-v2.min.js'], (platformClient) => {
49+
requirejs(['https://sdk-cdn.mypurecloud.com/javascript/amd/250.1.0/purecloud-platform-client-v2.min.js'], (platformClient) => {
5050
console.log(platformClient);
5151
});
5252
</script>
@@ -436,15 +436,17 @@ The SDK is implemented so that when one of its API method is invoked, it filters
436436

437437
A new ApiClient property (accessed using getUseLegacyParameterFilter and setUseLegacyParameterFilter) is introduced to control the method used to filter out such parameters.
438438

439-
When UseLegacyParameterFilter is true, the SDK will use the legacy filter method.
439+
When UseLegacyParameterFilter is true, the SDK will use the legacy filter method.
440+
When UseLegacyParameterFilter is false, the SDK will use the modern and accurate filter method.
440441

441-
*The UseLegacyParameterFilter default value is currently equal to true.* You will need to change the UseLegacyParameterFilter value so that the SDK uses modern filter method.
442-
This choice of default value has been made to facilitate the transition from legacy to modern and accurate parameter filtering, without running the risk to affect existing applications with a change of behavior.
442+
*The UseLegacyParameterFilter default value is now equal to false.* If you want to preserve the legacy filter method, you will need to change the UseLegacyParameterFilter value so that the SDK uses the legacy filter method.
443443

444444
```javascript
445445
const client = platformClient.ApiClient.instance;
446-
// To use modern and accurate parameter filtering, set UseLegacyParameterFilter to false
447-
client.setUseLegacyParameterFilter(false);
446+
// By default, the SDK uses the modern and accurate parameter filtering (UseLegacyParameterFilter is set to false by default)
447+
// client.setUseLegacyParameterFilter(false);
448+
// To continue using the legacy parameter filtering, set UseLegacyParameterFilter to true
449+
client.setUseLegacyParameterFilter(true);
448450
```
449451

450452
### Setting an intermediate Gateway

build/README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ A JavaScript library to interface with the Genesys Cloud Platform API. View the
66
[![npm](https://img.shields.io/npm/v/purecloud-platform-client-v2.svg)](https://www.npmjs.com/package/purecloud-platform-client-v2)
77
[![Release Notes Badge](https://developer-content.genesys.cloud/images/sdk-release-notes.png)](https://github.com/MyPureCloud/platform-client-sdk-javascript/blob/master/releaseNotes.md)
88

9-
Documentation version purecloud-platform-client-v2@250.0.0
9+
Documentation version purecloud-platform-client-v2@250.1.0
1010

1111
## Preview APIs
1212

@@ -29,7 +29,7 @@ For direct use in a browser script:
2929

3030
```html
3131
<!-- Include the CJS SDK -->
32-
<script src="https://sdk-cdn.mypurecloud.com/javascript/250.0.0/purecloud-platform-client-v2.min.js"></script>
32+
<script src="https://sdk-cdn.mypurecloud.com/javascript/250.1.0/purecloud-platform-client-v2.min.js"></script>
3333

3434
<script type="text/javascript">
3535
// Obtain a reference to the platformClient object
@@ -46,7 +46,7 @@ For direct use in a browser script:
4646

4747
<script type="text/javascript">
4848
// Obtain a reference to the platformClient object
49-
requirejs(['https://sdk-cdn.mypurecloud.com/javascript/amd/250.0.0/purecloud-platform-client-v2.min.js'], (platformClient) => {
49+
requirejs(['https://sdk-cdn.mypurecloud.com/javascript/amd/250.1.0/purecloud-platform-client-v2.min.js'], (platformClient) => {
5050
console.log(platformClient);
5151
});
5252
</script>
@@ -436,15 +436,17 @@ The SDK is implemented so that when one of its API method is invoked, it filters
436436

437437
A new ApiClient property (accessed using getUseLegacyParameterFilter and setUseLegacyParameterFilter) is introduced to control the method used to filter out such parameters.
438438

439-
When UseLegacyParameterFilter is true, the SDK will use the legacy filter method.
439+
When UseLegacyParameterFilter is true, the SDK will use the legacy filter method.
440+
When UseLegacyParameterFilter is false, the SDK will use the modern and accurate filter method.
440441

441-
*The UseLegacyParameterFilter default value is currently equal to true.* You will need to change the UseLegacyParameterFilter value so that the SDK uses modern filter method.
442-
This choice of default value has been made to facilitate the transition from legacy to modern and accurate parameter filtering, without running the risk to affect existing applications with a change of behavior.
442+
*The UseLegacyParameterFilter default value is now equal to false.* If you want to preserve the legacy filter method, you will need to change the UseLegacyParameterFilter value so that the SDK uses the legacy filter method.
443443

444444
```javascript
445445
const client = platformClient.ApiClient.instance;
446-
// To use modern and accurate parameter filtering, set UseLegacyParameterFilter to false
447-
client.setUseLegacyParameterFilter(false);
446+
// By default, the SDK uses the modern and accurate parameter filtering (UseLegacyParameterFilter is set to false by default)
447+
// client.setUseLegacyParameterFilter(false);
448+
// To continue using the legacy parameter filtering, set UseLegacyParameterFilter to true
449+
client.setUseLegacyParameterFilter(true);
448450
```
449451

450452
### Setting an intermediate Gateway

0 commit comments

Comments
 (0)