Skip to content

Commit 87f2a6b

Browse files
author
raipubnub
authored
Merge pull request #166 from pubnub/develop
Release v4.25.2
2 parents 9f6fc98 + 5cc45d7 commit 87f2a6b

File tree

14 files changed

+43
-24
lines changed

14 files changed

+43
-24
lines changed

.pubnub.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
---
22
changelog:
3+
-
4+
changes:
5+
-
6+
text: "Fix issue with subdomains ending in 'ps'"
7+
type: bug
8+
date: 2019-09-03
9+
version: v4.25.2
310
-
411
changes:
512
-
@@ -723,4 +730,4 @@ supported-platforms:
723730
- "Ubuntu 14.04 and above"
724731
- "Windows 7, 8, 10"
725732
version: "Pubnub Javascript for Node"
726-
version: "4.25.1"
733+
version: "4.25.2"

CHANGELOG.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,24 @@
1-
## [v4.25.1](https://github.com/pubnub/javascript/tree/v4.25.1)
1+
## [v4.25.2](https://github.com/pubnub/javascript/tree/v4.25.2)
2+
August-23-2019
3+
4+
5+
[Full Changelog](https://github.com/pubnub/javascript/compare/v4.25.1...v4.25.2)
6+
7+
8+
9+
- ⭐ Fix issue with subdomains ending in 'ps'
10+
11+
12+
13+
## [v4.25.1](https://github.com/pubnub/javascript/tree/v4.25.1)
214
August-23-2019
315

416

517
[Full Changelog](https://github.com/pubnub/javascript/compare/v4.25.0...v4.25.1)
618

719

820

9-
- ⭐ Fix regression: Fix titanium build to support recent version"
21+
- ⭐ Fix regression: Fix titanium build to support recent version
1022

1123

1224

@@ -18,7 +30,7 @@
1830

1931

2032

21-
- ⭐ Fix regression: Add Objects support for Users, Spaces and Memberships"
33+
- ⭐ Fix regression: Add Objects support for Users, Spaces and Memberships
2234

2335

2436

@@ -30,7 +42,7 @@
3042

3143

3244

33-
- ⭐ Fix regression: 'PubNub is not a constructor' in Node.js"
45+
- ⭐ Fix regression: 'PubNub is not a constructor' in Node.js
3446

3547

3648

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ please use the [master_3x](https://github.com/pubnub/javascript/tree/master_3x)
2222

2323

2424

25-
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.25.1.min.js
26-
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.25.1.js
25+
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.25.2.min.js
26+
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.25.2.js

dist/titanium/pubnub.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/titanium/pubnub.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/web/pubnub.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/web/pubnub.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/core/components/config.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/core/components/config.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/networking/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/networking/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pubnub",
3-
"version": "4.25.1",
3+
"version": "4.25.2",
44
"author": "PubNub <[email protected]>",
55
"description": "Publish & Subscribe Real-time Messaging with PubNub",
66
"bin": {},

src/core/components/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ export default class {
296296
}
297297

298298
getVersion(): string {
299-
return '4.25.1';
299+
return '4.25.2';
300300
}
301301

302302
_decideUUID(providedUUID: string): string {

src/networking/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default class {
4444

4545
nextOrigin(): string {
4646
// if a custom origin is supplied, use do not bother with shuffling subdomains
47-
if (this._providedFQDN.indexOf('ps.') === -1) {
47+
if (!this._providedFQDN.match(/ps\.pndsn\.com$/i)) {
4848
return this._providedFQDN;
4949
}
5050

@@ -59,9 +59,9 @@ export default class {
5959
newSubDomain = this._currentSubDomain.toString();
6060

6161
return this._providedFQDN.replace(
62-
'ps.',
63-
`ps${newSubDomain}.`
64-
); /* ensure ps. is used to replace, else https text will change */
62+
'ps.pndsn.com',
63+
`ps${newSubDomain}.pndsn.com`
64+
);
6565
}
6666

6767
hasModule(name: string) {

0 commit comments

Comments
 (0)