Skip to content

v0.4.0#30

Open
elliotBraem wants to merge 19 commits intomainfrom
staging
Open

v0.4.0#30
elliotBraem wants to merge 19 commits intomainfrom
staging

Conversation

@elliotBraem
Copy link
Copy Markdown
Collaborator

@elliotBraem elliotBraem commented Oct 7, 2025

  • farcaster
  • plugin architecture
  • monorepo

* Rought draft PR

* Updated Farcaster auth

* fix(deno): add Farcaster, viem, Neynar, Pinata deps and fix .ts imports

* fmt

---------

Co-authored-by: Prakhar Ojha <[email protected]>
Co-authored-by: Prakhar Ojha <[email protected]>
@deno-deploy deno-deploy Bot had a problem deploying to Preview October 7, 2025 01:04 Failure
* Rought draft PR

* Updated Farcaster auth

* fix(deno): add Farcaster, viem, Neynar, Pinata deps and fix .ts imports

---------

Co-authored-by: Prakhar Ojha <[email protected]>
Co-authored-by: Prakhar Ojha <[email protected]>
Co-authored-by: Elliot Braem <[email protected]>
@deno-deploy deno-deploy Bot had a problem deploying to Preview October 7, 2025 01:08 Failure
…v-based config, updated SDK to require/send Authorization, and provided concise migration docs. (#33)

* init

* init files

* rename plugin

* feat: Complete SDK to plugin migration

* Fix merge conflict in packages/package.json

* Fix remaining merge conflicts

* feat: Complete plugin migration with full functionality

* Fix incorrect base URL references from api.crosspost.near to api.opencrosspost.com

* feat: migrate to improved NEAR auth with enhanced security

- Upgraded near-sign-verify from 0.3.6 to 0.4.3
- Added environment-based NEAR auth configuration (recipient, nonce age, access key requirements)
- Enforced signed tokens for all HTTP methods including GET requests
- Removed insecure X-Near-Account header authentication
- Updated SDK to require authToken in constructor
- Improved error messages and development logging
- Added comprehensive migration documentation

BREAKING CHANGES:
- SDK now requires authToken parameter
- GET requests require NEAR signatures
- Removed setAccountHeader() method from SDK

---------

Co-authored-by: Elliot Braem <[email protected]>
@deno-deploy deno-deploy Bot had a problem deploying to Preview November 1, 2025 21:47 Failure
@deno-deploy deno-deploy Bot had a problem deploying to Preview November 1, 2025 21:50 Failure
@deno-deploy deno-deploy Bot had a problem deploying to Preview November 5, 2025 15:39 Failure
@deno-deploy deno-deploy Bot had a problem deploying to Preview November 5, 2025 15:41 Failure
* init farcaster plugin

* feat: Add comprehensive error handling with Neynar error mapping

- Create error-mapping.ts utility to map Neynar API errors to user-friendly messages
- Map status codes: 401 (unauthorized), 403 (forbidden/pending approval), 404 (not found), 429 (rate limited), 400 (invalid), 402 (payment required), 500+ (service unavailable)
- Add network error detection and retry-after header parsing
- Update all adapters (auth, post, media, profile) to use error mapping
- Update client-factory to use error mapping
- Replace generic error messages with specific, actionable error messages

---------

Co-authored-by: lokmali <[email protected]>
@deno-deploy deno-deploy Bot had a problem deploying to Preview December 4, 2025 05:53 Failure
@deno-deploy deno-deploy Bot had a problem deploying to Preview December 4, 2025 06:53 Failure
@deno-deploy deno-deploy Bot had a problem deploying to Preview December 4, 2025 15:52 Failure
@deno-deploy deno-deploy Bot had a problem deploying to Preview December 4, 2025 16:24 Failure
@deno-deploy deno-deploy Bot had a problem deploying to Preview December 4, 2025 16:28 Failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants