@dcl/js-runtime 7.1.4-4578394386.commit-04912cc → 7.1.4-4598596181.commit-a983260

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.
Files changed (2) hide show
  1. package/apis.d.ts +49 -0
  2. package/package.json +2 -2
package/apis.d.ts CHANGED
@@ -533,6 +533,55 @@ declare module "~system/SignedFetch" {
533
533
  // Function declaration section
534
534
  export function signedFetch(body: SignedFetchRequest): Promise<FlatFetchResponse>;
535
535
 
536
+ }
537
+ /**
538
+ * Testing
539
+ */
540
+ declare module "~system/Testing" {
541
+
542
+ export interface TestResult {
543
+ name: string;
544
+ ok: boolean;
545
+ error?: string | undefined;
546
+ stack?: string | undefined;
547
+ /** how many ADR-148 ticks were spent running this test */
548
+ totalFrames: number;
549
+ /** total time in seconds spent running this test */
550
+ totalTime: number;
551
+ }
552
+ export interface TestResultResponse {
553
+ }
554
+ export interface TestPlan {
555
+ tests: TestPlan_TestPlanEntry[];
556
+ }
557
+ export interface TestPlan_TestPlanEntry {
558
+ name: string;
559
+ }
560
+ export interface TestPlanResponse {
561
+ }
562
+ export interface SetCameraTransformTestCommand {
563
+ position: SetCameraTransformTestCommand_Vector3 | undefined;
564
+ rotation: SetCameraTransformTestCommand_Quaternion | undefined;
565
+ }
566
+ export interface SetCameraTransformTestCommand_Vector3 {
567
+ x: number;
568
+ y: number;
569
+ z: number;
570
+ }
571
+ export interface SetCameraTransformTestCommand_Quaternion {
572
+ x: number;
573
+ y: number;
574
+ z: number;
575
+ w: number;
576
+ }
577
+ export interface SetCameraTransformTestCommandResponse {
578
+ }
579
+
580
+ // Function declaration section
581
+ export function logTestResult(body: TestResult): Promise<TestResultResponse>;
582
+ export function plan(body: TestPlan): Promise<TestPlanResponse>;
583
+ export function setCameraTransform(body: SetCameraTransformTestCommand): Promise<SetCameraTransformTestCommandResponse>;
584
+
536
585
  }
537
586
  /**
538
587
  * UserActionModule
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dcl/js-runtime",
3
3
  "description": "JavaScript runtime definitions for Decentraland environments",
4
- "version": "7.1.4-4578394386.commit-04912cc",
4
+ "version": "7.1.4-4598596181.commit-a983260",
5
5
  "author": "",
6
6
  "files": [
7
7
  "index.d.ts",
@@ -15,5 +15,5 @@
15
15
  },
16
16
  "types": "./index.d.ts",
17
17
  "typings": "./index.d.ts",
18
- "commit": "04912ccc6224d33a8ca07011906625478c1c941d"
18
+ "commit": "a98326033a3f1903fa65a052349b01af73941633"
19
19
  }