Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 65 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"ui": "1.9.1",
"@everything-dev/upload-app": "1.0.0-rc.0",
"@everything-dev/agent-connect-plugin": "0.1.0-rc.0",
"@everything-dev/docs-plugin": "0.1.0-rc.0"
"@everything-dev/docs-plugin": "0.1.0-rc.0",
"@everything-dev/deployments-plugin": "0.1.0"
},
"changesets": [
"admin-structure-reporting",
Expand All @@ -31,11 +32,16 @@
"api-public-schema-topology",
"app-only-slot-stamping",
"artifact-control-plugin",
"ast-grep-codemods",
"atomic-deploys-phase-a",
"atomic-deploys-phase-a2",
"atomic-port-block-allocation",
"auth-admin-organization-member-direct",
"auth-better-auth-1.7",
"auth-browser-mint-context",
"auth-client-canonical-singleton",
"auth-client-context-derived",
"auth-client-graceful-without-auth-plugin",
"auth-cookie-secure-baseurl",
"auth-cross-subdomain-cookies",
"auth-dts-any-collapse-guard",
Expand All @@ -52,12 +58,14 @@
"authored-bootstrap-seams",
"better-auth-1.7.28",
"better-near-auth-error-formatting",
"better-near-auth-get-image-url",
"better-near-auth-intent-catalog",
"better-near-auth-server-nonce",
"better-near-auth-vendored-pq",
"boot-check-merged-shape",
"boot-deadlines-and-diagnosability",
"boot-fetch-transient-retry",
"boot-metrics-emitter",
"boot-snapshot-boot-rung",
"boot-snapshot-health-provenance",
"boot-snapshot-schema",
Expand All @@ -77,6 +85,7 @@
"bos-typecheck-command",
"bos-upgrade-release-sync",
"bounded-dev-logs",
"brave-otters-serialize",
"browser-signed-deploys",
"build-output-deploy-fix",
"build-signed-delegate-action-fix-and-init-test-permissive",
Expand All @@ -86,6 +95,7 @@
"buildscoped-helper",
"bundle-dir-quoting-hardening",
"canonical-changeset-release-flow",
"capability-recipes-auth-i18n-docs",
"catalog-bump-toolchain-lockstep",
"child-bundle-storage",
"child-compose",
Expand Down Expand Up @@ -118,6 +128,7 @@
"consumer-coupling-fixes",
"consumer-release-plane",
"content-collections-framework-primitive",
"content-hash-everywhere",
"context-and-db-error-surface",
"csr-shell-compose-payload",
"curly-ghosts-sync",
Expand All @@ -136,7 +147,10 @@
"db-type-reexports",
"dead-symbol-sweep-734",
"debrand-naming-sweep",
"declined-claims-runtime-map",
"degraded-compose-core-only-tree",
"delete-workspace-orchestrator-seam",
"dep-compat-windows",
"deploy-boot-resilience",
"deploy-cdn-origin-guard",
"deploy-confirm-tx-status",
Expand All @@ -158,11 +172,15 @@
"deploy-train-smoke-gate",
"deploy-wallet-rpc-pin",
"deps-catalog-bump-nov",
"dev-adopt-build-done-signal",
"dev-auth-slot-single-opener",
"dev-boot-audit-false-positives",
"dev-bootstrap-effect-program",
"dev-chain-audit",
"dev-dashboard-build-diagnostics",
"dev-folder-form-ui-units",
"dev-generation-export",
"dev-generation-ready",
"dev-log-pipeline",
"dev-logs-enoent-recovery",
"dev-logs-newest-session",
Expand All @@ -175,12 +193,15 @@
"dev-session-display-lifecycle-batch",
"dev-session-quit-at-any-phase",
"dev-session-shutdown-handle",
"dev-shell-slots",
"dev-tui-quit-escalation-viewport-repaint",
"dev-tui-repaint-erase-unmount-liveness",
"dev-watch-builds-development-mode",
"device-link-hardening",
"device-link-qr-signin",
"differential-bundle-uploads",
"docs-plans-consolidation",
"docs-repository-scoped-content",
"drizzle-config-static-postgresql",
"ecr-mirror-image-pulls",
"effect-bundle-fetch-program",
Expand All @@ -190,6 +211,7 @@
"effect-native-plugins",
"effect-toolchain-self-heal",
"effect4-orpc-v2-migration",
"emitted-css-layer-convention",
"env-example-operator-flags",
"every-plugin-context-guard",
"every-plugin-declare-runtime-deps",
Expand All @@ -204,6 +226,7 @@
"everything-dev-bna-quiet-build",
"everything-dev-fail-loud-sweep",
"export-map-dead-surface-c8",
"first-release-rollback-pointer-delete",
"fix-dev-hashed-entry-names",
"fix-dev-staleness-and-plugin-status",
"fix-fastkv-publish-plane",
Expand All @@ -220,13 +243,15 @@
"folder-form-ui-serve-dist-fix",
"foreign-namespace-proxy-cache",
"four-bags-hear",
"framework-home-identity",
"framework-owned-files-adr-0032",
"framework-ui-subpaths",
"fresh-clone-dev-flow",
"handler-cleanup",
"hermetic-boot",
"host-pin-boot-drift",
"hosting-adapter-seam",
"hosting-stages",
"http-cache-bound",
"i18n-seam-enforcement",
"image-cdn-only-distribution",
Expand All @@ -235,6 +260,7 @@
"immutable-version-dirs",
"import-migration-reconciliation",
"init-auth-types-stale-copy",
"init-declared-composition-maps",
"init-prune-unused-ui",
"key-generate-staging-flag",
"lint-zero-warnings",
Expand All @@ -248,7 +274,10 @@
"lucky-dingos-drive",
"manifest-composition-rework",
"manifest-contract-v2",
"merge-review-residue-sweep",
"merge-union-empty-arrays",
"mf-2-9-4",
"mf-2-9-5",
"mf-catalog-exact-pins",
"modernize-ui-rsbuild-environments",
"mount-guards",
Expand All @@ -266,27 +295,35 @@
"one-committed-artifact",
"one-row-per-plugin",
"org-creation-approval",
"org-endpoint-remap-hardening",
"org-onboarding-station",
"organization-client-remap",
"orpc-v2-test-scaffolds-rpclink-standard-url",
"owed-work-detection",
"package-restructure-adr-0031",
"package-self-typecheck",
"passkey-client-hardening",
"passkey-executor-repin",
"passkey-hygiene-batch",
"passkey-proof-hardening",
"passkey-server-hardening",
"passkey-single-ceremony-sign-up",
"per-identity-pglite-data-dirs",
"per-workspace-migration-journals",
"pglite-cross-process-lock",
"pglite-data-dir-diagnosis",
"pglite-only-local-db",
"pglite-studio-lock",
"phase-b-sunset",
"pin-range-resolution",
"pipelined-upload-raw-config",
"plan-008-db-runner-driver-consolidation",
"plans-reorg-prototypes",
"platform-compat-truth",
"platform-pin-descriptor",
"platform-release-manifest-adr-0034",
"platform-truth-gate-range-pins",
"plugin-add-remove-extends-chain",
"plugin-additional-exports",
"plugin-build-consolidation",
"plugin-config-warnings",
Expand All @@ -296,6 +333,7 @@
"plugin-route-contract-composition",
"plugin-ui-opt-out",
"plugin-watcher-kill-escalation",
"plugins-composition-enforcement",
"pnpm-toolchain-cutover-pins",
"pnpm-v2-node-image",
"polite-passkey-autofill",
Expand All @@ -306,12 +344,14 @@
"publish-balance-gate",
"publish-key-repair-hint",
"publish-pin-verification-gate",
"published-config-remote-production",
"published-exports-src-dangling",
"purge-stale-surface-006",
"quiet-dev-ctrl-c-quit",
"race-safe-migrations-and-host-failure-visibility",
"railway-image-backed-deploys",
"railway-workspace-token-repoint",
"range-drift-alarm",
"rate-limit-session-read",
"rc-aware-semver-gates",
"rc-child-boot-fixes-462-464",
Expand All @@ -333,18 +373,22 @@
"relayer-key-self-heal",
"release-build-dependency-order",
"release-field-upgrade-resilience",
"release-pinned-workflow-refs",
"release-scoped-extends-inheritance",
"release-scoped-manifest-writes",
"release-sequence-hardening",
"release-tag-candidates",
"release-train-catalog-mirror",
"remote-build-cache",
"remote-host-manifest-fail-loud",
"remove-dead-export-entries-732",
"remove-org-approval",
"repo-move-everything-project",
"require-admin-home-redirect",
"resolution-session",
"restore-v1-core-sharing-set",
"retire-bos-config-json-form",
"retire-patch-db-topology",
"retire-plugin-dev-ts-name",
"revert-regression-pglite-dirs",
"rollback-config-half",
Expand All @@ -354,10 +398,13 @@
"router-pending-defaults",
"rpc-client-custom-headers",
"rpc-mode-plugin-entries",
"runtime-control-runtime-map",
"runtime-image-better-near-auth",
"runtime-lifecycle-cache",
"runtime-map-backend-entry-emission-skew",
"runtime-map-backends",
"runtime-map-codegen",
"runtime-map-plugin-origin",
"runtime-snapshot-service",
"scaffold-docs-bos-app-ts",
"scaffold-v2-docs-hygiene",
Expand All @@ -373,8 +420,10 @@
"session-gas-keys",
"session-query-recovery",
"session-read-path-single-owner",
"session-shared-source",
"session-single-read-path",
"shared-dep-version-skew",
"shared-theme-tokens",
"silence-build-warnings",
"silent-dbs-write-scripts",
"siwn-ephemeral-relayer",
Expand All @@ -393,22 +442,30 @@
"snapshot-adopt-extends-resolution",
"snapshot-coordinator-watch",
"snapshot-watch-serialized-adopt",
"snippet-typecheck-gap",
"sonner-shared-singleton-and-login-error-surfacing",
"source-publish-archive",
"speed-up-consumer-ci",
"spike-host-surface-scroll-selectors",
"split-chunks-mf-phantom-chunks",
"ssr-auth-client-cookie-forwarding",
"ssr-auth-client-headers",
"ssr-compose-pin-integrity",
"ssr-dashboard-fix",
"ssr-dev-default",
"ssr-intent-wire",
"ssr-nonce-liveness",
"ssr-plugin-call-deadline",
"ssr-plugin-ui-preload",
"ssr-session-null-cache-poisoning",
"ssr-session-tri-state",
"ssr-tenant-collapse",
"staging-input-schema",
"stale-dev-cache-shared-identity",
"staleness-doctor-probes",
"stamp-auth-pglite-allow-on-init-env",
"stamp-plugin-ui-container-name",
"standard-schema-contracts",
"start-container-env-and-baseurl",
"start-logs-revert-and-image-mirror",
"start-origin-purge-registry-gate",
Expand All @@ -420,6 +477,7 @@
"storage-upload-timeout-retry",
"stream-driven-ansi-tui",
"stripped-rpc-client",
"subpath-standardization",
"sync-child-manifest-normalization",
"sync-child-owned-protocol",
"teams-workspaces-wallet-invitations",
Expand All @@ -428,6 +486,8 @@
"tenant-framework-subpath",
"test-database-isolation",
"test-scripts-if-present-placement",
"tidy-locks-flock",
"train-input-manifest",
"train-ssr-container-recovery",
"train-writes-lockfile",
"transport-neutral-module-hosting",
Expand All @@ -454,7 +514,10 @@
"upgrade-cleanout-legacy-state",
"upgrade-derived-delta",
"upgrade-exact-release-catalog",
"upgrade-phase-error-consolidation",
"upgrade-plan",
"upgrade-train-effect-phases",
"upgrade-v1-config-damages",
"upload-app-devdep",
"upload-app-first-pass",
"upload-proxy-timeout",
Expand All @@ -476,6 +539,7 @@
"version-manifest-source-archive",
"version-observability",
"wallet-connector-hot-labs-fork",
"wild-pugs-record",
"workspace-sync-ui-auth-export",
"zero-config-dev"
]
Expand Down
12 changes: 12 additions & 0 deletions packages/better-near-auth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# better-near-auth

## 2.0.0-rc.10

### Minor Changes

- aa01654: Export `getImageUrl` from the package root so integrations resolve a NEAR social-profile image (url or ipfs_cid) to a served URL without re-implementing the ipfs gateway fallback.
- aa14f75: Passkey hygiene batch (#1039): the wallet proof now derives its curve from the WebAuthn assertion's COSE algorithm (`publicKeyAlgorithm`) instead of a signature-length heuristic, and throws a named error when the assertion carries no algorithm; a failed credential-id listing only falls back to the browser's resident-key prompt for typed `BetterFetchError`s (unexpected errors rethrow); `derivePasskeyAccountId` accepts an optional `timeoutSecs` so apps can configure the serialized wallet-state timeout instead of the hardcoded 3600 default; the factory-address registry is typed exhaustively per network; and the inline CBOR reader is isolated behind a typed decoder module (`cbor.ts`).

### Patch Changes

- 7fd8b7e: Harden the passkey-wallet proof path. `decodeCborItem` throws `CBOR: truncated payload` on out-of-bounds reads instead of silently misdecoding past-the-end bytes as major-0/value-0 (`#1147`). The COSE algorithm→curve mapping now lives in one place — `coseCurve` (with `COSE_ALG_ES256`/`COSE_ALG_EDDSA`) exported from `better-near-auth/passkey` next to `parseCosePublicKey`, which uses the named constants; the browser client imports it and keeps zero crypto constants (`#1145`). `timeoutSecs` is now a required parameter on the private wallet-state/state-init serializers — only the public `derivePasskeyAccountId` keeps the 3600s default — and `verifyPasskeyNep413Signature` states its derivation defaults explicitly, because the timeout is baked into the state-init hash: deriving with any value other than the one the wallet was created with yields a different `0s…` account (`#1146`).
- e4c2362: Repository moved to everything-project/everything-dev: the publishable packages' repository/bugs/homepage metadata, the scaffolded child surface (issue links, AGENTS copy, consumer workflow `uses:` refs), and the platform image namespace default now point at the new location.

## 2.0.0-rc.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/better-near-auth/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "better-near-auth",
"version": "2.0.0-rc.9",
"version": "2.0.0-rc.10",
"description": "Sign in with NEAR (SIWN) plugin for Better Auth",
"main": "dist/index.js",
"module": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/better-near-auth/skills/auth-plugin/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ requires:
metadata:
type: composition
library: better-near-auth
library_version: "2.0.0-rc.9"
library_version: "2.0.0-rc.10"
sources:
- "elliotBraem/better-near-auth:examples/auth.everything.dev/bos.config.json"
- "elliotBraem/better-near-auth:examples/auth.everything.dev/plugins/auth/src/contract.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/better-near-auth/skills/client/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ description: >
metadata:
type: core
library: better-near-auth
library_version: "2.0.0-rc.9"
library_version: "2.0.0-rc.10"
sources:
- "elliotBraem/better-near-auth:src/client.ts"
- "elliotBraem/better-near-auth:src/types.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/better-near-auth/skills/relay/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: >
metadata:
type: core
library: better-near-auth
library_version: "2.0.0-rc.9"
library_version: "2.0.0-rc.10"
sources:
- "elliotBraem/better-near-auth:src/index.ts"
- "elliotBraem/better-near-auth:src/utils.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/better-near-auth/skills/siwn/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description: >
metadata:
type: core
library: better-near-auth
library_version: "2.0.0-rc.9"
library_version: "2.0.0-rc.10"
sources:
- "elliotBraem/better-near-auth:src/index.ts"
- "elliotBraem/better-near-auth:src/profile.ts"
Expand Down
Loading