Skip to content

Commit a72c70d

Browse files
Merge pull request #7 from bchainhub/update/functions-03
No side effects
2 parents 3338c7a + 57ecce4 commit a72c70d

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,16 @@ The library includes TypeScript type definitions and runtime validation for:
149149
## Payment System Support
150150

151151
### ACH Payments
152+
152153
Supports two formats:
154+
153155
- `payto://ach/routing/account` (with routing number)
154156
- `payto://ach/account` (account number only)
155157

156158
### UPI/PIX Payments
159+
157160
Email-based payment identifiers:
161+
158162
- `payto://upi/email@example.com`
159163
- `payto://pix/email@example.com`
160164

package.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
{
22
"name": "payto-rl",
3-
"version": "1.0.4",
4-
"description": "Payto resource locator",
3+
"version": "1.0.5",
4+
"description": "PayTo Resource Locator",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
77
"type": "module",
8+
"private": false,
9+
"sideEffects": false,
810
"scripts": {
911
"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",
1012
"build": "tsc",

types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ declare class Payto {
120120

121121
toString(): string;
122122
toJSON(): string;
123-
toJSONObject(): { [key: string]: any };
123+
toJSONObject(): Record<string, any>;
124124
}
125125

126126
export default Payto;

0 commit comments

Comments
 (0)