@riocrypto/common-server 1.0.1226 → 1.0.1228

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.
@@ -24,12 +24,12 @@ class ClusterClient {
24
24
  baseURL: baseUrl,
25
25
  headers: {
26
26
  Host: process.env.RIO_ENV === common_1.RioEnv.Development
27
- ? "dev.riocrypto.com"
27
+ ? "dev.riotransfer.co"
28
28
  : process.env.RIO_ENV === common_1.RioEnv.Staging
29
- ? "staging.riocrypto.com"
29
+ ? "staging.riotransfer.co"
30
30
  : process.env.RIO_ENV === common_1.RioEnv.Sandbox
31
- ? "sandbox.riocrypto.com"
32
- : "www.riocrypto.com",
31
+ ? "sandbox.riotransfer.co"
32
+ : "www.riotransfer.co",
33
33
  },
34
34
  });
35
35
  }
@@ -7,7 +7,7 @@ interface InternalSwapAttrs {
7
7
  destinationCrypto: Crypto;
8
8
  amount: number;
9
9
  exchange?: "coinbase";
10
- status: "created" | "processing" | "fistLegComplete" | "complete" | "failed";
10
+ status: "created" | "processing" | "firstLegComplete" | "complete" | "failed";
11
11
  }
12
12
  interface InternalSwapDoc extends Document {
13
13
  createdAt: Date;
@@ -16,7 +16,7 @@ interface InternalSwapDoc extends Document {
16
16
  destinationCrypto: Crypto;
17
17
  amount: number;
18
18
  exchange?: "coinbase";
19
- status: "created" | "processing" | "fistLegComplete" | "complete" | "failed";
19
+ status: "created" | "processing" | "firstLegComplete" | "complete" | "failed";
20
20
  }
21
21
  interface InternalSwapModel extends Model<InternalSwapDoc> {
22
22
  build(attrs: InternalSwapAttrs): InternalSwapDoc;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1226",
3
+ "version": "1.0.1228",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -26,7 +26,7 @@
26
26
  "@aws-sdk/client-s3": "^3.297.0",
27
27
  "@everapi/currencyapi-js": "^1.0.6",
28
28
  "@google-cloud/storage": "^6.9.5",
29
- "@riocrypto/common": "^1.0.1120",
29
+ "@riocrypto/common": "^1.0.1123",
30
30
  "@types/express": "^4.17.13",
31
31
  "axios": "^0.27.2",
32
32
  "ccxt": "^3.0.30",