- Fix socket io URL for prod environment
- Updated URL-s
- Updated URL-s
- Added
isBroadcastEvent
option
- Deploy DEV
- Apply proxy service change.
- Updated configs environment
- Updated configs for Treats
-
hasNfts
function will check non-custody wallets
- Single socket connection extension
- Pass token to the template
- Added
hasNfts
method
- Updated SDK config for LiveOne ID service
- Updated Live One config
- Updated permissions
- Added sign message func
- Added new auth method: TRUSTED_3RD_PARTY
- Added support of different ENV-s for NPM lib
- Payload type changed to any
- New Identity Service API
- Updated API endpoints
- Added auth methods: email, oauth, firebase.
- Add onGetUserKeypair API
- Add react native platform
- Change webpack config (see Installation section)
- Swapped dependency for uuid to react-native-uuid
- Add tests, setup coverage threshold, small fixes
- Change webpack library name
- Added logging to console for thrown Errors
- Added payload format check
- Removed client-sdk-js dependencies
- Added template action hooks, (
dismiss
andreward-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
- Update dependencies
- Add multi-tenancy support (send app_id with event, move services URLs to config, add API to set identity service URL)
- First release
SDK can be installed either as a npm package or a bundle:
npm install --save @cere/sdk-js
...
import { cereReactNativeSDK } from "@cere/sdk-js/dist/reactNative";
import { cereWebSDK } from '@cere/sdk-js/dist/web';
<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>