wao 0.18.0 → 0.18.2

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/ao.js CHANGED
@@ -8,7 +8,6 @@ var WarpArBundles = _interopRequireWildcard(require("warp-arbundles"));
8
8
  var _ar4 = _interopRequireDefault(require("./ar.js"));
9
9
  var _md = _interopRequireDefault(require("md5"));
10
10
  var _aoconnect = require("@permaweb/aoconnect");
11
- var _aoconnectWao = require("aoconnect-wao");
12
11
  var _ramda = require("ramda");
13
12
  var _utils = require("./utils.js");
14
13
  var _WarpArBundles$defaul;
@@ -143,7 +142,7 @@ var AO = /*#__PURE__*/function () {
143
142
  this.ar = new _ar4["default"](_ar);
144
143
  }
145
144
  if (!in_memory && aoconnect) {
146
- var _connect = (0, _aoconnectWao.connect)(aoconnect),
145
+ var _connect = (0, _aoconnect.connect)(aoconnect),
147
146
  _results = _connect.results,
148
147
  _assign = _connect.assign,
149
148
  _result = _connect.result,
@@ -161,14 +160,14 @@ var AO = /*#__PURE__*/function () {
161
160
  this.monitor = _monitor;
162
161
  this.unmonitor = _unmonitor;
163
162
  } else {
164
- this.assign = _aoconnectWao.assign;
165
- this.result = _aoconnectWao.result;
166
- this.results = _aoconnectWao.results;
167
- this.message = _aoconnectWao.message;
168
- this.spawn = _aoconnectWao.spawn;
169
- this.dryrun = _aoconnectWao.dryrun;
170
- this.monitor = _aoconnectWao.monitor;
171
- this.unmonitor = _aoconnectWao.unmonitor;
163
+ this.assign = _aoconnect.assign;
164
+ this.result = _aoconnect.result;
165
+ this.results = _aoconnect.results;
166
+ this.message = _aoconnect.message;
167
+ this.spawn = _aoconnect.spawn;
168
+ this.dryrun = _aoconnect.dryrun;
169
+ this.monitor = _aoconnect.monitor;
170
+ this.unmonitor = _aoconnect.unmonitor;
172
171
  }
173
172
  if (this.wao) {
174
173
  this.module = _utils.srcs.module_wao;
package/cjs/helpers.js CHANGED
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.setup = exports.ok = exports.fail = exports.Testnet = exports.Src = void 0;
8
8
  var _index = require("./index.js");
9
9
  var _assert = _interopRequireDefault(require("assert"));
10
+ var _aoconnect3 = require("@permaweb/aoconnect");
10
11
  var _aoconnectWao = require("aoconnect-wao");
11
12
  var _path = require("path");
12
13
  var _fs = require("fs");
package/esm/ao.js CHANGED
@@ -3,9 +3,8 @@ const pkg = WarpArBundles.default ?? WarpArBundles
3
3
  const { createData, ArweaveSigner } = pkg
4
4
  import AR from "./ar.js"
5
5
  import md5 from "md5"
6
- import { createDataItemSigner } from "@permaweb/aoconnect"
7
-
8
6
  import {
7
+ createDataItemSigner,
9
8
  connect,
10
9
  assign,
11
10
  result,
@@ -15,7 +14,7 @@ import {
15
14
  dryrun,
16
15
  monitor,
17
16
  unmonitor,
18
- } from "aoconnect-wao"
17
+ } from "@permaweb/aoconnect"
19
18
 
20
19
  import {
21
20
  dissoc,
package/esm/helpers.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { AR, AO } from "./index.js"
2
2
  import assert from "assert"
3
-
4
- import { createDataItemSigner, connect } from "aoconnect-wao"
3
+ import { createDataItemSigner } from "@permaweb/aoconnect"
4
+ import { connect } from "aoconnect-wao"
5
5
  import { dirname as _dirname, resolve } from "path"
6
6
  import { mkdirSync, existsSync, writeFileSync, readFileSync } from "fs"
7
7
  import { optAO } from "./utils.js"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wao",
3
- "version": "0.18.0",
3
+ "version": "0.18.2",
4
4
  "bin": {
5
5
  "wao": "./cjs/cli.js",
6
6
  "wao-esm": "./esm/cli.js"