Rocky_Mountain_Vending/.pnpm-store/v10/files/21/76adb658534d09f06ef100e2a21839cfddd9dbd5392297a78922f65408becd76303a5475d997b45523aa1b94c7121793b993055be9009d1673af5c737540c1
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

8 lines
336 B
Text

import { TokenProviderError } from "@smithy/property-provider";
export const fromStatic = ({ token, logger }) => async () => {
logger?.debug("@aws-sdk/token-providers - fromStatic");
if (!token || !token.token) {
throw new TokenProviderError(`Please pass a valid token to fromStatic`, false);
}
return token;
};