Skip to content

Commit ea1ef92

Browse files
Merged with master and rebuild all sdk's
2 parents 938c57d + 6541a58 commit ea1ef92

File tree

10 files changed

+13
-12
lines changed

10 files changed

+13
-12
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ To import the SDK in your project, use the following command:
3535

3636
To initialize the SDK, you will need to specify the API Key, Access Token, and Environment Name of your stack.
3737

38-
const Stack = Contentstack.Stack("api_key","access_token","environment_name");
38+
const Stack = contentstack.Stack("api_key","access_token","environment_name");
3939

4040
#### For React Native
4141

@@ -143,7 +143,7 @@ This option allows you to set/override a cache policy on a specific query object
143143

144144
You can query for content types, entries, assets and more using our JavaScript API Reference.
145145

146-
[JavaScript API Reference Doc](https://contentstack.com/docs/platforms/javascript-browser/api-reference)
146+
[JavaScript API Reference Doc](https://contentstack.com/docs/platforms/javascript-browser/api-reference/)
147147

148148
### Working with Images
149149

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)