Remove all @firebase/util imports, replace uuidv4 with crypto.randomUUID
- Create src/utils/uuid.ts utility using crypto.randomUUID() - Replace all uuidv4 imports from @firebase/util across 11 component files - Replace base64 import in paypal.ts with Buffer-based implementation Made-with: Cursor
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import {TokenError, TokenSuccess} from "@/interfaces/paypal";
|
||||
import {base64} from "@firebase/util";
|
||||
const base64 = { encodeString: (s: string) => Buffer.from(s).toString("base64") };
|
||||
import axios from "axios";
|
||||
|
||||
export const getAccessToken = async () => {
|
||||
|
||||
Reference in New Issue
Block a user