@buckhamduffy/synapse-release-modal
TypeScript icon, indicating that this package has built-in type declarations

0.0.18 • Public • Published

Synapse Release Modal

Simple plugin that will show users Synapse release notes for all changes since their last version.

Installation

npm install @buckhamduffy/synapse-release-modal

Usage

import SynapsePlugin from '@buckhamduffy/synapse-release-modal'
import '@buckhamduffy/synapse-release-modal/dist/style.css';

Vue.use(SynapsePlugin, {
    // base URL for Synapse API
    baseUrl: import.meta.env.VITE_SYNAPSE_BASE_URL || 'https://synapse.buckhamduffy.com',
    // project UUID
    projectKey: import.meta.env.VITE_SYNAPSE_PROJECT_KEY,
    currentVersion: '1.0.0',
});

Set the current user to tack acknowledgments against

SynapsePlugin.setUser({
    identifier: CryptoJS.MD5(user.email).toString(),
});

Dependents (0)

Package Sidebar

Install

npm i @buckhamduffy/synapse-release-modal

Weekly Downloads

1

Version

0.0.18

License

none

Unpacked Size

130 kB

Total Files

11

Last publish

Collaborators

  • alexbuckham
  • aflorey