Rocky_Mountain_Vending/.pnpm-store/v10/files/f0/443a97db115d0baa7aeb774baef9bbfabdf95ac07f1b0bd506f13bacc52d47e2d08d49a7d2a9c9e5cfa631619dbc84dc234593d93784c51867fe68f901947d
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

43 lines
927 B
Text

Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const currentScopes = require('./currentScopes.js');
/**
* Send user feedback to Sentry.
*/
function captureFeedback(
params,
hint = {},
scope = currentScopes.getCurrentScope(),
) {
const { message, name, email, url, source, associatedEventId, tags } = params;
const feedbackEvent = {
contexts: {
feedback: {
contact_email: email,
name,
message,
url,
source,
associated_event_id: associatedEventId,
},
},
type: 'feedback',
level: 'info',
tags,
};
const client = scope?.getClient() || currentScopes.getClient();
if (client) {
client.emit('beforeSendFeedback', feedbackEvent, hint);
}
const eventId = scope.captureEvent(feedbackEvent, hint);
return eventId;
}
exports.captureFeedback = captureFeedback;
//# sourceMappingURL=feedback.js.map