From 42ead19ed59106e998f80eed4d68010fb86fb1eb Mon Sep 17 00:00:00 2001 From: Mike Date: Mon, 8 Jun 2026 09:35:29 -0500 Subject: [PATCH] =?UTF-8?q?feat(086B):=201.0.1=20=E2=80=94=20default=20bas?= =?UTF-8?q?e=20URL=20=E2=86=92=20api.validpay.com?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- CHANGELOG.md | 11 +++++++++++ README.md | 4 ++-- package-lock.json | 4 ++-- package.json | 4 ++-- src/client.ts | 2 +- 5 files changed, 18 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d743891..99d2476 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,17 @@ All notable changes to the ValidPay React Native SDK will be documented in this The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.0.1] - 2026-06-08 + +### Changed + +- `DEFAULT_BASE_URL` is now `https://api.validpay.com` (Prompt 086B — + primary domain migrated from validpay.io). The legacy `.io` host + still works via Cloudflare 301 redirects, so 1.0.0 callers are + unaffected; new installs default to `.com`. The `baseUrl` constructor + option continues to override. +- README + `package.json` `homepage` updated to `validpay.com`. + ## [1.0.0] - 2026-05-03 ### Added diff --git a/README.md b/README.md index f68b3ce..628674e 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Tests](https://github.com/ValidPay-io/validpay-react-native-sdk/actions/workflows/test.yml/badge.svg)](https://github.com/ValidPay-io/validpay-react-native-sdk/actions/workflows/test.yml) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE) -Official React Native SDK for the [ValidPay](https://validpay.io) document +Official React Native SDK for the [ValidPay](https://validpay.com) document verification API. AES-256-GCM client-side encryption, eight patented protections, and zero runtime dependencies. @@ -107,7 +107,7 @@ Eight patented protections, all live in this SDK: | Option | Type | Default | Notes | | ----------- | -------- | ----------------------------- | ---------------------------------------- | | `apiKey` | `string` | required | Bearer key from the issuer dashboard. | -| `baseUrl` | `string` | `https://api.validpay.io` | Override for staging. | +| `baseUrl` | `string` | `https://api.validpay.com` | Override for staging. | | `timeoutMs` | `number` | `10000` | Per-request timeout (AbortController). | ### Core methods diff --git a/package-lock.json b/package-lock.json index 67b286d..34ce713 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@validpay/react-native-sdk", - "version": "1.0.0", + "version": "1.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@validpay/react-native-sdk", - "version": "1.0.0", + "version": "1.0.1", "license": "MIT", "devDependencies": { "@types/jest": "^29.5.0", diff --git a/package.json b/package.json index ebe5776..3b8ddd4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@validpay/react-native-sdk", - "version": "1.0.0", + "version": "1.0.1", "description": "ValidPay verification SDK for React Native — 8 patented protections for document authenticity", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -48,7 +48,7 @@ "type": "git", "url": "https://github.com/ValidPay-io/validpay-react-native-sdk" }, - "homepage": "https://validpay.io", + "homepage": "https://validpay.com", "engines": { "node": ">=18" } diff --git a/src/client.ts b/src/client.ts index 515717f..770c556 100644 --- a/src/client.ts +++ b/src/client.ts @@ -18,7 +18,7 @@ import type { VerifyIntentResult, } from './types'; -const DEFAULT_BASE_URL = 'https://api.validpay.io'; +const DEFAULT_BASE_URL = 'https://api.validpay.com'; const DEFAULT_TIMEOUT_MS = 10_000; export interface ValidPayClientOptions {