qwestive-client-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.1.13 • Public • Published

Project logo

qwestive-client-sdk

Status npm npm bundle size npm

📝 Table of Contents

🧐 About

Qwestive client sdk is a npm package that can be used to register invitees

🏁 Getting Started

These instructions will get you started with the project up and running on your local machine for development.

Prerequisites

  • node: v16.20.0
  • npm: 8.19.4
  • yarn: 1.22.19

Installation

Any of the below ways can be used to add the package to your existing web app

NPM

npm install qwestive-client-sdk

Yarn

yarn add qwestive-client-sdk

Browser

<script src="https://unpkg.com/qwestive-client-sdk@0.1.13/dist/index.js"></script>

🎈 Usage

import QwestiveClientSDK from 'qwestive-client-sdk';

async function testQwestiveClientSDK() {
  const qwestiveClient = new QwestiveClientSDK(
    QWESTIVE_REFERRAL_PROJECT_ID,
    QWESTIVE_REFERRAL_API_KEY,
  );

  await qwestiveClient.init();
  await qwestiveClient.setReferral({
    publicKey: '0x71C7656EC7ab88b098defB751B7401B5f6d8976F'
  });
}

testQwestiveClientSDK();

Releases

  • Release 0.1.13
    • Bug fixes and improvements
    • setReferral method now sends proper response as mentioned in docs rather than empty response or undefined

Package Sidebar

Install

npm i qwestive-client-sdk

Weekly Downloads

3

Version

0.1.13

License

MIT

Unpacked Size

62.7 kB

Total Files

5

Last publish

Collaborators

  • seanqwest