@riocrypto/common 1.0.2405 → 1.0.2407

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
@@ -440,6 +440,7 @@ export * from "./types/inbound-crypto-deposit";
440
440
  export * from "./types/inbound-crypto-deposit-destination-type";
441
441
  export * from "./types/STP-mxn-withdrawal-status";
442
442
  export * from "./types/bitso-mxn-withdrawal-status";
443
+ export * from "./types/fireblocks-withdrawal-status";
443
444
  export * from "./classes/KYCFieldClass";
444
445
  export * from "./classes/KYCFileClass";
445
446
  export * from "./classes/CountryAsset";
package/build/index.js CHANGED
@@ -456,6 +456,7 @@ __exportStar(require("./types/inbound-crypto-deposit"), exports);
456
456
  __exportStar(require("./types/inbound-crypto-deposit-destination-type"), exports);
457
457
  __exportStar(require("./types/STP-mxn-withdrawal-status"), exports);
458
458
  __exportStar(require("./types/bitso-mxn-withdrawal-status"), exports);
459
+ __exportStar(require("./types/fireblocks-withdrawal-status"), exports);
459
460
  __exportStar(require("./classes/KYCFieldClass"), exports);
460
461
  __exportStar(require("./classes/KYCFileClass"), exports);
461
462
  __exportStar(require("./classes/CountryAsset"), exports);
@@ -1,3 +1,4 @@
1
+ import { FireblocksWithdrawalStatus } from "./fireblocks-withdrawal-status";
1
2
  export interface FireblocksTransfer {
2
3
  id: string;
3
4
  userId: string;
@@ -9,10 +10,10 @@ export interface FireblocksTransfer {
9
10
  numberOfParts?: number;
10
11
  partsCompleted?: number;
11
12
  fireblocksTransfers: {
12
- id: string;
13
+ id?: string;
13
14
  amount: number;
14
15
  partNumber?: number;
15
- status: "initiated" | "completed" | "failed";
16
+ status: FireblocksWithdrawalStatus;
16
17
  retryCount: number;
17
18
  }[];
18
19
  netAmountTransfered?: number;
@@ -0,0 +1,6 @@
1
+ export declare enum FireblocksWithdrawalStatus {
2
+ PendingApproval = "pendingApproval",
3
+ Initiated = "initiated",
4
+ Completed = "completed",
5
+ Failed = "failed"
6
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FireblocksWithdrawalStatus = void 0;
4
+ var FireblocksWithdrawalStatus;
5
+ (function (FireblocksWithdrawalStatus) {
6
+ FireblocksWithdrawalStatus["PendingApproval"] = "pendingApproval";
7
+ FireblocksWithdrawalStatus["Initiated"] = "initiated";
8
+ FireblocksWithdrawalStatus["Completed"] = "completed";
9
+ FireblocksWithdrawalStatus["Failed"] = "failed";
10
+ })(FireblocksWithdrawalStatus = exports.FireblocksWithdrawalStatus || (exports.FireblocksWithdrawalStatus = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.2405",
3
+ "version": "1.0.2407",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",