@riocrypto/common 1.0.1037 → 1.0.1039
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;
|
package/build/index.d.ts
CHANGED
|
@@ -106,6 +106,7 @@ export * from "./events/sender-address-created-event";
|
|
|
106
106
|
export * from "./types/crypto";
|
|
107
107
|
export * from "./types/us-state";
|
|
108
108
|
export * from "./types/country";
|
|
109
|
+
export * from "./types/country-of-origin";
|
|
109
110
|
export * from "./types/fiat";
|
|
110
111
|
export * from "./types/language";
|
|
111
112
|
export * from "./types/liquidity-provider";
|
package/build/index.js
CHANGED
|
@@ -122,6 +122,7 @@ __exportStar(require("./events/sender-address-created-event"), exports);
|
|
|
122
122
|
__exportStar(require("./types/crypto"), exports);
|
|
123
123
|
__exportStar(require("./types/us-state"), exports);
|
|
124
124
|
__exportStar(require("./types/country"), exports);
|
|
125
|
+
__exportStar(require("./types/country-of-origin"), exports);
|
|
125
126
|
__exportStar(require("./types/fiat"), exports);
|
|
126
127
|
__exportStar(require("./types/language"), exports);
|
|
127
128
|
__exportStar(require("./types/liquidity-provider"), exports);
|