gamemoney 4.0.1 → 4.1.1

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.
Files changed (3) hide show
  1. package/index.d.ts +1 -0
  2. package/package.json +10 -10
  3. package/utils.js +1 -1
package/index.d.ts CHANGED
@@ -330,6 +330,7 @@ export interface CheckoutNotification {
330
330
  currency_user: string;
331
331
  time: string;
332
332
  signature: string;
333
+ refunds?: Refund[];
333
334
  }
334
335
  export interface TransferNotification {
335
336
  amount: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gamemoney",
3
- "version": "4.0.1",
3
+ "version": "4.1.1",
4
4
  "description": "GameMoney API wrapper for Node.js",
5
5
  "keywords": [
6
6
  "gamemoney",
@@ -39,7 +39,7 @@
39
39
  "lint:fix": "xo --fix"
40
40
  },
41
41
  "lint-staged": {
42
- "*.ts": "xo --fix"
42
+ "*.ts": "xo"
43
43
  },
44
44
  "jest": {
45
45
  "testMatch": [
@@ -62,22 +62,22 @@
62
62
  },
63
63
  "prettier": "@onmoon/prettier-config",
64
64
  "devDependencies": {
65
- "@onmoon/eslint-config": "^1.0.8",
65
+ "@onmoon/eslint-config": "^1.0.11",
66
66
  "@onmoon/prettier-config": "^1.0.2",
67
- "@onmoon/tsconfigs": "^1.0.5",
67
+ "@onmoon/tsconfigs": "^2.0.0",
68
68
  "@types/body-parser": "^1.19.2",
69
69
  "@types/express": "^4.17.13",
70
70
  "@types/jest": "^27.4.0",
71
- "@types/node": "^17.0.10",
71
+ "@types/node": "^17.0.18",
72
72
  "@types/uuid": "^8.3.4",
73
- "body-parser": "^1.19.1",
74
- "express": "^4.17.2",
73
+ "body-parser": "^1.19.2",
74
+ "express": "^4.17.3",
75
75
  "husky": "^7.0.4",
76
- "lint-staged": "^12.2.1",
76
+ "lint-staged": "^12.3.4",
77
77
  "ts-jest": "^27.1.3",
78
- "typescript": "^4.5.4",
78
+ "typescript": "^4.5.5",
79
79
  "uuid": "^8.3.2",
80
- "xo": "^0.47.0"
80
+ "xo": "^0.48.0"
81
81
  },
82
82
  "dependencies": {
83
83
  "got": "^12.0.1"
package/utils.js CHANGED
@@ -2,7 +2,7 @@ import { URL } from 'node:url';
2
2
  import crypto from 'node:crypto';
3
3
  import fs from 'node:fs';
4
4
  const publicCert = fs
5
- .readFileSync(new URL('./certs/gm.crt', import.meta.url))
5
+ .readFileSync(new URL('certs/gm.crt', import.meta.url))
6
6
  .toString();
7
7
  export function parametersToString(body) {
8
8
  let parametersString = '';