Socket
Socket
Sign inDemoInstall

optimizely-client-sdk

Package Overview
Dependencies
70
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

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;

5

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc