@gandalan/weblibs 0.0.18 → 0.0.21

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.
Files changed (3) hide show
  1. package/api/IDAS.js +5 -1
  2. package/index.js +1 -1
  3. package/package.json +1 -1
package/api/IDAS.js CHANGED
@@ -45,6 +45,10 @@ export class IDAS
45
45
 
46
46
  mandantGuid = localStorage.getItem("IDAS_MandantGuid");
47
47
 
48
+ auth = {
49
+ async getCurrentAuthToken() { return await restClient.put("/Login/Update/", { Token: authToken }); },
50
+ };
51
+
48
52
  mandanten = {
49
53
  async getAll() { return await restClient.get("/Mandanten"); },
50
54
  async get(guid) { return await restClient.get("/Mandanten/" + guid); },
@@ -61,7 +65,7 @@ export class IDAS
61
65
  async getAll() { return await restClient.get("/Feedback/"); },
62
66
  async get(guid) { return await restClient.get("/Feedback/" + guid); },
63
67
  async save(m) { await restClient.put("/Feedback", m); },
64
- async comment(m) { await restClient.put("/FeedbackKommentar", m); },
68
+ async comment(guid, commentData) { await restClient.put("/FeedbackKommentar/" + guid, commentData); },
65
69
  async attachFile(m) { await restClient.put("/FeedbackAttachment", m); },
66
70
  async deleteFile(guid) { await restClient.delete("/FeedbackAttachment/" + guid); }
67
71
  };
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import AddButton from './components/AddButton.svelte';
2
2
  import DataGrid from './components/DataGrid.svelte';
3
- import Dialog from './components/Datepicker.svelte';
3
+ import Dialog from './components/Dialog.svelte';
4
4
  import Datepicker from './components/Datepicker.svelte';
5
5
  import Inputbox from './components/Inputbox.svelte';
6
6
  import RemoveButton from './components/RemoveButton.svelte';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gandalan/weblibs",
3
- "version": "0.0.18",
3
+ "version": "0.0.21",
4
4
  "description": "WebLibs for Gandalan JS/TS/Svelte projects",
5
5
  "author": "Philipp Reif",
6
6
  "license": "ISC",