scichart 2.0.2186 → 2.0.2194

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.
@@ -117,7 +117,10 @@ export declare class CursorModifier extends ChartModifierBase2D implements IIncl
117
117
  private tooltipDataTemplateProperty?;
118
118
  private includedSeriesMap;
119
119
  /**
120
- * Creates an instance of the RolloverModifier
120
+ * Creates an instance of the CursorModifier
121
+ *
122
+ * If number of renderable series is more then 10 and showTooltip enabled consider passing {@link TCursorTooltipDataTemplate} or {@link TCursorTooltipSvgTemplate} to reduce the output for the tooltip
123
+ *
121
124
  * @param options Optional parameters {@link ICursorModifierOptions} used to configure the modifier
122
125
  */
123
126
  constructor(options?: ICursorModifierOptions);
@@ -44,7 +44,10 @@ var constants_1 = require("./constants");
44
44
  var CursorModifier = /** @class */ (function (_super) {
45
45
  __extends(CursorModifier, _super);
46
46
  /**
47
- * Creates an instance of the RolloverModifier
47
+ * Creates an instance of the CursorModifier
48
+ *
49
+ * If number of renderable series is more then 10 and showTooltip enabled consider passing {@link TCursorTooltipDataTemplate} or {@link TCursorTooltipSvgTemplate} to reduce the output for the tooltip
50
+ *
48
51
  * @param options Optional parameters {@link ICursorModifierOptions} used to configure the modifier
49
52
  */
50
53
  function CursorModifier(options) {
@@ -87,7 +87,11 @@ var TextureWorkerWrapper = /** @class */ (function () {
87
87
  var _this = this;
88
88
  this.timeout = 200;
89
89
  this.isActiveProperty = true;
90
- if (!app_1.IS_TEST_ENV && typeof window !== "undefined" && !!window.Worker) {
90
+ if (!app_1.IS_TEST_ENV &&
91
+ typeof window !== "undefined" &&
92
+ !!window.Worker &&
93
+ // @ts-ignore
94
+ typeof OffscreenCanvas !== "undefined") {
91
95
  this.worker = this.makeWorker(); // new Worker("./TextureWorkerSource.ts", { type: "module" });
92
96
  this.worker.onmessage = handleMsg;
93
97
  this.worker.onerror = function (ev) {
@@ -662,8 +662,6 @@ var SciChartSurface = /** @class */ (function (_super) {
662
662
  if (!animation.isComplete) {
663
663
  animation.update(timeElapsed);
664
664
  if (!animation.isComplete) {
665
- // Request another draw to advance animation
666
- this.invalidateElement();
667
665
  remainingAnimations.push(animation);
668
666
  }
669
667
  }
@@ -39,6 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.sciChartDestinations = exports.createMultichart = void 0;
40
40
  // @ts-ignore
41
41
  var WasmModule2D = require("../../_wasm/scichart2d");
42
+ var BuildStamp_1 = require("../../Core/BuildStamp");
42
43
  var Guard_1 = require("../../Core/Guard");
43
44
  var WebGlRenderContext2D_1 = require("../Drawing/WebGlRenderContext2D");
44
45
  var licenseManager2D_1 = require("./licenseManager2D");
@@ -57,7 +58,7 @@ var sciChartMaster = {
57
58
  var sciChartMasterPromise;
58
59
  /** @ignore */
59
60
  var createMultichart = function (divElementId, options) { return __awaiter(void 0, void 0, void 0, function () {
60
- var canvases, loader, loaderDiv, master, createChildSurface, wasmContext, sciChartSurface;
61
+ var canvases, loader, loaderDiv, master, createChildSurface, wasmContext_1, sciChartSurface_1, err_1;
61
62
  var _a, _b, _c;
62
63
  return __generator(this, function (_d) {
63
64
  switch (_d.label) {
@@ -66,27 +67,38 @@ var createMultichart = function (divElementId, options) { return __awaiter(void
66
67
  canvases = sciChartInitCommon_1.default.initCanvas(divElementId, (_a = options === null || options === void 0 ? void 0 : options.widthAspect) !== null && _a !== void 0 ? _a : 0, (_b = options === null || options === void 0 ? void 0 : options.heightAspect) !== null && _b !== void 0 ? _b : 0, sciChartInitCommon_1.default.ECanvasType.canvas2D);
67
68
  loader = (_c = options === null || options === void 0 ? void 0 : options.loader) !== null && _c !== void 0 ? _c : new loader_1.DefaultSciChartLoader();
68
69
  loaderDiv = loader.addChartLoader(canvases.domDivContainer, options === null || options === void 0 ? void 0 : options.theme);
69
- if (!(!sciChartMaster.wasmContext || !sciChartMaster.createChildSurface || !sciChartMaster.getChildSurfaces)) return [3 /*break*/, 2];
70
+ _d.label = 1;
71
+ case 1:
72
+ _d.trys.push([1, 4, , 5]);
73
+ if (!(!sciChartMaster.wasmContext || !sciChartMaster.createChildSurface || !sciChartMaster.getChildSurfaces)) return [3 /*break*/, 3];
70
74
  if (!sciChartMasterPromise) {
71
75
  sciChartMasterPromise = createMaster();
72
76
  }
73
77
  return [4 /*yield*/, sciChartMasterPromise];
74
- case 1:
78
+ case 2:
75
79
  master = _d.sent();
76
80
  sciChartMaster.wasmContext = master.wasmContext;
81
+ (0, BuildStamp_1.checkBuildStamp)(master.wasmContext);
77
82
  sciChartMaster.createChildSurface = master.createChildSurface;
78
83
  sciChartMaster.getChildSurfaces = master.getChildSurfaces;
79
84
  monitorWebGL(sciChartMaster);
80
- _d.label = 2;
81
- case 2:
82
- createChildSurface = sciChartMaster.createChildSurface, wasmContext = sciChartMaster.wasmContext;
83
- sciChartSurface = createChildSurface(divElementId, canvases, options === null || options === void 0 ? void 0 : options.theme);
85
+ _d.label = 3;
86
+ case 3:
87
+ createChildSurface = sciChartMaster.createChildSurface, wasmContext_1 = sciChartMaster.wasmContext;
88
+ sciChartSurface_1 = createChildSurface(divElementId, canvases, options === null || options === void 0 ? void 0 : options.theme);
84
89
  return [2 /*return*/, new Promise(function (resolve) {
85
90
  setTimeout(function () {
86
91
  loader.removeChartLoader(canvases.domDivContainer, loaderDiv);
87
- resolve({ wasmContext: wasmContext, sciChartSurface: sciChartSurface });
92
+ resolve({ wasmContext: wasmContext_1, sciChartSurface: sciChartSurface_1 });
88
93
  }, 0);
89
94
  })];
95
+ case 4:
96
+ err_1 = _d.sent();
97
+ console.error(err_1);
98
+ // replace with div with error message
99
+ loader.removeChartLoader(canvases.domDivContainer, loaderDiv);
100
+ return [2 /*return*/, Promise.reject(err_1)];
101
+ case 5: return [2 /*return*/];
90
102
  }
91
103
  });
92
104
  }); };
@@ -145,12 +157,13 @@ var createMaster = function () {
145
157
  chartInitObj.SetFPSCounterEnabled(false);
146
158
  exports.sciChartDestinations.push({ canvasElementId: canvasElementId, sciChartSurface: sciChartSurface, width: width, height: height });
147
159
  };
148
- return new Promise(function (resolve) {
160
+ return new Promise(function (resolve, reject) {
149
161
  // make sure canvas has event listener for context creation error
150
162
  var canvas = (0, SciChartSurfaceBase_1.getMasterCanvas)();
151
163
  var locateFile = (0, SciChartSurfaceBase_1.getLocateFile)(SciChartSurface_1.sciChartConfig);
152
164
  // @ts-ignore
153
- new WasmModule2D({ locateFile: locateFile, noInitialRun: true }).then(function (wasmContext) {
165
+ new WasmModule2D({ locateFile: locateFile, noInitialRun: true })
166
+ .then(function (wasmContext) {
154
167
  var getChildSurfaces = function () { return exports.sciChartDestinations.map(function (el) { return el.sciChartSurface; }); };
155
168
  // Create of replace child surface
156
169
  var createChildSurface = function (divElementId, canvases, theme) {
@@ -205,6 +218,9 @@ var createMaster = function () {
205
218
  wasmContext.TSRSetDrawRequestsEnabled(true);
206
219
  // @ts-ignore
207
220
  wasmContext.callMain();
221
+ })
222
+ .catch(function () {
223
+ reject("Could not load SciChart WebAssembly module.\n Check your build process and ensure that your scichart2d.wasm, scichart2d.data and scichart2d.js files are from the same version");
208
224
  });
209
225
  });
210
226
  };
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.initDrawEngineSingleChart = exports.createSingleInternal = exports.sciChartSingleDestinations = void 0;
4
4
  // @ts-ignore
5
5
  var WasmModule2D = require("../../_wasm/scichart2d");
6
+ var BuildStamp_1 = require("../../Core/BuildStamp");
6
7
  var Guard_1 = require("../../Core/Guard");
7
8
  var WebGlHelper_1 = require("../../Core/WebGlHelper");
8
9
  var logger_1 = require("../../utils/logger");
@@ -15,7 +16,7 @@ var SciChartSurfaceBase_1 = require("./SciChartSurfaceBase");
15
16
  exports.sciChartSingleDestinations = [];
16
17
  /** @ignore */
17
18
  var createSingleInternal = function (divElementId, options) {
18
- return new Promise(function (resolve) {
19
+ return new Promise(function (resolve, reject) {
19
20
  var _a;
20
21
  var canvases = sciChartInitCommon_1.default.initCanvas(divElementId, options === null || options === void 0 ? void 0 : options.widthAspect, options === null || options === void 0 ? void 0 : options.heightAspect);
21
22
  var loader = (_a = options === null || options === void 0 ? void 0 : options.loader) !== null && _a !== void 0 ? _a : new loader_1.DefaultSciChartLoader();
@@ -25,11 +26,17 @@ var createSingleInternal = function (divElementId, options) {
25
26
  if (webGLSupport === WebGlHelper_1.EWebGLSupport.WebGL2 || webGLSupport === WebGlHelper_1.EWebGLSupport.WebGL1) {
26
27
  var locateFile = (0, SciChartSurfaceBase_1.getLocateFile)(SciChartSurface_1.sciChartConfig);
27
28
  // @ts-ignore
28
- new WasmModule2D({ locateFile: locateFile, noInitialRun: true }).then(function (wasmContext) {
29
+ new WasmModule2D({ locateFile: locateFile, noInitialRun: true })
30
+ .then(function (wasmContext) {
29
31
  loader.removeChartLoader(canvases.domDivContainer, loaderDiv);
30
32
  // @ts-ignore
31
33
  wasmContext.doNotCaptureKeyboard = true;
32
34
  (0, exports.initDrawEngineSingleChart)(wasmContext, canvases, resolve, options === null || options === void 0 ? void 0 : options.theme);
35
+ (0, BuildStamp_1.checkBuildStamp)(wasmContext);
36
+ })
37
+ .catch(function () {
38
+ loader.removeChartLoader(canvases.domDivContainer, loaderDiv);
39
+ reject("Could not load SciChart WebAssembly module.\n Check your build process and ensure that your scichart2d.wasm, scichart2d.data and scichart2d.js files are from the same version");
33
40
  });
34
41
  }
35
42
  else {
@@ -38,6 +38,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.licenseManager = exports.updateLicenseDisplay = exports.getLicenseInfo = exports.applyLicense = exports.getLicenseCookie = exports.setCallbacks3D = exports.setUseLicenseWizard = exports.setRuntimeLicenseKey = exports.setLicenseCallback = exports.setDependencies = void 0;
40
40
  var app_1 = require("../../constants/app");
41
+ var BuildStamp_1 = require("../../Core/BuildStamp");
41
42
  var Dictionary_1 = require("../../Core/Dictionary");
42
43
  var Color_1 = require("../../types/Color");
43
44
  var licensingClasses_1 = require("../../types/licensingClasses");
@@ -110,6 +111,7 @@ var debug = function (message) {
110
111
  licenseDependencies.debug(message);
111
112
  }
112
113
  };
114
+ debug("SciChart version " + BuildStamp_1.libraryVersion);
113
115
  // tslint:disable: no-console
114
116
  var licenseCallback;
115
117
  var setLicenseCallback = function (callback) {
@@ -43,6 +43,7 @@ var chartBuilder_1 = require("../../Builder/chartBuilder");
43
43
  var loader_1 = require("../../Charting/Visuals/loader");
44
44
  var sciChartInitCommon_1 = require("../../Charting/Visuals/sciChartInitCommon");
45
45
  var SciChartSurfaceBase_1 = require("../../Charting/Visuals/SciChartSurfaceBase");
46
+ var BuildStamp_1 = require("../../Core/BuildStamp");
46
47
  var licenseManager3D_1 = require("./licenseManager3D");
47
48
  var SciChart3DSurface_1 = require("./SciChart3DSurface");
48
49
  /** @ignore */
@@ -55,7 +56,7 @@ var sciChartMaster3D = {
55
56
  var sciChartMaster3DPromise;
56
57
  /** @ignore */
57
58
  var createMultichart3d = function (divElementId, options) { return __awaiter(void 0, void 0, void 0, function () {
58
- var canvases, loader, loaderDiv, master, createChildSurface, wasmContext, sciChart3DSurface;
59
+ var canvases, loader, loaderDiv, master, createChildSurface, wasmContext_1, sciChart3DSurface_1, err_1;
59
60
  var _a, _b, _c, _d, _e;
60
61
  return __generator(this, function (_f) {
61
62
  switch (_f.label) {
@@ -63,29 +64,42 @@ var createMultichart3d = function (divElementId, options) { return __awaiter(voi
63
64
  (0, chartBuilder_1.ensureRegistrations)();
64
65
  sciChartInitCommon_1.default.checkChartDivExists(divElementId);
65
66
  canvases = sciChartInitCommon_1.default.initCanvas(divElementId, (_a = options === null || options === void 0 ? void 0 : options.widthAspect) !== null && _a !== void 0 ? _a : 0, (_b = options === null || options === void 0 ? void 0 : options.heightAspect) !== null && _b !== void 0 ? _b : 0, sciChartInitCommon_1.default.ECanvasType.canvas2D);
66
- if (!(!sciChartMaster3D.wasmContext || !sciChartMaster3D.createChildSurface || !sciChartMaster3D.getChildSurfaces)) return [3 /*break*/, 2];
67
+ loader = (_c = options === null || options === void 0 ? void 0 : options.loader) !== null && _c !== void 0 ? _c : new loader_1.DefaultSciChartLoader();
68
+ loaderDiv = loader.addChartLoader(canvases.domDivContainer, (_d = options === null || options === void 0 ? void 0 : options.theme) !== null && _d !== void 0 ? _d : SciChartSurfaceBase_1.SciChartSurfaceBase.DEFAULT_THEME);
69
+ _f.label = 1;
70
+ case 1:
71
+ _f.trys.push([1, 4, , 5]);
72
+ if (!(!sciChartMaster3D.wasmContext ||
73
+ !sciChartMaster3D.createChildSurface ||
74
+ !sciChartMaster3D.getChildSurfaces)) return [3 /*break*/, 3];
67
75
  if (!sciChartMaster3DPromise) {
68
76
  sciChartMaster3DPromise = createMaster();
69
77
  }
70
- loader = (_c = options === null || options === void 0 ? void 0 : options.loader) !== null && _c !== void 0 ? _c : new loader_1.DefaultSciChartLoader();
71
- loaderDiv = loader.addChartLoader(canvases.domDivContainer, (_d = options === null || options === void 0 ? void 0 : options.theme) !== null && _d !== void 0 ? _d : SciChartSurfaceBase_1.SciChartSurfaceBase.DEFAULT_THEME);
72
78
  return [4 /*yield*/, sciChartMaster3DPromise];
73
- case 1:
79
+ case 2:
74
80
  master = _f.sent();
75
- loader.removeChartLoader(canvases.domDivContainer, loaderDiv);
81
+ (0, BuildStamp_1.checkBuildStamp)(master.wasmContext);
76
82
  sciChartMaster3D.wasmContext = master.wasmContext;
77
83
  sciChartMaster3D.createChildSurface = master.createChildSurface;
78
84
  sciChartMaster3D.getChildSurfaces = master.getChildSurfaces;
79
- _f.label = 2;
80
- case 2:
81
- createChildSurface = sciChartMaster3D.createChildSurface, wasmContext = sciChartMaster3D.wasmContext;
82
- sciChart3DSurface = createChildSurface(divElementId, canvases, (_e = options === null || options === void 0 ? void 0 : options.theme) !== null && _e !== void 0 ? _e : SciChartSurfaceBase_1.SciChartSurfaceBase.DEFAULT_THEME);
85
+ _f.label = 3;
86
+ case 3:
87
+ createChildSurface = sciChartMaster3D.createChildSurface, wasmContext_1 = sciChartMaster3D.wasmContext;
88
+ sciChart3DSurface_1 = createChildSurface(divElementId, canvases, (_e = options === null || options === void 0 ? void 0 : options.theme) !== null && _e !== void 0 ? _e : SciChartSurfaceBase_1.SciChartSurfaceBase.DEFAULT_THEME);
83
89
  return [2 /*return*/, new Promise(function (resolve) {
84
90
  setTimeout(function () {
85
- sciChart3DSurface.setIsInitialized();
86
- resolve({ wasmContext: wasmContext, sciChart3DSurface: sciChart3DSurface });
91
+ loader.removeChartLoader(canvases.domDivContainer, loaderDiv);
92
+ sciChart3DSurface_1.setIsInitialized();
93
+ resolve({ wasmContext: wasmContext_1, sciChart3DSurface: sciChart3DSurface_1 });
87
94
  }, 0);
88
95
  })];
96
+ case 4:
97
+ err_1 = _f.sent();
98
+ console.error(err_1);
99
+ // replace with div with error message
100
+ loader.removeChartLoader(canvases.domDivContainer, loaderDiv);
101
+ return [2 /*return*/, Promise.reject(err_1)];
102
+ case 5: return [2 /*return*/];
89
103
  }
90
104
  });
91
105
  }); };
@@ -112,10 +126,11 @@ var createMaster = function () {
112
126
  chartInitObj3D.AddDestination(dest);
113
127
  exports.sciChartDestinations.push({ canvasElementId: canvasElementId, sciChartSurface: sciChartSurface, width: width, height: height });
114
128
  };
115
- return new Promise(function (resolve) {
129
+ return new Promise(function (resolve, reject) {
116
130
  var locateFile3d = (0, SciChartSurfaceBase_1.getLocateFile)(SciChart3DSurface_1.sciChartConfig3D);
117
131
  // @ts-ignore
118
- new WasmModule3D({ locateFile3d: locateFile3d, noInitialRun: true }).then(function (wasmContext) {
132
+ new WasmModule3D({ locateFile3d: locateFile3d, noInitialRun: true })
133
+ .then(function (wasmContext) {
119
134
  var getChildSurfaces = function () { return exports.sciChartDestinations.map(function (el) { return el.sciChartSurface; }); };
120
135
  // Create of replace child surface
121
136
  var createChildSurface = function (divElementId, canvases, theme) {
@@ -173,6 +188,9 @@ var createMaster = function () {
173
188
  wasmContext.TSRSetDrawRequestsEnabled(true);
174
189
  // @ts-ignore
175
190
  wasmContext.callMain();
191
+ })
192
+ .catch(function () {
193
+ reject("Could not load SciChart WebAssembly module.\n Check your build process and ensure that your scichart2d.wasm, scichart2d.data and scichart2d.js files are from the same version");
176
194
  });
177
195
  });
178
196
  };
@@ -7,28 +7,35 @@ var chartBuilder_1 = require("../../Builder/chartBuilder");
7
7
  var loader_1 = require("../../Charting/Visuals/loader");
8
8
  var sciChartInitCommon_1 = require("../../Charting/Visuals/sciChartInitCommon");
9
9
  var SciChartSurfaceBase_1 = require("../../Charting/Visuals/SciChartSurfaceBase");
10
+ var BuildStamp_1 = require("../../Core/BuildStamp");
10
11
  var WebGlHelper_1 = require("../../Core/WebGlHelper");
11
12
  var logger_1 = require("../../utils/logger");
12
13
  var licenseManager3D_1 = require("./licenseManager3D");
13
14
  var SciChart3DSurface_1 = require("./SciChart3DSurface");
14
15
  var createSingle3dInternal = function (divElementId, options) {
15
16
  (0, chartBuilder_1.ensureRegistrations)();
16
- return new Promise(function (resolve) {
17
+ return new Promise(function (resolve, reject) {
17
18
  var _a, _b, _c, _d;
18
19
  var canvases = sciChartInitCommon_1.default.initCanvas(divElementId, (_a = options === null || options === void 0 ? void 0 : options.widthAspect) !== null && _a !== void 0 ? _a : 0, (_b = options === null || options === void 0 ? void 0 : options.heightAspect) !== null && _b !== void 0 ? _b : 0);
19
20
  var loader = (_c = options === null || options === void 0 ? void 0 : options.loader) !== null && _c !== void 0 ? _c : new loader_1.DefaultSciChartLoader();
20
21
  var loaderDiv = loader.addChartLoader(canvases.domDivContainer, (_d = options === null || options === void 0 ? void 0 : options.theme) !== null && _d !== void 0 ? _d : SciChartSurfaceBase_1.SciChartSurfaceBase.DEFAULT_THEME);
21
22
  var webGLSupport = WebGlHelper_1.WebGlHelper.getWebGlSupport();
22
- console.log("webGLSupport", webGLSupport);
23
+ // console.log("webGLSupport", webGLSupport);
23
24
  if (webGLSupport === WebGlHelper_1.EWebGLSupport.WebGL2 || webGLSupport === WebGlHelper_1.EWebGLSupport.WebGL1) {
24
25
  var locateFile3d = (0, SciChartSurfaceBase_1.getLocateFile)(SciChart3DSurface_1.sciChartConfig3D);
25
26
  // @ts-ignore
26
- new WasmModule3D({ locateFile3d: locateFile3d, noInitialRun: true }).then(function (wasmContext) {
27
+ new WasmModule3D({ locateFile3d: locateFile3d, noInitialRun: true })
28
+ .then(function (wasmContext) {
27
29
  var _a;
28
30
  loader.removeChartLoader(canvases.domDivContainer, loaderDiv);
29
31
  // @ts-ignore
30
32
  wasmContext.doNotCaptureKeyboard = true;
31
33
  initDrawEngineSingleChart(wasmContext, canvases, resolve, (_a = options === null || options === void 0 ? void 0 : options.theme) !== null && _a !== void 0 ? _a : SciChartSurfaceBase_1.SciChartSurfaceBase.DEFAULT_THEME);
34
+ (0, BuildStamp_1.checkBuildStamp)(wasmContext);
35
+ })
36
+ .catch(function () {
37
+ loader.removeChartLoader(canvases.domDivContainer, loaderDiv);
38
+ reject("Could not load SciChart WebAssembly module.\n Check your build process and ensure that your scichart3d.wasm, scichart3d.data and scichart3d.js files are from the same version");
32
39
  });
33
40
  }
34
41
  else {
@@ -0,0 +1,4 @@
1
+ import { TSciChart } from "../types/TSciChart";
2
+ import { TSciChart3D } from "../types/TSciChart3D";
3
+ export declare const libraryVersion = "2.0.2191";
4
+ export declare const checkBuildStamp: (wasmContext: TSciChart | TSciChart3D) => boolean;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.checkBuildStamp = exports.libraryVersion = void 0;
4
+ var buildStamp = "2021-11-18T00:00:00";
5
+ var result;
6
+ // tslint:disable-next-line:no-var-requires
7
+ exports.libraryVersion = "2.0.2191";
8
+ var checkBuildStamp = function (wasmContext) {
9
+ if (result !== undefined)
10
+ return result;
11
+ if (!wasmContext)
12
+ return false;
13
+ if (wasmContext.SCRTCredentials.GetBuildStamp) {
14
+ if (wasmContext.SCRTCredentials.GetBuildStamp() === buildStamp) {
15
+ result = true;
16
+ return result;
17
+ }
18
+ }
19
+ console.warn("The SciChart webassembly module is from a different version than the javascript that is calling it.\n Ensure that your build process is copying the correct wasm and data files.");
20
+ result = false;
21
+ return result;
22
+ };
23
+ exports.checkBuildStamp = checkBuildStamp;