Skip to content

Commit 58be52f

Browse files
committed
Additional headers with informations
1 parent e1157b0 commit 58be52f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "simpaypl/simpay",
33
"description": "Official SimPay API",
44
"type": "library",
5-
"version": "2.1.0",
5+
"version": "2.1.1",
66
"license": "MIT",
77
"minimum-stability": "stable",
88
"require": {

lib/Authorization.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ public function getHeaders(): array
2424
'X-SIM-KEY' => $this->apiKey,
2525
'X-SIM-PASSWORD' => $this->apiPassword,
2626
'X-SIM-LANG' => $this->lang,
27+
'X-SIM-VERSION' => '2.1.1',
28+
'X-SIM-PLATFORM' => 'PHP',
2729
];
2830
}
2931
}

0 commit comments

Comments
 (0)