@casual-simulation/aux-runtime 4.2.3-alpha.24104197861 → 4.2.3-alpha.24207542449
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/package.json +3 -3
- package/runtime/AuxLibrary.d.ts +2 -2
- package/runtime/AuxLibrary.js +2 -1
- package/runtime/AuxLibrary.js.map +1 -1
- package/runtime/AuxLibraryDefinitions.def +22 -10
- package/runtime/RecordsEvents.d.ts +14 -1
- package/runtime/RecordsEvents.js +6 -1
- package/runtime/RecordsEvents.js.map +1 -1
- package/runtime/Transpiler.js +3 -3
- package/runtime/Transpiler.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@casual-simulation/aux-runtime",
|
|
3
|
-
"version": "4.2.3-alpha.
|
|
3
|
+
"version": "4.2.3-alpha.24207542449",
|
|
4
4
|
"description": "Runtime for AUX projects",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"access": "public"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@casual-simulation/aux-common": "^4.2.3-alpha.
|
|
29
|
-
"@casual-simulation/aux-records": "^4.2.3-alpha.
|
|
28
|
+
"@casual-simulation/aux-common": "^4.2.3-alpha.24207542449",
|
|
29
|
+
"@casual-simulation/aux-records": "^4.2.3-alpha.24207542449",
|
|
30
30
|
"@casual-simulation/crypto": "^4.0.5",
|
|
31
31
|
"@casual-simulation/engine262": "0.0.1-4de2170374e22761996e46eb1362f4496ee57f8f",
|
|
32
32
|
"@casual-simulation/error-stack-parser": "^2.0.7",
|
package/runtime/AuxLibrary.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AuxGlobalContext } from './AuxGlobalContext';
|
|
2
2
|
import { DEBUG_STRING } from './AuxGlobalContext';
|
|
3
3
|
import type { BotTags, Bot, ShowChatOptions, BotAction, BotsState, CameraType, BarcodeFormat, PortalType, ShowInputOptions, LocalFormAnimationAction, ShareOptions, Easing, BotAnchorPoint, RuntimeBot, BotSpace, EaseType, RegisterPrefixOptions, OpenCircleWipeOptions, SuperShoutAction, ShowToastAction, ShowJoinCodeAction, RequestFullscreenAction, ExitFullscreenAction, ShowHtmlAction, HideHtmlAction, SetClipboardAction, FocusOnBotAction, ShowChatBarAction, EnableARAction, EnableVRAction, DownloadAction, ShowUploadAuxFileAction, OpenQRCodeScannerAction, ShowQRCodeAction, OpenBarcodeScannerAction, ShowBarcodeAction, LoadServerAction, UnloadServerAction, ReplaceDragBotAction, ShowInputForTagAction, GoToDimensionAction, GoToURLAction, OpenURLAction, OpenConsoleAction, RejectAction, FocusOnOptions, SnapTarget, AddDropSnapTargetsAction, RecordingOptions, Recording, SyntheticVoice, EnablePOVAction, EnableCustomDraggingAction, SetAppOutputAction, PartialBotsState, ParsedBotLink, ConvertGeolocationToWhat3WordsOptions, BeginAudioRecordingAction, MediaPermssionOptions, ImageClassifierOptions, ClassifyImagesOptions, ClassifyImagesResult, AddDropGridTargetsAction, InstUpdate, StartFormAnimationOptions, StopFormAnimationOptions, FormAnimationData, WakeLockConfiguration, EnableXROptions, ShowConfirmOptions, ShowAlertOptions, StoredAux, Geolocation, OpenPhotoCameraOptions, Photo, Point2D, RecordLoomOptions, LoomVideo, LoomVideoEmbedMetadata, InstallAuxFileMode, LoadServerConfigAction, InstConfig, UnloadServerConfigAction, Point3D, MapLayer, DynamicListener, TrackConfigBotTagsAction, GenerateQRCodeOptions, ConfigureTypeCheckingOptions } from '@casual-simulation/aux-common/bots';
|
|
4
|
-
import type { AIChatOptions, AIGenerateSkyboxOptions, AIGenerateImageOptions, JoinRoomActionOptions, RoomOptions, RoomTrackOptions, SetRoomTrackOptions, RoomRemoteOptions, DataRecordOptions, RecordActionOptions, ListDataOptions, AISloydGenerateModelOptions, ListWebhooksOptions, ListNotificationsOptions, SendNotificationOptions, GrantEntitlementsRequest, GrantEntitlementsResult, InstallPackageResult, ListPermissionsRequest, ListedChatModel, StoreItem, PurchasableItemReference, InstallPackageOptions } from './RecordsEvents';
|
|
4
|
+
import type { AIChatOptions, AIGenerateSkyboxOptions, AIGenerateImageOptions, JoinRoomActionOptions, RoomOptions, RoomTrackOptions, SetRoomTrackOptions, RoomRemoteOptions, DataRecordOptions, RecordActionOptions, ListDataOptions, AISloydGenerateModelOptions, ListWebhooksOptions, ListNotificationsOptions, SendNotificationOptions, GrantEntitlementsRequest, GrantEntitlementsResult, InstallPackageResult, ListPermissionsRequest, ListedChatModel, StoreItem, PurchasableItemReference, InstallPackageOptions, AIListChatModelsOptions } from './RecordsEvents';
|
|
5
5
|
import type { RemoteAction, AvailablePermissions, Entitlement, VersionNumber, GenericResult, SimpleError, JSONAccountBalance } from '@casual-simulation/aux-common';
|
|
6
6
|
import '@casual-simulation/aux-common/polyfill/Array.first.polyfill';
|
|
7
7
|
import '@casual-simulation/aux-common/polyfill/Array.last.polyfill';
|
|
@@ -2351,7 +2351,7 @@ export declare function createDefaultLibrary(context: AuxGlobalContext): {
|
|
|
2351
2351
|
(message: AIChatMessage, options?: AIChatOptions): Promise<AIChatMessage>;
|
|
2352
2352
|
(messages: AIChatMessage[], options?: AIChatOptions): Promise<AIChatMessage>;
|
|
2353
2353
|
};
|
|
2354
|
-
listChatModels: (options?:
|
|
2354
|
+
listChatModels: (options?: AIListChatModelsOptions) => Promise<ListedChatModel[]>;
|
|
2355
2355
|
generateSkybox: {
|
|
2356
2356
|
(prompt: string, negativePrompt?: string, options?: AIGenerateSkyboxOptions): Promise<string>;
|
|
2357
2357
|
(request: AIGenerateSkyboxRequest): Promise<AIGenerateSkyboxResult>;
|
package/runtime/AuxLibrary.js
CHANGED
|
@@ -17,7 +17,6 @@ import { encrypt as realEncrypt, decrypt as realDecrypt, keypair as realKeypair,
|
|
|
17
17
|
import { apply, del, insert, isTagEdit, preserve, } from '@casual-simulation/aux-common/bots';
|
|
18
18
|
import { Vector3 as ThreeVector3, Plane, Ray } from '@casual-simulation/three';
|
|
19
19
|
import mime from 'mime';
|
|
20
|
-
import TWEEN from '@tweenjs/tween.js';
|
|
21
20
|
import './PerformanceNowPolyfill';
|
|
22
21
|
import '@casual-simulation/aux-common/BlobPolyfill';
|
|
23
22
|
import { Vector3, Vector2, Quaternion, Rotation, } from '@casual-simulation/aux-common/math';
|
|
@@ -27,6 +26,7 @@ import { fromByteArray, toByteArray } from 'base64-js';
|
|
|
27
26
|
import { parseRecordKey, isRecordKey as calcIsRecordKey, } from '@casual-simulation/aux-common';
|
|
28
27
|
import SeedRandom from 'seedrandom';
|
|
29
28
|
import { DateTime } from 'luxon';
|
|
29
|
+
import TWEEN from '@tweenjs/tween.js';
|
|
30
30
|
import * as hooks from 'preact/hooks';
|
|
31
31
|
import { render, createRef, createContext } from 'preact';
|
|
32
32
|
import * as compat from 'preact/compat';
|
|
@@ -9739,6 +9739,7 @@ export function createDefaultLibrary(context) {
|
|
|
9739
9739
|
.duration(options.duration * 1000)
|
|
9740
9740
|
.easing(easing)
|
|
9741
9741
|
.onUpdate((obj, elapsed) => {
|
|
9742
|
+
void obj;
|
|
9742
9743
|
if (options.tagMaskSpace === false ||
|
|
9743
9744
|
options.tagMaskSpace === getBotSpace(bot)) {
|
|
9744
9745
|
setTag(bot, tag, getValue(elapsed));
|