Skip to content

Commit 6ad5d93

Browse files
authored
Merge pull request #758 from inplayer-org/improvement/iot-url-change-stage-prod
Fixed the Urls for AWS_IoT
2 parents 1b666ca + 84a7da7 commit 6ad5d93

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# Change Log
22

33
All notable changes to this project will be documented in this file.
4+
5+
# [3.12.8] - 05-05-2022
6+
7+
### Changes
8+
9+
- Fixed AWS_IOT_URL for staging and production environments
10+
411
# [3.12.7] - 04-05-2022
512

613
### Changes

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@inplayer-org/inplayer.js",
3-
"version": "3.12.7",
3+
"version": "3.12.8",
44
"author": "InPlayer",
55
"license": "MIT",
66
"description": "A Javascript SDK for Inplayer's RESTful API",

src/config.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ export const dailyConfig = {
2929
* INPLAYER_ACCESS_CODE_NAME = (assetId: number) => `access_code_${assetId}`;
3030
* IOT_NOTIF_URL = 'a3gkl64duktvc4-ats.iot.eu-west-1.amazonaws.com';
3131
* BASE_URL = 'https://staging-v2.inplayer.com';
32-
* AWS_IOT_URL = 'https://staging-notifications.inplayer.com/';
32+
* AWS_IOT_URL = 'https://staging-notifications.inplayer.com/iot/keys';
3333
* ```
3434
*/
3535
export const devConfig = {
3636
...commonConfig,
3737
BASE_URL: 'https://staging-v2.inplayer.com',
38-
AWS_IOT_URL: 'https://staging-notifications.inplayer.com/',
38+
AWS_IOT_URL: 'https://staging-notifications.inplayer.com/iot/keys',
3939
};
4040

4141
/**
@@ -45,13 +45,13 @@ export const devConfig = {
4545
* INPLAYER_ACCESS_CODE_NAME = (assetId: number) => `access_code_${assetId}`;
4646
* IOT_NOTIF_URL = 'a3gkl64duktvc4-ats.iot.eu-west-1.amazonaws.com';
4747
* BASE_URL = 'https://services.inplayer.com';
48-
* AWS_IOT_URL = 'https://notifications.inplayer.com/';
48+
* AWS_IOT_URL = 'https://notifications.inplayer.com/iot/keys';
4949
* ```
5050
*/
5151
export const prodConfig = {
5252
...commonConfig,
5353
BASE_URL: 'https://services.inplayer.com',
54-
AWS_IOT_URL: 'https://notifications.inplayer.com/',
54+
AWS_IOT_URL: 'https://notifications.inplayer.com/iot/keys',
5555
};
5656

5757
/** @internal */

0 commit comments

Comments
 (0)