5.11.1 • Published 1 year ago

@cere/sdk-js v5.11.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

SDK-JS

Release notes

vNext

-

v5.11.1

  • Fix socket io URL for prod environment

v5.11.0

  • Updated URL-s

v5.9.0

  • Updated URL-s

v5.8.0

  • Added isBroadcastEvent option

v5.7.4

  • Deploy DEV

v5.7.3

  • Apply proxy service change.

v5.7.2

  • Updated configs environment

v5.6.0

  • Updated configs for Treats

v5.5.0

  • hasNfts function will check non-custody wallets

v5.4.0

  • Single socket connection extension

v5.3.2

  • Pass token to the template

v5.3.1

  • Added hasNfts method

v5.2.1

  • Updated SDK config for LiveOne ID service

v5.2.0

  • Updated Live One config

v4.3.2

  • Updated permissions

v4.3.0

  • Added sign message func

v4.2.0

  • Added new auth method: TRUSTED_3RD_PARTY

v4.1.1

  • Added support of different ENV-s for NPM lib

v4.0.1

  • Payload type changed to any

v4.0.0

  • New Identity Service API

v3.1.1 (3.1.1-dev and 3.1.1-stage)

  • Updated API endpoints
  • Added auth methods: email, oauth, firebase.

v3.1.0 (3.1.0-dev and 3.1.0-stage)

  • Add onGetUserKeypair API

v3.0.0 (3.0.0-dev and 3.0.0-stage)

  • Add react native platform
  • Change webpack config (see Installation section)
  • Swapped dependency for uuid to react-native-uuid

v2.2.4 (2.2.4-dev and 2.2.4-stage)

  • Add tests, setup coverage threshold, small fixes

v2.2.3 (2.2.3-dev and 2.2.3-stage)

  • Change webpack library name

v2.2.2 (2.2.2-dev and 2.2.2-stage)

  • Added logging to console for thrown Errors
  • Added payload format check

v2.2.1 (2.2.1-dev and 2.2.1-stage)

  • Removed client-sdk-js dependencies
  • Added template action hooks, (dismiss and reward-click)
  • Added unsubscribe functionality for custom events
  • Added data tracking for impression, dismiss and click events to be sent directly to events-service
  • Improved unit test coverage
  • Added github action workflow
  • Add support for substrate keyPair

v2.0.0

  • Update dependencies
  • Add multi-tenancy support (send app_id with event, move services URLs to config, add API to set identity service URL)

v1.0.0

  • First release

Installation

SDK can be installed either as a npm package or a bundle:

via npm

npm install --save @cere/sdk-js
...
import { cereReactNativeSDK } from "@cere/sdk-js/dist/reactNative";
import { cereWebSDK } from '@cere/sdk-js/dist/web';

via bundle

  <script src="https://sdk.dev.cere.io/v4.3.1/web.js"></script>
  <script src="https://sdk.dev.cere.io/v4.3.1/reactNative.js"></script>
...
<script>
    window.CereSDK.web.cereWebSDK(...) // SDK for web
    window.CereSDK.reactNative.cereReactNativeSDK(...) // SDK for React Native
</script>

GUIDE

5.11.1

1 year ago

5.11.0

1 year ago

5.10.0

1 year ago

5.8.0

2 years ago

5.8.0-rc1

2 years ago

5.9.0

2 years ago

5.7.4

2 years ago

5.7.3

2 years ago

5.7.2

2 years ago

5.7.1

2 years ago

5.7.0

2 years ago

5.6.0

3 years ago

5.5.0

3 years ago

5.4.0

3 years ago

5.3.3

3 years ago

5.3.2

3 years ago

5.3.1

3 years ago

5.3.0

3 years ago

5.2.1

3 years ago

5.2.0

3 years ago

5.3.2-rc1

3 years ago

5.1.1

3 years ago

5.1.0

3 years ago

5.0.0

3 years ago

5.0.0-rc1

3 years ago

4.3.4

3 years ago

4.3.3

3 years ago

4.3.2

3 years ago

4.3.1-rc

3 years ago

4.3.1

3 years ago

4.3.0

3 years ago

4.2.0

3 years ago

4.1.1

4 years ago

4.1.0

4 years ago

4.0.2

4 years ago

4.0.1

4 years ago

4.0.0

4 years ago

4.1.0-test

4 years ago

4.1.0-rc2

4 years ago

4.1.0-rc1

4 years ago

4.0.0-rc7

4 years ago

4.0.0-rc6

4 years ago

4.0.0-rc5

4 years ago

4.0.0-rc4

4 years ago

4.0.0-rc3

4 years ago

4.0.0-rc2

4 years ago

4.0.0-rc1

4 years ago

3.2.1-stage

4 years ago

3.2.1-dev

4 years ago

3.1.1

4 years ago

3.1.0

4 years ago

3.1.0-stage

4 years ago

3.1.0-dev

4 years ago

3.1.0-dev-rc1

4 years ago

3.0.0

4 years ago

3.0.0-stage

4 years ago

3.0.0-dev

4 years ago

3.0.0-dev-rc6

4 years ago

3.0.0-dev-rc5

4 years ago

3.0.0-dev-rc4

4 years ago

3.0.0-dev-rc3

4 years ago

3.0.0-dev-rc2

4 years ago

3.0.0-dev-rc1

4 years ago

2.2.4

4 years ago

2.2.4-stage

4 years ago

2.2.4-dev

4 years ago

2.2.3

4 years ago

2.2.3-stage

4 years ago

2.2.3-dev

4 years ago

2.2.2-stage

4 years ago

2.2.2

4 years ago

2.2.2-dev

4 years ago

2.2.2-dev-rc5

4 years ago

2.2.2-dev-rc4

4 years ago

2.2.2-dev-rc3

4 years ago

2.2.2-dev-rc2

4 years ago

2.2.2-dev-rc1

4 years ago

2.2.1-dev

4 years ago

2.2.1-stage

4 years ago

2.2.1

4 years ago

2.2.1-rc4

4 years ago

2.2.1-rc3

4 years ago

2.2.1-rc2

4 years ago

2.2.1-rc1

4 years ago

2.2.0-dev

4 years ago

2.2.0

4 years ago

2.1.1

4 years ago

2.0.4

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.1.0

4 years ago