Skip to content

Align package.json with upstream + clarify tabs permission is optional - #7

Merged
sanjay-0423 merged 3 commits into
mainfrom
fix/pr1-align-package-readme
Sep 2, 2026
Merged

Align package.json with upstream + clarify tabs permission is optional#7
sanjay-0423 merged 3 commits into
mainfrom
fix/pr1-align-package-readme

Conversation

@sanjay-0423

Copy link
Copy Markdown
Collaborator

Purpose

Cleans up paypal:main so the outgoing Rakuten PR (#1) carries only feature code — no version bump, no dependency changes — and documents the tabs permission accurately.

Changes

package.json — align with Rakuten's main so the upstream PR shows zero package.json diff:

  • version: 0.5.00.4.1 (Rakuten controls their own versioning; keeps main a clean mirror)
  • devDeps matched to Rakuten's current versions (@types/chrome, @types/node, eslint) — no longer downgrades them

README.md — expand Installation with permission guidance; document that the tabs permission is optional on Chrome/Firefox/Edge (the SDK only listens to tabs.onRemoved, which reads no sensitive tab data). Safari keeps webNavigation + tabs.

src/api/index.ts — fix the missing-API console.warn to match: tabs is optional on Chrome/FF/Edge.

Validation

  • tsc --noEmit clean
  • ✅ 268/268 tests pass

Notes

  • tabs-optional claim is scoped to Chrome/Firefox/Edge only; Safari behavior was not verified, so it conservatively keeps tabs.

🤖 Generated with Claude Code

- package.json: match Rakuten's version (0.4.1) and devDep versions so the
  upstream PR carries only feature code, no version bump / dep changes
- README: expand Installation with permission guidance; document that the
  'tabs' permission is optional on Chrome/Firefox/Edge (Safari keeps it)
- api/index.ts: fix missing-API warning to match (tabs optional on Chrome/FF/Edge)
…ples

The tabs permission is optional on Chrome/Firefox/Edge (tabs.onRemoved fires
without it), so the minimal manifest examples now show only webRequest.
Safari and cross-browser examples keep tabs (Safari requires it).
…ction

Line 417 still listed tabs as required for Chrome/FF/Edge; align it with the
tabs-optional change made elsewhere in this branch.
@sanjay-0423
sanjay-0423 merged commit 6f47e4b into main Sep 2, 2026
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.

1 participant