barkapay 0.0.0-stage → 2.0.0

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 CHANGED
@@ -1,6 +1,90 @@
1
1
  {
2
2
  "name": "barkapay",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "2.0.0",
4
+ "description": "Official Node.js / TypeScript SDK for the barkapay payments API — mobile money collections, payouts and payment links across West Africa.",
5
+ "license": "MIT",
6
+ "author": "barkapay",
7
+ "homepage": "https://barkapay.com/developers",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/BarkaPay/barkapay-nodejs.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/BarkaPay/barkapay-nodejs/issues"
14
+ },
15
+ "keywords": [
16
+ "barkapay",
17
+ "payments",
18
+ "mobile money",
19
+ "payment links",
20
+ "orange money",
21
+ "moov",
22
+ "mtn",
23
+ "wave",
24
+ "west africa",
25
+ "burkina faso",
26
+ "benin",
27
+ "senegal",
28
+ "api",
29
+ "sdk"
30
+ ],
31
+ "type": "module",
32
+ "sideEffects": false,
33
+ "engines": {
34
+ "node": ">=18"
35
+ },
36
+ "main": "./dist/index.cjs",
37
+ "module": "./dist/index.mjs",
38
+ "types": "./dist/index.d.ts",
39
+ "exports": {
40
+ ".": {
41
+ "import": {
42
+ "types": "./dist/index.d.ts",
43
+ "default": "./dist/index.mjs"
44
+ },
45
+ "require": {
46
+ "types": "./dist/index.d.cts",
47
+ "default": "./dist/index.cjs"
48
+ }
49
+ },
50
+ "./package.json": "./package.json"
51
+ },
52
+ "files": [
53
+ "dist",
54
+ "README.md",
55
+ "LICENSE",
56
+ "CHANGELOG.md"
57
+ ],
58
+ "publishConfig": {
59
+ "access": "public"
60
+ },
61
+ "scripts": {
62
+ "build": "tsup",
63
+ "test": "vitest run",
64
+ "test:watch": "vitest",
65
+ "test:smoke": "node smoke/esm.mjs && node smoke/cjs.cjs",
66
+ "lint": "eslint .",
67
+ "typecheck": "tsc --noEmit",
68
+ "format": "prettier --write .",
69
+ "format:check": "prettier --check .",
70
+ "check": "npm run lint && npm run typecheck && npm run format:check && npm test && npm run build && npm run test:smoke",
71
+ "prepublishOnly": "npm run check"
72
+ },
73
+ "devDependencies": {
74
+ "@eslint/js": "^10.0.1",
75
+ "@types/node": "^20.19.0",
76
+ "eslint": "^10.15.0",
77
+ "eslint-config-prettier": "^10.1.8",
78
+ "prettier": "^3.10.1",
79
+ "tsup": "^8.5.1",
80
+ "typescript": "^5.9.3",
81
+ "typescript-eslint": "^8.72.2",
82
+ "vitest": "^4.1.12"
83
+ },
84
+ "overrides": {
85
+ "@typescript-eslint/typescript-estree": {
86
+ "minimatch": "^11.0.1"
87
+ },
88
+ "esbuild": "^0.28.1"
89
+ }
90
+ }