@riocrypto/common-server 1.0.2783 → 1.0.2786

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.
@@ -9,6 +9,12 @@ interface RioSettingsAttrs {
9
9
  frozen: boolean;
10
10
  };
11
11
  };
12
+ isSurgePricing: {
13
+ [key: string]: {
14
+ value: boolean;
15
+ frozen: boolean;
16
+ };
17
+ };
12
18
  defaultDeferredPaymentFee: {
13
19
  [key in Country]?: {
14
20
  [key in Side]?: {
@@ -99,6 +105,12 @@ interface RioSettingsDoc extends mongoose.Document {
99
105
  frozen: boolean;
100
106
  };
101
107
  };
108
+ isSurgePricing: {
109
+ [key: string]: {
110
+ value: boolean;
111
+ frozen: boolean;
112
+ };
113
+ };
102
114
  buyOrderGeneralExchangeRateMarkup: {
103
115
  [key in Fiat]: number;
104
116
  };
@@ -18,6 +18,9 @@ const buildRioSettings = (mongoose) => {
18
18
  isAfterHours: {
19
19
  type: Object,
20
20
  },
21
+ isSurgePricing: {
22
+ type: Object,
23
+ },
21
24
  buyOrderAfterHoursExchangeRateMarkup: {
22
25
  type: Object,
23
26
  },
package/package.json CHANGED
@@ -1,12 +1,16 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2783",
3
+ "version": "1.0.2786",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
7
7
  "files": [
8
8
  "build/**/*"
9
9
  ],
10
+ "scripts": {
11
+ "clean": "rm -rf ./build/*",
12
+ "build": "npm run clean && tsc"
13
+ },
10
14
  "keywords": [],
11
15
  "author": "",
12
16
  "license": "ISC",
@@ -24,10 +28,10 @@
24
28
  "@google-cloud/secret-manager": "^5.6.0",
25
29
  "@google-cloud/storage": "^7.19.0",
26
30
  "@hyperdx/node-opentelemetry": "^0.10.3",
27
- "@riocrypto/common": "1.0.2587",
31
+ "@riocrypto/common": "1.0.2592",
28
32
  "@slack/web-api": "^7.15.0",
29
33
  "@types/express": "^4.17.25",
30
- "axios": "1.13.6",
34
+ "axios": "1.15.2",
31
35
  "crypto-js": "^4.2.0",
32
36
  "express": "^4.22.1",
33
37
  "express-rate-limit": "^7.5.1",
@@ -37,7 +41,7 @@
37
41
  "he": "^1.2.0",
38
42
  "jose": "^6.2.2",
39
43
  "jsonwebtoken": "^9.0.3",
40
- "lodash": "^4.17.23",
44
+ "lodash": "^4.18.0",
41
45
  "logform": "2.7.0",
42
46
  "mongoose": "^8.23.0",
43
47
  "node-cache": "^5.1.2",
@@ -45,8 +49,5 @@
45
49
  "winston": "^3.19.0",
46
50
  "xss": "^1.0.15"
47
51
  },
48
- "scripts": {
49
- "clean": "rm -rf ./build/*",
50
- "build": "npm run clean && tsc"
51
- }
52
- }
52
+ "packageManager": "pnpm@11.1.1+sha512.d1fdf5f73c617b64fa1a56a81c3c8dfe0e966e33a6010aa256b517ae77be21d93e05affc0de1a83b0e4f29d569f68b446ae8f068cd7247c0bb3df0fb4d7bdf9a"
53
+ }