@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/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: "A$", flag: "πŸ‡¦πŸ‡Ί", nickname: "A$" },
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcdylanproperenterprise/nodejs-proper-money-types",
3
- "version": "0.0.39",
3
+ "version": "0.0.40",
4
4
  "description": "",
5
5
  "main": "",
6
6
  "types": "index.d.ts",
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;