paytabs_pt2 2.0.9 → 2.0.11

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/README.md CHANGED
@@ -24,7 +24,7 @@ This module requires
24
24
  INSTALLATION
25
25
  ------------
26
26
  * Install Via NPM:
27
- - npm install @paytabscom/paytabs-nodejs@2.0.9
27
+ - npm i paytabs_pt2
28
28
 
29
29
  * Github Repo Link:
30
30
  - https://github.com/paytabscom/paytabs-nodejs-package
package/main.js CHANGED
@@ -120,7 +120,7 @@ function _setEndPoint(region)
120
120
  {
121
121
  const regions_urls = {ARE:'https://secure.paytabs.com/',SAU:'https://secure.paytabs.sa/',
122
122
  OMN:'https://secure-oman.paytabs.com/', JOR:'https://secure-jordan.paytabs.com/',
123
- EGY:'https://secure-egypt.paytabs.com/',GLOBAL:'https://secure-global.paytabs.com/'};
123
+ EGY:'https://secure-egypt.paytabs.com/',KWT:'https://secure-kuwait.paytabs.com/',GLOBAL:'https://secure-global.paytabs.com/'};
124
124
 
125
125
  for (const [key, value] of Object.entries(regions_urls))
126
126
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "paytabs_pt2",
3
3
  "description": "PayTabs payment integration with nodejs V10.X",
4
- "version": "2.0.9",
4
+ "version": "2.0.11",
5
5
  "_location": "/paytabs",
6
6
  "author": {
7
7
  "name": "Walaa Elsaeed",
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "homepage": "https://site.paytabs.com/en/",
17
17
  "dependencies": {
18
- "axios": "^0.18.0",
19
- "qs": "^6.7.0"
18
+ "axios": "^1.7.0",
19
+ "qs": "^6.12.0"
20
20
  },
21
21
  "main": "main.js",
22
22
  "deprecated": false
package/.idea/modules.xml DELETED
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/paytabs-nodejs-package.iml" filepath="$PROJECT_DIR$/.idea/paytabs-nodejs-package.iml" />
6
- </modules>
7
- </component>
8
- </project>
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="WEB_MODULE" version="4">
3
- <component name="NewModuleRootManager">
4
- <content url="file://$MODULE_DIR$" />
5
- <orderEntry type="inheritedJdk" />
6
- <orderEntry type="sourceFolder" forTests="false" />
7
- </component>
8
- </module>
package/.idea/vcs.xml DELETED
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
- </component>
6
- </project>