@riocrypto/common 1.0.1452 → 1.0.1454
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/build/index.d.ts +1 -0
- package/build/index.js +1 -0
- package/build/types/address-verification-status.d.ts +2 -1
- package/build/types/address-verification-status.js +1 -0
- package/build/types/address-verification.d.ts +7 -0
- package/build/types/address-verification.js +2 -0
- package/build/types/crypto-address.d.ts +0 -5
- package/build/types/internal-swap.d.ts +2 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -233,6 +233,7 @@ export * from "./types/bank-account-verification-status";
|
|
|
233
233
|
export * from "./types/rio-bank-account";
|
|
234
234
|
export * from "./types/swap-provider";
|
|
235
235
|
export * from "./types/swap-origin";
|
|
236
|
+
export * from "./types/address-verification";
|
|
236
237
|
export * from "./classes/Asset";
|
|
237
238
|
export * from "./classes/KYCFieldClass";
|
|
238
239
|
export * from "./classes/KYCFileClass";
|
package/build/index.js
CHANGED
|
@@ -249,6 +249,7 @@ __exportStar(require("./types/bank-account-verification-status"), exports);
|
|
|
249
249
|
__exportStar(require("./types/rio-bank-account"), exports);
|
|
250
250
|
__exportStar(require("./types/swap-provider"), exports);
|
|
251
251
|
__exportStar(require("./types/swap-origin"), exports);
|
|
252
|
+
__exportStar(require("./types/address-verification"), exports);
|
|
252
253
|
__exportStar(require("./classes/Asset"), exports);
|
|
253
254
|
__exportStar(require("./classes/KYCFieldClass"), exports);
|
|
254
255
|
__exportStar(require("./classes/KYCFileClass"), exports);
|
|
@@ -6,4 +6,5 @@ var AddressVerificationStatus;
|
|
|
6
6
|
AddressVerificationStatus["initiated"] = "initiated";
|
|
7
7
|
AddressVerificationStatus["sent"] = "sent";
|
|
8
8
|
AddressVerificationStatus["passed"] = "passed";
|
|
9
|
+
AddressVerificationStatus["cancelled"] = "cancelled";
|
|
9
10
|
})(AddressVerificationStatus = exports.AddressVerificationStatus || (exports.AddressVerificationStatus = {}));
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { AddressVerificationStatus } from "./address-verification-status";
|
|
2
1
|
import { Crypto } from "./crypto";
|
|
3
2
|
export interface CryptoAddress {
|
|
4
3
|
id: string;
|
|
@@ -9,8 +8,4 @@ export interface CryptoAddress {
|
|
|
9
8
|
userApproved: boolean;
|
|
10
9
|
lastChecked: Date;
|
|
11
10
|
label?: string;
|
|
12
|
-
verification?: {
|
|
13
|
-
status?: AddressVerificationStatus;
|
|
14
|
-
amount?: number;
|
|
15
|
-
};
|
|
16
11
|
}
|
|
@@ -8,7 +8,8 @@ export interface InternalSwap {
|
|
|
8
8
|
originCrypto: Crypto;
|
|
9
9
|
destinationCrypto: Crypto;
|
|
10
10
|
amount: number;
|
|
11
|
-
|
|
11
|
+
originFee: number;
|
|
12
|
+
providerFee: number;
|
|
12
13
|
provider: SwapProvider;
|
|
13
14
|
origin: SwapOrigin;
|
|
14
15
|
status: "created" | "processing" | "firstLegComplete" | "complete" | "failed";
|