npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@cere/sdk-js

v5.11.1

Published

A lightweight SDK for Cere network.

Downloads

228

Readme

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

  • https://cere-devops.gitbook.io/cere-integration-guide/