@beam3_dev/api_module 0.0.203 → 0.0.204
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/wb3Api.js +20 -18
- package/dist/wb3Api.js.map +1 -1
- package/dist/wb3Api.umd.cjs +1 -1
- package/dist/wb3Api.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/wb3Api.js
CHANGED
|
@@ -101,37 +101,38 @@ async function Se(e, t = V) {
|
|
|
101
101
|
})();
|
|
102
102
|
}
|
|
103
103
|
function X(e, t, s) {
|
|
104
|
-
const {
|
|
105
|
-
for (let
|
|
106
|
-
const
|
|
107
|
-
|
|
104
|
+
const { credentials: n, myArray: i, chunk: r, fn_to_call: o } = e, a = [];
|
|
105
|
+
for (let c = 0; c < i.length; c += r) {
|
|
106
|
+
const d = i.slice(c, c + r);
|
|
107
|
+
a.push(d);
|
|
108
108
|
}
|
|
109
109
|
W(
|
|
110
|
-
{ chunks:
|
|
111
|
-
(
|
|
112
|
-
t && t(
|
|
110
|
+
{ credentials: n, chunks: a, initLoop: 0, fn: o },
|
|
111
|
+
(c) => {
|
|
112
|
+
t && t(c);
|
|
113
113
|
},
|
|
114
|
-
(
|
|
115
|
-
s && s(
|
|
114
|
+
(c) => {
|
|
115
|
+
s && s(c);
|
|
116
116
|
}
|
|
117
117
|
);
|
|
118
118
|
}
|
|
119
119
|
function W(e, t, s) {
|
|
120
|
-
const {
|
|
121
|
-
|
|
122
|
-
n
|
|
120
|
+
const { credentials: n, chunks: i, initLoop: r, fn: o } = e, a = (c) => {
|
|
121
|
+
o(
|
|
122
|
+
n,
|
|
123
|
+
i[c],
|
|
123
124
|
() => {
|
|
124
|
-
|
|
125
|
+
c++, c < i.length && a(c);
|
|
125
126
|
},
|
|
126
|
-
(
|
|
127
|
-
t && t(
|
|
127
|
+
(d) => {
|
|
128
|
+
t && t(d);
|
|
128
129
|
},
|
|
129
|
-
(
|
|
130
|
-
s && s(
|
|
130
|
+
(d) => {
|
|
131
|
+
s && s(d);
|
|
131
132
|
}
|
|
132
133
|
);
|
|
133
134
|
};
|
|
134
|
-
|
|
135
|
+
a(r);
|
|
135
136
|
}
|
|
136
137
|
async function _e(e, t, s = !0) {
|
|
137
138
|
const n = e.events.findIndex((i) => i.uuid === t.uuid);
|
|
@@ -904,6 +905,7 @@ async function J(e, t = void 0, s = void 0) {
|
|
|
904
905
|
}
|
|
905
906
|
async function te(e, t, s = void 0, n = void 0) {
|
|
906
907
|
typeof t < "u" && Array.isArray(t) && t?.length > 0 ? X({
|
|
908
|
+
credentials: e,
|
|
907
909
|
myArray: t,
|
|
908
910
|
chunk: 80,
|
|
909
911
|
fn_to_call: ne
|