Rocky_Mountain_Vending/.pnpm-store/v10/files/40/1d4ca90fb259edea6e2c7595914b335f5274c19df74df09a20eaa6fae64031e8279ea47426cc33e04f5f4283e73404c06feb8f3a3a56e7941cd4741b43d04e
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

48 lines
No EOL
1.5 KiB
Text

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "postNextTelemetryPayload", {
enumerable: true,
get: function() {
return postNextTelemetryPayload;
}
});
const _asyncretry = /*#__PURE__*/ _interop_require_default(require("next/dist/compiled/async-retry"));
function _interop_require_default(obj) {
return obj && obj.__esModule ? obj : {
default: obj
};
}
function postNextTelemetryPayload(payload, signal) {
if (!signal && 'timeout' in AbortSignal) {
signal = AbortSignal.timeout(5000);
}
return (0, _asyncretry.default)(()=>fetch('https://telemetry.nextjs.org/api/v1/record', {
method: 'POST',
body: JSON.stringify(payload),
headers: {
'content-type': 'application/json'
},
signal
}).then((res)=>{
if (!res.ok) {
const err = Object.defineProperty(new Error(res.statusText), "__NEXT_ERROR_CODE", {
value: "E394",
enumerable: false,
configurable: true
});
err.response = res;
throw err;
}
}), {
minTimeout: 500,
retries: 1,
factor: 1
}).catch(()=>{
// We swallow errors when telemetry cannot be sent
})// Ensure promise is voided
.then(()=>{}, ()=>{});
}
//# sourceMappingURL=post-telemetry-payload.js.map