0.1.4 • Published 3 years ago

@linx-impulse/engage-onsite-sdk-js v0.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Linx Onsite SDK

SDK to be used as interface over onsite api in client side application that use javascript.

Installation

npm:

$ npm install --save @linx-impulse/engage-onsite-sdk-js

yarn:

$ yarn add @linx-impulse/engage-onsite-sdk-js

Both above can be used as follow

  • node
const engageOnsiteSdkJs = require('@linx-impulse/engage-onsite-sdk-js');

const { pages } = engageOnsiteSdkJs;

pages.getRecommendations({...});
  • es6 style
import { pages } from '@linx-impulse/engage-onsite-sdk-js';

pages.getRecommendations({...});

CDN:

<script src="https://cdn.jsdelivr.net/npm/@linx-impulse/engage-onsite-sdk-js@0.0.0-alpha.7/dist/engage-onsite-sdk-js.js"></script>

Notice! it is recommended to use the latest version. https://www.npmjs.com/package/@linx-impulse/engage-onsite-sdk-js

It will create a global object that can be used as follow:

<script>
  var engageOnsiteSdk = window.linx.engageOnsiteSdk;

  engageOnsiteSdkJs.pages.getRecommendations({...});
</script>

Release conventions

When releasing a new version of this sofware, we should follow the standards described in https://semver.org/

The commands below already follow those guidelines so you should just run:

npm run release

or

yarn release

In case of a prerelease version. We can use the optional parameter:

--prerelease [alpha|beta|rc]

When deciding the prerelease tag, we should follow the guidelines described in https://www.drupal.org/node/467020

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.1.0-rc.0

4 years ago

0.0.0-alpha.7

5 years ago

0.0.0-alpha.6

5 years ago

0.0.0-alpha.5

5 years ago

0.0.0-alpha.4

5 years ago

0.0.0-alpha.3

5 years ago

0.0.0-alpha.2

5 years ago

0.0.0-alpha.1

5 years ago

0.0.0-alpha.0

5 years ago

0.0.0

5 years ago