Skip to content

Commit c260a10

Browse files
Region support
1 parent 35a763d commit c260a10

File tree

6 files changed

+12
-5
lines changed

6 files changed

+12
-5
lines changed

dist/nativescript/contentstack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
10591059
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
10601060

10611061
//JS SDK version
1062-
var version = '3.7.0';
1062+
var version = '3.7.1';
10631063
var environment = void 0,
10641064
api_key = void 0;
10651065

dist/node/contentstack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1558,7 +1558,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
15581558
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
15591559

15601560
//JS SDK version
1561-
var version = '3.7.0';
1561+
var version = '3.7.1';
15621562
var environment = void 0,
15631563
api_key = void 0;
15641564

dist/react-native/contentstack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
10591059
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
10601060

10611061
//JS SDK version
1062-
var version = '3.7.0';
1062+
var version = '3.7.1';
10631063
var environment = void 0,
10641064
api_key = void 0;
10651065

dist/web/contentstack.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.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "contentstack",
3-
"version": "3.7.0",
3+
"version": "3.7.1",
44
"description": "Contentstack Javascript SDK",
55
"homepage": "https://www.contentstack.com/",
66
"author": {

src/core/contentstackregion.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
const ContentstackRegion = {
2+
EU: "eu",
3+
US: "us"
4+
};
5+
6+
export default ContentstackRegion;
7+
//module.exports = ContentstackRegion;

0 commit comments

Comments
 (0)