spaark-payapi-sdk 1.0.1 → 1.2.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,6 @@
1
1
  {
2
2
  "name": "spaark-payapi-sdk",
3
- "version": "1.0.1",
3
+ "version": "1.2.0",
4
4
  "description": "TypeScript SDK for Pawapay Mobile Money API (V2) - Deposits, Payouts, Refunds for Africa",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -30,12 +30,25 @@
30
30
  "test:coverage": "jest --coverage",
31
31
  "lint": "eslint src --ext .ts,.tsx",
32
32
  "typecheck": "tsc --noEmit",
33
+ "version": "standard-version",
34
+ "version:patch": "standard-version --release-as patch",
35
+ "version:minor": "standard-version --release-as minor",
36
+ "version:major": "standard-version --release-as major",
37
+ "push": "pnpm typecheck && pnpm test && pnpm build && standard-version && git push --follow-tags",
38
+ "release": "pnpm push && npm publish",
33
39
  "prepublishOnly": "npm run build"
34
40
  },
35
41
  "peerDependencies": {
42
+ "@radix-ui/react-dialog": "^1.0.0",
43
+ "@radix-ui/react-select": "^2.0.0",
44
+ "@radix-ui/react-tabs": "^1.0.0",
36
45
  "axios": "^1.6.0",
46
+ "class-variance-authority": "^0.7.0",
47
+ "clsx": "^2.0.0",
48
+ "lucide-react": "^0.469.0",
37
49
  "react": "^18.0.0 || ^19.0.0",
38
- "react-dom": "^18.0.0 || ^19.0.0"
50
+ "react-dom": "^18.0.0 || ^19.0.0",
51
+ "tailwind-merge": "^2.0.0"
39
52
  },
40
53
  "peerDependenciesMeta": {
41
54
  "react": {
@@ -43,6 +56,27 @@
43
56
  },
44
57
  "react-dom": {
45
58
  "optional": true
59
+ },
60
+ "@radix-ui/react-tabs": {
61
+ "optional": true
62
+ },
63
+ "@radix-ui/react-select": {
64
+ "optional": true
65
+ },
66
+ "@radix-ui/react-dialog": {
67
+ "optional": true
68
+ },
69
+ "lucide-react": {
70
+ "optional": true
71
+ },
72
+ "class-variance-authority": {
73
+ "optional": true
74
+ },
75
+ "clsx": {
76
+ "optional": true
77
+ },
78
+ "tailwind-merge": {
79
+ "optional": true
46
80
  }
47
81
  },
48
82
  "dependencies": {
@@ -50,14 +84,25 @@
50
84
  "zod": "^3.22.0"
51
85
  },
52
86
  "devDependencies": {
87
+ "@radix-ui/react-dialog": "^1.0.0",
88
+ "@radix-ui/react-select": "^2.0.0",
89
+ "@radix-ui/react-tabs": "^1.0.0",
90
+ "@testing-library/jest-dom": "^6.9.1",
91
+ "@testing-library/react": "^16.3.2",
53
92
  "@types/jest": "^29.5.0",
54
93
  "@types/node": "^20.0.0",
55
94
  "@types/react": "^18.0.0",
56
95
  "@types/uuid": "^9.0.0",
57
96
  "axios": "^1.6.0",
97
+ "class-variance-authority": "^0.7.0",
98
+ "clsx": "^2.0.0",
58
99
  "eslint": "^8.56.0",
59
100
  "jest": "^29.7.0",
101
+ "jest-environment-jsdom": "^30.2.0",
102
+ "lucide-react": "^0.469.0",
60
103
  "react": "^18.0.0",
104
+ "standard-version": "^9.5.0",
105
+ "tailwind-merge": "^2.0.0",
61
106
  "ts-jest": "^29.1.0",
62
107
  "tsup": "^8.0.0",
63
108
  "typescript": "^5.3.0"