@weaverse/core 5.3.3 → 5.4.1-beta.0
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/dist/index.d.mts +24 -24
- package/dist/index.d.ts +24 -24
- package/dist/index.js +11 -52
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -52
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -466,7 +466,7 @@ var require_react_production = __commonJS({
|
|
|
466
466
|
exports.useTransition = function() {
|
|
467
467
|
return ReactSharedInternals.H.useTransition();
|
|
468
468
|
};
|
|
469
|
-
exports.version = "19.1.
|
|
469
|
+
exports.version = "19.1.1";
|
|
470
470
|
}
|
|
471
471
|
});
|
|
472
472
|
|
|
@@ -474,7 +474,7 @@ var require_react_production = __commonJS({
|
|
|
474
474
|
var require_react_development = __commonJS({
|
|
475
475
|
"../../node_modules/react/cjs/react.development.js"(exports, module) {
|
|
476
476
|
"use strict";
|
|
477
|
-
"production" !== process.env.NODE_ENV && function() {
|
|
477
|
+
"production" !== process.env.NODE_ENV && (function() {
|
|
478
478
|
function defineDeprecationWarning(methodName, info) {
|
|
479
479
|
Object.defineProperty(Component.prototype, methodName, {
|
|
480
480
|
get: function() {
|
|
@@ -981,13 +981,16 @@ var require_react_development = __commonJS({
|
|
|
981
981
|
return null;
|
|
982
982
|
};
|
|
983
983
|
deprecatedAPIs = {
|
|
984
|
-
|
|
984
|
+
react_stack_bottom_frame: function(callStackForError) {
|
|
985
985
|
return callStackForError();
|
|
986
986
|
}
|
|
987
987
|
};
|
|
988
988
|
var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
|
|
989
989
|
var didWarnAboutElementRef = {};
|
|
990
|
-
var unknownOwnerDebugStack = deprecatedAPIs
|
|
990
|
+
var unknownOwnerDebugStack = deprecatedAPIs.react_stack_bottom_frame.bind(
|
|
991
|
+
deprecatedAPIs,
|
|
992
|
+
UnknownOwner
|
|
993
|
+
)();
|
|
991
994
|
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
|
992
995
|
var didWarnAboutMaps = false, userProvidedKeyEscapeRegex = /\/+/g, reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
|
|
993
996
|
if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
|
|
@@ -1404,9 +1407,9 @@ var require_react_development = __commonJS({
|
|
|
1404
1407
|
exports.useTransition = function() {
|
|
1405
1408
|
return resolveDispatcher().useTransition();
|
|
1406
1409
|
};
|
|
1407
|
-
exports.version = "19.1.
|
|
1410
|
+
exports.version = "19.1.1";
|
|
1408
1411
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
1409
|
-
}();
|
|
1412
|
+
})();
|
|
1410
1413
|
}
|
|
1411
1414
|
});
|
|
1412
1415
|
|
|
@@ -1427,51 +1430,7 @@ var import_react = __toESM(require_react());
|
|
|
1427
1430
|
import * as stitches from "@stitches/core";
|
|
1428
1431
|
|
|
1429
1432
|
// package.json
|
|
1430
|
-
var
|
|
1431
|
-
name: "@weaverse/core",
|
|
1432
|
-
author: "Weaverse Team",
|
|
1433
|
-
description: "Weaverse Core",
|
|
1434
|
-
version: "5.3.3",
|
|
1435
|
-
license: "MIT",
|
|
1436
|
-
main: "dist/index.js",
|
|
1437
|
-
types: "dist/index.d.ts",
|
|
1438
|
-
module: "dist/index.mjs",
|
|
1439
|
-
repository: {
|
|
1440
|
-
url: "git+https://github.com/Weaverse/weaverse.git",
|
|
1441
|
-
directory: "packages/core"
|
|
1442
|
-
},
|
|
1443
|
-
publishConfig: {
|
|
1444
|
-
access: "public",
|
|
1445
|
-
"@weaverse:registry": "https://registry.npmjs.org"
|
|
1446
|
-
},
|
|
1447
|
-
files: [
|
|
1448
|
-
"dist/*"
|
|
1449
|
-
],
|
|
1450
|
-
engines: {
|
|
1451
|
-
node: ">=18"
|
|
1452
|
-
},
|
|
1453
|
-
scripts: {
|
|
1454
|
-
dev: "tsup --watch",
|
|
1455
|
-
build: "tsup",
|
|
1456
|
-
clean: "rimraf dist"
|
|
1457
|
-
},
|
|
1458
|
-
tsup: {
|
|
1459
|
-
entry: [
|
|
1460
|
-
"src/index.ts"
|
|
1461
|
-
],
|
|
1462
|
-
format: [
|
|
1463
|
-
"esm",
|
|
1464
|
-
"cjs"
|
|
1465
|
-
],
|
|
1466
|
-
dts: true,
|
|
1467
|
-
sourcemap: true,
|
|
1468
|
-
clean: true,
|
|
1469
|
-
outDir: "dist"
|
|
1470
|
-
},
|
|
1471
|
-
dependencies: {
|
|
1472
|
-
"@stitches/core": "^1.2.8"
|
|
1473
|
-
}
|
|
1474
|
-
};
|
|
1433
|
+
var version = "5.4.1-beta.0";
|
|
1475
1434
|
|
|
1476
1435
|
// src/utils/index.ts
|
|
1477
1436
|
var isReactNative = typeof navigator === "object" && navigator.product === "ReactNative";
|
|
@@ -1615,7 +1574,7 @@ var Weaverse = class _Weaverse extends EventEmitter {
|
|
|
1615
1574
|
contentRootElement = null;
|
|
1616
1575
|
static itemInstances = /* @__PURE__ */ new Map();
|
|
1617
1576
|
weaverseHost = "https://studio.weaverse.io";
|
|
1618
|
-
weaverseVersion =
|
|
1577
|
+
weaverseVersion = version;
|
|
1619
1578
|
projectId = "";
|
|
1620
1579
|
isDesignMode = false;
|
|
1621
1580
|
isPreviewMode = false;
|