Skip to content

Commit

Permalink
Merge pull request #756 from inplayer-org/improvement/iot-url-change-…
Browse files Browse the repository at this point in the history
…stage-prod

AWS IoT urls for staging and production
  • Loading branch information
vkochovski authored May 4, 2022
2 parents dc74153 + 8af3c12 commit 1b666ca
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Change Log

All notable changes to this project will be documented in this file.
# [3.12.7] - 04-05-2022

### Changes

- Updated AWS_IOT_URL for staging and production environments
# [3.12.6] - 08-03-2022

### Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@inplayer-org/inplayer.js",
"version": "3.12.6",
"version": "3.12.7",
"author": "InPlayer",
"license": "MIT",
"description": "A Javascript SDK for Inplayer's RESTful API",
Expand Down
8 changes: 4 additions & 4 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ export const dailyConfig = {
* INPLAYER_ACCESS_CODE_NAME = (assetId: number) => `access_code_${assetId}`;
* IOT_NOTIF_URL = 'a3gkl64duktvc4-ats.iot.eu-west-1.amazonaws.com';
* BASE_URL = 'https://staging-v2.inplayer.com';
* AWS_IOT_URL = 'https://o3871l8vj7.execute-api.eu-west-1.amazonaws.com/staging/iot/keys';
* AWS_IOT_URL = 'https://staging-notifications.inplayer.com/';
* ```
*/
export const devConfig = {
...commonConfig,
BASE_URL: 'https://staging-v2.inplayer.com',
AWS_IOT_URL: 'https://o3871l8vj7.execute-api.eu-west-1.amazonaws.com/staging/iot/keys',
AWS_IOT_URL: 'https://staging-notifications.inplayer.com/',
};

/**
Expand All @@ -45,13 +45,13 @@ export const devConfig = {
* INPLAYER_ACCESS_CODE_NAME = (assetId: number) => `access_code_${assetId}`;
* IOT_NOTIF_URL = 'a3gkl64duktvc4-ats.iot.eu-west-1.amazonaws.com';
* BASE_URL = 'https://services.inplayer.com';
* AWS_IOT_URL = 'https://eynmuj2g26.execute-api.eu-west-1.amazonaws.com/prod/iot/keys';
* AWS_IOT_URL = 'https://notifications.inplayer.com/';
* ```
*/
export const prodConfig = {
...commonConfig,
BASE_URL: 'https://services.inplayer.com',
AWS_IOT_URL: 'https://eynmuj2g26.execute-api.eu-west-1.amazonaws.com/prod/iot/keys',
AWS_IOT_URL: 'https://notifications.inplayer.com/',
};

/** @internal */
Expand Down

0 comments on commit 1b666ca

Please sign in to comment.