Skip to content

Commit 5cd7770

Browse files
Merged with master and rebuild all sdk's
2 parents adc3371 + 157ad9d commit 5cd7770

File tree

9 files changed

+11
-10
lines changed

9 files changed

+11
-10
lines changed

dist/native-script/contentstack.js renamed to dist/nativescript/contentstack.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
952952
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; } }
953953

954954
//JS SDK version
955-
var version = '3.4.0';
955+
var version = '3.4.1';
956956
var environment = void 0,
957957
api_key = void 0;
958958

@@ -1972,7 +1972,7 @@ Object.defineProperty(exports, "__esModule", {
19721972
});
19731973
var config = {
19741974
protocol: "https",
1975-
host: "stag-cdn.contentstack.io",
1975+
host: "cdn.contentstack.io",
19761976
port: 443,
19771977
version: "v3",
19781978
urls: {

dist/node/contentstack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1366,7 +1366,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
13661366
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; } }
13671367

13681368
//JS SDK version
1369-
var version = '3.4.0';
1369+
var version = '3.4.1';
13701370
var environment = void 0,
13711371
api_key = void 0;
13721372

dist/react-native/contentstack.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
952952
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; } }
953953

954954
//JS SDK version
955-
var version = '3.4.0';
955+
var version = '3.4.1';
956956
var environment = void 0,
957957
api_key = void 0;
958958

@@ -1972,7 +1972,7 @@ Object.defineProperty(exports, "__esModule", {
19721972
});
19731973
var config = {
19741974
protocol: "https",
1975-
host: "stag-cdn.contentstack.io",
1975+
host: "cdn.contentstack.io",
19761976
port: 443,
19771977
version: "v3",
19781978
urls: {

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.

nativescript.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('./dist/nativescript/contentstack');

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "contentstack",
3-
"version": "3.4.0",
3+
"version": "3.4.1",
44
"description": "Contentstack Javascript SDK",
55
"homepage": "https://www.contentstack.com/",
66
"author": {
@@ -15,7 +15,7 @@
1515
"buildnode": "webpack --config webpack/webpack.node.js",
1616
"buildweb": "webpack -p --config webpack/webpack.web.js",
1717
"buildreactnative": "webpack --config webpack/webpack.react-native.js",
18-
"buildnativescript": "webpack --config webpack/webpack.native-script.js",
18+
"buildnativescript": "webpack --config webpack/webpack.nativescript.js",
1919
"buildall": "npm run buildnode&npm run buildweb&npm run buildreactnative&npm run buildnativescript",
2020
"generate-docs": "node_modules/.bin/jsdoc --configure docs-config.json --verbose"
2121
},
File renamed without changes.

webpack/webpack.native-script.js renamed to webpack/webpack.nativescript.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ module.exports = function(options) {
1010
output: {
1111
library: "Contentstack",
1212
libraryTarget: "commonjs2",
13-
path: path.join(__dirname, "../dist/native-script"),
13+
path: path.join(__dirname, "../dist/nativescript"),
1414
filename: "contentstack.js"
1515
},
1616
resolve: {
1717
alias: {
18-
runtime: path.resolve(__dirname, '../src/runtime/native-script')
18+
runtime: path.resolve(__dirname, '../src/runtime/nativescript')
1919
},
2020
modules: [
2121
'../src',

0 commit comments

Comments
 (0)