Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.

schibsted/sdk-js

Repository files navigation

SPiD JS SDK

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.

Deprecated

This SDK is no longer receiving any support or fixes.

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.