0.0.2 • Published 9 months ago

@belongnet/enoki-vue v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@belongnet/enoki-vue

Version Downloads install size npm bundle size

publint | arethetypeswrong

Enoki (zkLogin Sui) use hooks Vue 3, based and on Enoki TypeScript SDK and inspired React integration.

Installation

Install dependencies:

pnpm add @belongnet/enoki-vue @mysten/enoki

Get your API key from Enoki Portal and setup your Enoki config:

import { useEnokiFlow } from '@belongnet/enoki-vue'

// setup enoki config first
const enokiFlow = useEnokiFlow({
  apiKey: 'your-api',
})

Enjoy!

Advanced Usage

import {
  useZkLogin,
  useZkLoginSession,
  useAuthCallback,
} from '@belongnet/enoki-vue'

Related

License

This project is licensed under the terms of the MIT license.

0.0.2

9 months ago