Skip to content

feat: add strictUrl control for miniapp launch URL#448

Merged
Gaubee merged 1 commit intomainfrom
feat/miniapp-strict-url-manifest
Feb 13, 2026
Merged

feat: add strictUrl control for miniapp launch URL#448
Gaubee merged 1 commit intomainfrom
feat/miniapp-strict-url-manifest

Conversation

@Gaubee
Copy link
Contributor

@Gaubee Gaubee commented Feb 13, 2026

Summary

  • add strictUrl?: boolean to miniapp manifest type and zod schema
  • when strictUrl=true, keep launch URL unchanged (skip host __rv injection)
  • keep existing behavior for default/false case
  • document strictUrl in white-book manifest docs
  • add unit tests for strict mode + existing context params

Validation

  • pnpm vitest run src/services/miniapp-runtime/tests/launch-context.test.ts
  • pnpm vitest run src/services/miniapp-runtime/tests/container.test.ts src/services/miniapp-runtime/tests/launch-context.test.ts
  • pnpm exec oxlint src/services/ecosystem/types.ts src/services/ecosystem/schema.ts src/services/miniapp-runtime/launch-context.ts src/services/miniapp-runtime/tests/launch-context.test.ts

@Gaubee Gaubee merged commit 14bd6f8 into main Feb 13, 2026
5 checks passed
@Gaubee Gaubee deleted the feat/miniapp-strict-url-manifest branch February 13, 2026 12:53
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