@balancy/wasm 1.0.24 → 1.0.26

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.es.js CHANGED
@@ -383,7 +383,7 @@ var Balancy = function() {
383
383
  "__Z30jsbalancyDataObjectViewPreloadNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEN10emscripten3valE",
384
384
  "_balancySetUnzipCallback",
385
385
  "__Z23jsbalancyUnzipCompletedNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEES5_",
386
- "__Z23jsbalancyWebViewRequestNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE",
386
+ "__Z23jsbalancyWebViewRequestNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEN10emscripten3valE",
387
387
  "_balancySetDataRequestedCallback",
388
388
  "_balancyViewAllowOptimization",
389
389
  "_balancyConfigLaunch",
@@ -412,6 +412,8 @@ var Balancy = function() {
412
412
  "__Z35jsbalancyDailyBonus_claimNextRewardPN7Balancy4Data8BaseDataE",
413
413
  "__Z38jsbalancyDailyBonus_canClaimNextRewardPN7Balancy4Data8BaseDataE",
414
414
  "__Z47jsbalancyDailyBonus_getSecondsTillTheNextRewardPN7Balancy4Data8BaseDataE",
415
+ "__Z31jsbalancyBattlePass_claimRewardPN7Balancy4Data8BaseDataEi",
416
+ "__Z35jsbalancyBattlePass_getRewardStatusPN7Balancy4Data8BaseDataEi",
415
417
  "__Z35jsbalancyOfferGroupInfo_CanPurchasePN7Balancy4Data8BaseDataEPNS_5Utils15JsonBasedObjectE",
416
418
  "__Z51jsbalancyOfferInfo_GetSecondsLeftBeforeDeactivationPN7Balancy4Data8BaseDataE",
417
419
  "__Z51jsbalancyEventInfo_GetSecondsLeftBeforeDeactivationPN7Balancy4Data8BaseDataE",
@@ -429,7 +431,10 @@ var Balancy = function() {
429
431
  "__Z18jsbalancyGetStatusv",
430
432
  "_balancyGetTimeOffset",
431
433
  "_balancySetTimeOffset",
432
- "__Z24jsbalancyGetParsedObjectPN7Balancy5Utils15JsonBasedObjectEb",
434
+ "__Z24jsbalancyGetParsedObjectPN7Balancy5Utils15JsonBasedObjectEib",
435
+ "_emscripten_websocket_on_connection_status",
436
+ "_emscripten_websocket_on_socketio_event",
437
+ "_emscripten_websocket_on_socketio_error",
433
438
  "_downloadSucceededBinary",
434
439
  "_fetchSucceededBinary",
435
440
  "_js_fetch",
@@ -506,13 +511,23 @@ var Balancy = function() {
506
511
  "_balancyDailyBonus_claimNextReward",
507
512
  "_balancyDailyBonus_canClaimNextReward",
508
513
  "_balancyDailyBonus_getSecondsTillTheNextReward",
514
+ "_balancyBattlePass_claimReward",
515
+ "_balancyBattlePass_getRewardStatus",
509
516
  "_balancySoftPurchaseStoreItem",
510
517
  "_balancySoftPurchaseShopSlot",
511
518
  "_balancySoftPurchaseGameOffer",
512
519
  "_balancySoftPurchaseGameOfferGroup",
520
+ "__Z22_balancyWebViewRequestNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS_8functionIFvS5_EEE",
513
521
  "_balancyWebViewRequest",
514
522
  "_balancyGetProductsIdAndType",
515
523
  "_balancyGetParsedObject",
524
+ "_js_call_typescript_bridge_connect",
525
+ "_js_call_typescript_bridge_disconnect",
526
+ "_js_call_typescript_bridge_is_connected",
527
+ "_js_call_typescript_bridge_subscribe",
528
+ "_js_call_typescript_bridge_send_message",
529
+ "_js_call_typescript_bridge_send_ack",
530
+ "_js_initialize_typescript_bridge",
516
531
  "_main",
517
532
  "onRuntimeInitialized"
518
533
  ].forEach(function(prop) {
@@ -1315,6 +1330,276 @@ var Balancy = function() {
1315
1330
  invokeErrorCallback(-1, error.message, callbackPtr);
1316
1331
  });
1317
1332
  }
1333
+ function js_call_typescript_bridge_connect(connectionId, url, authData) {
1334
+ if (typeof Module !== "undefined" && Module.typescript_websocket_connect_request) {
1335
+ try {
1336
+ var urlStr = UTF8ToString(url);
1337
+ var authStr = UTF8ToString(authData);
1338
+ console.log("[C++ -> TS Bridge] Connect request", connectionId, urlStr);
1339
+ Module.typescript_websocket_connect_request(connectionId, urlStr, authStr);
1340
+ return true;
1341
+ } catch (error) {
1342
+ console.error("[ERROR] calling typescript_websocket_connect_request via Module:", error);
1343
+ }
1344
+ }
1345
+ if (typeof window !== "undefined" && window.Module && window.Module.typescript_websocket_connect_request) {
1346
+ try {
1347
+ var urlStr1 = UTF8ToString(url);
1348
+ var authStr1 = UTF8ToString(authData);
1349
+ console.log("[C++ -> TS Bridge] Connect request via window.Module", connectionId, urlStr1);
1350
+ window.Module.typescript_websocket_connect_request(connectionId, urlStr1, authStr1);
1351
+ return true;
1352
+ } catch (error) {
1353
+ console.error("[ERROR] calling typescript_websocket_connect_request via window.Module:", error);
1354
+ }
1355
+ }
1356
+ if (typeof globalThis !== "undefined" && globalThis.Module && globalThis.Module.typescript_websocket_connect_request) {
1357
+ try {
1358
+ var urlStr2 = UTF8ToString(url);
1359
+ var authStr2 = UTF8ToString(authData);
1360
+ console.log("[C++ -> TS Bridge] Connect request via globalThis.Module", connectionId, urlStr2);
1361
+ globalThis.Module.typescript_websocket_connect_request(connectionId, urlStr2, authStr2);
1362
+ return true;
1363
+ } catch (error) {
1364
+ console.error("[ERROR] calling typescript_websocket_connect_request via globalThis.Module:", error);
1365
+ }
1366
+ }
1367
+ console.error("[ERROR] TypeScript WebSocket Bridge connect method not found. Available contexts:", {
1368
+ Module: typeof Module !== "undefined" ? Object.keys(Module).filter(function(k) {
1369
+ return k.includes("websocket") || k.includes("typescript");
1370
+ }) : "undefined",
1371
+ windowModule: typeof window !== "undefined" && window.Module ? Object.keys(window.Module).filter(function(k) {
1372
+ return k.includes("websocket") || k.includes("typescript");
1373
+ }) : "undefined",
1374
+ globalThisModule: typeof globalThis !== "undefined" && globalThis.Module ? Object.keys(globalThis.Module).filter(function(k) {
1375
+ return k.includes("websocket") || k.includes("typescript");
1376
+ }) : "undefined"
1377
+ });
1378
+ return false;
1379
+ }
1380
+ function js_call_typescript_bridge_disconnect(connectionId) {
1381
+ var success = false;
1382
+ if (typeof Module !== "undefined" && Module.typescript_websocket_disconnect_request) {
1383
+ try {
1384
+ console.log("[C++ -> TS Bridge] Disconnect request", connectionId);
1385
+ Module.typescript_websocket_disconnect_request(connectionId);
1386
+ success = true;
1387
+ } catch (error) {
1388
+ console.error("[ERROR] calling typescript_websocket_disconnect_request via Module:", error);
1389
+ }
1390
+ }
1391
+ if (!success && typeof window !== "undefined" && window.Module && window.Module.typescript_websocket_disconnect_request) {
1392
+ try {
1393
+ console.log("[C++ -> TS Bridge] Disconnect request via window.Module", connectionId);
1394
+ window.Module.typescript_websocket_disconnect_request(connectionId);
1395
+ success = true;
1396
+ } catch (error) {
1397
+ console.error("[ERROR] calling typescript_websocket_disconnect_request via window.Module:", error);
1398
+ }
1399
+ }
1400
+ if (!success && typeof globalThis !== "undefined" && globalThis.Module && globalThis.Module.typescript_websocket_disconnect_request) {
1401
+ try {
1402
+ console.log("[C++ -> TS Bridge] Disconnect request via globalThis.Module", connectionId);
1403
+ globalThis.Module.typescript_websocket_disconnect_request(connectionId);
1404
+ success = true;
1405
+ } catch (error) {
1406
+ console.error("[ERROR] calling typescript_websocket_disconnect_request via globalThis.Module:", error);
1407
+ }
1408
+ }
1409
+ if (!success) {
1410
+ console.error("[ERROR] TypeScript WebSocket Bridge disconnect method not found");
1411
+ }
1412
+ }
1413
+ function js_call_typescript_bridge_subscribe(connectionId, eventName) {
1414
+ var success = false;
1415
+ if (typeof Module !== "undefined" && Module.typescript_websocket_subscribe_event) {
1416
+ try {
1417
+ var eventStr = UTF8ToString(eventName);
1418
+ console.log("[C++ -> TS Bridge] Subscribe event", connectionId, eventStr);
1419
+ Module.typescript_websocket_subscribe_event(connectionId, eventStr);
1420
+ success = true;
1421
+ } catch (error) {
1422
+ console.error("[ERROR] calling typescript_websocket_subscribe_event via Module:", error);
1423
+ }
1424
+ }
1425
+ if (!success && typeof window !== "undefined" && window.Module && window.Module.typescript_websocket_subscribe_event) {
1426
+ try {
1427
+ var eventStr1 = UTF8ToString(eventName);
1428
+ console.log("[C++ -> TS Bridge] Subscribe event via window.Module", connectionId, eventStr1);
1429
+ window.Module.typescript_websocket_subscribe_event(connectionId, eventStr1);
1430
+ success = true;
1431
+ } catch (error) {
1432
+ console.error("[ERROR] calling typescript_websocket_subscribe_event via window.Module:", error);
1433
+ }
1434
+ }
1435
+ if (!success && typeof globalThis !== "undefined" && globalThis.Module && globalThis.Module.typescript_websocket_subscribe_event) {
1436
+ try {
1437
+ var eventStr2 = UTF8ToString(eventName);
1438
+ console.log("[C++ -> TS Bridge] Subscribe event via globalThis.Module", connectionId, eventStr2);
1439
+ globalThis.Module.typescript_websocket_subscribe_event(connectionId, eventStr2);
1440
+ success = true;
1441
+ } catch (error) {
1442
+ console.error("[ERROR] calling typescript_websocket_subscribe_event via globalThis.Module:", error);
1443
+ }
1444
+ }
1445
+ if (!success) {
1446
+ console.error("[ERROR] TypeScript WebSocket Bridge subscribe method not found");
1447
+ }
1448
+ }
1449
+ function js_call_typescript_bridge_send_message(connectionId, eventName, data) {
1450
+ var success = false;
1451
+ if (typeof Module !== "undefined" && Module.typescript_websocket_send_message) {
1452
+ try {
1453
+ var eventStr = UTF8ToString(eventName);
1454
+ var dataStr = UTF8ToString(data);
1455
+ console.log("[C++ -> TS Bridge] Send message", connectionId, eventStr);
1456
+ Module.typescript_websocket_send_message(connectionId, eventStr, dataStr);
1457
+ success = true;
1458
+ } catch (error) {
1459
+ console.error("[ERROR] calling typescript_websocket_send_message via Module:", error);
1460
+ }
1461
+ }
1462
+ if (!success && typeof window !== "undefined" && window.Module && window.Module.typescript_websocket_send_message) {
1463
+ try {
1464
+ var eventStr1 = UTF8ToString(eventName);
1465
+ var dataStr1 = UTF8ToString(data);
1466
+ console.log("[C++ -> TS Bridge] Send message via window.Module", connectionId, eventStr1);
1467
+ window.Module.typescript_websocket_send_message(connectionId, eventStr1, dataStr1);
1468
+ success = true;
1469
+ } catch (error) {
1470
+ console.error("[ERROR] calling typescript_websocket_send_message via window.Module:", error);
1471
+ }
1472
+ }
1473
+ if (!success && typeof globalThis !== "undefined" && globalThis.Module && globalThis.Module.typescript_websocket_send_message) {
1474
+ try {
1475
+ var eventStr2 = UTF8ToString(eventName);
1476
+ var dataStr2 = UTF8ToString(data);
1477
+ console.log("[C++ -> TS Bridge] Send message via globalThis.Module", connectionId, eventStr2);
1478
+ globalThis.Module.typescript_websocket_send_message(connectionId, eventStr2, dataStr2);
1479
+ success = true;
1480
+ } catch (error) {
1481
+ console.error("[ERROR] calling typescript_websocket_send_message via globalThis.Module:", error);
1482
+ }
1483
+ }
1484
+ if (!success) {
1485
+ console.error("[ERROR] TypeScript WebSocket Bridge send message method not found");
1486
+ }
1487
+ }
1488
+ function js_call_typescript_bridge_send_ack(connectionId, ackId, responseData) {
1489
+ var success = false;
1490
+ if (typeof Module !== "undefined" && Module.typescript_websocket_send_ack) {
1491
+ try {
1492
+ var responseStr = UTF8ToString(responseData);
1493
+ console.log("[C++ -> TS Bridge] Send ack", connectionId, ackId);
1494
+ Module.typescript_websocket_send_ack(connectionId, ackId, responseStr);
1495
+ success = true;
1496
+ } catch (error) {
1497
+ console.error("[ERROR] calling typescript_websocket_send_ack via Module:", error);
1498
+ }
1499
+ }
1500
+ if (!success && typeof window !== "undefined" && window.Module && window.Module.typescript_websocket_send_ack) {
1501
+ try {
1502
+ var responseStr1 = UTF8ToString(responseData);
1503
+ console.log("[C++ -> TS Bridge] Send ack via window.Module", connectionId, ackId);
1504
+ window.Module.typescript_websocket_send_ack(connectionId, ackId, responseStr1);
1505
+ success = true;
1506
+ } catch (error) {
1507
+ console.error("[ERROR] calling typescript_websocket_send_ack via window.Module:", error);
1508
+ }
1509
+ }
1510
+ if (!success && typeof globalThis !== "undefined" && globalThis.Module && globalThis.Module.typescript_websocket_send_ack) {
1511
+ try {
1512
+ var responseStr2 = UTF8ToString(responseData);
1513
+ console.log("[C++ -> TS Bridge] Send ack via globalThis.Module", connectionId, ackId);
1514
+ globalThis.Module.typescript_websocket_send_ack(connectionId, ackId, responseStr2);
1515
+ success = true;
1516
+ } catch (error) {
1517
+ console.error("[ERROR] calling typescript_websocket_send_ack via globalThis.Module:", error);
1518
+ }
1519
+ }
1520
+ if (!success) {
1521
+ console.error("[ERROR] TypeScript WebSocket Bridge send ack method not found");
1522
+ }
1523
+ }
1524
+ function js_initialize_typescript_bridge() {
1525
+ console.log("[INIT] Initializing TypeScript WebSocket Bridge integration...");
1526
+ if (typeof window !== "undefined" && window.initializeTypeScriptWebSocketBridge) {
1527
+ try {
1528
+ window.initializeTypeScriptWebSocketBridge();
1529
+ console.log("[SUCCESS] TypeScript WebSocket Bridge initialized via window");
1530
+ } catch (error) {
1531
+ console.warn("[WARNING] Failed to initialize bridge via window:", error);
1532
+ }
1533
+ }
1534
+ if (typeof globalThis !== "undefined" && globalThis.initializeTypeScriptWebSocketBridge) {
1535
+ try {
1536
+ globalThis.initializeTypeScriptWebSocketBridge();
1537
+ console.log("[SUCCESS] TypeScript WebSocket Bridge initialized via globalThis");
1538
+ } catch (error) {
1539
+ console.warn("[WARNING] Failed to initialize bridge via globalThis:", error);
1540
+ }
1541
+ }
1542
+ var bridgeMethods = [
1543
+ "typescript_websocket_connect_request",
1544
+ "typescript_websocket_disconnect_request",
1545
+ "typescript_websocket_subscribe_event",
1546
+ "typescript_websocket_send_message",
1547
+ "typescript_websocket_send_ack"
1548
+ ];
1549
+ var bridgeFound = false;
1550
+ var contexts = [];
1551
+ if (typeof Module !== "undefined") {
1552
+ contexts.push({
1553
+ name: "Module",
1554
+ obj: Module
1555
+ });
1556
+ }
1557
+ if (typeof window !== "undefined" && window.Module) {
1558
+ contexts.push({
1559
+ name: "window.Module",
1560
+ obj: window.Module
1561
+ });
1562
+ }
1563
+ if (typeof globalThis !== "undefined" && globalThis.Module) {
1564
+ contexts.push({
1565
+ name: "globalThis.Module",
1566
+ obj: globalThis.Module
1567
+ });
1568
+ }
1569
+ var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
1570
+ try {
1571
+ var _loop = function() {
1572
+ var context = _step.value;
1573
+ var availableMethods = bridgeMethods.filter(function(method) {
1574
+ return typeof context.obj[method] === "function";
1575
+ });
1576
+ if (availableMethods.length > 0) {
1577
+ console.log("[SUCCESS] Bridge methods found in " + context.name + ": " + availableMethods.join(", "));
1578
+ bridgeFound = true;
1579
+ }
1580
+ };
1581
+ for(var _iterator = contexts[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true)_loop();
1582
+ } catch (err) {
1583
+ _didIteratorError = true;
1584
+ _iteratorError = err;
1585
+ } finally{
1586
+ try {
1587
+ if (!_iteratorNormalCompletion && _iterator.return != null) {
1588
+ _iterator.return();
1589
+ }
1590
+ } finally{
1591
+ if (_didIteratorError) {
1592
+ throw _iteratorError;
1593
+ }
1594
+ }
1595
+ }
1596
+ if (!bridgeFound) {
1597
+ console.warn("[WARNING] No TypeScript WebSocket Bridge methods found in any context");
1598
+ console.log("Available in Module:", typeof Module !== "undefined" ? Object.keys(Module).filter(function(k) {
1599
+ return k.includes("websocket") || k.includes("typescript");
1600
+ }) : "undefined");
1601
+ }
1602
+ }
1318
1603
  var ExitStatus = function ExitStatus(status) {
1319
1604
  _class_call_check(this, ExitStatus);
1320
1605
  _define_property(this, "name", "ExitStatus");
@@ -7207,7 +7492,13 @@ var Balancy = function() {
7207
7492
  invoke_viiiiiiiiii: invoke_viiiiiiiiii,
7208
7493
  invoke_viiiiiiiiiiiiiii: invoke_viiiiiiiiiiiiiii,
7209
7494
  invoke_viijii: invoke_viijii,
7495
+ js_call_typescript_bridge_connect: js_call_typescript_bridge_connect,
7496
+ js_call_typescript_bridge_disconnect: js_call_typescript_bridge_disconnect,
7497
+ js_call_typescript_bridge_send_ack: js_call_typescript_bridge_send_ack,
7498
+ js_call_typescript_bridge_send_message: js_call_typescript_bridge_send_message,
7499
+ js_call_typescript_bridge_subscribe: js_call_typescript_bridge_subscribe,
7210
7500
  js_fetch: js_fetch,
7501
+ js_initialize_typescript_bridge: js_initialize_typescript_bridge,
7211
7502
  random_get: _random_get
7212
7503
  };
7213
7504
  var wasmExports;
@@ -7258,7 +7549,7 @@ var Balancy = function() {
7258
7549
  Module["__Z30jsbalancyDataObjectViewPreloadNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEN10emscripten3valE"] = createExportWrapper("_Z30jsbalancyDataObjectViewPreloadNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEN10emscripten3valE", 2);
7259
7550
  Module["_balancySetUnzipCallback"] = createExportWrapper("balancySetUnzipCallback", 1);
7260
7551
  Module["__Z23jsbalancyUnzipCompletedNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEES5_"] = createExportWrapper("_Z23jsbalancyUnzipCompletedNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEES5_", 2);
7261
- Module["__Z23jsbalancyWebViewRequestNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE"] = createExportWrapper("_Z23jsbalancyWebViewRequestNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE", 2);
7552
+ Module["__Z23jsbalancyWebViewRequestNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEN10emscripten3valE"] = createExportWrapper("_Z23jsbalancyWebViewRequestNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEN10emscripten3valE", 2);
7262
7553
  Module["_balancySetDataRequestedCallback"] = createExportWrapper("balancySetDataRequestedCallback", 1);
7263
7554
  Module["_balancyViewAllowOptimization"] = createExportWrapper("balancyViewAllowOptimization", 1);
7264
7555
  Module["_balancyConfigLaunch"] = createExportWrapper("balancyConfigLaunch", 1);
@@ -7287,6 +7578,8 @@ var Balancy = function() {
7287
7578
  Module["__Z35jsbalancyDailyBonus_claimNextRewardPN7Balancy4Data8BaseDataE"] = createExportWrapper("_Z35jsbalancyDailyBonus_claimNextRewardPN7Balancy4Data8BaseDataE", 1);
7288
7579
  Module["__Z38jsbalancyDailyBonus_canClaimNextRewardPN7Balancy4Data8BaseDataE"] = createExportWrapper("_Z38jsbalancyDailyBonus_canClaimNextRewardPN7Balancy4Data8BaseDataE", 1);
7289
7580
  Module["__Z47jsbalancyDailyBonus_getSecondsTillTheNextRewardPN7Balancy4Data8BaseDataE"] = createExportWrapper("_Z47jsbalancyDailyBonus_getSecondsTillTheNextRewardPN7Balancy4Data8BaseDataE", 1);
7581
+ Module["__Z31jsbalancyBattlePass_claimRewardPN7Balancy4Data8BaseDataEi"] = createExportWrapper("_Z31jsbalancyBattlePass_claimRewardPN7Balancy4Data8BaseDataEi", 2);
7582
+ Module["__Z35jsbalancyBattlePass_getRewardStatusPN7Balancy4Data8BaseDataEi"] = createExportWrapper("_Z35jsbalancyBattlePass_getRewardStatusPN7Balancy4Data8BaseDataEi", 2);
7290
7583
  Module["__Z35jsbalancyOfferGroupInfo_CanPurchasePN7Balancy4Data8BaseDataEPNS_5Utils15JsonBasedObjectE"] = createExportWrapper("_Z35jsbalancyOfferGroupInfo_CanPurchasePN7Balancy4Data8BaseDataEPNS_5Utils15JsonBasedObjectE", 2);
7291
7584
  Module["__Z51jsbalancyOfferInfo_GetSecondsLeftBeforeDeactivationPN7Balancy4Data8BaseDataE"] = createExportWrapper("_Z51jsbalancyOfferInfo_GetSecondsLeftBeforeDeactivationPN7Balancy4Data8BaseDataE", 1);
7292
7585
  Module["__Z51jsbalancyEventInfo_GetSecondsLeftBeforeDeactivationPN7Balancy4Data8BaseDataE"] = createExportWrapper("_Z51jsbalancyEventInfo_GetSecondsLeftBeforeDeactivationPN7Balancy4Data8BaseDataE", 1);
@@ -7304,7 +7597,10 @@ var Balancy = function() {
7304
7597
  Module["__Z18jsbalancyGetStatusv"] = createExportWrapper("_Z18jsbalancyGetStatusv", 0);
7305
7598
  Module["_balancyGetTimeOffset"] = createExportWrapper("balancyGetTimeOffset", 0);
7306
7599
  Module["_balancySetTimeOffset"] = createExportWrapper("balancySetTimeOffset", 1);
7307
- Module["__Z24jsbalancyGetParsedObjectPN7Balancy5Utils15JsonBasedObjectEb"] = createExportWrapper("_Z24jsbalancyGetParsedObjectPN7Balancy5Utils15JsonBasedObjectEb", 3);
7600
+ Module["__Z24jsbalancyGetParsedObjectPN7Balancy5Utils15JsonBasedObjectEib"] = createExportWrapper("_Z24jsbalancyGetParsedObjectPN7Balancy5Utils15JsonBasedObjectEib", 4);
7601
+ Module["_emscripten_websocket_on_connection_status"] = createExportWrapper("emscripten_websocket_on_connection_status", 3);
7602
+ Module["_emscripten_websocket_on_socketio_event"] = createExportWrapper("emscripten_websocket_on_socketio_event", 5);
7603
+ Module["_emscripten_websocket_on_socketio_error"] = createExportWrapper("emscripten_websocket_on_socketio_error", 3);
7308
7604
  var _malloc = Module["_malloc"] = createExportWrapper("malloc", 1);
7309
7605
  var ___getTypeName = createExportWrapper("__getTypeName", 1);
7310
7606
  Module["_downloadSucceededBinary"] = createExportWrapper("downloadSucceededBinary", 3);
@@ -7383,13 +7679,16 @@ var Balancy = function() {
7383
7679
  Module["_balancyDailyBonus_claimNextReward"] = createExportWrapper("balancyDailyBonus_claimNextReward", 1);
7384
7680
  Module["_balancyDailyBonus_canClaimNextReward"] = createExportWrapper("balancyDailyBonus_canClaimNextReward", 1);
7385
7681
  Module["_balancyDailyBonus_getSecondsTillTheNextReward"] = createExportWrapper("balancyDailyBonus_getSecondsTillTheNextReward", 1);
7682
+ Module["_balancyBattlePass_claimReward"] = createExportWrapper("balancyBattlePass_claimReward", 2);
7683
+ Module["_balancyBattlePass_getRewardStatus"] = createExportWrapper("balancyBattlePass_getRewardStatus", 2);
7386
7684
  Module["_balancySoftPurchaseStoreItem"] = createExportWrapper("balancySoftPurchaseStoreItem", 1);
7387
7685
  Module["_balancySoftPurchaseShopSlot"] = createExportWrapper("balancySoftPurchaseShopSlot", 1);
7388
7686
  Module["_balancySoftPurchaseGameOffer"] = createExportWrapper("balancySoftPurchaseGameOffer", 1);
7389
7687
  Module["_balancySoftPurchaseGameOfferGroup"] = createExportWrapper("balancySoftPurchaseGameOfferGroup", 2);
7688
+ Module["__Z22_balancyWebViewRequestNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS_8functionIFvS5_EEE"] = createExportWrapper("_Z22_balancyWebViewRequestNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS_8functionIFvS5_EEE", 2);
7390
7689
  Module["_balancyWebViewRequest"] = createExportWrapper("balancyWebViewRequest", 1);
7391
7690
  Module["_balancyGetProductsIdAndType"] = createExportWrapper("balancyGetProductsIdAndType", 1);
7392
- Module["_balancyGetParsedObject"] = createExportWrapper("balancyGetParsedObject", 2);
7691
+ Module["_balancyGetParsedObject"] = createExportWrapper("balancyGetParsedObject", 3);
7393
7692
  var _fflush = createExportWrapper("fflush", 1);
7394
7693
  var _strerror = createExportWrapper("strerror", 1);
7395
7694
  var _setThrew = createExportWrapper("setThrew", 2);