@nekutima/biome-sdk 0.1.25 → 0.1.26

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.
@@ -11,7 +11,7 @@ class BiomeNotifications {
11
11
  */
12
12
  async hasNew() {
13
13
  try {
14
- const response = await this.http.get("/my/notifications/has-new");
14
+ const response = await this.http.get("/notifications/has-new");
15
15
  return response.payload?.hasNew || false;
16
16
  }
17
17
  catch (error) {
@@ -23,7 +23,7 @@ class BiomeNotifications {
23
23
  */
24
24
  async getPendingEmailCount() {
25
25
  try {
26
- const response = await this.http.get("/my/notifications/has_new_not_send");
26
+ const response = await this.http.get("/notifications/has-new-not-send");
27
27
  return response.payload?.count ?? response.payload?.pending ?? 0;
28
28
  }
29
29
  catch (error) {
@@ -1 +1 @@
1
- {"version":3,"file":"notification.service.js","sourceRoot":"","sources":["../../src/notifications/notification.service.ts"],"names":[],"mappings":";;;AACA,yDAAuD;AAGvD,MAAa,kBAAkB;IAG7B,YAAY,IAAqB;QAC/B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM;QACV,IAAI,CAAC;YACH,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,GAAG,CAClC,2BAA2B,CAC5B,CAAC;YACF,OAAO,QAAQ,CAAC,OAAO,EAAE,MAAM,IAAI,KAAK,CAAC;QAC3C,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAA,8BAAc,EAAC,KAAK,EAAE,+BAA+B,CAAC,CAAC;QAC/D,CAAC;IACH,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,oBAAoB;QACxB,IAAI,CAAC;YACH,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,GAAG,CAElC,oCAAoC,CAAC,CAAC;YACxC,OAAO,QAAQ,CAAC,OAAO,EAAE,KAAK,IAAI,QAAQ,CAAC,OAAO,EAAE,OAAO,IAAI,CAAC,CAAC;QACnE,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAA,8BAAc,EAAC,KAAK,EAAE,mCAAmC,CAAC,CAAC;QACnE,CAAC;IACH,CAAC;CACF;AAlCD,gDAkCC"}
1
+ {"version":3,"file":"notification.service.js","sourceRoot":"","sources":["../../src/notifications/notification.service.ts"],"names":[],"mappings":";;;AACA,yDAAuD;AAGvD,MAAa,kBAAkB;IAG7B,YAAY,IAAqB;QAC/B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM;QACV,IAAI,CAAC;YACH,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,GAAG,CAClC,wBAAwB,CACzB,CAAC;YACF,OAAO,QAAQ,CAAC,OAAO,EAAE,MAAM,IAAI,KAAK,CAAC;QAC3C,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAA,8BAAc,EAAC,KAAK,EAAE,+BAA+B,CAAC,CAAC;QAC/D,CAAC;IACH,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,oBAAoB;QACxB,IAAI,CAAC;YACH,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,GAAG,CAElC,iCAAiC,CAAC,CAAC;YACrC,OAAO,QAAQ,CAAC,OAAO,EAAE,KAAK,IAAI,QAAQ,CAAC,OAAO,EAAE,OAAO,IAAI,CAAC,CAAC;QACnE,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAA,8BAAc,EAAC,KAAK,EAAE,mCAAmC,CAAC,CAAC;QACnE,CAAC;IACH,CAAC;CACF;AAlCD,gDAkCC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nekutima/biome-sdk",
3
- "version": "0.1.25",
3
+ "version": "0.1.26",
4
4
  "description": "Pure TypeScript SDK for Biome platform integration - authentication, task management, and blockchain interactions",
5
5
  "readme": "README.md",
6
6
  "main": "dist/index.js",