@urun-sh/core 0.6.19 → 0.6.20
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/adapter/index.js +2 -2
- package/dist/adapter/index.mjs +1 -1
- package/dist/{app-FXXH6CQL.mjs → app-UBAS4IX2.mjs} +1 -1
- package/dist/{backoff-CfpAVDrd.d.ts → backoff-UYyVBxo6.d.mts} +5 -1
- package/dist/{backoff-CfpAVDrd.d.mts → backoff-UYyVBxo6.d.ts} +5 -1
- package/dist/{backoff-CQBrx4Ds.d.mts → backoff-gRmh4z6F.d.mts} +5 -1
- package/dist/{backoff-CQBrx4Ds.d.ts → backoff-gRmh4z6F.d.ts} +5 -1
- package/dist/{chunk-VXPW2IFW.mjs → chunk-DI5DG2VN.mjs} +2 -2
- package/dist/{chunk-K2P3YZVC.mjs → chunk-M5GYSEH4.mjs} +3 -3
- package/dist/{chunk-DHPH24MA.mjs → chunk-XYC7JMAJ.mjs} +2 -2
- package/dist/index.browser.d.mts +2 -2
- package/dist/index.browser.d.ts +2 -2
- package/dist/index.browser.js +2 -2
- package/dist/index.browser.mjs +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/dist/internal.browser.d.mts +1 -1
- package/dist/internal.browser.d.ts +1 -1
- package/dist/internal.browser.js +2 -2
- package/dist/internal.browser.mjs +1 -1
- package/dist/internal.d.mts +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +5 -5
- package/dist/internal.mjs +1 -1
- package/package.json +1 -1
package/dist/adapter/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createRequire as __urunCreateRequire } from 'node:module'; const require = globalThis.require ?? __urunCreateRequire(import.meta.url);
|
|
2
|
-
import"../chunk-NLAOQUYQ.mjs";var p="serve";function d(n,o){let e=`[urun/${o.adapter}]`,r=n.baseUrl!==void 0||n.orgId!==void 0||n.app!==void 0||n.functionName!==void 0;if(n.session&&r)throw new Error(`${e} pass EITHER a \`session\` (BYO) OR connection settings (\`baseUrl\`/\`orgId\`/\`app\`) \u2014 not both.`);let u,c=()=>{if(n.session){let s=n.session;return Promise.resolve(typeof s=="function"?s():s)}let{baseUrl:i,orgId:t,app:a}=n;if(!i||!t||!a)throw new Error(`${e} missing connection settings: \`baseUrl\`, \`orgId\` and \`app\` are required (or pass a \`session\`).`);return l({...n,baseUrl:i,orgId:t,app:a})};return()=>u??=c()}async function l(n){let{App:o}=await import("../app-
|
|
2
|
+
import"../chunk-NLAOQUYQ.mjs";var p="serve";function d(n,o){let e=`[urun/${o.adapter}]`,r=n.baseUrl!==void 0||n.orgId!==void 0||n.app!==void 0||n.functionName!==void 0;if(n.session&&r)throw new Error(`${e} pass EITHER a \`session\` (BYO) OR connection settings (\`baseUrl\`/\`orgId\`/\`app\`) \u2014 not both.`);let u,c=()=>{if(n.session){let s=n.session;return Promise.resolve(typeof s=="function"?s():s)}let{baseUrl:i,orgId:t,app:a}=n;if(!i||!t||!a)throw new Error(`${e} missing connection settings: \`baseUrl\`, \`orgId\` and \`app\` are required (or pass a \`session\`).`);return l({...n,baseUrl:i,orgId:t,app:a})};return()=>u??=c()}async function l(n){let{App:o}=await import("../app-UBAS4IX2.mjs"),e=o(n.app,{baseUrl:n.baseUrl,orgId:n.orgId,jwt:n.jwt,getAccessToken:n.getAccessToken,authProvider:n.authProvider}),r=n.functionName??p;return e[r]()}export{d as createSessionResolver};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createRequire as __urunCreateRequire } from 'node:module'; const require = globalThis.require ?? __urunCreateRequire(import.meta.url);
|
|
2
|
-
import{ea as a,fa as b}from"./chunk-
|
|
2
|
+
import{ea as a,fa as b}from"./chunk-DI5DG2VN.mjs";import"./chunk-M5GYSEH4.mjs";import"./chunk-NLAOQUYQ.mjs";export{b as App,a as sessionDirectory};
|
|
@@ -1239,7 +1239,9 @@ interface NegotiatorOptions {
|
|
|
1239
1239
|
canvas?: HTMLCanvasElement;
|
|
1240
1240
|
|
|
1241
1241
|
createWebRtcSession: () => MediaSession;
|
|
1242
|
-
createWebTransportSession?: (offer: NonNullable<TransportOfferResponse['webtransport']
|
|
1242
|
+
createWebTransportSession?: (offer: NonNullable<TransportOfferResponse['webtransport']>,
|
|
1243
|
+
|
|
1244
|
+
audioLane?: WtAudioLaneSeam) => MediaSession;
|
|
1243
1245
|
|
|
1244
1246
|
dataLane?: NegotiatorDataLaneSeam;
|
|
1245
1247
|
|
|
@@ -1562,6 +1564,8 @@ declare class TransportSession {
|
|
|
1562
1564
|
|
|
1563
1565
|
markStreamDataLaneQuic(): void;
|
|
1564
1566
|
|
|
1567
|
+
noteQuicMediaFlowing(): void;
|
|
1568
|
+
|
|
1565
1569
|
dispatchQuicStreamData(name: string, payload: unknown): void;
|
|
1566
1570
|
|
|
1567
1571
|
raiseQuicStreamDataError(err: Error): void;
|
|
@@ -1239,7 +1239,9 @@ interface NegotiatorOptions {
|
|
|
1239
1239
|
canvas?: HTMLCanvasElement;
|
|
1240
1240
|
|
|
1241
1241
|
createWebRtcSession: () => MediaSession;
|
|
1242
|
-
createWebTransportSession?: (offer: NonNullable<TransportOfferResponse['webtransport']
|
|
1242
|
+
createWebTransportSession?: (offer: NonNullable<TransportOfferResponse['webtransport']>,
|
|
1243
|
+
|
|
1244
|
+
audioLane?: WtAudioLaneSeam) => MediaSession;
|
|
1243
1245
|
|
|
1244
1246
|
dataLane?: NegotiatorDataLaneSeam;
|
|
1245
1247
|
|
|
@@ -1562,6 +1564,8 @@ declare class TransportSession {
|
|
|
1562
1564
|
|
|
1563
1565
|
markStreamDataLaneQuic(): void;
|
|
1564
1566
|
|
|
1567
|
+
noteQuicMediaFlowing(): void;
|
|
1568
|
+
|
|
1565
1569
|
dispatchQuicStreamData(name: string, payload: unknown): void;
|
|
1566
1570
|
|
|
1567
1571
|
raiseQuicStreamDataError(err: Error): void;
|
|
@@ -1239,7 +1239,9 @@ interface NegotiatorOptions {
|
|
|
1239
1239
|
canvas?: HTMLCanvasElement;
|
|
1240
1240
|
|
|
1241
1241
|
createWebRtcSession: () => MediaSession;
|
|
1242
|
-
createWebTransportSession?: (offer: NonNullable<TransportOfferResponse['webtransport']
|
|
1242
|
+
createWebTransportSession?: (offer: NonNullable<TransportOfferResponse['webtransport']>,
|
|
1243
|
+
|
|
1244
|
+
audioLane?: WtAudioLaneSeam) => MediaSession;
|
|
1243
1245
|
|
|
1244
1246
|
dataLane?: NegotiatorDataLaneSeam;
|
|
1245
1247
|
|
|
@@ -1562,6 +1564,8 @@ declare class TransportSession {
|
|
|
1562
1564
|
|
|
1563
1565
|
markStreamDataLaneQuic(): void;
|
|
1564
1566
|
|
|
1567
|
+
noteQuicMediaFlowing(): void;
|
|
1568
|
+
|
|
1565
1569
|
dispatchQuicStreamData(name: string, payload: unknown): void;
|
|
1566
1570
|
|
|
1567
1571
|
raiseQuicStreamDataError(err: Error): void;
|
|
@@ -1239,7 +1239,9 @@ interface NegotiatorOptions {
|
|
|
1239
1239
|
canvas?: HTMLCanvasElement;
|
|
1240
1240
|
|
|
1241
1241
|
createWebRtcSession: () => MediaSession;
|
|
1242
|
-
createWebTransportSession?: (offer: NonNullable<TransportOfferResponse['webtransport']
|
|
1242
|
+
createWebTransportSession?: (offer: NonNullable<TransportOfferResponse['webtransport']>,
|
|
1243
|
+
|
|
1244
|
+
audioLane?: WtAudioLaneSeam) => MediaSession;
|
|
1243
1245
|
|
|
1244
1246
|
dataLane?: NegotiatorDataLaneSeam;
|
|
1245
1247
|
|
|
@@ -1562,6 +1564,8 @@ declare class TransportSession {
|
|
|
1562
1564
|
|
|
1563
1565
|
markStreamDataLaneQuic(): void;
|
|
1564
1566
|
|
|
1567
|
+
noteQuicMediaFlowing(): void;
|
|
1568
|
+
|
|
1565
1569
|
dispatchQuicStreamData(name: string, payload: unknown): void;
|
|
1566
1570
|
|
|
1567
1571
|
raiseQuicStreamDataError(err: Error): void;
|