@riocrypto/common 1.0.1038 → 1.0.1040
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Country } from "../types/country";
|
|
2
2
|
import { CountryOfOrigin } from "../types/country-of-origin";
|
|
3
3
|
import { Asset } from "./Asset";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class CountryAsset extends Asset {
|
|
5
5
|
symbol: Country | CountryOfOrigin;
|
|
6
6
|
constructor(symbol: Country | CountryOfOrigin);
|
|
7
7
|
getName(): string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.CountryAsset = void 0;
|
|
4
4
|
const country_of_origin_1 = require("../types/country-of-origin");
|
|
5
5
|
const Asset_1 = require("./Asset");
|
|
6
|
-
class
|
|
6
|
+
class CountryAsset extends Asset_1.Asset {
|
|
7
7
|
constructor(symbol) {
|
|
8
8
|
super(symbol);
|
|
9
9
|
this.symbol = symbol;
|
|
@@ -400,4 +400,4 @@ class CountryOfOriginAsset extends Asset_1.Asset {
|
|
|
400
400
|
return `https://purecatamphetamine.github.io/CountryOfOrigin-flag-icons/3x2/${this.symbol}.svg`;
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
|
-
exports.
|
|
403
|
+
exports.CountryAsset = CountryAsset;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CountryOfOrigin } from "./country-of-origin";
|
|
2
2
|
import { Language } from "./language";
|
|
3
3
|
import { PlatformFeeRange } from "./platform-fee-range";
|
|
4
4
|
import { UserAttribute } from "./user-attribute";
|
|
@@ -21,7 +21,7 @@ export declare type UserInput = {
|
|
|
21
21
|
street2?: string;
|
|
22
22
|
city: string;
|
|
23
23
|
state: string;
|
|
24
|
-
country:
|
|
24
|
+
country: CountryOfOrigin;
|
|
25
25
|
postalCode: string;
|
|
26
26
|
cpf?: string;
|
|
27
27
|
curp?: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CountryOfOrigin } from "./country-of-origin";
|
|
2
2
|
import { KYCStatus } from "./kyc-status";
|
|
3
3
|
export interface UserQuery {
|
|
4
4
|
firstName?: string;
|
|
5
5
|
lastName?: string;
|
|
6
6
|
companyName?: string;
|
|
7
|
-
country?:
|
|
7
|
+
country?: CountryOfOrigin;
|
|
8
8
|
kycStatus?: KYCStatus;
|
|
9
9
|
brokerId?: string;
|
|
10
10
|
email?: string;
|
package/build/types/user.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CountryOfOrigin } from "./country-of-origin";
|
|
2
2
|
import { KYCStatus } from "./kyc-status";
|
|
3
3
|
import { Language } from "./language";
|
|
4
4
|
import { PlatformFeeRange } from "./platform-fee-range";
|
|
@@ -25,7 +25,7 @@ export declare type User = {
|
|
|
25
25
|
street2?: string;
|
|
26
26
|
city: string;
|
|
27
27
|
state: string;
|
|
28
|
-
country:
|
|
28
|
+
country: CountryOfOrigin;
|
|
29
29
|
postalCode: string;
|
|
30
30
|
kycStatus: KYCStatus;
|
|
31
31
|
cpf?: string;
|