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>
27 lines
No EOL
838 B
Text
27 lines
No EOL
838 B
Text
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.bufferTextMapGetter = void 0;
|
|
/*
|
|
same as open telemetry's `defaultTextMapGetter`,
|
|
but also handle case where header is buffer,
|
|
adding toString() to make sure string is returned
|
|
*/
|
|
exports.bufferTextMapGetter = {
|
|
get(carrier, key) {
|
|
var _a;
|
|
if (!carrier) {
|
|
return undefined;
|
|
}
|
|
const keys = Object.keys(carrier);
|
|
for (const carrierKey of keys) {
|
|
if (carrierKey === key || carrierKey.toLowerCase() === key) {
|
|
return (_a = carrier[carrierKey]) === null || _a === void 0 ? void 0 : _a.toString();
|
|
}
|
|
}
|
|
return undefined;
|
|
},
|
|
keys(carrier) {
|
|
return carrier ? Object.keys(carrier) : [];
|
|
},
|
|
};
|
|
//# sourceMappingURL=propagator.js.map |