optimizely-client-sdk
Advanced tools
Comparing version 1.3.0 to 1.3.3
17
index.js
@@ -0,1 +1,16 @@ | ||
/** | ||
* Copyright 2016-2017, Optimizely | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
var _ = require('optimizely-server-sdk/node_modules/lodash/core'); | ||
@@ -10,3 +25,3 @@ var configValidator = require('optimizely-server-sdk/lib/utils/config_validator'); | ||
var JAVASCRIPT_CLIENT_VERSION = '1.3.0'; | ||
var JAVASCRIPT_CLIENT_VERSION = '1.3.3'; | ||
var MODULE_NAME = 'INDEX'; | ||
@@ -13,0 +28,0 @@ |
@@ -0,1 +1,16 @@ | ||
/** | ||
* Copyright 2016-2017, Optimizely | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
var _ = require('optimizely-server-sdk/node_modules/lodash/core'); | ||
@@ -2,0 +17,0 @@ var es6Promise = require('es6-promise').Promise; |
{ | ||
"name": "optimizely-client-sdk", | ||
"version": "1.3.0", | ||
"version": "1.3.3", | ||
"description": "JavaScript SDK for Optimizely X Full Stack", | ||
@@ -25,3 +25,3 @@ "main": "index.js", | ||
"lodash": "^4.13.1", | ||
"optimizely-server-sdk": "^1.2.0" | ||
"optimizely-server-sdk": "^1.2.1" | ||
}, | ||
@@ -37,2 +37,3 @@ "devDependencies": { | ||
"files": [ | ||
"index.js", | ||
"dist", | ||
@@ -39,0 +40,0 @@ "lib" |
@@ -1,8 +0,8 @@ | ||
#Optimizely JavaScript SDK | ||
# Optimizely JavaScript SDK | ||
This repository houses the JavaScript SDK for Optimizely X Full Stack. | ||
##Getting Started | ||
## Getting Started | ||
###Installing the SDK | ||
### Installing the SDK | ||
@@ -17,15 +17,16 @@ The SDK is available through [npm](https://npmjs.com/package/optimizely-client-sdk). To install: | ||
1. Pull in `dist/optimizely.min.js` as a `<script>` | ||
2. Use as global variable `window.optimizelyClient` | ||
1. Run `npm run build` | ||
2. Pull in `dist/optimizely.min.js` as a `<script>` | ||
3. Use as global variable `window.optimizelyClient` | ||
###Using the SDK | ||
### Using the SDK | ||
See the Optimizely X Full Stack testing [developer documentation](http://developers.optimizely.com/server/reference/index.html) to learn how to set up your first JavaScript project and use the SDK. | ||
##Development | ||
## Development | ||
###Installing dependencies | ||
### Installing dependencies | ||
```npm install``` | ||
###Unit tests | ||
### Unit tests | ||
@@ -37,4 +38,4 @@ You can run all unit tests with: | ||
###Contributing | ||
### Contributing | ||
Please see [CONTRIBUTING](CONTRIBUTING.md). |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license
Found 1 instance in 1 package
1
100
40
23875
6
129
Updatedoptimizely-server-sdk@^1.2.1