Title: fix: Deno deleteMany transport (in-repo branch of #204) by netanelgilad · Pull Request #209 · base44/javascript-sdk · GitHub
Open Graph Title: fix: Deno deleteMany transport (in-repo branch of #204) by netanelgilad · Pull Request #209 · base44/javascript-sdk
X Title: fix: Deno deleteMany transport (in-repo branch of #204) by netanelgilad · Pull Request #209 · base44/javascript-sdk
Description: What Re-opens the change from #204 (originally authored by @arosenan) on a branch inside this repo rather than a fork, so the secret-dependent CI checks (publish-preview, claude-review) can actually run. Original commit cherry-picked onto current main, authorship preserved. Route Deno DELETE requests that carry a body through Axios's fetch adapter Preserve existing adapter selection for browsers, Node, Cloudflare, bodyless deletes, and non-DELETE requests Add unit coverage for the runtime/method/body selection matrix This PR also includes the dependency-audit fix from #208 (form-data 4.0.6 / ws 8.21.0 / engine.io-client 6.6.6) so that every check on this branch is green on its own. The lockfile edit is identical to #208's, so the two merge cleanly in any order. Why entities.deleteMany(query) sends a JSON body with DELETE. In legacy Base44 Deno v1 functions, Axios selects its Node HTTP adapter, which enters Deno's node:http compatibility layer and fails after ~15s with Base44Error: connection error. Tracked internally as BUG-494. The fetch adapter resolves it without changing the public SDK method or backend API contract. Why a new PR instead of #204 #204 was opened from the fork arosenan/javascript-sdk. GitHub does not expose repo secrets or an OIDC token to workflows triggered by fork PRs, so publish-preview (npm token) and claude-review (OIDC + ANTHROPIC_API_KEY) failed there for environmental reasons unrelated to the code. Running from an in-repo branch fixes that. Validation npm audit --omit=dev --audit-level=high → found 0 vulnerabilities npm run build ✓ npm run lint ✓ npm run test:unit ✓ (163 passed, incl. the 4 new transport-selection tests) Supersedes #204 — close that one in favor of this if this is approved. 🤖 Generated with Claude Code https://claude.ai/code/session_01LQhMVUxbvFeVsS4CroVJEb
Open Graph Description: What Re-opens the change from #204 (originally authored by @arosenan) on a branch inside this repo rather than a fork, so the secret-dependent CI checks (publish-preview, claude-review) can actuall...
X Description: What Re-opens the change from #204 (originally authored by @arosenan) on a branch inside this repo rather than a fork, so the secret-dependent CI checks (publish-preview, claude-review) can actuall...
Opengraph URL: https://github.com/base44/javascript-sdk/pull/209
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:494eb0c1-a0da-9088-cfc5-ecc60ad811b7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E7A2:A73B:DDF7B1:1294FE1:6A4C4B92 |
| html-safe-nonce | 5ab696c9c363c14ba8e9c7e7b859006937ab2a46ad5108de07daad3da29efba2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0EyOkE3M0I6RERGN0IxOjEyOTRGRTE6NkE0QzRCOTIiLCJ2aXNpdG9yX2lkIjoiMTc1ODAxNTY4NDY2OTYyMzE4NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3f0287a9083929ce959c0565fd3222928650636244873de1fb1cc1a5bae2ea08 |
| hovercard-subject-tag | pull_request:3936167254 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/base44/javascript-sdk/pull/209/files |
| twitter:image | https://avatars.githubusercontent.com/u/3474905?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3474905?s=400&v=4 |
| og:image:alt | What Re-opens the change from #204 (originally authored by @arosenan) on a branch inside this repo rather than a fork, so the secret-dependent CI checks (publish-preview, claude-review) can actuall... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/base44/javascript-sdk git https://github.com/base44/javascript-sdk.git |
| octolytics-dimension-user_id | 234699998 |
| octolytics-dimension-user_login | base44 |
| octolytics-dimension-repository_id | 939374418 |
| octolytics-dimension-repository_nwo | base44/javascript-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 939374418 |
| octolytics-dimension-repository_network_root_nwo | base44/javascript-sdk |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 65d78903193f110d7a9d1f8587c6dc3cb911aae0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width