@balancy/wasm 1.0.0-rc.21 → 1.0.0-rc.23

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.mjs CHANGED
@@ -1,5 +1,9 @@
1
- const e = () => import("./Balancy.js").then((t) => t.default());
2
- export {
3
- e as initialize
1
+ var initialize = function() {
2
+ // @ts-ignore
3
+ return import('./Balancy.js').then(function(module) {
4
+ // @ts-ignore
5
+ return module.default();
6
+ });
4
7
  };
5
- //# sourceMappingURL=index.mjs.map
8
+
9
+ export { initialize };
package/dist/index.umd.js CHANGED
@@ -1,2 +1,19 @@
1
- (function(e,i){typeof exports=="object"&&typeof module<"u"?i(exports):typeof define=="function"&&define.amd?define(["exports"],i):(e=typeof globalThis<"u"?globalThis:e||self,i(e["@balancy/wasm"]={}))})(this,function(e){"use strict";const i=()=>import("./Balancy.js").then(t=>t.default());e.initialize=i,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
2
- //# sourceMappingURL=index.umd.js.map
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
3
+ typeof define === 'function' && define.amd ? define(['exports'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["@balancy/wasm"] = {}));
5
+ })(this, (function (exports) { 'use strict';
6
+
7
+ var initialize = function() {
8
+ // @ts-ignore
9
+ return import('./Balancy.js').then(function(module) {
10
+ // @ts-ignore
11
+ return module.default();
12
+ });
13
+ };
14
+
15
+ exports.initialize = initialize;
16
+
17
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
18
+
19
+ }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@balancy/wasm",
3
- "version": "1.0.0-rc.21",
3
+ "version": "1.0.0-rc.23",
4
4
  "scripts": {
5
5
  "build": "vite build",
6
6
  "start": "vite build -w",
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sources":["../src/initialize.ts"],"sourcesContent":["import { Core } from './interfaces';\nexport const initialize: () => Promise<Core> = () => {\n // @ts-ignore\n return import('./Balancy.js').then(module => {\n // @ts-ignore\n return module.default() as Promise<Core>;\n });\n};\n"],"names":["initialize","module"],"mappings":"AACO,MAAMA,IAAkC,MAEtC,OAAO,cAAc,EAAE,KAAK,CAAUC,MAEpCA,EAAO,SACf;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.umd.js","sources":["../src/initialize.ts"],"sourcesContent":["import { Core } from './interfaces';\nexport const initialize: () => Promise<Core> = () => {\n // @ts-ignore\n return import('./Balancy.js').then(module => {\n // @ts-ignore\n return module.default() as Promise<Core>;\n });\n};\n"],"names":["initialize","module"],"mappings":"wOACa,MAAAA,EAAkC,IAEtC,OAAO,cAAc,EAAE,KAAeC,GAEpCA,EAAO,SACf"}