omegga 1.0.10 → 1.0.13
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/.prettierignore +6 -0
- package/dist/omegga/plugin/plugin_jsonrpc_stdio.js +10 -3
- package/dist/omegga/plugin/plugin_jsonrpc_stdio.js.map +1 -1
- package/dist/omegga/plugin/plugin_node_safe/worker.js +79 -22
- package/dist/omegga/plugin/plugin_node_safe/worker.js.map +1 -1
- package/dist/omegga/plugin/plugin_node_safe.js +10 -2
- package/dist/omegga/plugin/plugin_node_safe.js.map +1 -1
- package/dist/plugin.d.ts +6 -6
- package/dist/util/index.d.ts +4 -0
- package/dist/util/index.js +1 -1
- package/dist/util/index.js.map +1 -1
- package/dist/util/uuid.d.ts +1 -0
- package/dist/util/uuid.js +3 -1
- package/dist/util/uuid.js.map +1 -1
- package/package.json +5 -3
- package/public/app.bundle.js +1114 -1124
- package/public/app.bundle.js.LICENSE.txt +16 -0
- package/public/app.bundle.js.map +1 -1
- package/public/auth.bundle.js +207 -207
- package/public/auth.bundle.js.LICENSE.txt +5 -0
- package/public/auth.bundle.js.map +1 -1
- package/templates/rpc/.gitignore.rename +2 -0
- package/templates/rust/omegga_plugin +1 -1
- package/templates/rust/setup.sh +5 -0
- package/templates/safe/.gitignore.rename +1 -0
- package/templates/safe-ts/.gitignore.rename +1 -0
- package/templates/safe-ts/omegga.d.ts +5 -6
- package/templates/unsafe/.gitignore.rename +1 -0
package/templates/rust/setup.sh
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
3
|
# This script will be run when the plugin is installed...
|
|
4
|
+
if command -v cargo; then
|
|
5
|
+
cargo build --release
|
|
6
|
+
else
|
|
7
|
+
echo "WARNING: Rust is not installed. This plugin could not be built. It will not work unless it has a bundled binary."
|
|
8
|
+
fi
|
|
@@ -525,6 +525,7 @@ export declare const _OMEGGA_UTILS_IMPORT: {
|
|
|
525
525
|
uuid: {
|
|
526
526
|
UUID_PATTERN: RegExp;
|
|
527
527
|
match: (str: string) => boolean;
|
|
528
|
+
random: typeof import("crypto").randomUUID;
|
|
528
529
|
};
|
|
529
530
|
pattern: {
|
|
530
531
|
explode: (str: string) => RegExp;
|
|
@@ -564,13 +565,13 @@ export declare const _OMEGGA_UTILS_IMPORT: {
|
|
|
564
565
|
number,
|
|
565
566
|
number
|
|
566
567
|
]>;
|
|
567
|
-
};
|
|
568
|
-
checkBounds: typeof checkBounds;
|
|
568
|
+
}; /** message sent from a brick click interaction */
|
|
569
|
+
checkBounds: typeof checkBounds;
|
|
569
570
|
getBounds: typeof getBounds;
|
|
570
571
|
getBrickSize: typeof getBrickSize;
|
|
571
572
|
getScaleAxis: typeof getScaleAxis;
|
|
572
573
|
setOwnership: typeof setOwnership;
|
|
573
|
-
rotate: typeof rotate;
|
|
574
|
+
rotate: typeof rotate;
|
|
574
575
|
rotate_x: typeof rotate_x;
|
|
575
576
|
rotate_y: typeof rotate_y;
|
|
576
577
|
rotate_z: typeof rotate_z;
|
|
@@ -592,9 +593,7 @@ export declare const _OMEGGA_UTILS_IMPORT: {
|
|
|
592
593
|
LATEST_VERSION: number;
|
|
593
594
|
MAX_INT: number;
|
|
594
595
|
DEFAULT_UUID: string;
|
|
595
|
-
};
|
|
596
|
-
* Returns omegga
|
|
597
|
-
*/
|
|
596
|
+
};
|
|
598
597
|
};
|
|
599
598
|
};
|
|
600
599
|
declare global {
|