Skip to content

Commit f7fb56b

Browse files
committed
fix: Update WorkAdventure Scripting API package
1 parent 97c881e commit f7fb56b

File tree

4 files changed

+19
-17
lines changed

4 files changed

+19
-17
lines changed

package-lock.json

Lines changed: 16 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Features/tutorialv1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export function launchTutorialv1(): void {
99

1010
//open modal and show onboarding tuto
1111
WA.ui.modal.openModal({
12-
tiltle: "Welcome onboard!",
12+
title: "Welcome onboard!",
1313
src: tutoUrl,
1414
allow: "fullscreen; clipboard-read; clipboard-write",
1515
allowApi: true,

src/TemplateValue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* A value of a property that can be evaluated / tracked using Mustache templates
33
*/
4-
import type { WorkadventureStateCommands } from "@workadventure/iframe-api-typings/front/Api/Iframe/state";
4+
import type { WorkadventureStateCommands } from "@workadventure/iframe-api-typings/play/src/front/Api/Iframe/state";
55
import Mustache from "mustache";
66

77
type RAW_VALUE = "text";

test/unit/TemplateValue.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { WorkadventureStateCommands } from "@workadventure/iframe-api-typings/front/Api/Iframe/state";
1+
import type { WorkadventureStateCommands } from "@workadventure/iframe-api-typings/play/src/front/Api/Iframe/state";
22
import { TemplateValue } from "../../src/TemplateValue";
33

44
describe("Test TemplateValue", () => {

0 commit comments

Comments
 (0)