@litepos/payment 1.0.8 → 1.0.9

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.
@@ -1,4 +1,3 @@
1
- import process from 'node:process';
2
1
  // Fixed logger configuration
3
2
  const LOG_ENDPOINT = 'https://logs.xposhq.com/';
4
3
  const LOG_API_KEY = 'nRXpIXTQ2TVIAHaSntyjfvQB90LI3LGYgXayDe7URGvXkQfGiR';
@@ -7,9 +6,9 @@ function sendLog(data) {
7
6
  const logPayload = {
8
7
  message: data.message || '',
9
8
  ...data,
10
- ddsource: 'node.js',
9
+ ddsource: 'capacitor.js',
11
10
  service: LOG_SERVICE,
12
- env: process.env.NODE_ENV || 'development',
11
+ env: import.meta.env.MODE,
13
12
  timestamp: new Date().toISOString(),
14
13
  };
15
14
  fetch(LOG_ENDPOINT, {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@litepos/payment",
3
3
  "type": "module",
4
- "version": "1.0.8",
4
+ "version": "1.0.9",
5
5
  "description": "LitePOS payment gateway SDK - Core package",
6
6
  "author": "",
7
7
  "license": "MIT",
@@ -25,7 +25,7 @@
25
25
  "dist"
26
26
  ],
27
27
  "dependencies": {
28
- "@litepos/payment-fiuu": "1.0.8"
28
+ "@litepos/payment-fiuu": "1.0.9"
29
29
  },
30
30
  "devDependencies": {
31
31
  "typescript": "^5.9.2",