locuschain-lib 1.0.26 → 1.0.28

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/lclib-amd.js CHANGED
@@ -663,7 +663,7 @@ define(['exports'], (function (exports) { 'use strict';
663
663
  };
664
664
  })();
665
665
 
666
- const supported = (function () {
666
+ ((function () {
667
667
  try {
668
668
  if (typeof WebAssembly === 'object' && typeof WebAssembly.instantiate === 'function') {
669
669
  const module = new WebAssembly.Module(Uint8Array.of(0x0, 0x61, 0x73, 0x6d, 0x01, 0x00, 0x00, 0x00));
@@ -673,14 +673,7 @@ define(['exports'], (function (exports) { 'use strict';
673
673
  }
674
674
  } catch (e) {}
675
675
  return false;
676
- })();
677
-
678
- console.debug(supported ? 'WebAssembly is supported' : 'WebAssembly is not supported');
679
- if (!supported) {
680
- document.write(
681
- '<div style="padding:100px">This browser is not supported!!<br>Please use the latest Chrome, Edge, Opera, Safari browser.<p><br><br>이 브라우저는 지원하지 않습니다.<br>최신의 크롬, 엣지, 오페라, 사파리 브라우저를 사용해 주십시오.</div>'
682
- );
683
- }
676
+ }))();
684
677
 
685
678
  const go = new Go();
686
679
 
package/dist/lclib-cjs.js CHANGED
@@ -663,7 +663,7 @@ var wasm = toUint8Array(wasmStr);
663
663
  };
664
664
  })();
665
665
 
666
- const supported = (function () {
666
+ ((function () {
667
667
  try {
668
668
  if (typeof WebAssembly === 'object' && typeof WebAssembly.instantiate === 'function') {
669
669
  const module = new WebAssembly.Module(Uint8Array.of(0x0, 0x61, 0x73, 0x6d, 0x01, 0x00, 0x00, 0x00));
@@ -673,14 +673,7 @@ const supported = (function () {
673
673
  }
674
674
  } catch (e) {}
675
675
  return false;
676
- })();
677
-
678
- console.debug(supported ? 'WebAssembly is supported' : 'WebAssembly is not supported');
679
- if (!supported) {
680
- document.write(
681
- '<div style="padding:100px">This browser is not supported!!<br>Please use the latest Chrome, Edge, Opera, Safari browser.<p><br><br>이 브라우저는 지원하지 않습니다.<br>최신의 크롬, 엣지, 오페라, 사파리 브라우저를 사용해 주십시오.</div>'
682
- );
683
- }
676
+ }))();
684
677
 
685
678
  const go = new Go();
686
679
 
package/dist/lclib-esm.js CHANGED
@@ -661,7 +661,7 @@ var wasm = toUint8Array(wasmStr);
661
661
  };
662
662
  })();
663
663
 
664
- const supported = (function () {
664
+ ((function () {
665
665
  try {
666
666
  if (typeof WebAssembly === 'object' && typeof WebAssembly.instantiate === 'function') {
667
667
  const module = new WebAssembly.Module(Uint8Array.of(0x0, 0x61, 0x73, 0x6d, 0x01, 0x00, 0x00, 0x00));
@@ -671,14 +671,7 @@ const supported = (function () {
671
671
  }
672
672
  } catch (e) {}
673
673
  return false;
674
- })();
675
-
676
- console.debug(supported ? 'WebAssembly is supported' : 'WebAssembly is not supported');
677
- if (!supported) {
678
- document.write(
679
- '<div style="padding:100px">This browser is not supported!!<br>Please use the latest Chrome, Edge, Opera, Safari browser.<p><br><br>이 브라우저는 지원하지 않습니다.<br>최신의 크롬, 엣지, 오페라, 사파리 브라우저를 사용해 주십시오.</div>'
680
- );
681
- }
674
+ }))();
682
675
 
683
676
  const go = new Go();
684
677
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "locuschain-lib",
3
- "version": "1.0.26",
3
+ "version": "1.0.28",
4
4
  "main": "./dist/lclib-cjs.js",
5
5
  "module": "./dist/lclib-esm.js",
6
6
  "exports": {