Fix TypeScript build errors for Docker deployment
- Add ImportMeta and ImportMetaEnv type declarations to env.d.ts - Fix typo: INDEEHHUB_API → INDEEDHUB_API in indeeHubApi.ts - Fix nostr-tools Filter type usage in subscribeToContent - Remove unused Filter import and userPrivkey parameter - Increase Workbox maximumFileSizeToCacheInBytes to 10MB for large images - Build now succeeds with 43 precached entries (81.98 MB) Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -70,7 +70,7 @@ class NostrService {
|
||||
) {
|
||||
const sub = this.pool.subscribeMany(
|
||||
this.relays,
|
||||
[{ kinds, limit: 10 }],
|
||||
{ kinds, limit: 10 },
|
||||
{
|
||||
onevent(event) {
|
||||
callback(event)
|
||||
@@ -84,7 +84,7 @@ class NostrService {
|
||||
/**
|
||||
* Publish a view/watch event
|
||||
*/
|
||||
async publishView(videoEventId: string, userPrivkey: string) {
|
||||
async publishView(videoEventId: string) {
|
||||
// TODO: Implement NIP-XX for view tracking
|
||||
console.log('Publishing view for:', videoEventId)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user