Skip to content
Merged
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
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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"
}
Expand Down
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading