Rocky_Mountain_Vending/.pnpm-store/v10/files/51/9978d7a1ad5802de06902c32277677afed6df9b48ab048af0551f3420ea89ce736789a7054b67baea4b79405f1e98f13e2277060851c10ff324728f8485cd6
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

55 lines
1.2 KiB
Text

Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const core = require('@sentry/core');
/**
* This is a shim for the OpenFeature integration.
* We need this in order to not throw runtime errors when accidentally importing this on the server through a meta framework like Next.js.
*/
const openFeatureIntegrationShim = core.defineIntegration((_options) => {
if (!core.isBrowser()) {
core.consoleSandbox(() => {
// eslint-disable-next-line no-console
console.warn('The openFeatureIntegration() can only be used in the browser.');
});
}
return {
name: 'OpenFeature',
};
});
/**
* This is a shim for the OpenFeature integration hook.
*/
class OpenFeatureIntegrationHookShim {
/**
*
*/
constructor() {
if (!core.isBrowser()) {
core.consoleSandbox(() => {
// eslint-disable-next-line no-console
console.warn('The OpenFeatureIntegrationHook can only be used in the browser.');
});
}
}
/**
*
*/
after() {
// No-op
}
/**
*
*/
error() {
// No-op
}
}
exports.OpenFeatureIntegrationHookShim = OpenFeatureIntegrationHookShim;
exports.openFeatureIntegrationShim = openFeatureIntegrationShim;
//# sourceMappingURL=openFeature.js.map