@mcdylanproperenterprise/nodejs-proper-money-types 0.0.39 β 0.0.40
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/enum.ts +11 -1
- package/lists/country.ts +237 -0
- package/lists/currency.ts +1 -1
- package/package.json +1 -1
- package/types.ts +7 -0
package/lists/currency.ts
CHANGED
|
@@ -14,7 +14,7 @@ export const currencyList: {
|
|
|
14
14
|
{ name: "South Korean Won", iso: "KRW", nickname: "β©", flag: "π°π·" },
|
|
15
15
|
{ name: "United States Dollar", iso: "USD", nickname: "US$", flag: "πΊπΈ" },
|
|
16
16
|
{ name: "Euro", iso: "EUR", nickname: "β¬", flag: "πͺπΊ" },
|
|
17
|
-
{ name: "Australian Dollar", iso: "
|
|
17
|
+
{ name: "Australian Dollar", iso: "AUD", flag: "π¦πΊ", nickname: "A$" },
|
|
18
18
|
{ name: "Norwegian Krone", iso: "NOK", nickname: "kr", flag: "π³π΄" },
|
|
19
19
|
{ name: "Brazilian Real", iso: "BRL", nickname: "R$", flag: "π§π·" },
|
|
20
20
|
{ name: "Bulgarian Lev", iso: "BGN", nickname: "Π»Π²", flag: "π§π¬" },
|
package/package.json
CHANGED
package/types.ts
CHANGED
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
|
|
6
6
|
export type TJwtTokenObject = {
|
|
7
7
|
userId: string;
|
|
8
|
+
sessionId: string;
|
|
8
9
|
};
|
|
9
10
|
|
|
10
11
|
export type TJwtToken = {
|
|
@@ -276,6 +277,11 @@ export type TUser = {
|
|
|
276
277
|
lastActiveAt: Date;
|
|
277
278
|
createdAt: Date;
|
|
278
279
|
notificationToken: string | null;
|
|
280
|
+
activeSession: {
|
|
281
|
+
sessionId: string;
|
|
282
|
+
deviceInfo: string | null;
|
|
283
|
+
loggedInAt: Date;
|
|
284
|
+
} | null;
|
|
279
285
|
};
|
|
280
286
|
|
|
281
287
|
export type TSharedUserInfo = {
|
|
@@ -325,6 +331,7 @@ export type TPostVerificationVerifyBody = {
|
|
|
325
331
|
phoneNumber: string;
|
|
326
332
|
oneTimePassword: string;
|
|
327
333
|
oneTimePasswordType: EVerificationOneTimePasswordType;
|
|
334
|
+
deviceInfo?: string;
|
|
328
335
|
};
|
|
329
336
|
|
|
330
337
|
export type TPostVerificationVerifyResponse = TJwtToken;
|