@empirica/core
Advanced tools
Comparing version 1.0.0-rc.2 to 1.0.0-rc.3
@@ -1,3 +0,3 @@ | ||
export { B as Batch, C as Classic, h as ClassicKinds, a as ClassicListenersCollector, b as ClassicLoader, d as Context, G as Game, P as Player, e as PlayerGame, f as PlayerRound, g as PlayerStage, R as Round, S as Stage, c as classicKinds } from './proxy-0b3e0fab.js'; | ||
import './scopes-e4eff3ef.js'; | ||
export { B as Batch, C as Classic, h as ClassicKinds, a as ClassicListenersCollector, b as ClassicLoader, d as Context, G as Game, P as Player, e as PlayerGame, f as PlayerRound, g as PlayerStage, R as Round, S as Stage, c as classicKinds } from './proxy-5e6099d5.js'; | ||
import './scopes-21db3a29.js'; | ||
import '@empirica/tajriba'; | ||
@@ -4,0 +4,0 @@ import './globals-bf63a78e.js'; |
@@ -16,4 +16,4 @@ "use strict"; | ||
classicKinds | ||
} from "./chunk-MKD3VWMO.js"; | ||
import "./chunk-K4R5M4YR.js"; | ||
} from "./chunk-BGQLKVNJ.js"; | ||
import "./chunk-3QF35HLA.js"; | ||
import "./chunk-VUXXG5C5.js"; | ||
@@ -20,0 +20,0 @@ import "./chunk-C67KEMIV.js"; |
@@ -5,5 +5,5 @@ import { S as ScopeConstructor } from './globals-bf63a78e.js'; | ||
export { T as TajribaConnection } from './tajriba_connection-7db9ed97.js'; | ||
import { b as AdminConnection, c as Subscriber, L as ListenersCollector, F as Finalizer, h as AddLinkPayload, i as AddTransitionPayload } from './scopes-e4eff3ef.js'; | ||
export { b as AdminConnection, A as AdminContext, a as Attributes, E as EventContext, L as ListenersCollector, S as Scope, f as ScopeSubscriptionInput, d as Scopes, g as Subs, c as Subscriber, e as Subscriptions, T as TajribaEvent } from './scopes-e4eff3ef.js'; | ||
export { L as Layer, P as Participant, T as Transition, p as participantsSub, t as transitionsSub } from './transitions-c21e56f7.js'; | ||
import { b as AdminConnection, c as Subscriber, L as ListenersCollector, F as Finalizer, h as AddLinkPayload, i as AddTransitionPayload } from './scopes-21db3a29.js'; | ||
export { b as AdminConnection, A as AdminContext, a as Attributes, E as EventContext, L as ListenersCollector, S as Scope, f as ScopeSubscriptionInput, d as Scopes, g as Subs, c as Subscriber, e as Subscriptions, T as TajribaEvent } from './scopes-21db3a29.js'; | ||
export { P as Participant, T as Transition, p as participantsSub, t as transitionsSub } from './transitions-1e0ddc64.js'; | ||
import { AddScopeInput, AddGroupInput, LinkInput, AddStepInput, TransitionInput, SetAttributeInput } from '@empirica/tajriba'; | ||
@@ -18,3 +18,2 @@ import { Observable, BehaviorSubject } from 'rxjs'; | ||
private kinds; | ||
private layers; | ||
private subs; | ||
@@ -38,5 +37,7 @@ private evtctx; | ||
private cake; | ||
private running; | ||
private stopped; | ||
constructor(conn: AdminConnection, ctx: Context, kinds: Kinds, globalScopeID: string, subs: Observable<Subscriber<Context, Kinds> | ListenersCollector<Context, Kinds>>, stop: Observable<void>); | ||
private initLayer; | ||
private postCallback; | ||
stop(): Promise<void>; | ||
addFinalizer(cb: Finalizer): void; | ||
@@ -43,0 +44,0 @@ addScopes(inputs: AddScopeInput[]): Promise<{ |
@@ -7,11 +7,10 @@ "use strict"; | ||
TokenProvider | ||
} from "./chunk-KTDQ3AOG.js"; | ||
} from "./chunk-BR4MWTDD.js"; | ||
import { | ||
AdminConnection, | ||
Attributes, | ||
Layer, | ||
Subscriptions, | ||
participantsSub, | ||
transitionsSub | ||
} from "./chunk-JATWACFN.js"; | ||
} from "./chunk-RSZIMN33.js"; | ||
import { | ||
@@ -23,10 +22,10 @@ EventContext, | ||
TajribaEvent | ||
} from "./chunk-K4R5M4YR.js"; | ||
} from "./chunk-3QF35HLA.js"; | ||
import { | ||
Attribute | ||
} from "./chunk-YMBME4LM.js"; | ||
} from "./chunk-CEWRG4H2.js"; | ||
import "./chunk-VUXXG5C5.js"; | ||
import { | ||
TajribaConnection | ||
} from "./chunk-ATJ54KNM.js"; | ||
} from "./chunk-TV7SVBTX.js"; | ||
import "./chunk-C67KEMIV.js"; | ||
@@ -42,3 +41,2 @@ import "./chunk-XXEIUXU2.js"; | ||
FileTokenStorage, | ||
Layer, | ||
ListenersCollector, | ||
@@ -45,0 +43,0 @@ Runloop, |
@@ -1,7 +0,7 @@ | ||
export { A as AdminContext, L as ListenersCollector } from './scopes-e4eff3ef.js'; | ||
export { C as Classic, a as ClassicListenersCollector, b as ClassicLoader, c as classicKinds } from './proxy-0b3e0fab.js'; | ||
export { A as AdminContext, L as ListenersCollector } from './scopes-21db3a29.js'; | ||
export { C as Classic, a as ClassicListenersCollector, b as ClassicLoader, c as classicKinds } from './proxy-5e6099d5.js'; | ||
export { E as EmpiricaClassic, d as EmpiricaClassicContext, G as Game, P as Player, a as PlayerGame, b as PlayerRound, c as PlayerStage, R as Round, S as Stage } from './classic-2dca708c.js'; | ||
export { E as EmpiricaContext, a as EmpiricaContextProps, L as Lobby, Q as Quiz, i as Slider, j as SliderProps, k as Steps, l as StepsFunc, m as StepsProps, S as Sweeper, u as useGame, b as usePartModeCtx, c as usePartModeCtxKey, d as usePlayer, e as usePlayers, f as useRound, g as useStage, h as useStageTimer } from './Slider-f9f2f826.js'; | ||
export { C as Consent, a as ConsentProps, P as PlayerCreate, b as PlayerCreateProps } from './helpers-8ea4d2b4.js'; | ||
export { E as EmpiricaMenu, a as EmpiricaParticipant, b as EmpiricaParticipantProps, F as Finished, L as Loading, i as Logo, N as NoGames, u as useConsent, c as useGlobal, d as useParticipantContext, e as usePlayerID, f as useTajriba, g as useTajribaConnected, h as useTajribaConnecting } from './NoGames-00fe1ba4.js'; | ||
export { E as EmpiricaMenu, a as EmpiricaParticipant, b as EmpiricaParticipantProps, F as Finished, L as Loading, i as Logo, N as NoGames, u as useConsent, c as useGlobal, d as useParticipantContext, e as usePlayerID, f as useTajriba, g as useTajribaConnected, h as useTajribaConnecting } from './NoGames-9bf3eb51.js'; | ||
export { LogLine, captureLogs, captureLogsAsync, debug, error, info, levels, log, mockLogging, setLogLevel, stopMockLogging, trace, warn } from './console.js'; | ||
@@ -8,0 +8,0 @@ import '@empirica/tajriba'; |
"use strict"; | ||
import { | ||
AdminContext | ||
} from "./chunk-KTDQ3AOG.js"; | ||
import "./chunk-JATWACFN.js"; | ||
} from "./chunk-BR4MWTDD.js"; | ||
import "./chunk-RSZIMN33.js"; | ||
import { | ||
@@ -11,10 +11,10 @@ Classic, | ||
classicKinds | ||
} from "./chunk-MKD3VWMO.js"; | ||
} from "./chunk-BGQLKVNJ.js"; | ||
import { | ||
ListenersCollector | ||
} from "./chunk-K4R5M4YR.js"; | ||
} from "./chunk-3QF35HLA.js"; | ||
import { | ||
EmpiricaMenu, | ||
Logo | ||
} from "./chunk-SMWJLT2W.js"; | ||
} from "./chunk-4PNSGXOA.js"; | ||
import { | ||
@@ -29,5 +29,5 @@ EmpiricaClassic, | ||
Stage | ||
} from "./chunk-MDGQP557.js"; | ||
} from "./chunk-NVIMAZ2X.js"; | ||
import "./chunk-RMTAE234.js"; | ||
import "./chunk-YMBME4LM.js"; | ||
import "./chunk-CEWRG4H2.js"; | ||
import "./chunk-VUXXG5C5.js"; | ||
@@ -49,3 +49,3 @@ import { | ||
useStageTimer | ||
} from "./chunk-MFXBQGQT.js"; | ||
} from "./chunk-MQICTHKX.js"; | ||
import { | ||
@@ -65,6 +65,6 @@ Consent, | ||
useTajribaConnecting | ||
} from "./chunk-MRZGQUSU.js"; | ||
import "./chunk-ATJ54KNM.js"; | ||
} from "./chunk-4SDZ4J2B.js"; | ||
import "./chunk-TV7SVBTX.js"; | ||
import "./chunk-C67KEMIV.js"; | ||
import "./chunk-T653CF3C.js"; | ||
import "./chunk-OFWAQBFD.js"; | ||
import "./chunk-XXEIUXU2.js"; | ||
@@ -71,0 +71,0 @@ import { |
@@ -17,7 +17,7 @@ "use strict"; | ||
useStageTimer | ||
} from "./chunk-MFXBQGQT.js"; | ||
import "./chunk-MRZGQUSU.js"; | ||
import "./chunk-ATJ54KNM.js"; | ||
} from "./chunk-MQICTHKX.js"; | ||
import "./chunk-4SDZ4J2B.js"; | ||
import "./chunk-TV7SVBTX.js"; | ||
import "./chunk-C67KEMIV.js"; | ||
import "./chunk-T653CF3C.js"; | ||
import "./chunk-OFWAQBFD.js"; | ||
import "./chunk-XXEIUXU2.js"; | ||
@@ -24,0 +24,0 @@ import "./chunk-EOO2SMP4.js"; |
@@ -11,5 +11,5 @@ "use strict"; | ||
Stage | ||
} from "./chunk-MDGQP557.js"; | ||
} from "./chunk-NVIMAZ2X.js"; | ||
import "./chunk-RMTAE234.js"; | ||
import "./chunk-YMBME4LM.js"; | ||
import "./chunk-CEWRG4H2.js"; | ||
import "./chunk-VUXXG5C5.js"; | ||
@@ -16,0 +16,0 @@ import "./chunk-XXEIUXU2.js"; |
export { C as Consent, a as ConsentProps, P as PlayerCreate, b as PlayerCreateProps } from './helpers-8ea4d2b4.js'; | ||
export { E as EmpiricaMenu, a as EmpiricaParticipant, b as EmpiricaParticipantProps, F as Finished, L as Loading, i as Logo, N as NoGames, u as useConsent, c as useGlobal, d as useParticipantContext, e as usePlayerID, f as useTajriba, g as useTajribaConnected, h as useTajribaConnecting } from './NoGames-00fe1ba4.js'; | ||
export { E as EmpiricaMenu, a as EmpiricaParticipant, b as EmpiricaParticipantProps, F as Finished, L as Loading, i as Logo, N as NoGames, u as useConsent, c as useGlobal, d as useParticipantContext, e as usePlayerID, f as useTajriba, g as useTajribaConnected, h as useTajribaConnecting } from './NoGames-9bf3eb51.js'; | ||
import 'react'; | ||
@@ -4,0 +4,0 @@ import './tajriba_connection-7db9ed97.js'; |
@@ -5,3 +5,3 @@ "use strict"; | ||
Logo | ||
} from "./chunk-SMWJLT2W.js"; | ||
} from "./chunk-4PNSGXOA.js"; | ||
import { | ||
@@ -21,6 +21,6 @@ Consent, | ||
useTajribaConnecting | ||
} from "./chunk-MRZGQUSU.js"; | ||
import "./chunk-ATJ54KNM.js"; | ||
} from "./chunk-4SDZ4J2B.js"; | ||
import "./chunk-TV7SVBTX.js"; | ||
import "./chunk-C67KEMIV.js"; | ||
import "./chunk-T653CF3C.js"; | ||
import "./chunk-OFWAQBFD.js"; | ||
import "./chunk-XXEIUXU2.js"; | ||
@@ -27,0 +27,0 @@ import "./chunk-EOO2SMP4.js"; |
@@ -11,7 +11,7 @@ "use strict"; | ||
Attributes | ||
} from "./chunk-YMBME4LM.js"; | ||
} from "./chunk-CEWRG4H2.js"; | ||
import "./chunk-VUXXG5C5.js"; | ||
import { | ||
TajribaProvider | ||
} from "./chunk-T653CF3C.js"; | ||
} from "./chunk-OFWAQBFD.js"; | ||
import { | ||
@@ -18,0 +18,0 @@ Globals |
export { a as Attribute, b as AttributeOptions, d as ScopeUpdate } from './globals-bf63a78e.js'; | ||
export { T as TajribaConnection } from './tajriba_connection-7db9ed97.js'; | ||
export { b as AdminConnection, a as Attributes, E as EventContext, L as ListenersCollector, S as Scope, f as ScopeSubscriptionInput, d as Scopes, g as Subs, c as Subscriber, e as Subscriptions, T as TajribaEvent } from './scopes-e4eff3ef.js'; | ||
export { L as Layer, P as Participant, T as Transition, p as participantsSub, t as transitionsSub } from './transitions-c21e56f7.js'; | ||
export { b as AdminConnection, a as Attributes, E as EventContext, L as ListenersCollector, S as Scope, f as ScopeSubscriptionInput, d as Scopes, g as Subs, c as Subscriber, e as Subscriptions, T as TajribaEvent } from './scopes-21db3a29.js'; | ||
export { P as Participant, T as Transition, p as participantsSub, t as transitionsSub } from './transitions-1e0ddc64.js'; | ||
import 'rxjs'; | ||
import '@empirica/tajriba'; |
@@ -5,7 +5,6 @@ "use strict"; | ||
Attributes, | ||
Layer, | ||
Subscriptions, | ||
participantsSub, | ||
transitionsSub | ||
} from "./chunk-JATWACFN.js"; | ||
} from "./chunk-RSZIMN33.js"; | ||
import { | ||
@@ -17,10 +16,10 @@ EventContext, | ||
TajribaEvent | ||
} from "./chunk-K4R5M4YR.js"; | ||
} from "./chunk-3QF35HLA.js"; | ||
import { | ||
Attribute | ||
} from "./chunk-YMBME4LM.js"; | ||
} from "./chunk-CEWRG4H2.js"; | ||
import "./chunk-VUXXG5C5.js"; | ||
import { | ||
TajribaConnection | ||
} from "./chunk-ATJ54KNM.js"; | ||
} from "./chunk-TV7SVBTX.js"; | ||
import "./chunk-C67KEMIV.js"; | ||
@@ -33,3 +32,2 @@ import "./chunk-EOO2SMP4.js"; | ||
EventContext, | ||
Layer, | ||
ListenersCollector, | ||
@@ -36,0 +34,0 @@ Scope, |
{ | ||
"name": "@empirica/core", | ||
"version": "1.0.0-rc.2", | ||
"version": "1.0.0-rc.3", | ||
"description": "Empirica Core", | ||
@@ -132,4 +132,4 @@ "author": "Nicolas Paton <nicolas.paton@gmail.com>", | ||
"volta": { | ||
"node": "16.15.1", | ||
"npm": "8.11.0" | ||
"node": "16.17.0", | ||
"npm": "8.15.0" | ||
}, | ||
@@ -192,3 +192,3 @@ "engines": { | ||
"dependencies": { | ||
"@empirica/tajriba": "^1.0.0-rc.1", | ||
"@empirica/tajriba": "^1.0.0-rc.3", | ||
"@swc/helpers": "0.4.2", | ||
@@ -195,0 +195,0 @@ "rxjs": "7.5.5", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1762389
20131