Skip to content

Commit

Permalink
5.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PureCloud Jenkins committed Aug 28, 2019
1 parent 60d569e commit c04c98c
Show file tree
Hide file tree
Showing 49 changed files with 533 additions and 980 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ For direct use in a browser script:

```{"language":"html"}
<!-- Include the CJS SDK -->
<script src="https://sdk-cdn.mypurecloud.com/javascript-guest/5.0.2/purecloud-guest-chat-client.min.js"></script>
<script src="https://sdk-cdn.mypurecloud.com/javascript-guest/5.1.0/purecloud-guest-chat-client.min.js"></script>
<script type="text/javascript">
// Obtain a reference to the platformClient object
Expand All @@ -45,7 +45,7 @@ For direct use in a browser script:
<script type="text/javascript">
// Obtain a reference to the platformClient object
requirejs(['https://sdk-cdn.mypurecloud.com/javascript-guest/amd/5.0.2/purecloud-guest-chat-client.min.js'], (platformClient) => {
requirejs(['https://sdk-cdn.mypurecloud.com/javascript-guest/amd/5.1.0/purecloud-guest-chat-client.min.js'], (platformClient) => {
console.log(platformClient);
});
</script>
Expand Down
4 changes: 2 additions & 2 deletions build/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ For direct use in a browser script:

```{"language":"html"}
<!-- Include the CJS SDK -->
<script src="https://sdk-cdn.mypurecloud.com/javascript-guest/5.0.2/purecloud-guest-chat-client.min.js"></script>
<script src="https://sdk-cdn.mypurecloud.com/javascript-guest/5.1.0/purecloud-guest-chat-client.min.js"></script>
<script type="text/javascript">
// Obtain a reference to the platformClient object
Expand All @@ -45,7 +45,7 @@ For direct use in a browser script:
<script type="text/javascript">
// Obtain a reference to the platformClient object
requirejs(['https://sdk-cdn.mypurecloud.com/javascript-guest/amd/5.0.2/purecloud-guest-chat-client.min.js'], (platformClient) => {
requirejs(['https://sdk-cdn.mypurecloud.com/javascript-guest/amd/5.1.0/purecloud-guest-chat-client.min.js'], (platformClient) => {
console.log(platformClient);
});
</script>
Expand Down
8 changes: 4 additions & 4 deletions build/dist/node/purecloud-guest-chat-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var PureCloudRegionHosts = {

/**
* @module purecloud-guest-chat-client/ApiClient
* @version 5.0.2
* @version 5.1.0
*/
class ApiClient {
/**
Expand Down Expand Up @@ -541,7 +541,7 @@ class ApiClient {

// set header parameters
request.set(this.defaultHeaders).set(this.normalizeParams(headerParams));
//request.set({ 'purecloud-sdk': '5.0.2' });
//request.set({ 'purecloud-sdk': '5.1.0' });

// set request timeout
request.timeout(this.timeout);
Expand Down Expand Up @@ -666,7 +666,7 @@ class WebChatApi {
/**
* WebChat service.
* @module purecloud-guest-chat-client/api/WebChatApi
* @version 5.0.2
* @version 5.1.0
*/

/**
Expand Down Expand Up @@ -1045,7 +1045,7 @@ class WebChatApi {
* </pre>
* </p>
* @module purecloud-guest-chat-client/index
* @version 5.0.2
* @version 5.1.0
*/
class platformClient {
constructor() {
Expand Down
8 changes: 4 additions & 4 deletions build/dist/web-amd/purecloud-guest-chat-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ define(['superagent'], function (superagent) { 'use strict';

/**
* @module purecloud-guest-chat-client/ApiClient
* @version 5.0.2
* @version 5.1.0
*/
class ApiClient {
/**
Expand Down Expand Up @@ -539,7 +539,7 @@ define(['superagent'], function (superagent) { 'use strict';

// set header parameters
request.set(this.defaultHeaders).set(this.normalizeParams(headerParams));
//request.set({ 'purecloud-sdk': '5.0.2' });
//request.set({ 'purecloud-sdk': '5.1.0' });

// set request timeout
request.timeout(this.timeout);
Expand Down Expand Up @@ -664,7 +664,7 @@ define(['superagent'], function (superagent) { 'use strict';
/**
* WebChat service.
* @module purecloud-guest-chat-client/api/WebChatApi
* @version 5.0.2
* @version 5.1.0
*/

/**
Expand Down Expand Up @@ -1043,7 +1043,7 @@ define(['superagent'], function (superagent) { 'use strict';
* </pre>
* </p>
* @module purecloud-guest-chat-client/index
* @version 5.0.2
* @version 5.1.0
*/
class platformClient {
constructor() {
Expand Down
8 changes: 4 additions & 4 deletions build/dist/web-cjs/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -1979,7 +1979,7 @@ function isSlowBuffer (obj) {

/**
* @module purecloud-guest-chat-client/ApiClient
* @version 5.0.2
* @version 5.1.0
*/
class ApiClient {
/**
Expand Down Expand Up @@ -2506,7 +2506,7 @@ class ApiClient {

// set header parameters
request.set(this.defaultHeaders).set(this.normalizeParams(headerParams));
//request.set({ 'purecloud-sdk': '5.0.2' });
//request.set({ 'purecloud-sdk': '5.1.0' });

// set request timeout
request.timeout(this.timeout);
Expand Down Expand Up @@ -2631,7 +2631,7 @@ class WebChatApi {
/**
* WebChat service.
* @module purecloud-guest-chat-client/api/WebChatApi
* @version 5.0.2
* @version 5.1.0
*/

/**
Expand Down Expand Up @@ -3010,7 +3010,7 @@ class WebChatApi {
* </pre>
* </p>
* @module purecloud-guest-chat-client/index
* @version 5.0.2
* @version 5.1.0
*/
class platformClient {
constructor() {
Expand Down
40 changes: 27 additions & 13 deletions build/dist/web-cjs/purecloud-guest-chat-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ function toByteArray (b64) {
? validLen - 4
: validLen

for (var i = 0; i < len; i += 4) {
var i
for (i = 0; i < len; i += 4) {
tmp =
(revLookup[b64.charCodeAt(i)] << 18) |
(revLookup[b64.charCodeAt(i + 1)] << 12) |
Expand Down Expand Up @@ -167,6 +168,10 @@ function fromByteArray (uint8) {

var base64 = require('base64-js')
var ieee754 = require('ieee754')
var customInspectSymbol =
(typeof Symbol === 'function' && typeof Symbol.for === 'function')
? Symbol.for('nodejs.util.inspect.custom')
: null

exports.Buffer = Buffer
exports.SlowBuffer = SlowBuffer
Expand Down Expand Up @@ -203,7 +208,9 @@ function typedArraySupport () {
// Can typed array instances can be augmented?
try {
var arr = new Uint8Array(1)
arr.__proto__ = { __proto__: Uint8Array.prototype, foo: function () { return 42 } }
var proto = { foo: function () { return 42 } }
Object.setPrototypeOf(proto, Uint8Array.prototype)
Object.setPrototypeOf(arr, proto)
return arr.foo() === 42
} catch (e) {
return false
Expand Down Expand Up @@ -232,7 +239,7 @@ function createBuffer (length) {
}
// Return an augmented `Uint8Array` instance
var buf = new Uint8Array(length)
buf.__proto__ = Buffer.prototype
Object.setPrototypeOf(buf, Buffer.prototype)
return buf
}

Expand Down Expand Up @@ -282,7 +289,7 @@ function from (value, encodingOrOffset, length) {
}

if (value == null) {
throw TypeError(
throw new TypeError(
'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +
'or Array-like Object. Received type ' + (typeof value)
)
Expand Down Expand Up @@ -334,8 +341,8 @@ Buffer.from = function (value, encodingOrOffset, length) {

// Note: Change prototype *after* Buffer.from is defined to workaround Chrome bug:
// https://github.com/feross/buffer/pull/148
Buffer.prototype.__proto__ = Uint8Array.prototype
Buffer.__proto__ = Uint8Array
Object.setPrototypeOf(Buffer.prototype, Uint8Array.prototype)
Object.setPrototypeOf(Buffer, Uint8Array)

function assertSize (size) {
if (typeof size !== 'number') {
Expand Down Expand Up @@ -439,7 +446,8 @@ function fromArrayBuffer (array, byteOffset, length) {
}

// Return an augmented `Uint8Array` instance
buf.__proto__ = Buffer.prototype
Object.setPrototypeOf(buf, Buffer.prototype)

return buf
}

Expand Down Expand Up @@ -761,6 +769,9 @@ Buffer.prototype.inspect = function inspect () {
if (this.length > max) str += ' ... '
return '<Buffer ' + str + '>'
}
if (customInspectSymbol) {
Buffer.prototype[customInspectSymbol] = Buffer.prototype.inspect
}

Buffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {
if (isInstance(target, Uint8Array)) {
Expand Down Expand Up @@ -886,7 +897,7 @@ function bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {
return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)
}
}
return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir)
return arrayIndexOf(buffer, [val], byteOffset, encoding, dir)
}

throw new TypeError('val must be string, number or Buffer')
Expand Down Expand Up @@ -1252,7 +1263,8 @@ Buffer.prototype.slice = function slice (start, end) {

var newBuf = this.subarray(start, end)
// Return an augmented `Uint8Array` instance
newBuf.__proto__ = Buffer.prototype
Object.setPrototypeOf(newBuf, Buffer.prototype)

return newBuf
}

Expand Down Expand Up @@ -1741,6 +1753,8 @@ Buffer.prototype.fill = function fill (val, start, end, encoding) {
}
} else if (typeof val === 'number') {
val = val & 255
} else if (typeof val === 'boolean') {
val = Number(val)
}

// Invalid ranges are not set to a default, so can range check early.
Expand Down Expand Up @@ -6048,7 +6062,7 @@ function isSlowBuffer (obj) {

/**
* @module purecloud-guest-chat-client/ApiClient
* @version 5.0.2
* @version 5.1.0
*/
class ApiClient {
/**
Expand Down Expand Up @@ -6575,7 +6589,7 @@ class ApiClient {

// set header parameters
request.set(this.defaultHeaders).set(this.normalizeParams(headerParams));
//request.set({ 'purecloud-sdk': '5.0.2' });
//request.set({ 'purecloud-sdk': '5.1.0' });

// set request timeout
request.timeout(this.timeout);
Expand Down Expand Up @@ -6700,7 +6714,7 @@ class WebChatApi {
/**
* WebChat service.
* @module purecloud-guest-chat-client/api/WebChatApi
* @version 5.0.2
* @version 5.1.0
*/

/**
Expand Down Expand Up @@ -7079,7 +7093,7 @@ class WebChatApi {
* </pre>
* </p>
* @module purecloud-guest-chat-client/index
* @version 5.0.2
* @version 5.1.0
*/
class platformClient {
constructor() {
Expand Down
2 changes: 1 addition & 1 deletion build/dist/web-cjs/purecloud-guest-chat-client.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ For direct use in a browser script:

```{"language":"html"}
<!-- Include the CJS SDK -->
<script src="https://sdk-cdn.mypurecloud.com/javascript-guest/5.0.2/purecloud-guest-chat-client.min.js"></script>
<script src="https://sdk-cdn.mypurecloud.com/javascript-guest/5.1.0/purecloud-guest-chat-client.min.js"></script>
<script type="text/javascript">
// Obtain a reference to the platformClient object
Expand All @@ -45,7 +45,7 @@ For direct use in a browser script:
<script type="text/javascript">
// Obtain a reference to the platformClient object
requirejs(['https://sdk-cdn.mypurecloud.com/javascript-guest/amd/5.0.2/purecloud-guest-chat-client.min.js'], (platformClient) => {
requirejs(['https://sdk-cdn.mypurecloud.com/javascript-guest/amd/5.1.0/purecloud-guest-chat-client.min.js'], (platformClient) => {
console.log(platformClient);
});
</script>
Expand Down
2 changes: 1 addition & 1 deletion build/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,9 @@ declare namespace Models {
"total"?: number;
"firstUri"?: string;
"selfUri"?: string;
"lastUri"?: string;
"previousUri"?: string;
"nextUri"?: string;
"lastUri"?: string;
"pageCount"?: number;
}

Expand Down
1 change: 1 addition & 0 deletions build/node_modules/is-callable/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions build/node_modules/qs/.editorconfig

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions build/node_modules/qs/.github/FUNDING.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions build/node_modules/qs/CHANGELOG.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 0 additions & 28 deletions build/node_modules/qs/LICENSE

This file was deleted.

Loading

0 comments on commit c04c98c

Please sign in to comment.