Skip to content

Commit

Permalink
Merge pull request #7 from bchainhub/update/functions-03
Browse files Browse the repository at this point in the history
No side effects
  • Loading branch information
rastislavcore authored Jan 22, 2025
2 parents 3338c7a + 57ecce4 commit a72c70d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,16 @@ The library includes TypeScript type definitions and runtime validation for:
## Payment System Support

### ACH Payments

Supports two formats:

- `payto://ach/routing/account` (with routing number)
- `payto://ach/account` (account number only)

### UPI/PIX Payments

Email-based payment identifiers:

- `payto://upi/email@example.com`
- `payto://pix/email@example.com`

Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"name": "payto-rl",
"version": "1.0.4",
"description": "Payto resource locator",
"version": "1.0.5",
"description": "PayTo Resource Locator",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"private": false,
"sideEffects": false,
"scripts": {
"test": "npm run build && node --import 'data:text/javascript,import { register } from \"node:module\"; import { pathToFileURL } from \"node:url\"; register(\"ts-node/esm\", pathToFileURL(\"./\"));' ./node_modules/uvu/bin.js test",
"build": "tsc",
Expand Down
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ declare class Payto {

toString(): string;
toJSON(): string;
toJSONObject(): { [key: string]: any };
toJSONObject(): Record<string, any>;
}

export default Payto;

0 comments on commit a72c70d

Please sign in to comment.