Skip to content

feat(086B): 1.0.1 — default base URL → api.validpay.com#1

Merged
ValidPay-io merged 1 commit into
mainfrom
feat/domain-migration-com
Jun 8, 2026
Merged

feat(086B): 1.0.1 — default base URL → api.validpay.com#1
ValidPay-io merged 1 commit into
mainfrom
feat/domain-migration-com

Conversation

@ValidPay-io

Copy link
Copy Markdown
Owner

Summary

Prompt 086B — primary domain migrated from validpay.io to validpay.com. The React Native SDK's DEFAULT_BASE_URL now points at https://api.validpay.com. Patch release 1.0.1.

What changed

  • src/client.tsDEFAULT_BASE_URL = 'https://api.validpay.com'
  • package.jsonversion = "1.0.1", homepagehttps://validpay.com
  • package-lock.json regenerated to match
  • README.md — ValidPay landing link + baseUrl row in the options table
  • CHANGELOG.md[1.0.1] - 2026-06-08 entry

Backward compatibility

Fully backward-compatible. 1.0.0 installs keep working because Cloudflare 301-redirects api.validpay.ioapi.validpay.com. New installs save a hop.

The baseUrl constructor option still wins when set.

Deployment

  1. Merge.
  2. Publish to npm via the existing release flow (or manually: npm publish).
  3. Verify: npm view @validpay/react-native-sdk@latest version reports 1.0.1.

Test plan

  • CI green
  • After publish: npm install @validpay/react-native-sdk@1.0.1 succeeds
  • new ValidPayClient({ apiKey: '...' }) (no baseUrl) hits https://api.validpay.com
  • Existing 1.0.0 callers still succeed via the .io → .com redirect

Prompt

ValidPay-io/docs06-prompts/active/Prompt_086B_Domain_Migration_COM_Primary.md

Related PRs

🤖 Generated with Claude Code

Primary domain migrated from validpay.io to validpay.com (ValidPay-io/docs
Prompt 086B). The .io host still works via Cloudflare 301 redirects, so
1.0.0 installs keep functioning; new installs default straight to .com.

Changes:
  - src/client.ts: DEFAULT_BASE_URL → "https://api.validpay.com"
  - package.json: bump to 1.0.1, homepage → validpay.com
  - package-lock.json regenerated to match
  - README: ValidPay landing link + baseUrl default in the options table
  - CHANGELOG: 1.0.1 entry

No API surface change. No type change. baseUrl override still wins.
@ValidPay-io
ValidPay-io merged commit 53ec53a into main Jun 8, 2026
2 checks passed
@ValidPay-io
ValidPay-io deleted the feat/domain-migration-com branch June 8, 2026 15:52
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