@auxilium/datalynk-client 1.2.7 → 1.2.9

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/dist/index.js CHANGED
@@ -2256,8 +2256,14 @@ class Auth {
2256
2256
  }
2257
2257
  class PWA {
2258
2258
  constructor(api) {
2259
+ __publicField(this, "deferredPrompt", null);
2259
2260
  this.api = api;
2261
+ window.addEventListener("beforeinstallprompt", (e) => {
2262
+ e.preventDefault();
2263
+ this.deferredPrompt = e;
2264
+ });
2260
2265
  }
2266
+ // Holds the beforeinstallprompt event
2261
2267
  get iframe() {
2262
2268
  return (parent == null ? void 0 : parent.location) != location;
2263
2269
  }
@@ -2306,16 +2312,16 @@ class PWA {
2306
2312
  if (!this.iframe && !this.pwa && this.platform != "mac") setTimeout(() => {
2307
2313
  const dismissed = !!localStorage.getItem(`${this.api.options.name}:pwa`);
2308
2314
  if (!dismissed) this.prompt();
2309
- }, 6e4);
2315
+ }, 1e4);
2310
2316
  }
2311
2317
  /** Prompt user to install the app */
2312
2318
  async prompt(platform) {
2313
2319
  if (document.querySelector(".pwa-prompt")) return;
2314
- this.api.url;
2315
2320
  const android = (platform || this.platform) == "android";
2316
2321
  let style = document.querySelector("style.pwa");
2317
2322
  if (!style) {
2318
2323
  style = document.createElement("style");
2324
+ style.classList.add("pwa");
2319
2325
  style.innerHTML = `
2320
2326
  .pwa-prompt-backdrop {
2321
2327
  position: fixed;
@@ -2385,7 +2391,6 @@ class PWA {
2385
2391
  const backdrop = document.createElement("div");
2386
2392
  backdrop.classList.add("pwa-prompt-backdrop");
2387
2393
  const prompt = document.createElement("div");
2388
- prompt.classList.add("pwa-prompt");
2389
2394
  prompt.innerHTML = `
2390
2395
  <div style="display: flex; padding: 1rem; align-items: center">
2391
2396
  <img src="https://datalynk-client.scarborough.auxilium.world/logo.png" alt="Logo" style="height: 40px; width: auto; margin-right: .5rem;" />
@@ -2393,26 +2398,25 @@ class PWA {
2393
2398
  </div>
2394
2399
  <div style="display: flex; flex-direction: column; align-items: center">
2395
2400
  <div style="border-top: 2px solid #00000020; border-bottom: 2px solid #00000020; padding: 0 1rem">
2396
- <p style="margin-top: 1rem; text-align: center">This website can be installed as an App! Add it to your home screen for quick access & fullscreen use.</p>
2401
+ <p style="margin-top: 1rem; text-align: center">
2402
+ ${this.deferredPrompt ? "Click the button below to install the app directly to your device." : "This website can be installed as an App! Add it to your home screen for quick access & fullscreen use."}
2403
+ </p>
2397
2404
  </div>
2398
- <table style="margin: 1.5rem 0">
2399
- <tr>
2400
- <td style="width: 50px; text-align: center">
2401
- ${android ? '<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="black" style="transform: scale(1.5)"><path d="M480-160q-33 0-56.5-23.5T400-240q0-33 23.5-56.5T480-320q33 0 56.5 23.5T560-240q0 33-23.5 56.5T480-160Zm0-240q-33 0-56.5-23.5T400-480q0-33 23.5-56.5T480-560q33 0 56.5 23.5T560-480q0 33-23.5 56.5T480-400Zm0-240q-33 0-56.5-23.5T400-720q0-33 23.5-56.5T480-800q33 0 56.5 23.5T560-720q0 33-23.5 56.5T480-640Z"/></svg>' : '<svg viewBox="0 0 566 670" xmlns="http://www.w3.org/2000/svg" fill="#0B76FC" height="40px"><path d="M255 12c4-4 10-8 16-8s12 3 16 8l94 89c3 4 6 7 8 12 2 6 0 14-5 19-7 8-20 9-28 2l-7-7-57-60 2 54v276c0 12-10 22-22 22-12 1-24-10-23-22V110l1-43-60 65c-5 5-13 8-21 6a19 19 0 0 1-16-17c-1-7 2-13 7-18l95-91z" /><path d="M43 207c16-17 40-23 63-23h83v46h-79c-12 0-25 3-33 13-8 9-10 21-10 33v260c0 13 0 27 6 38 5 12 18 18 30 19l14 1h302c14 0 28 0 40-8 11-7 16-21 16-34V276c0-11-2-24-9-33-8-10-22-13-34-13h-78v-46h75c13 0 25 1 37 4 16 4 31 13 41 27 11 17 14 37 14 57v280c0 20-3 41-15 58a71 71 0 0 1-45 27c-11 2-23 3-34 3H109c-19-1-40-4-56-15-14-9-23-23-27-38-4-12-5-25-5-38V270c1-22 6-47 22-63z" /></svg>'}
2402
- </td>
2403
- <td>
2404
- <p style="margin: 1rem 0">1) ${android ? "Open the dropdown menu" : 'Press the "Share" button'}</p>
2405
- </td>
2406
- </tr>
2407
- <tr>
2408
- <td style="width: 50px; text-align: center">
2409
- ${android ? '<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="black" style="transform: scale(-1.5, 1.5)"><path d="M280-40q-33 0-56.5-23.5T200-120v-720q0-33 23.5-56.5T280-920h280v80H280v40h280v80H280v480h400v-80h80v200q0 33-23.5 56.5T680-40H280Zm0-120v40h400v-40H280Zm440-240L520-600l56-56 104 104v-288h80v288l104-104 56 56-200 200ZM280-800v-40 40Zm0 640v40-40Z"/></svg>' : '<svg viewBox="0 0 578 584" xmlns="http://www.w3.org/2000/svg" fill="black" height="34px"><path d="M101 35l19-1h333c12 0 23 0 35 3 17 3 34 12 44 27 13 16 16 38 16 58v329c0 19 0 39-8 57a65 65 0 0 1-37 37c-18 7-38 7-57 7H130c-21 1-44 0-63-10-14-7-25-20-30-34-6-15-8-30-8-45V121c1-21 5-44 19-61 13-16 33-23 53-25m7 46c-10 1-19 6-24 14-7 8-9 20-9 31v334c0 12 2 25 10 34 9 10 23 12 35 12h336c14 1 30-3 38-15 6-9 8-20 8-31V125c0-12-2-24-10-33-9-9-22-12-35-12H121l-13 1z" /><path d="M271 161c9-11 31-10 38 4 3 5 3 11 3 17v87h88c7 0 16 1 21 7 6 6 7 14 6 22a21 21 0 0 1-10 14c-5 4-11 5-17 5h-88v82c0 7-1 15-6 20-10 10-29 10-37-2-3-6-4-13-4-19v-81h-87c-8-1-17-3-23-9-5-6-6-15-4-22a21 21 0 0 1 11-14c6-3 13-3 19-3h84v-88c0-7 1-14 6-20z" /></svg>'}
2410
- </td>
2411
- <td>
2412
- <p style="margin: 1rem 0">2) Press "Add to Home Screen"</p>
2413
- </td>
2414
- </tr>
2415
- </table>
2405
+ ${this.deferredPrompt ? `<button id="installPwaBtn" style="background:#0B76FC;color:white;border:none;padding:.5rem 1rem;border-radius:5px;cursor:pointer;margin:1rem 0">Install</button>` : `
2406
+ <table style="margin: 1.5rem 0">
2407
+ <tr>
2408
+ <td style="width: 50px; text-align: center">
2409
+ ${android ? '<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="black" style="transform: scale(1.5)">...</svg>' : '<svg viewBox="0 0 566 670" xmlns="http://www.w3.org/2000/svg" fill="#0B76FC" height="40px">...</svg>'}
2410
+ </td>
2411
+ <td><p style="margin: 1rem 0">1) ${android ? "Open the dropdown menu" : 'Press the "Share" button'}</p></td>
2412
+ </tr>
2413
+ <tr>
2414
+ <td style="width: 50px; text-align: center">
2415
+ ${android ? '<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px">...</svg>' : '<svg viewBox="0 0 578 584" xmlns="http://www.w3.org/2000/svg" fill="black" height="34px">...</svg>'}
2416
+ </td>
2417
+ <td><p style="margin: 1rem 0">2) Press "Add to Home Screen"</p></td>
2418
+ </tr>
2419
+ </table>`}
2416
2420
  </div>`;
2417
2421
  const close = document.createElement("button");
2418
2422
  close.classList.add("pwa-prompt-close");
@@ -2429,6 +2433,18 @@ class PWA {
2429
2433
  prompt.append(close);
2430
2434
  backdrop.append(prompt);
2431
2435
  document.body.append(backdrop);
2436
+ if (this.deferredPrompt) {
2437
+ const installBtn = prompt.querySelector("#installPwaBtn");
2438
+ if (installBtn) {
2439
+ installBtn.onclick = async () => {
2440
+ this.deferredPrompt.prompt();
2441
+ const choice = await this.deferredPrompt.userChoice;
2442
+ if (choice.outcome === "accepted") console.log("PWA installed");
2443
+ this.deferredPrompt = null;
2444
+ close.click();
2445
+ };
2446
+ }
2447
+ }
2432
2448
  }
2433
2449
  }
2434
2450
  class Files {
@@ -3230,9 +3246,8 @@ class Socket {
3230
3246
  this.api = api;
3231
3247
  this.options = options;
3232
3248
  if (!options.url && options.url !== false) {
3233
- const url = new URL(this.api.url.replace("http", "ws"));
3234
- url.port = "9390";
3235
- this.options.url = url.origin;
3249
+ const origin = new URL(this.api.url).origin;
3250
+ this.options.url = origin.replace("http", "ws").replace(/:\d+/g, "") + `:9390`;
3236
3251
  }
3237
3252
  if (this.options.url !== false)
3238
3253
  api.token$.pipe(filter((u) => u !== void 0), distinctUntilChanged()).subscribe(() => this.connect());
@@ -3244,7 +3259,7 @@ class Socket {
3244
3259
  *
3245
3260
  *
3246
3261
  *
3247
- *
3262
+ *
3248
3263
  * @return {Unsubscribe} Function to unsubscribe callback
3249
3264
  */
3250
3265
  addListener(fn, reconnect) {
@@ -3355,7 +3370,7 @@ class Superuser {
3355
3370
  } });
3356
3371
  }
3357
3372
  }
3358
- const version = "1.2.7";
3373
+ const version = "1.2.9";
3359
3374
  class WebRtc {
3360
3375
  constructor(api) {
3361
3376
  __publicField(this, "ice");
package/dist/index.mjs CHANGED
@@ -2254,8 +2254,14 @@ class Auth {
2254
2254
  }
2255
2255
  class PWA {
2256
2256
  constructor(api) {
2257
+ __publicField(this, "deferredPrompt", null);
2257
2258
  this.api = api;
2259
+ window.addEventListener("beforeinstallprompt", (e) => {
2260
+ e.preventDefault();
2261
+ this.deferredPrompt = e;
2262
+ });
2258
2263
  }
2264
+ // Holds the beforeinstallprompt event
2259
2265
  get iframe() {
2260
2266
  return (parent == null ? void 0 : parent.location) != location;
2261
2267
  }
@@ -2304,16 +2310,16 @@ class PWA {
2304
2310
  if (!this.iframe && !this.pwa && this.platform != "mac") setTimeout(() => {
2305
2311
  const dismissed = !!localStorage.getItem(`${this.api.options.name}:pwa`);
2306
2312
  if (!dismissed) this.prompt();
2307
- }, 6e4);
2313
+ }, 1e4);
2308
2314
  }
2309
2315
  /** Prompt user to install the app */
2310
2316
  async prompt(platform) {
2311
2317
  if (document.querySelector(".pwa-prompt")) return;
2312
- this.api.url;
2313
2318
  const android = (platform || this.platform) == "android";
2314
2319
  let style = document.querySelector("style.pwa");
2315
2320
  if (!style) {
2316
2321
  style = document.createElement("style");
2322
+ style.classList.add("pwa");
2317
2323
  style.innerHTML = `
2318
2324
  .pwa-prompt-backdrop {
2319
2325
  position: fixed;
@@ -2383,7 +2389,6 @@ class PWA {
2383
2389
  const backdrop = document.createElement("div");
2384
2390
  backdrop.classList.add("pwa-prompt-backdrop");
2385
2391
  const prompt = document.createElement("div");
2386
- prompt.classList.add("pwa-prompt");
2387
2392
  prompt.innerHTML = `
2388
2393
  <div style="display: flex; padding: 1rem; align-items: center">
2389
2394
  <img src="https://datalynk-client.scarborough.auxilium.world/logo.png" alt="Logo" style="height: 40px; width: auto; margin-right: .5rem;" />
@@ -2391,26 +2396,25 @@ class PWA {
2391
2396
  </div>
2392
2397
  <div style="display: flex; flex-direction: column; align-items: center">
2393
2398
  <div style="border-top: 2px solid #00000020; border-bottom: 2px solid #00000020; padding: 0 1rem">
2394
- <p style="margin-top: 1rem; text-align: center">This website can be installed as an App! Add it to your home screen for quick access & fullscreen use.</p>
2399
+ <p style="margin-top: 1rem; text-align: center">
2400
+ ${this.deferredPrompt ? "Click the button below to install the app directly to your device." : "This website can be installed as an App! Add it to your home screen for quick access & fullscreen use."}
2401
+ </p>
2395
2402
  </div>
2396
- <table style="margin: 1.5rem 0">
2397
- <tr>
2398
- <td style="width: 50px; text-align: center">
2399
- ${android ? '<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="black" style="transform: scale(1.5)"><path d="M480-160q-33 0-56.5-23.5T400-240q0-33 23.5-56.5T480-320q33 0 56.5 23.5T560-240q0 33-23.5 56.5T480-160Zm0-240q-33 0-56.5-23.5T400-480q0-33 23.5-56.5T480-560q33 0 56.5 23.5T560-480q0 33-23.5 56.5T480-400Zm0-240q-33 0-56.5-23.5T400-720q0-33 23.5-56.5T480-800q33 0 56.5 23.5T560-720q0 33-23.5 56.5T480-640Z"/></svg>' : '<svg viewBox="0 0 566 670" xmlns="http://www.w3.org/2000/svg" fill="#0B76FC" height="40px"><path d="M255 12c4-4 10-8 16-8s12 3 16 8l94 89c3 4 6 7 8 12 2 6 0 14-5 19-7 8-20 9-28 2l-7-7-57-60 2 54v276c0 12-10 22-22 22-12 1-24-10-23-22V110l1-43-60 65c-5 5-13 8-21 6a19 19 0 0 1-16-17c-1-7 2-13 7-18l95-91z" /><path d="M43 207c16-17 40-23 63-23h83v46h-79c-12 0-25 3-33 13-8 9-10 21-10 33v260c0 13 0 27 6 38 5 12 18 18 30 19l14 1h302c14 0 28 0 40-8 11-7 16-21 16-34V276c0-11-2-24-9-33-8-10-22-13-34-13h-78v-46h75c13 0 25 1 37 4 16 4 31 13 41 27 11 17 14 37 14 57v280c0 20-3 41-15 58a71 71 0 0 1-45 27c-11 2-23 3-34 3H109c-19-1-40-4-56-15-14-9-23-23-27-38-4-12-5-25-5-38V270c1-22 6-47 22-63z" /></svg>'}
2400
- </td>
2401
- <td>
2402
- <p style="margin: 1rem 0">1) ${android ? "Open the dropdown menu" : 'Press the "Share" button'}</p>
2403
- </td>
2404
- </tr>
2405
- <tr>
2406
- <td style="width: 50px; text-align: center">
2407
- ${android ? '<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="black" style="transform: scale(-1.5, 1.5)"><path d="M280-40q-33 0-56.5-23.5T200-120v-720q0-33 23.5-56.5T280-920h280v80H280v40h280v80H280v480h400v-80h80v200q0 33-23.5 56.5T680-40H280Zm0-120v40h400v-40H280Zm440-240L520-600l56-56 104 104v-288h80v288l104-104 56 56-200 200ZM280-800v-40 40Zm0 640v40-40Z"/></svg>' : '<svg viewBox="0 0 578 584" xmlns="http://www.w3.org/2000/svg" fill="black" height="34px"><path d="M101 35l19-1h333c12 0 23 0 35 3 17 3 34 12 44 27 13 16 16 38 16 58v329c0 19 0 39-8 57a65 65 0 0 1-37 37c-18 7-38 7-57 7H130c-21 1-44 0-63-10-14-7-25-20-30-34-6-15-8-30-8-45V121c1-21 5-44 19-61 13-16 33-23 53-25m7 46c-10 1-19 6-24 14-7 8-9 20-9 31v334c0 12 2 25 10 34 9 10 23 12 35 12h336c14 1 30-3 38-15 6-9 8-20 8-31V125c0-12-2-24-10-33-9-9-22-12-35-12H121l-13 1z" /><path d="M271 161c9-11 31-10 38 4 3 5 3 11 3 17v87h88c7 0 16 1 21 7 6 6 7 14 6 22a21 21 0 0 1-10 14c-5 4-11 5-17 5h-88v82c0 7-1 15-6 20-10 10-29 10-37-2-3-6-4-13-4-19v-81h-87c-8-1-17-3-23-9-5-6-6-15-4-22a21 21 0 0 1 11-14c6-3 13-3 19-3h84v-88c0-7 1-14 6-20z" /></svg>'}
2408
- </td>
2409
- <td>
2410
- <p style="margin: 1rem 0">2) Press "Add to Home Screen"</p>
2411
- </td>
2412
- </tr>
2413
- </table>
2403
+ ${this.deferredPrompt ? `<button id="installPwaBtn" style="background:#0B76FC;color:white;border:none;padding:.5rem 1rem;border-radius:5px;cursor:pointer;margin:1rem 0">Install</button>` : `
2404
+ <table style="margin: 1.5rem 0">
2405
+ <tr>
2406
+ <td style="width: 50px; text-align: center">
2407
+ ${android ? '<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="black" style="transform: scale(1.5)">...</svg>' : '<svg viewBox="0 0 566 670" xmlns="http://www.w3.org/2000/svg" fill="#0B76FC" height="40px">...</svg>'}
2408
+ </td>
2409
+ <td><p style="margin: 1rem 0">1) ${android ? "Open the dropdown menu" : 'Press the "Share" button'}</p></td>
2410
+ </tr>
2411
+ <tr>
2412
+ <td style="width: 50px; text-align: center">
2413
+ ${android ? '<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px">...</svg>' : '<svg viewBox="0 0 578 584" xmlns="http://www.w3.org/2000/svg" fill="black" height="34px">...</svg>'}
2414
+ </td>
2415
+ <td><p style="margin: 1rem 0">2) Press "Add to Home Screen"</p></td>
2416
+ </tr>
2417
+ </table>`}
2414
2418
  </div>`;
2415
2419
  const close = document.createElement("button");
2416
2420
  close.classList.add("pwa-prompt-close");
@@ -2427,6 +2431,18 @@ class PWA {
2427
2431
  prompt.append(close);
2428
2432
  backdrop.append(prompt);
2429
2433
  document.body.append(backdrop);
2434
+ if (this.deferredPrompt) {
2435
+ const installBtn = prompt.querySelector("#installPwaBtn");
2436
+ if (installBtn) {
2437
+ installBtn.onclick = async () => {
2438
+ this.deferredPrompt.prompt();
2439
+ const choice = await this.deferredPrompt.userChoice;
2440
+ if (choice.outcome === "accepted") console.log("PWA installed");
2441
+ this.deferredPrompt = null;
2442
+ close.click();
2443
+ };
2444
+ }
2445
+ }
2430
2446
  }
2431
2447
  }
2432
2448
  class Files {
@@ -3228,9 +3244,8 @@ class Socket {
3228
3244
  this.api = api;
3229
3245
  this.options = options;
3230
3246
  if (!options.url && options.url !== false) {
3231
- const url = new URL(this.api.url.replace("http", "ws"));
3232
- url.port = "9390";
3233
- this.options.url = url.origin;
3247
+ const origin = new URL(this.api.url).origin;
3248
+ this.options.url = origin.replace("http", "ws").replace(/:\d+/g, "") + `:9390`;
3234
3249
  }
3235
3250
  if (this.options.url !== false)
3236
3251
  api.token$.pipe(filter((u) => u !== void 0), distinctUntilChanged()).subscribe(() => this.connect());
@@ -3242,7 +3257,7 @@ class Socket {
3242
3257
  *
3243
3258
  *
3244
3259
  *
3245
- *
3260
+ *
3246
3261
  * @return {Unsubscribe} Function to unsubscribe callback
3247
3262
  */
3248
3263
  addListener(fn, reconnect) {
@@ -3353,7 +3368,7 @@ class Superuser {
3353
3368
  } });
3354
3369
  }
3355
3370
  }
3356
- const version = "1.2.7";
3371
+ const version = "1.2.9";
3357
3372
  class WebRtc {
3358
3373
  constructor(api) {
3359
3374
  __publicField(this, "ice");
package/dist/pwa.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { Api } from './api';
2
2
  export declare class PWA {
3
3
  private readonly api;
4
+ private deferredPrompt;
4
5
  get iframe(): boolean;
5
6
  get mobile(): boolean;
6
7
  get platform(): 'android' | 'ios' | 'mac' | 'windows' | 'linux' | 'unknown';
package/dist/pwa.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"pwa.d.ts","sourceRoot":"","sources":["../src/pwa.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAE1B,qBAAa,GAAG;IAoBH,OAAO,CAAC,QAAQ,CAAC,GAAG;IAlBhC,IAAI,MAAM,IAAI,OAAO,CAAyC;IAE9D,IAAI,MAAM,IAAI,OAAO,CAAuD;IAE5E,IAAI,QAAQ,IAAI,SAAS,GAAG,KAAK,GAAG,KAAK,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAQ1E;IAED,IAAI,GAAG,IAAI,OAAO,CAEjB;gBAE4B,GAAG,EAAE,GAAG;IAErC,oBAAoB;IACd,KAAK,CAAC,QAAQ,GAAE,GAAQ;IAsC9B,qCAAqC;IAC/B,MAAM,CAAC,QAAQ,CAAC,EAAE,SAAS,GAAG,KAAK;CAiIzC"}
1
+ {"version":3,"file":"pwa.d.ts","sourceRoot":"","sources":["../src/pwa.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAE1B,qBAAa,GAAG;IAqBH,OAAO,CAAC,QAAQ,CAAC,GAAG;IApBhC,OAAO,CAAC,cAAc,CAAa;IAEnC,IAAI,MAAM,IAAI,OAAO,CAAyC;IAE9D,IAAI,MAAM,IAAI,OAAO,CAAuD;IAE5E,IAAI,QAAQ,IAAI,SAAS,GAAG,KAAK,GAAG,KAAK,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAQ1E;IAED,IAAI,GAAG,IAAI,OAAO,CAEjB;gBAE4B,GAAG,EAAE,GAAG;IAQrC,oBAAoB;IACd,KAAK,CAAC,QAAQ,GAAE,GAAQ;IAsC9B,qCAAqC;IAC/B,MAAM,CAAC,QAAQ,CAAC,E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uB,OAAO,EAAE,aAAa;IAN7E,OAAO,CAAC,SAAS,CAAoC;IACrD,OAAO,CAAC,KAAK,CAAC,CAAM;IACpB,OAAO,CAAC,MAAM,CAAC,CAAY;IAE3B,IAAI,UAAS;gBAEgB,GAAG,EAAE,GAAG,EAAkB,OAAO,GAAE,aAAkB;IAWlF;;;;;;;;;OASG;IACH,WAAW,CAAC,EAAE,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,IAAI,GAAG,WAAW;IAOnE;;OAEG;IACH,KAAK;IASL;;;OAGG;IACH,OAAO,CAAC,OAAO,GAAE,MAAW;IAgC5B;;;;OAIG;IACH,IAAI,CAAC,OAAO,EAAE,GAAG;IAKjB;;;;;;OAMG;IACH,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,GAAG,MAAM,EAAE,EAAE,QAAQ,EAAE,cAAc,CAAC,gBAAgB,CAAC,GAAG,WAAW;CAUlH"}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@auxilium/datalynk-client",
3
3
  "description": "Datalynk client library",
4
4
  "repository": "https://gitlab.auxiliumgroup.com/auxilium/datalynk/datalynk-client",
5
- "version": "1.2.7",
5
+ "version": "1.2.9",
6
6
  "author": "Zak Timson <zaktimson@gmail.com>",
7
7
  "private": false,
8
8
  "main": "./dist/index.cjs",