SPiD SDK Client for Javascript
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples/logincheck
src
test
.editorconfig
.eslintrc
.gitignore
.jshintrc
.npmignore
.travis.yml
Gruntfile.js
README.md
karma.conf.js
package-lock.json
package.json

README.md

SPiD JS SDK

NPM

Version Build Status Dependency Status devDependency Status

SDK to integrate to the SPiD frontend API. Used to check if user is logged in or not, or owns a product or not.

Documentation

Documentation is available on http://techdocs.spid.no/sdks/javascript/ and make sure to read the API docs http://techdocs.spid.no/sdks/js/api-docs/.

Release

Bump Semver version with this command

$ npm version <patch | minor | major>

$ npm publish

npm version will bump version, tag the release and push it. Once pushed, Travis CI runs tests and uploads built js files to cdn/s3 and zip to Github releases.

Notes

All versions of the SDK will use a global variable/namespace—SPiD.Talk.response—when making JSONP calls. This may change at a later date.