@mcdylanproperenterprise/nodejs-proper-money-types 0.0.38 β†’ 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.38",
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 = {
@@ -116,6 +117,7 @@ export type TGetTransactionQuery = {
116
117
  endTransactedAt: Date | undefined;
117
118
  transactionCategoryId: string | undefined;
118
119
  transactionLabelId: string | undefined;
120
+ currency: string | undefined;
119
121
  };
120
122
 
121
123
  export type TGetTransactionResponse = {
@@ -177,7 +179,7 @@ export type TGetTransactionCategoryDashboardResponse = {
177
179
  }[];
178
180
  };
179
181
  labels: {
180
- id: string;
182
+ id: string | null;
181
183
  name: string;
182
184
  currencies: {
183
185
  currency: string;
@@ -275,6 +277,11 @@ export type TUser = {
275
277
  lastActiveAt: Date;
276
278
  createdAt: Date;
277
279
  notificationToken: string | null;
280
+ activeSession: {
281
+ sessionId: string;
282
+ deviceInfo: string | null;
283
+ loggedInAt: Date;
284
+ } | null;
278
285
  };
279
286
 
280
287
  export type TSharedUserInfo = {
@@ -324,6 +331,7 @@ export type TPostVerificationVerifyBody = {
324
331
  phoneNumber: string;
325
332
  oneTimePassword: string;
326
333
  oneTimePasswordType: EVerificationOneTimePasswordType;
334
+ deviceInfo?: string;
327
335
  };
328
336
 
329
337
  export type TPostVerificationVerifyResponse = TJwtToken;