@polymorfa/browser 0.1.0-dev.20260923162255 → 0.1.0-dev.20260923182554
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,6 +1,6 @@
|
|
|
1
1
|
import { type CallErrorCode, type CallQualityFigures, type CallReport, type CallReportClient } from "@polymorfa/sdk/calls/internal";
|
|
2
2
|
/** Package version sent with reports from `@polymorfa/browser`. */
|
|
3
|
-
export declare const BROWSER_SDK_VERSION = "0.1.0-dev.
|
|
3
|
+
export declare const BROWSER_SDK_VERSION = "0.1.0-dev.20260923182554";
|
|
4
4
|
export declare const BROWSER_REPORT_CLIENT: CallReportClient;
|
|
5
5
|
/** How often a live connection sends its figures. */
|
|
6
6
|
export declare const QUALITY_REPORT_INTERVAL_MS = 15000;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CallReporter, } from "@polymorfa/sdk/calls/internal";
|
|
2
2
|
/** Package version sent with reports from `@polymorfa/browser`. */
|
|
3
|
-
export const BROWSER_SDK_VERSION = "0.1.0-dev.
|
|
3
|
+
export const BROWSER_SDK_VERSION = "0.1.0-dev.20260923182554";
|
|
4
4
|
export const BROWSER_REPORT_CLIENT = Object.freeze({
|
|
5
5
|
sdk: "@polymorfa/browser",
|
|
6
6
|
version: BROWSER_SDK_VERSION,
|
package/dist/transport.js
CHANGED
|
@@ -109,7 +109,7 @@ export class BrowserTransport {
|
|
|
109
109
|
const headers = new Headers(request.headers);
|
|
110
110
|
headers.set("accept", "application/json");
|
|
111
111
|
headers.set("authorization", `Bearer ${token}`);
|
|
112
|
-
headers.set("x-polymorfa-client", "browser/0.1.0-dev.
|
|
112
|
+
headers.set("x-polymorfa-client", "browser/0.1.0-dev.20260923182554");
|
|
113
113
|
if (request.idempotencyKey !== undefined)
|
|
114
114
|
headers.set("idempotency-key", request.idempotencyKey);
|
|
115
115
|
const body = request.body === undefined ? undefined : JSON.stringify(request.body);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@polymorfa/browser",
|
|
3
|
-
"version": "0.1.0-dev.
|
|
3
|
+
"version": "0.1.0-dev.20260923182554",
|
|
4
4
|
"description": "Framework-neutral Polymorfa browser transport and product controllers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"homepage": "https://github.com/polymorfa/sdks#readme",
|
|
16
16
|
"sideEffects": false,
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@polymorfa/sdk": "0.1.0-dev.
|
|
18
|
+
"@polymorfa/sdk": "0.1.0-dev.20260923182554"
|
|
19
19
|
},
|
|
20
20
|
"main": "./dist/index.js",
|
|
21
21
|
"types": "./dist/index.d.ts",
|