This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// helpers/rive.js | |
/** | |
* Fetches and caches Rive animation data using localStorage | |
* @param {string} url - The URL of the Rive animation file | |
* @returns {Promise<ArrayBuffer>} The animation data as ArrayBuffer | |
*/ | |
export async function getAnimationData (url) { | |
const cacheKey = `rive-animation-${url}` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
# stripe-cli will automatically pick up STRIPE_API_KEY from dev.env file | |
STRIPE_API_KEY=sk_test_... | |
... |