@cobre-npm/library-portal-core 0.2.1 → 0.2.4
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/dist/constants/currencies/currencies.constants.d.ts +1 -1
- package/dist/constants/currencies/currencies.constants.js +1 -1
- package/dist/constants/currencies/currencies.data.d.ts +4 -1
- package/dist/constants/currencies/currencies.data.d.ts.map +1 -1
- package/dist/constants/currencies/currencies.data.js +4 -1
- package/dist/constants/currencies/currencies.data.js.map +1 -1
- package/package.json +7 -8
|
@@ -2,8 +2,8 @@ export declare const Currencies: {
|
|
|
2
2
|
readonly COP: "cop";
|
|
3
3
|
readonly MXN: "mxn";
|
|
4
4
|
readonly USD: "usd";
|
|
5
|
-
readonly COPStable: "cop_stable";
|
|
6
5
|
readonly USDStable: "usd_stable";
|
|
6
|
+
readonly COPStable: "cop_stable";
|
|
7
7
|
readonly COPCO: "copco";
|
|
8
8
|
readonly USDT: "usdt";
|
|
9
9
|
readonly USDC: "usdc";
|
|
@@ -26,6 +26,7 @@ export declare const CurrencyData: readonly [{
|
|
|
26
26
|
readonly geo: "col";
|
|
27
27
|
readonly minAmount: 1;
|
|
28
28
|
readonly type: "stable";
|
|
29
|
+
readonly flagAsset: "cop_stable";
|
|
29
30
|
}, {
|
|
30
31
|
readonly id: 5;
|
|
31
32
|
readonly label: "USD Stable";
|
|
@@ -33,6 +34,7 @@ export declare const CurrencyData: readonly [{
|
|
|
33
34
|
readonly geo: "global";
|
|
34
35
|
readonly minAmount: 1;
|
|
35
36
|
readonly type: "stable";
|
|
37
|
+
readonly flagAsset: "usd_stable";
|
|
36
38
|
}, {
|
|
37
39
|
readonly id: 6;
|
|
38
40
|
readonly label: "USD (USDT)";
|
|
@@ -53,7 +55,8 @@ export declare const CurrencyData: readonly [{
|
|
|
53
55
|
readonly code: "copco";
|
|
54
56
|
readonly geo: "col";
|
|
55
57
|
readonly minAmount: 1;
|
|
56
|
-
readonly type: "
|
|
58
|
+
readonly type: "stable";
|
|
59
|
+
readonly flagAsset: "cop_stable";
|
|
57
60
|
}];
|
|
58
61
|
export type CurrencyType = (typeof CurrencyData)[number]["type"];
|
|
59
62
|
export type CurrencyRecord = (typeof CurrencyData)[number];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"currencies.data.d.ts","sourceRoot":"","sources":["../../../src/constants/currencies/currencies.data.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"currencies.data.d.ts","sourceRoot":"","sources":["../../../src/constants/currencies/currencies.data.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoEf,CAAA;AAEV,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAA;AAChE,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAA"}
|
|
@@ -32,6 +32,7 @@ export const CurrencyData = [
|
|
|
32
32
|
geo: Countries.COL,
|
|
33
33
|
minAmount: 1,
|
|
34
34
|
type: "stable",
|
|
35
|
+
flagAsset: "cop_stable",
|
|
35
36
|
},
|
|
36
37
|
{
|
|
37
38
|
id: 5,
|
|
@@ -40,6 +41,7 @@ export const CurrencyData = [
|
|
|
40
41
|
geo: Countries.GLOBAL,
|
|
41
42
|
minAmount: 1,
|
|
42
43
|
type: "stable",
|
|
44
|
+
flagAsset: "usd_stable",
|
|
43
45
|
},
|
|
44
46
|
{
|
|
45
47
|
id: 6,
|
|
@@ -63,7 +65,8 @@ export const CurrencyData = [
|
|
|
63
65
|
code: Currencies.COPCO,
|
|
64
66
|
geo: Countries.COL,
|
|
65
67
|
minAmount: 1,
|
|
66
|
-
type: "
|
|
68
|
+
type: "stable",
|
|
69
|
+
flagAsset: "cop_stable",
|
|
67
70
|
},
|
|
68
71
|
];
|
|
69
72
|
//# sourceMappingURL=currencies.data.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"currencies.data.js","sourceRoot":"","sources":["../../../src/constants/currencies/currencies.data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAA;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAEnD,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B;QACE,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,UAAU,CAAC,GAAG;QACpB,GAAG,EAAE,SAAS,CAAC,GAAG;QAClB,SAAS,EAAE,CAAC;QACZ,IAAI,EAAE,MAAM;KACb;IACD;QACE,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,UAAU,CAAC,GAAG;QACpB,GAAG,EAAE,SAAS,CAAC,GAAG;QAClB,SAAS,EAAE,IAAI;QACf,IAAI,EAAE,MAAM;KACb;IACD;QACE,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,UAAU,CAAC,GAAG;QACpB,GAAG,EAAE,SAAS,CAAC,GAAG;QAClB,SAAS,EAAE,GAAG;QACd,IAAI,EAAE,MAAM;KACb;IACD;QACE,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,YAAY;QACnB,IAAI,EAAE,UAAU,CAAC,SAAS;QAC1B,GAAG,EAAE,SAAS,CAAC,GAAG;QAClB,SAAS,EAAE,CAAC;QACZ,IAAI,EAAE,QAAQ;
|
|
1
|
+
{"version":3,"file":"currencies.data.js","sourceRoot":"","sources":["../../../src/constants/currencies/currencies.data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAA;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAEnD,MAAM,CAAC,MAAM,YAAY,GAAG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QAClB,SAAS,EAAE,CAAC;QACZ,IAAI,EAAE,YAAY;KACnB;IACD;QACE,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,OAAO;QACd,IAAI,EAAE,UAAU,CAAC,KAAK;QACtB,GAAG,EAAE,SAAS,CAAC,GAAG;QAClB,SAAS,EAAE,CAAC;QACZ,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,YAAY;KACxB;CACO,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cobre-npm/library-portal-core",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "Shared configurations and resources for Portal MFEs",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -13,15 +13,8 @@
|
|
|
13
13
|
"files": [
|
|
14
14
|
"dist"
|
|
15
15
|
],
|
|
16
|
-
"scripts": {
|
|
17
|
-
"build": "tsc",
|
|
18
|
-
"lint": "eslint . --fix",
|
|
19
|
-
"test": "vitest run",
|
|
20
|
-
"publish:prod": "npm publish"
|
|
21
|
-
},
|
|
22
16
|
"type": "module",
|
|
23
17
|
"license": "ISC",
|
|
24
|
-
"packageManager": "pnpm@10.27.0",
|
|
25
18
|
"devDependencies": {
|
|
26
19
|
"@eslint/js": "^9.0.0",
|
|
27
20
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
@@ -31,5 +24,11 @@
|
|
|
31
24
|
"typescript": "^5.7.0",
|
|
32
25
|
"vitest": "^4.1.5",
|
|
33
26
|
"vue-eslint-parser": "^9.0.0"
|
|
27
|
+
},
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "tsc",
|
|
30
|
+
"lint": "eslint . --fix",
|
|
31
|
+
"test": "vitest run",
|
|
32
|
+
"publish:prod": "pnpm lint && pnpm exec tsc --noEmit && pnpm build && pnpm publish"
|
|
34
33
|
}
|
|
35
34
|
}
|