Skip to content

Commit

Permalink
ULMS-3278 Changed cdn host
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkonst committed Aug 22, 2024
1 parent d57de5f commit 28e494a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ulms/api-clients",
"version": "7.14.0",
"version": "7.15.0",
"description": "JavaScript API clients for ULMS platform",
"keywords": [],
"homepage": "https://github.com/foxford/ulms-api-clients-js#readme",
Expand Down
2 changes: 1 addition & 1 deletion src/mqtt.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class MQTTClient {
})
const mqttVersion =
isBigIntSupported && !isOldBrowserVersion ? '5.9.1' : '3.0.0'
const source = `https://ulms-static.foxford.ngcdn.ru/prod/js/mqtt@${mqttVersion}/dist/mqtt.min.js`
const source = `https://static.ngcdn.ru/js-libs/mqtt@${mqttVersion}/dist/mqtt.min.js`

return retry(() => loadScript(source))
}
Expand Down
3 changes: 2 additions & 1 deletion src/ulms.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,11 @@ class ULMS extends BasicClient {

/**
* Account properties enum
* @returns {{ONBOARDING: string}}
* @returns {{LAST_SEEN_MESSAGE_ID_BY_ROOMS: string, ONBOARDING: string}}
*/
static get accountKeys() {
return {
LAST_SEEN_MESSAGE_ID_BY_ROOMS: 'last_seen_message_id_by_rooms', // todo: deprecated key
ONBOARDING: 'onboarding',
}
}
Expand Down

0 comments on commit 28e494a

Please sign in to comment.