This repository was archived by the owner on Sep 13, 2026. It is now read-only.
Repository navigation
OSS finalization: zero lint, adoption-driven README/docs, final polish - #6
Merged
Merged
Conversation
Co-authored-by: CJ Leal <l34l@neus.network>
- Remove internal code references (utils/core.ts personalSignUniversal, server wire-format backward-compat notes, SECURITY inline comments) - Consolidate duplicate JSDoc blocks on NeusClient.verify() into a single comprehensive doc block covering both auto and manual paths - Remove trailing whitespace and superfluous inline comments throughout client.js - Remove dead resolve aliases in vitest.config.js (no src/ directory exists) - Clean empty SCHEMA ACCESS section and orphan comment in types.d.ts - Remove internal design token comment in standalone widget - Replace qHash123 placeholder with PROOF_ID in standalone.js usage docs - Fix indentation in funding.json Co-authored-by: CJ Leal <l34l@neus.network>
ESLint config improvements: - Add override for standalone.js (intentional ES5 IIFE): allow var, prefer-const, prefer-template off; set sourceType to script - Add cjs/ to ignorePatterns (build output, not source) - Add ignoreUrls and ignoreStrings to max-len rule (base64 data URLs, long string constants) Auto-fixed mechanical issues (eslint --fix): - Fix all trailing whitespace across all source and test files - Fix all trailing comma violations (comma-dangle) - Fix all quote style violations (single quotes) - Fix all indentation to consistent 2-space throughout Manual fixes: - Wrap long import in client.js to stay within 120-char line limit - Wrap long regex into named variable for readability - Wrap long return statement in validateVerifierData - Fix no-return-await in utils.js signMessage resolveAddress - Wrap long Bitcoin address regex across two lines Result: 0 errors, 0 warnings on npm run lint Co-authored-by: CJ Leal <l34l@neus.network>
chrisjleal
marked this pull request as ready for review
April 5, 2026 19:39
README.md: - Lead with integrator outcomes, not protocol internals - Add 'Use NEUS to' bullets with concrete job-to-be-done language - Add 'What you can build' table with use cases mapped to verifiers - Add 'Start here' table with self-select paths (try, hosted, React, server, agents) - Keep 3-step 'How it works' loop (verify → receipt → reuse) - Move MCP below integration paths, keep it concise - Drop problem/solution table for cleaner scanning sdk/README.md: - Add tagline matching repo README - Add core methods table with all key methods - Add gateCheck server example - Add VerifyGate React example - Add Hosted Verify callout for no-wallet path - Clean up documentation links docs/index.mdx: - Lead with outcome statement, not protocol description - 3-column card group: Quickstart, Get started, Hosted Verify - Add 'What you can build' use-case table - Add 'How it works' 3-step loop - Simplify integration table - Remove redundant 'Start here' prose - Remove Billing card from top-level (moved to Get started) docs/quickstart.mdx: - Add step 5: server-side gateCheck example - Rename 'Optional: Gate in React' to 'Reuse: gate content in React' - Add 'Reuse: check eligibility from your server' - Update next-steps table with clearer labels docs/docs.json: - Reorder nav: index (Overview) before get-started for cleaner landing Co-authored-by: CJ Leal <l34l@neus.network>
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Complete OSS production finalization: zero lint errors, adoption-driven README and docs overhaul, and final polish for go-live.
Type
All changes (cumulative)
SDK lint: 494 → 0
standalone.js(ES5 IIFE),cjs/ignored,ignoreUrls/ignoreStringson max-leneslint --fixno-return-await, regex extractionInternal cleanup
types.d.ts, dead config invitest.config.jsREADME + SDK README overhaul
Docs homepage + quickstart + integration path
Final polish
sdk/package.jsonengines:>=16→>=20(matches CI requirement)AGENTS.md: updated lint baseline to 0 warnings, added standalone.js override note, MCP source-of-truth notefunding.jsonindentation fixZero behavior changes
No logic, API surface, or runtime behavior modified anywhere.
Verification
npm run lintnpm testnpm run buildnpm run docs:validateChecklist