epicenter-libs 3.28.2 → 3.28.3
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/CHANGELOG.md +9 -0
- package/dist/browser/{AckExtension-4ccb1b3b.js → AckExtension-9bea2c4e.js} +3 -3
- package/dist/{module/AckExtension-cd7b3bcb.js.map → browser/AckExtension-9bea2c4e.js.map} +1 -1
- package/dist/{module/ReloadExtension-da4ee10c.js → browser/ReloadExtension-0a0db209.js} +3 -3
- package/dist/{module/ReloadExtension-da4ee10c.js.map → browser/ReloadExtension-0a0db209.js.map} +1 -1
- package/dist/browser/{cometd-009d1cc7.js → cometd-61790fde.js} +2 -2
- package/dist/browser/{cometd-009d1cc7.js.map → cometd-61790fde.js.map} +1 -1
- package/dist/browser/{epicenter-ffc2b7a7.js → epicenter-9769a9c8.js} +13 -19
- package/dist/browser/epicenter-9769a9c8.js.map +1 -0
- package/dist/browser/epicenter.js +1 -1
- package/dist/cjs/{AckExtension-f8c57030.js → AckExtension-249fa813.js} +3 -3
- package/dist/cjs/{AckExtension-f8c57030.js.map → AckExtension-249fa813.js.map} +1 -1
- package/dist/cjs/{ReloadExtension-0d52f073.js → ReloadExtension-9e1042db.js} +3 -3
- package/dist/cjs/{ReloadExtension-0d52f073.js.map → ReloadExtension-9e1042db.js.map} +1 -1
- package/dist/cjs/{cometd-369eb10e.js → cometd-5082fd13.js} +2 -2
- package/dist/cjs/{cometd-369eb10e.js.map → cometd-5082fd13.js.map} +1 -1
- package/dist/cjs/{epicenter-54f0befe.js → epicenter-d0a5ec4e.js} +13 -19
- package/dist/cjs/epicenter-d0a5ec4e.js.map +1 -0
- package/dist/cjs/epicenter.js +1 -1
- package/dist/epicenter.js +9 -15
- package/dist/epicenter.js.map +1 -1
- package/dist/epicenter.min.js +1 -1
- package/dist/epicenter.min.js.map +1 -1
- package/dist/module/{AckExtension-cd7b3bcb.js → AckExtension-69d0f47f.js} +3 -3
- package/dist/{browser/AckExtension-4ccb1b3b.js.map → module/AckExtension-69d0f47f.js.map} +1 -1
- package/dist/{browser/ReloadExtension-26e320cf.js → module/ReloadExtension-a7d3524a.js} +3 -3
- package/dist/{browser/ReloadExtension-26e320cf.js.map → module/ReloadExtension-a7d3524a.js.map} +1 -1
- package/dist/module/{cometd-c640d287.js → cometd-3c516c70.js} +2 -2
- package/dist/module/{cometd-c640d287.js.map → cometd-3c516c70.js.map} +1 -1
- package/dist/module/{epicenter-e4a6d235.js → epicenter-9b90e36e.js} +13 -19
- package/dist/module/epicenter-9b90e36e.js.map +1 -0
- package/dist/module/epicenter.js +1 -1
- package/package.json +1 -1
- package/src/adapters/run.ts +1 -6
- package/dist/browser/epicenter-ffc2b7a7.js.map +0 -1
- package/dist/cjs/epicenter-54f0befe.js.map +0 -1
- package/dist/module/epicenter-e4a6d235.js.map +0 -1
package/dist/module/epicenter.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { J as Channel, D as DEFAULT_ERROR_HANDLERS, F as Fault, P as PUSH_CATEGORY, R as RITUAL, b as ROLE, f as Router, S as SCOPE_BOUNDARY, g as accountAdapter, h as adminAdapter, i as assetAdapter, l as authAdapter, m as chatAdapter, d as config, j as consensusAdapter, G as dailyAdapter, k as emailAdapter, n as episodeAdapter, e as errorManager, o as groupAdapter, p as leaderboardAdapter, H as matchmakerAdapter, q as presenceAdapter, r as projectAdapter, s as recaptchaAdapter, t as runAdapter, E as somebodyAdapter, w as taskAdapter, x as timeAdapter, y as userAdapter, u as utils, z as vaultAdapter, v as version, K as videoAPI, A as videoAdapter, L as vonageAPI, B as vonageAdapter, I as walletAdapter, C as worldAdapter } from './epicenter-
|
|
1
|
+
export { J as Channel, D as DEFAULT_ERROR_HANDLERS, F as Fault, P as PUSH_CATEGORY, R as RITUAL, b as ROLE, f as Router, S as SCOPE_BOUNDARY, g as accountAdapter, h as adminAdapter, i as assetAdapter, l as authAdapter, m as chatAdapter, d as config, j as consensusAdapter, G as dailyAdapter, k as emailAdapter, n as episodeAdapter, e as errorManager, o as groupAdapter, p as leaderboardAdapter, H as matchmakerAdapter, q as presenceAdapter, r as projectAdapter, s as recaptchaAdapter, t as runAdapter, E as somebodyAdapter, w as taskAdapter, x as timeAdapter, y as userAdapter, u as utils, z as vaultAdapter, v as version, K as videoAPI, A as videoAdapter, L as vonageAPI, B as vonageAdapter, I as walletAdapter, C as worldAdapter } from './epicenter-9b90e36e.js';
|
|
2
2
|
import 'stream';
|
|
3
3
|
import 'http';
|
|
4
4
|
import 'url';
|
package/package.json
CHANGED
package/src/adapters/run.ts
CHANGED
|
@@ -505,13 +505,11 @@ export async function getVariables(
|
|
|
505
505
|
return variableMap;
|
|
506
506
|
}, {} as Record<string, unknown>);
|
|
507
507
|
|
|
508
|
-
const searchParams = { timeout };
|
|
509
508
|
const uriComponent = hasMultiple ? '' : `/${runKey.length === 1 ? runKey[0] : runKey}`;
|
|
510
509
|
const include = variables.join(';');
|
|
511
|
-
const body = hasMultiple ? { include,
|
|
510
|
+
const body = hasMultiple ? { runKey, include, timeout } : { ritual, include, timeout };
|
|
512
511
|
const additional = ignorable ? { ignorable } : {};
|
|
513
512
|
return await new Router()
|
|
514
|
-
.withSearchParams(searchParams)
|
|
515
513
|
.post(`/run/variable${uriComponent}`, {
|
|
516
514
|
body: {
|
|
517
515
|
...body,
|
|
@@ -601,16 +599,13 @@ export async function getMetadata(
|
|
|
601
599
|
} & RoutingOptions = {}
|
|
602
600
|
): Promise<Record<string, unknown>> {
|
|
603
601
|
const {
|
|
604
|
-
timeout,
|
|
605
602
|
...routingOptions
|
|
606
603
|
} = optionals;
|
|
607
604
|
const include = metadata.join(';');
|
|
608
605
|
const hasMultiple = Array.isArray(runKey) && runKey.length > 1;
|
|
609
|
-
const searchParams = { timeout };
|
|
610
606
|
|
|
611
607
|
const runKeyArg = Array.isArray(runKey) ? runKey : [runKey];
|
|
612
608
|
return await new Router()
|
|
613
|
-
.withSearchParams(searchParams)
|
|
614
609
|
.post('/run/meta', {
|
|
615
610
|
body: {
|
|
616
611
|
include,
|