@waffo/waffo-node 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,76 @@
1
+ {
2
+ "name": "@waffo/waffo-node",
3
+ "version": "2.0.2",
4
+ "description": "Official Node.js SDK for the Waffo payment platform. Supports order management, refunds, and secure RSA-signed API communication.",
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.mjs",
7
+ "types": "./dist/index.d.ts",
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/index.mjs",
15
+ "require": "./dist/index.js"
16
+ }
17
+ },
18
+ "scripts": {
19
+ "build": "tsup",
20
+ "clean": "rm -rf dist",
21
+ "prepublishOnly": "npm run clean && npm run build",
22
+ "test": "vitest run",
23
+ "test:watch": "vitest",
24
+ "test:coverage": "vitest run --coverage",
25
+ "lint": "eslint src",
26
+ "lint:fix": "eslint src --fix",
27
+ "format": "prettier --write \"src/**/*.ts\"",
28
+ "format:check": "prettier --check \"src/**/*.ts\"",
29
+ "prepare": "husky"
30
+ },
31
+ "keywords": [
32
+ "waffo",
33
+ "payment",
34
+ "sdk",
35
+ "nodejs",
36
+ "typescript",
37
+ "ewallet",
38
+ "payment-gateway",
39
+ "rsa",
40
+ "api-client"
41
+ ],
42
+ "author": "Waffo <support@waffo.com> (https://waffo.com)",
43
+ "license": "MIT",
44
+ "repository": {
45
+ "type": "git",
46
+ "url": "git+https://github.com/waffo-com/waffo-node.git"
47
+ },
48
+ "bugs": {
49
+ "url": "https://github.com/waffo-com/waffo-node/issues"
50
+ },
51
+ "homepage": "https://github.com/waffo-com/waffo-node#readme",
52
+ "engines": {
53
+ "node": ">=18.0.0"
54
+ },
55
+ "lint-staged": {
56
+ "src/**/*.ts": [
57
+ "eslint --fix",
58
+ "prettier --write"
59
+ ]
60
+ },
61
+ "devDependencies": {
62
+ "@eslint/js": "^9.39.2",
63
+ "@types/node": "^25.0.3",
64
+ "@vitest/coverage-v8": "^2.1.8",
65
+ "eslint": "^9.39.2",
66
+ "eslint-config-prettier": "^10.1.8",
67
+ "eslint-plugin-prettier": "^5.5.4",
68
+ "husky": "^9.1.7",
69
+ "lint-staged": "^16.2.7",
70
+ "prettier": "^3.7.4",
71
+ "tsup": "^8.5.1",
72
+ "typescript": "^5.9.3",
73
+ "typescript-eslint": "^8.50.1",
74
+ "vitest": "^2.1.8"
75
+ }
76
+ }