@auxilium/datalynk-client 1.3.12 → 1.3.14
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/README.md +4 -4
- package/dist/index.cjs +4 -4
- package/dist/index.mjs +4 -4
- package/dist/service.worker.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ Datalynk client library to integrate JavaScript clients with the Datalynk API.
|
|
|
11
11
|
- [Datalynk Client Library](#datalynk-client-library)
|
|
12
12
|
- [Table of Contents](#table-of-contents)
|
|
13
13
|
- [Quick Start](#quick-start)
|
|
14
|
-
- [API Documentation](https://datalynk-client.
|
|
14
|
+
- [API Documentation](https://datalynk-client.primary.auxilium.world)
|
|
15
15
|
- [Cheatsheet](#cheatsheet)
|
|
16
16
|
- [Integration](#integration)
|
|
17
17
|
- [Angular](#angular)
|
|
@@ -49,7 +49,7 @@ const api = new API('https://spoke.auxiliumgroup.com');
|
|
|
49
49
|
const resp = await api.request({'$/auth/current':{}});
|
|
50
50
|
```
|
|
51
51
|
|
|
52
|
-
## [API Documentation](https://datalynk-client.
|
|
52
|
+
## [API Documentation](https://datalynk-client.primary.auxilium.world)
|
|
53
53
|
|
|
54
54
|
## Cheatsheet
|
|
55
55
|
|
|
@@ -247,7 +247,7 @@ await prompt.wait; // Wait for the user to login/close the prompt
|
|
|
247
247
|
prompt.close(); // Close prompt manually
|
|
248
248
|
```
|
|
249
249
|
|
|
250
|
-
[Full list of options](https://datalynk-client.
|
|
250
|
+
[Full list of options](https://datalynk-client.primary.auxilium.world/types/login-prompt.LoginPromptOptions.html)
|
|
251
251
|
|
|
252
252
|
#### Manual Login
|
|
253
253
|
|
|
@@ -288,7 +288,7 @@ api.pwa.prompt();
|
|
|
288
288
|
```
|
|
289
289
|
|
|
290
290
|
#### Static assets
|
|
291
|
-
Upload the [service worker](https://datalynk-client.
|
|
291
|
+
Upload the [service worker](https://datalynk-client.primary.auxilium.world/dist/service.worker.mjs) `dist/service.worker.mjs` to the *root* directory of the server
|
|
292
292
|
to cache all files for use offline
|
|
293
293
|
```ts
|
|
294
294
|
const api = new Api(`https://${spoke}.auxiliumgroup.com`, {
|
package/dist/index.cjs
CHANGED
|
@@ -2425,8 +2425,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2425
2425
|
meta("name", "mobile-web-app-capable", "yes");
|
|
2426
2426
|
meta("name", "apple-mobile-web-app-status-bar-style", "default");
|
|
2427
2427
|
meta("name", "apple-mobile-web-app-title", this.api.options.name);
|
|
2428
|
-
meta("name", "apple-touch-icon", `https://datalynk-client.
|
|
2429
|
-
meta("name", "apple-touch-startup-image", `https://datalynk-client.
|
|
2428
|
+
meta("name", "apple-touch-icon", `https://datalynk-client.primary.auxilium.world/logo.png`);
|
|
2429
|
+
meta("name", "apple-touch-startup-image", `https://datalynk-client.primary.auxilium.world/logo.png`);
|
|
2430
2430
|
if (!document.querySelector('link[rel="manifest"]')) {
|
|
2431
2431
|
const link = document.createElement("link");
|
|
2432
2432
|
link.rel = "manifest";
|
|
@@ -2584,7 +2584,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2584
2584
|
prompt.classList.add("pwa-prompt");
|
|
2585
2585
|
prompt.innerHTML = `
|
|
2586
2586
|
<div class="pwa-prompt-header">
|
|
2587
|
-
<img src="https://datalynk-client.
|
|
2587
|
+
<img src="https://datalynk-client.primary.auxilium.world/logo.png" alt="Logo" />
|
|
2588
2588
|
<h1>Install ${this.api.options.name}</h1>
|
|
2589
2589
|
<button class="pwa-prompt-close">×</button>
|
|
2590
2590
|
</div>
|
|
@@ -3716,7 +3716,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3716
3716
|
} });
|
|
3717
3717
|
}
|
|
3718
3718
|
}
|
|
3719
|
-
const version = "1.3.
|
|
3719
|
+
const version = "1.3.14";
|
|
3720
3720
|
class WebRtc {
|
|
3721
3721
|
constructor(api) {
|
|
3722
3722
|
__publicField(this, "ice");
|
package/dist/index.mjs
CHANGED
|
@@ -2421,8 +2421,8 @@ class PWA {
|
|
|
2421
2421
|
meta("name", "mobile-web-app-capable", "yes");
|
|
2422
2422
|
meta("name", "apple-mobile-web-app-status-bar-style", "default");
|
|
2423
2423
|
meta("name", "apple-mobile-web-app-title", this.api.options.name);
|
|
2424
|
-
meta("name", "apple-touch-icon", `https://datalynk-client.
|
|
2425
|
-
meta("name", "apple-touch-startup-image", `https://datalynk-client.
|
|
2424
|
+
meta("name", "apple-touch-icon", `https://datalynk-client.primary.auxilium.world/logo.png`);
|
|
2425
|
+
meta("name", "apple-touch-startup-image", `https://datalynk-client.primary.auxilium.world/logo.png`);
|
|
2426
2426
|
if (!document.querySelector('link[rel="manifest"]')) {
|
|
2427
2427
|
const link = document.createElement("link");
|
|
2428
2428
|
link.rel = "manifest";
|
|
@@ -2580,7 +2580,7 @@ class PWA {
|
|
|
2580
2580
|
prompt.classList.add("pwa-prompt");
|
|
2581
2581
|
prompt.innerHTML = `
|
|
2582
2582
|
<div class="pwa-prompt-header">
|
|
2583
|
-
<img src="https://datalynk-client.
|
|
2583
|
+
<img src="https://datalynk-client.primary.auxilium.world/logo.png" alt="Logo" />
|
|
2584
2584
|
<h1>Install ${this.api.options.name}</h1>
|
|
2585
2585
|
<button class="pwa-prompt-close">×</button>
|
|
2586
2586
|
</div>
|
|
@@ -3712,7 +3712,7 @@ class Superuser {
|
|
|
3712
3712
|
} });
|
|
3713
3713
|
}
|
|
3714
3714
|
}
|
|
3715
|
-
const version = "1.3.
|
|
3715
|
+
const version = "1.3.14";
|
|
3716
3716
|
class WebRtc {
|
|
3717
3717
|
constructor(api) {
|
|
3718
3718
|
__publicField(this, "ice");
|
package/dist/service.worker.mjs
CHANGED
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.3.
|
|
5
|
+
"version": "1.3.14",
|
|
6
6
|
"author": "Zak Timson <zaktimson@gmail.com>",
|
|
7
7
|
"private": false,
|
|
8
8
|
"main": "./dist/index.cjs",
|