wao 0.36.4 → 0.36.6
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/cjs/adaptor-base.js +17 -17
- package/cjs/ao.js +2 -2
- package/cjs/aoconnect-base.js +278 -195
- package/cjs/bar.js +16 -11
- package/cjs/hb.js +364 -337
- package/esm/adaptor-base.js +1 -3
- package/esm/ao.js +2 -2
- package/esm/aoconnect-base.js +31 -3
- package/esm/bar.js +4 -2
- package/esm/hb.js +24 -13
- package/package.json +1 -1
package/cjs/bar.js
CHANGED
|
@@ -171,30 +171,35 @@ var AR = /*#__PURE__*/function (_MAR) {
|
|
|
171
171
|
_ref$target = _ref.target, target = _ref$target === void 0 ? "" : _ref$target, _ref$data = _ref.data, data = _ref$data === void 0 ? "1984" : _ref$data, _ref$tags = _ref.tags, tags = _ref$tags === void 0 ? {} : _ref$tags, signer = _ref.signer, item = _ref.item;
|
|
172
172
|
di = item;
|
|
173
173
|
if (di) {
|
|
174
|
-
_context3.next =
|
|
174
|
+
_context3.next = 10;
|
|
175
175
|
break;
|
|
176
176
|
}
|
|
177
|
-
|
|
177
|
+
if (item !== null && item !== void 0 && item.signature) {
|
|
178
|
+
_context3.next = 8;
|
|
179
|
+
break;
|
|
180
|
+
}
|
|
181
|
+
_context3.next = 6;
|
|
178
182
|
return signer({
|
|
179
183
|
data: data,
|
|
180
184
|
tags: (0, _utils.buildTags)(tags),
|
|
181
185
|
target: target
|
|
182
186
|
});
|
|
183
|
-
case
|
|
187
|
+
case 6:
|
|
184
188
|
_item = _context3.sent;
|
|
185
189
|
di = new DataItem(_item.raw);
|
|
186
|
-
|
|
190
|
+
case 8:
|
|
191
|
+
_context3.next = 11;
|
|
187
192
|
break;
|
|
188
|
-
case 9:
|
|
189
|
-
tags = (0, _utils.tags)(di.tags);
|
|
190
193
|
case 10:
|
|
191
|
-
|
|
194
|
+
tags = (0, _utils.tags)(di.tags);
|
|
195
|
+
case 11:
|
|
196
|
+
_context3.next = 13;
|
|
192
197
|
return this.owner(di);
|
|
193
|
-
case
|
|
198
|
+
case 13:
|
|
194
199
|
owner = _context3.sent;
|
|
195
|
-
_context3.next =
|
|
200
|
+
_context3.next = 16;
|
|
196
201
|
return di.id;
|
|
197
|
-
case
|
|
202
|
+
case 16:
|
|
198
203
|
_context3.t0 = _context3.sent;
|
|
199
204
|
_context3.t1 = owner;
|
|
200
205
|
_context3.t2 = di;
|
|
@@ -205,7 +210,7 @@ var AR = /*#__PURE__*/function (_MAR) {
|
|
|
205
210
|
item: _context3.t2,
|
|
206
211
|
tags: _context3.t3
|
|
207
212
|
});
|
|
208
|
-
case
|
|
213
|
+
case 21:
|
|
209
214
|
case "end":
|
|
210
215
|
return _context3.stop();
|
|
211
216
|
}
|