import { generateAuthorisationURL as _generateAuthorisationURL } from "@buttercup/dropbox-client" ; import EventEmitter from "eventemitter3" ; const APP_CLIENT_ID = "5fstmwjaisrt06t" ; const CALLBACK_URL = "buttercup://auth/dropbox/" ; let __emitter ; export function generateAuthorisationURL ( ) { return _generateAuthorisationURL ( APP_CLIENT_ID , CALLBACK_URL ) ; } export function getEmitter ( ) { if ( ! __emitter ) { __emitter = new EventEmitter ( ) ; } return __emitter ; }