@mapvx/web-js 3.3.0 → 3.3.1
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/cjs/logger/sentry.js +1 -1
- package/dist/cjs/utils/loadGlb.js +8 -1
- package/dist/cjs/utils/loadGlb.js.map +1 -1
- package/dist/es/logger/sentry.js +1 -1
- package/dist/es/utils/loadGlb.d.ts +8 -1
- package/dist/es/utils/loadGlb.d.ts.map +1 -1
- package/dist/es/utils/loadGlb.js +8 -1
- package/dist/es/utils/loadGlb.js.map +1 -1
- package/dist/umd/index.js +9 -2
- package/dist/umd/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ const browser_1 = require("@sentry/browser");
|
|
|
14
14
|
// exists only for the type-checker, so in the ES/CJS builds the identifier is
|
|
15
15
|
// genuinely absent and a direct comparison throws ReferenceError at module load.
|
|
16
16
|
// `typeof` is the only safe way to probe a possibly-undeclared global.
|
|
17
|
-
const SDK_VERSION = typeof VERSION === "undefined" ? "3.3.
|
|
17
|
+
const SDK_VERSION = typeof VERSION === "undefined" ? "3.3.1" : VERSION;
|
|
18
18
|
const DSN = typeof SENTRY_DSN !== "undefined" && SENTRY_DSN
|
|
19
19
|
? SENTRY_DSN
|
|
20
20
|
: "https://872f598f020e3cd73a0933b562d24c81@sentry.mapvx.app/5";
|
|
@@ -33,9 +33,16 @@ function getGltfLoader() {
|
|
|
33
33
|
* `DRACOLoader` into an undefined state: sometimes a decode error, sometimes no callback at all.
|
|
34
34
|
* Without a timeout, one such asset never settles and blocks every other load queued behind it.
|
|
35
35
|
*
|
|
36
|
+
* Declarative GLB scenes can legitimately include very large assets — a client's ground-mesh
|
|
37
|
+
* "Suelo" model measured at ~400 MB took ~26s to download alone on a solid connection, before any
|
|
38
|
+
* Draco decode time, and totem hardware/networks in the field are often slower than that. The
|
|
39
|
+
* timeout only needs to be long enough that no realistically-sized valid asset ever hits it; a
|
|
40
|
+
* truly hung load (the actual failure this guards against) would still hang forever whether this
|
|
41
|
+
* is 30 seconds or 5 minutes, so there is no tradeoff in keeping it generous.
|
|
42
|
+
*
|
|
36
43
|
* @group Configuration
|
|
37
44
|
*/
|
|
38
|
-
exports.DEFAULT_GLB_LOAD_TIMEOUT_MS =
|
|
45
|
+
exports.DEFAULT_GLB_LOAD_TIMEOUT_MS = 500000;
|
|
39
46
|
/**
|
|
40
47
|
* Magic number ("glTF" read little-endian) at byte offset 0 of every binary glTF (`.glb`)
|
|
41
48
|
* container. Used only to tell a binary GLB apart from a plain JSON `.gltf` payload — the latter
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loadGlb.js","sourceRoot":"","sources":["../../../src/utils/loadGlb.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"loadGlb.js","sourceRoot":"","sources":["../../../src/utils/loadGlb.ts"],"names":[],"mappings":";;;AAkHA,kCA4EC;AA5LD,2CAA0F;AAC1F,mCAAmC;AAEnC;;;;;GAKG;AACH,IAAI,iBAES,CAAA;AAEb,SAAS,aAAa;IACpB,iBAAiB,aAAjB,iBAAiB,cAAjB,iBAAiB,IAAjB,iBAAiB,GAAK,IAAA,iBAAS,GAAE,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE;QAC7C,MAAM,WAAW,GAAG,IAAI,GAAG,CAAC,WAAW,EAAE,CAAA;QACzC,WAAW,CAAC,cAAc,CAAC,kCAA0B,CAAC,CAAA;QAEtD,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,UAAU,EAAE,CAAA;QACvC,UAAU,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA;QAEtC,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,UAAU,EAAE,CAAA;QACvC,UAAU,CAAC,iBAAiB,CAAC,oCAA4B,CAAC,CAAA;QAC1D,UAAU,CAAC,aAAa,CAAC,UAAU,CAAC,CAAA;QACpC,UAAU,CAAC,aAAa,CAAC,IAAI,GAAG,CAAC,KAAK,CA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AC,IAAI,SAAS,IAAI,CAAC,EAAE,CAAC;QAClD,IAAI,CAAC;YACH,OAAO,MAAM,IAAI,CAAA;QACnB,CAAC;gBAAS,CAAC;YACT,OAAO,GAAG,IAAI,CAAA;QAChB,CAAC;IACH,CAAC;IAED,IAAI,KAAgD,CAAA;IACpD,MAAM,OAAO,GAAG,IAAI,OAAO,CAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE;QACtD,KAAK,GAAG,UAAU,CAChB,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,+BAA+B,SAAS,OAAO,GAAG,EAAE,CAAC,CAAC,EAC7E,SAAS,CACV,CAAA;IACH,CAAC,CAAC,CAAA;IAEF,IAAI,CAAC;QACH,OAAO,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAA;IAC5C,CAAC;YAAS,CAAC;QACT,OAAO,GAAG,IAAI,CAAA;QACd,YAAY,CAAC,KAAK,CAAC,CAAA;QACnB,4FAA4F;QAC5F,6FAA6F;QAC7F,4FAA4F;QAC5F,4EAA4E;QAC5E,UAAU,CAAC,KAAK,EAAE,CAAA;IACpB,CAAC;AACH,CAAC"}
|
package/dist/es/logger/sentry.js
CHANGED
|
@@ -10,7 +10,7 @@ import { BrowserClient, defaultStackParser, getDefaultIntegrations, makeFetchTra
|
|
|
10
10
|
// exists only for the type-checker, so in the ES/CJS builds the identifier is
|
|
11
11
|
// genuinely absent and a direct comparison throws ReferenceError at module load.
|
|
12
12
|
// `typeof` is the only safe way to probe a possibly-undeclared global.
|
|
13
|
-
const SDK_VERSION = typeof VERSION === "undefined" ? "3.3.
|
|
13
|
+
const SDK_VERSION = typeof VERSION === "undefined" ? "3.3.1" : VERSION;
|
|
14
14
|
const DSN = typeof SENTRY_DSN !== "undefined" && SENTRY_DSN
|
|
15
15
|
? SENTRY_DSN
|
|
16
16
|
: "https://872f598f020e3cd73a0933b562d24c81@sentry.mapvx.app/5";
|
|
@@ -7,9 +7,16 @@ import type * as THREE from "three";
|
|
|
7
7
|
* `DRACOLoader` into an undefined state: sometimes a decode error, sometimes no callback at all.
|
|
8
8
|
* Without a timeout, one such asset never settles and blocks every other load queued behind it.
|
|
9
9
|
*
|
|
10
|
+
* Declarative GLB scenes can legitimately include very large assets — a client's ground-mesh
|
|
11
|
+
* "Suelo" model measured at ~400 MB took ~26s to download alone on a solid connection, before any
|
|
12
|
+
* Draco decode time, and totem hardware/networks in the field are often slower than that. The
|
|
13
|
+
* timeout only needs to be long enough that no realistically-sized valid asset ever hits it; a
|
|
14
|
+
* truly hung load (the actual failure this guards against) would still hang forever whether this
|
|
15
|
+
* is 30 seconds or 5 minutes, so there is no tradeoff in keeping it generous.
|
|
16
|
+
*
|
|
10
17
|
* @group Configuration
|
|
11
18
|
*/
|
|
12
|
-
export declare const DEFAULT_GLB_LOAD_TIMEOUT_MS =
|
|
19
|
+
export declare const DEFAULT_GLB_LOAD_TIMEOUT_MS = 500000;
|
|
13
20
|
/** Options for {@link loadGlbRoot}. */
|
|
14
21
|
export interface LoadGlbRootOptions {
|
|
15
22
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loadGlb.d.ts","sourceRoot":"","sources":["../../../src/utils/loadGlb.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAA;AAiCnC
|
|
1
|
+
{"version":3,"file":"loadGlb.d.ts","sourceRoot":"","sources":["../../../src/utils/loadGlb.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAA;AAiCnC;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,2BAA2B,SAAU,CAAA;AAkClD,uCAAuC;AACvC,MAAM,WAAW,kBAAkB;IACjC;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAA;CAC5C;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,WAAW,CAC/B,GAAG,EAAE,MAAM,EACX,OAAO,GAAE,kBAAuB,GAC/B,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAyEtB"}
|
package/dist/es/utils/loadGlb.js
CHANGED
|
@@ -29,9 +29,16 @@ function getGltfLoader() {
|
|
|
29
29
|
* `DRACOLoader` into an undefined state: sometimes a decode error, sometimes no callback at all.
|
|
30
30
|
* Without a timeout, one such asset never settles and blocks every other load queued behind it.
|
|
31
31
|
*
|
|
32
|
+
* Declarative GLB scenes can legitimately include very large assets — a client's ground-mesh
|
|
33
|
+
* "Suelo" model measured at ~400 MB took ~26s to download alone on a solid connection, before any
|
|
34
|
+
* Draco decode time, and totem hardware/networks in the field are often slower than that. The
|
|
35
|
+
* timeout only needs to be long enough that no realistically-sized valid asset ever hits it; a
|
|
36
|
+
* truly hung load (the actual failure this guards against) would still hang forever whether this
|
|
37
|
+
* is 30 seconds or 5 minutes, so there is no tradeoff in keeping it generous.
|
|
38
|
+
*
|
|
32
39
|
* @group Configuration
|
|
33
40
|
*/
|
|
34
|
-
export const DEFAULT_GLB_LOAD_TIMEOUT_MS =
|
|
41
|
+
export const DEFAULT_GLB_LOAD_TIMEOUT_MS = 500000;
|
|
35
42
|
/**
|
|
36
43
|
* Magic number ("glTF" read little-endian) at byte offset 0 of every binary glTF (`.glb`)
|
|
37
44
|
* container. Used only to tell a binary GLB apart from a plain JSON `.gltf` payload — the latter
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loadGlb.js","sourceRoot":"","sources":["../../../src/utils/loadGlb.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,4BAA4B,EAAE,MAAM,iBAAiB,CAAA;AAC1F,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAEnC;;;;;GAKG;AACH,IAAI,iBAES,CAAA;AAEb,SAAS,aAAa;IACpB,iBAA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ACnB,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;YACrB,CAAC,EACD,OAAO,CACR,CAAA;QACH,CAAC,EACD,CAAC,KAAoB,EAAE,EAAE;YACvB,IAAI,CAAC,OAAO;gBAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAG,KAAK,CAAC,CAAA;QACnC,CAAC,EACD,OAAO,CACR,CAAA;IACH,CAAC,CAAC,CAAA;IAEF,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,SAAS,IAAI,CAAC,EAAE,CAAC;QAClD,IAAI,CAAC;YACH,OAAO,MAAM,IAAI,CAAA;QACnB,CAAC;gBAAS,CAAC;YACT,OAAO,GAAG,IAAI,CAAA;QAChB,CAAC;IACH,CAAC;IAED,IAAI,KAAgD,CAAA;IACpD,MAAM,OAAO,GAAG,IAAI,OAAO,CAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE;QACtD,KAAK,GAAG,UAAU,CAChB,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,+BAA+B,SAAS,OAAO,GAAG,EAAE,CAAC,CAAC,EAC7E,SAAS,CACV,CAAA;IACH,CAAC,CAAC,CAAA;IAEF,IAAI,CAAC;QACH,OAAO,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAA;IAC5C,CAAC;YAAS,CAAC;QACT,OAAO,GAAG,IAAI,CAAA;QACd,YAAY,CAAC,KAAK,CAAC,CAAA;QACnB,4FAA4F;QAC5F,6FAA6F;QAC7F,4FAA4F;QAC5F,4EAA4E;QAC5E,UAAU,CAAC,KAAK,EAAE,CAAA;IACpB,CAAC;AACH,CAAC"}
|
package/dist/umd/index.js
CHANGED
|
@@ -11240,7 +11240,7 @@ const extractSafariExtensionDetails = (func, filename) => {
|
|
|
11240
11240
|
// exists only for the type-checker, so in the ES/CJS builds the identifier is
|
|
11241
11241
|
// genuinely absent and a direct comparison throws ReferenceError at module load.
|
|
11242
11242
|
// `typeof` is the only safe way to probe a possibly-undeclared global.
|
|
11243
|
-
var sentry_SDK_VERSION = false ? 0 : "3.3.
|
|
11243
|
+
var sentry_SDK_VERSION = false ? 0 : "3.3.1";
|
|
11244
11244
|
var DSN = false ? 0 : "https://872f598f020e3cd73a0933b562d24c81@sentry.mapvx.app/5";
|
|
11245
11245
|
|
|
11246
11246
|
/**
|
|
@@ -19116,9 +19116,16 @@ function getGltfLoader() {
|
|
|
19116
19116
|
* `DRACOLoader` into an undefined state: sometimes a decode error, sometimes no callback at all.
|
|
19117
19117
|
* Without a timeout, one such asset never settles and blocks every other load queued behind it.
|
|
19118
19118
|
*
|
|
19119
|
+
* Declarative GLB scenes can legitimately include very large assets — a client's ground-mesh
|
|
19120
|
+
* "Suelo" model measured at ~400 MB took ~26s to download alone on a solid connection, before any
|
|
19121
|
+
* Draco decode time, and totem hardware/networks in the field are often slower than that. The
|
|
19122
|
+
* timeout only needs to be long enough that no realistically-sized valid asset ever hits it; a
|
|
19123
|
+
* truly hung load (the actual failure this guards against) would still hang forever whether this
|
|
19124
|
+
* is 30 seconds or 5 minutes, so there is no tradeoff in keeping it generous.
|
|
19125
|
+
*
|
|
19119
19126
|
* @group Configuration
|
|
19120
19127
|
*/
|
|
19121
|
-
var DEFAULT_GLB_LOAD_TIMEOUT_MS =
|
|
19128
|
+
var DEFAULT_GLB_LOAD_TIMEOUT_MS = 500000;
|
|
19122
19129
|
|
|
19123
19130
|
/**
|
|
19124
19131
|
* Magic number ("glTF" read little-endian) at byte offset 0 of every binary glTF (`.glb`)
|