@freema/drobek-sdk 0.6.1 → 0.7.1

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The entry bundled into `/__drobek/beacon.js` (M1-07): install the error
2
+ * The entry bundled into `/__drobek/beacon.js`: install the error
3
3
  * beacon on load. The compiler imports it at the top of every app entry.
4
4
  */
5
5
  import { installBeacon } from './beacon.js';
package/dist/beacon.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The browser error beacon (M1-07, NSO-290) — runs in the BROWSER on the app's
2
+ * The browser error beacon — runs in the BROWSER on the app's
3
3
  * own origin. The compiler adds `import "/__drobek/beacon.js?v=<hash>"` at the
4
4
  * top of every JS entry of an app (unless its drobek.json says
5
5
  * `"beacon": false`), so every app reports its uncaught errors and unhandled
@@ -10,7 +10,7 @@
10
10
  * same-origin, JSON `{ events: [{ type, message, stack, url, ua, ts }] }`,
11
11
  * ≤ 20 events and ≤ 8 KiB per POST (over-cap → 413). The server redacts
12
12
  * e-mails / tokens and truncates again — the client caps are only there so a
13
- * POST fits. The page `url` is only its origin + path (NSO-327): a query
13
+ * POST fits. The page `url` is only its origin + path: a query
14
14
  * string or fragment can carry one-time codes, tokens or PII the redaction
15
15
  * cannot recognise (`?code=123456`), so it never leaves the browser.
16
16
  *
package/dist/beacon.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The browser error beacon (M1-07, NSO-290) — runs in the BROWSER on the app's
2
+ * The browser error beacon — runs in the BROWSER on the app's
3
3
  * own origin. The compiler adds `import "/__drobek/beacon.js?v=<hash>"` at the
4
4
  * top of every JS entry of an app (unless its drobek.json says
5
5
  * `"beacon": false`), so every app reports its uncaught errors and unhandled
@@ -10,7 +10,7 @@
10
10
  * same-origin, JSON `{ events: [{ type, message, stack, url, ua, ts }] }`,
11
11
  * ≤ 20 events and ≤ 8 KiB per POST (over-cap → 413). The server redacts
12
12
  * e-mails / tokens and truncates again — the client caps are only there so a
13
- * POST fits. The page `url` is only its origin + path (NSO-327): a query
13
+ * POST fits. The page `url` is only its origin + path: a query
14
14
  * string or fragment can carry one-time codes, tokens or PII the redaction
15
15
  * cannot recognise (`?code=123456`), so it never leaves the browser.
16
16
  *
package/dist/core.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The drobek browser SDK core (M1-01, NSO-287) — bundled into every server's
2
+ * The drobek browser SDK core — bundled into every server's
3
3
  * `/__drobek/sdk.js` together with the `sdk.entry` of each ACTIVE platform
4
4
  * module (`@drobek/modules` composes it with esbuild at startup). An app imports
5
5
  * it as `import { drobek } from 'drobek'` (the compiler maps the bare `drobek`
package/dist/core.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The drobek browser SDK core (M1-01, NSO-287) — bundled into every server's
2
+ * The drobek browser SDK core — bundled into every server's
3
3
  * `/__drobek/sdk.js` together with the `sdk.entry` of each ACTIVE platform
4
4
  * module (`@drobek/modules` composes it with esbuild at startup). An app imports
5
5
  * it as `import { drobek } from 'drobek'` (the compiler maps the bare `drobek`
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @drobek/sdk — the browser SDK core (M1-01, NSO-287). `core.ts` is bundled
2
+ * @drobek/sdk — the browser SDK core. `core.ts` is bundled
3
3
  * into `/__drobek/sdk.js` with the SDK entry of every active platform module;
4
4
  * module SDK entries type their argument with `SdkCore` from here.
5
- * `beacon.ts` (M1-07) is bundled into `/__drobek/beacon.js`, which the
5
+ * `beacon.ts` is bundled into `/__drobek/beacon.js`, which the
6
6
  * compiler imports into every app: uncaught browser errors → the app's beacon.
7
7
  */
8
8
  export declare const SDK_VERSION = "1.0.0";
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @drobek/sdk — the browser SDK core (M1-01, NSO-287). `core.ts` is bundled
2
+ * @drobek/sdk — the browser SDK core. `core.ts` is bundled
3
3
  * into `/__drobek/sdk.js` with the SDK entry of every active platform module;
4
4
  * module SDK entries type their argument with `SdkCore` from here.
5
- * `beacon.ts` (M1-07) is bundled into `/__drobek/beacon.js`, which the
5
+ * `beacon.ts` is bundled into `/__drobek/beacon.js`, which the
6
6
  * compiler imports into every app: uncaught browser errors → the app's beacon.
7
7
  */
8
8
  export const SDK_VERSION = '1.0.0';
package/dist/types.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * The TypeScript declarations of the SDK core, as the text the composed
3
- * `/__drobek/sdk.d.ts` starts with (M1-01). Kept next to core.ts; the
3
+ * `/__drobek/sdk.d.ts` starts with. Kept next to core.ts; the
4
4
  * `@drobek/modules` sdk tests parse the composed file and check that it
5
5
  * declares everything core.ts exports to apps.
6
6
  */
package/dist/types.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * The TypeScript declarations of the SDK core, as the text the composed
3
- * `/__drobek/sdk.d.ts` starts with (M1-01). Kept next to core.ts; the
3
+ * `/__drobek/sdk.d.ts` starts with. Kept next to core.ts; the
4
4
  * `@drobek/modules` sdk tests parse the composed file and check that it
5
5
  * declares everything core.ts exports to apps.
6
6
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freema/drobek-sdk",
3
- "version": "0.6.1",
3
+ "version": "0.7.1",
4
4
  "description": "The drobek browser SDK core: the SdkCore a platform module's SDK entry receives, DrobekError, the error beacon.",
5
5
  "license": "AGPL-3.0-only",
6
6
  "type": "module",