@riocrypto/common 1.0.1453 → 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 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);
@@ -1,5 +1,6 @@
1
1
  export declare enum AddressVerificationStatus {
2
2
  initiated = "initiated",
3
3
  sent = "sent",
4
- passed = "passed"
4
+ passed = "passed",
5
+ cancelled = "cancelled"
5
6
  }
@@ -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 = {}));
@@ -0,0 +1,7 @@
1
+ import { AddressVerificationStatus } from "./address-verification-status";
2
+ export interface AddressVerification {
3
+ id: string;
4
+ addressId: string;
5
+ status: AddressVerificationStatus;
6
+ amount: number;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1453",
3
+ "version": "1.0.1454",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",