wallaby-cash 1.7.22 → 1.7.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.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types/wallet.d.ts +10 -0
- package/package.json +2 -1
package/dist/index.cjs.js
CHANGED
|
@@ -7231,7 +7231,7 @@ var Transactions = /** @class */ (function (_super) {
|
|
|
7231
7231
|
switch (_c.label) {
|
|
7232
7232
|
case 0:
|
|
7233
7233
|
_c.trys.push([0, 4, , 5]);
|
|
7234
|
-
if (!suiObjectId
|
|
7234
|
+
if ((!suiObjectId && !contractAddress) || (!!suiObjectId && !!contractAddress)) {
|
|
7235
7235
|
throw new Error('Either `suiObjectId` or `contractAddress` are required for this transaction.');
|
|
7236
7236
|
}
|
|
7237
7237
|
return [4 /*yield*/, this.auth.signatureMessage({ password: password })];
|