@ocap/tx-pipeline 1.30.23 → 1.30.25
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/esm/helpers/dedup-height.d.mts +16 -0
- package/esm/helpers/dedup-height.mjs +61 -0
- package/esm/index.d.mts +7 -4
- package/esm/index.mjs +6 -4
- package/esm/pipes/anti-land-attack.mjs +1 -1
- package/esm/pipes/decode-tx.d.mts +3 -2
- package/esm/pipes/decode-tx.mjs +175 -29
- package/esm/pipes/extract-signer.mjs +11 -2
- package/esm/pipes/extract-state.d.mts +4 -1
- package/esm/pipes/extract-state.mjs +14 -7
- package/esm/pipes/take-state-snapshot.mjs +8 -0
- package/esm/pipes/update-owner.d.mts +3 -1
- package/esm/pipes/update-owner.mjs +28 -2
- package/esm/pipes/verify-account-migration.mjs +2 -2
- package/esm/pipes/verify-blocked.mjs +1 -1
- package/esm/pipes/verify-delegation.d.mts +6 -3
- package/esm/pipes/verify-delegation.mjs +121 -47
- package/esm/pipes/verify-list-size.mjs +1 -1
- package/esm/pipes/verify-multisig-v2.mjs +39 -9
- package/esm/pipes/verify-multisig.mjs +20 -5
- package/esm/pipes/verify-sender.mjs +1 -1
- package/esm/pipes/verify-signature.mjs +14 -5
- package/esm/pipes/verify-signer.mjs +5 -3
- package/esm/pipes/verify-token-access.mjs +31 -2
- package/esm/pipes/verify-token-balance.mjs +4 -2
- package/esm/pipes/verify-transferrable.mjs +1 -1
- package/esm/pipes/verify-tx-input.mjs +3 -3
- package/esm/pipes/verify-tx-size.mjs +1 -1
- package/esm/pipes/verify-tx.d.mts +1 -1
- package/esm/pipes/verify-tx.mjs +12 -5
- package/esm/pipes/verify-updater.mjs +1 -1
- package/lib/helpers/dedup-height.cjs +72 -0
- package/lib/helpers/dedup-height.d.cts +16 -0
- package/lib/index.cjs +15 -0
- package/lib/index.d.cts +7 -4
- package/lib/pipes/anti-land-attack.cjs +2 -2
- package/lib/pipes/decode-tx.cjs +176 -26
- package/lib/pipes/decode-tx.d.cts +3 -2
- package/lib/pipes/extract-signer.cjs +11 -2
- package/lib/pipes/extract-state.cjs +14 -7
- package/lib/pipes/extract-state.d.cts +4 -1
- package/lib/pipes/take-state-snapshot.cjs +8 -0
- package/lib/pipes/update-owner.cjs +29 -2
- package/lib/pipes/update-owner.d.cts +3 -1
- package/lib/pipes/verify-account-migration.cjs +2 -2
- package/lib/pipes/verify-blocked.cjs +1 -1
- package/lib/pipes/verify-delegation.cjs +123 -48
- package/lib/pipes/verify-delegation.d.cts +6 -3
- package/lib/pipes/verify-list-size.cjs +1 -1
- package/lib/pipes/verify-multisig-v2.cjs +40 -9
- package/lib/pipes/verify-multisig.cjs +21 -5
- package/lib/pipes/verify-sender.cjs +1 -1
- package/lib/pipes/verify-signature.cjs +13 -4
- package/lib/pipes/verify-signer.cjs +5 -3
- package/lib/pipes/verify-token-access.cjs +32 -3
- package/lib/pipes/verify-token-balance.cjs +5 -3
- package/lib/pipes/verify-transferrable.cjs +1 -1
- package/lib/pipes/verify-tx-input.cjs +4 -4
- package/lib/pipes/verify-tx-size.cjs +1 -1
- package/lib/pipes/verify-tx.cjs +12 -4
- package/lib/pipes/verify-tx.d.cts +1 -1
- package/lib/pipes/verify-updater.cjs +1 -1
- package/package.json +10 -10
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
3
3
|
const require_package = require('../package.cjs');
|
|
4
|
-
let _ocap_util_lib_error = require("@ocap/util/lib/error");
|
|
5
4
|
let lodash_get = require("lodash/get");
|
|
6
5
|
lodash_get = require_rolldown_runtime.__toESM(lodash_get);
|
|
6
|
+
let _ocap_util_lib_error = require("@ocap/util/lib/error");
|
|
7
|
+
let _ocap_mcrypto = require("@ocap/mcrypto");
|
|
8
|
+
let _ocap_util_lib_get_list_field = require("@ocap/util/lib/get-list-field");
|
|
7
9
|
let debug = require("debug");
|
|
8
10
|
debug = require_rolldown_runtime.__toESM(debug);
|
|
9
|
-
let
|
|
11
|
+
let _arcblock_did = require("@arcblock/did");
|
|
10
12
|
|
|
11
13
|
//#region src/pipes/verify-signer.ts
|
|
12
14
|
const debug$1 = (0, debug.default)(`${require_package.name}:pipe:verify-signer`);
|
|
@@ -17,7 +19,7 @@ function CreateVerifySignerPipe({ signer }) {
|
|
|
17
19
|
const signatures = (0, _ocap_util_lib_get_list_field.getListField)(context, "tx.signatures");
|
|
18
20
|
if (signatures.length === 0) return next(new _ocap_util_lib_error.CustomError("INVALID_TX", "Multisig can not be empty"));
|
|
19
21
|
const [{ signer: signerDid, delegator }] = signatures;
|
|
20
|
-
const actual = delegator || signerDid;
|
|
22
|
+
const actual = (0, _arcblock_did.toTypeInfo)(expected).role === _ocap_mcrypto.types.RoleType.ROLE_ASSET ? signerDid : delegator || signerDid;
|
|
21
23
|
debug$1("verify", {
|
|
22
24
|
expected,
|
|
23
25
|
actual
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
3
|
-
let _ocap_util = require("@ocap/util");
|
|
4
|
-
let _ocap_util_lib_error = require("@ocap/util/lib/error");
|
|
5
3
|
let lodash_get = require("lodash/get");
|
|
6
4
|
lodash_get = require_rolldown_runtime.__toESM(lodash_get);
|
|
5
|
+
let _ocap_util = require("@ocap/util");
|
|
6
|
+
let _ocap_util_lib_error = require("@ocap/util/lib/error");
|
|
7
|
+
let _ocap_util_lib_get_list_field = require("@ocap/util/lib/get-list-field");
|
|
7
8
|
let _ocap_util_lib_get_related_addr = require("@ocap/util/lib/get-related-addr");
|
|
8
9
|
let lodash_isEmpty = require("lodash/isEmpty");
|
|
9
10
|
lodash_isEmpty = require_rolldown_runtime.__toESM(lodash_isEmpty);
|
|
@@ -38,8 +39,36 @@ function CreateVerifyTokenAccessPipe({ statesKey = "tokenStates", listFieldKey =
|
|
|
38
39
|
const list = state[listFieldKey];
|
|
39
40
|
if (!list) continue;
|
|
40
41
|
const listSet = new Set(list.map((addr) => (0, _ocap_util.toAddress)(addr).toLowerCase()));
|
|
42
|
+
const rawInputs = context.inputs;
|
|
43
|
+
if (listFieldKey === "spenders" && Array.isArray(rawInputs) && rawInputs.length > 0) {
|
|
44
|
+
const senderAcct = context.senderState || (0, lodash_get.default)(context, "tx.from");
|
|
45
|
+
const senderRelated = senderAcct ? getCachedAddresses(senderAcct) : [];
|
|
46
|
+
if (state.type === "CreditToken" && Boolean(state.issuer) && senderRelated.some((addr) => (0, _ocap_util.toAddress)(addr).toLowerCase() === (0, _ocap_util.toAddress)(state.issuer).toLowerCase()) && senderAcct) {
|
|
47
|
+
if (!senderRelated.some((addr) => listSet.has((0, _ocap_util.toAddress)(addr).toLowerCase()))) {
|
|
48
|
+
const displayAddress = typeof senderAcct === "string" ? senderAcct : senderAcct.address;
|
|
49
|
+
return next(new _ocap_util_lib_error.CustomError("FORBIDDEN", `verify-token-access: ${defaultErrorMessage.replace("{address}", displayAddress).replace("{tokenAddress}", state.address)}`, { persist: true }));
|
|
50
|
+
}
|
|
51
|
+
continue;
|
|
52
|
+
}
|
|
53
|
+
const signerStates = Array.isArray(context.signerStates) ? context.signerStates : [];
|
|
54
|
+
const matchingOwners = [];
|
|
55
|
+
for (const input of rawInputs) {
|
|
56
|
+
if (!input || !input.owner) continue;
|
|
57
|
+
if (((0, _ocap_util_lib_get_list_field.getListField)(input, "tokens") || []).some((t) => t && t.address === state.address)) {
|
|
58
|
+
const ownerState = signerStates.find((s) => s && s.address === input.owner);
|
|
59
|
+
matchingOwners.push(ownerState || input.owner);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
if (matchingOwners.length > 0) {
|
|
63
|
+
for (const acct of matchingOwners) if (!getCachedAddresses(acct).some((addr) => listSet.has((0, _ocap_util.toAddress)(addr).toLowerCase()))) {
|
|
64
|
+
const displayAddress = typeof acct === "string" ? acct : acct.address;
|
|
65
|
+
return next(new _ocap_util_lib_error.CustomError("FORBIDDEN", `verify-token-access: ${defaultErrorMessage.replace("{address}", displayAddress).replace("{tokenAddress}", state.address)}`, { persist: true }));
|
|
66
|
+
}
|
|
67
|
+
continue;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
41
70
|
for (const accountKey of accountKeys) {
|
|
42
|
-
const accountState = (0, lodash_get.default)(context, accountKey);
|
|
71
|
+
const accountState = (0, lodash_get.default)(context, accountKey) || (accountKey === "senderState" ? (0, lodash_get.default)(context, "tx.from") : void 0);
|
|
43
72
|
if (!accountState) continue;
|
|
44
73
|
const accountStates = Array.isArray(accountState) ? accountState : [accountState];
|
|
45
74
|
for (const acct of accountStates) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
3
|
-
let _ocap_util = require("@ocap/util");
|
|
4
|
-
let _ocap_util_lib_error = require("@ocap/util/lib/error");
|
|
5
3
|
let lodash_get = require("lodash/get");
|
|
6
4
|
lodash_get = require_rolldown_runtime.__toESM(lodash_get);
|
|
5
|
+
let _ocap_util = require("@ocap/util");
|
|
6
|
+
let _ocap_util_lib_error = require("@ocap/util/lib/error");
|
|
7
7
|
let _ocap_util_lib_get_list_field = require("@ocap/util/lib/get-list-field");
|
|
8
8
|
let lodash_isEmpty = require("lodash/isEmpty");
|
|
9
9
|
lodash_isEmpty = require_rolldown_runtime.__toESM(lodash_isEmpty);
|
|
@@ -22,12 +22,14 @@ function CreateVerifyTokenBalancePipe({ ownerKey, conditionKey, tokensKey = "tok
|
|
|
22
22
|
if (!owner) return next(new _ocap_util_lib_error.CustomError("INVALID_TX", `Token owner ${condition.owner} not found`, { persist: true }));
|
|
23
23
|
const { tokens: actual } = owner;
|
|
24
24
|
const requirements = (0, _ocap_util_lib_get_list_field.getListField)(condition, tokensKey);
|
|
25
|
+
const aggregatedRequirements = /* @__PURE__ */ new Map();
|
|
25
26
|
for (const requirement of requirements) {
|
|
26
27
|
const { address, value } = requirement;
|
|
27
28
|
if (!address || !value) return next(new _ocap_util_lib_error.CustomError("INTERNAL", "Invalid requirement params provided for VerifyTokenBalance pipe", { persist: true }));
|
|
28
29
|
if ((0, lodash_isEmpty.default)(actual)) return next(new _ocap_util_lib_error.CustomError("INSUFFICIENT_FUND", `Account(${owner.address}) does not own any token`, { persist: true }));
|
|
29
30
|
if (!actual[address]) return next(new _ocap_util_lib_error.CustomError("INSUFFICIENT_FUND", `Account(${owner.address}) does not own token(${address})`, { persist: true }));
|
|
30
|
-
const expectedBalance = new _ocap_util.BN(value);
|
|
31
|
+
const expectedBalance = (aggregatedRequirements.get(address) || new _ocap_util.BN(0)).add(new _ocap_util.BN(value));
|
|
32
|
+
aggregatedRequirements.set(address, expectedBalance);
|
|
31
33
|
const actualBalance = new _ocap_util.BN(actual[address]);
|
|
32
34
|
if (actualBalance.lt(expectedBalance)) return next(new _ocap_util_lib_error.CustomError("INSUFFICIENT_FUND", `Account(${owner.address}) does not have enough token(${address}) to complete the transaction, expected (${expectedBalance}), actual (${actualBalance})`, { persist: true }));
|
|
33
35
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
3
|
-
let _ocap_util_lib_error = require("@ocap/util/lib/error");
|
|
4
3
|
let lodash_get = require("lodash/get");
|
|
5
4
|
lodash_get = require_rolldown_runtime.__toESM(lodash_get);
|
|
5
|
+
let _ocap_util_lib_error = require("@ocap/util/lib/error");
|
|
6
6
|
|
|
7
7
|
//#region src/pipes/verify-transferrable.ts
|
|
8
8
|
function CreateVerifyTransferrablePipe({ assets }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
3
|
-
let _ocap_util = require("@ocap/util");
|
|
4
|
-
let _ocap_util_lib_error = require("@ocap/util/lib/error");
|
|
5
3
|
let lodash_get = require("lodash/get");
|
|
6
4
|
lodash_get = require_rolldown_runtime.__toESM(lodash_get);
|
|
5
|
+
let _ocap_util = require("@ocap/util");
|
|
6
|
+
let _ocap_util_lib_error = require("@ocap/util/lib/error");
|
|
7
7
|
let _ocap_util_lib_get_list_field = require("@ocap/util/lib/get-list-field");
|
|
8
8
|
let lodash_isEmpty = require("lodash/isEmpty");
|
|
9
9
|
lodash_isEmpty = require_rolldown_runtime.__toESM(lodash_isEmpty);
|
|
@@ -14,8 +14,8 @@ const ZERO = new _ocap_util.BN(0);
|
|
|
14
14
|
function CreateVerifyTxInputPipe({ fieldKey = "itx.inputs", inputsKey = "inputs", sendersKey = "senders", tokensKey = "tokens", assetsKey = "assets", allowEmpty = false }) {
|
|
15
15
|
return function VerifyTxInput(context, next) {
|
|
16
16
|
const inputs = (0, _ocap_util_lib_get_list_field.getListField)(context, fieldKey);
|
|
17
|
-
const getTokens = (x) => x
|
|
18
|
-
const getAssets = (x) => x
|
|
17
|
+
const getTokens = (x) => (0, _ocap_util_lib_get_list_field.getListField)(x, "tokens");
|
|
18
|
+
const getAssets = (x) => (0, _ocap_util_lib_get_list_field.getListField)(x, "assets");
|
|
19
19
|
const address = (0, lodash_get.default)(context, "config.token.address");
|
|
20
20
|
inputs.forEach((x) => {
|
|
21
21
|
getTokens(x).forEach((t) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
3
|
-
let _ocap_util_lib_error = require("@ocap/util/lib/error");
|
|
4
3
|
let lodash_get = require("lodash/get");
|
|
5
4
|
lodash_get = require_rolldown_runtime.__toESM(lodash_get);
|
|
5
|
+
let _ocap_util_lib_error = require("@ocap/util/lib/error");
|
|
6
6
|
let _ocap_message = require("@ocap/message");
|
|
7
7
|
|
|
8
8
|
//#region src/pipes/verify-tx-size.ts
|
package/lib/pipes/verify-tx.cjs
CHANGED
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
3
|
-
|
|
3
|
+
const require_helpers_dedup_height = require('../helpers/dedup-height.cjs');
|
|
4
4
|
let lodash_get = require("lodash/get");
|
|
5
5
|
lodash_get = require_rolldown_runtime.__toESM(lodash_get);
|
|
6
|
+
let _ocap_util = require("@ocap/util");
|
|
7
|
+
let _ocap_util_lib_error = require("@ocap/util/lib/error");
|
|
6
8
|
let _ocap_message = require("@ocap/message");
|
|
9
|
+
let _ocap_mcrypto = require("@ocap/mcrypto");
|
|
7
10
|
let _ocap_util_lib_get_list_field = require("@ocap/util/lib/get-list-field");
|
|
8
11
|
let _arcblock_did = require("@arcblock/did");
|
|
9
12
|
let lodash_isEmpty = require("lodash/isEmpty");
|
|
10
13
|
lodash_isEmpty = require_rolldown_runtime.__toESM(lodash_isEmpty);
|
|
14
|
+
let _ocap_state = require("@ocap/state");
|
|
11
15
|
|
|
12
16
|
//#region src/pipes/verify-tx.ts
|
|
13
|
-
function VerifyTx(context, next) {
|
|
17
|
+
async function VerifyTx(context, next) {
|
|
14
18
|
for (const field of [
|
|
15
19
|
"from",
|
|
16
20
|
"chainId",
|
|
@@ -21,13 +25,17 @@ function VerifyTx(context, next) {
|
|
|
21
25
|
const { itx, chainId, nonce, pk, from, delegator } = context.tx;
|
|
22
26
|
const expected = (0, lodash_get.default)(context, "config.chainId");
|
|
23
27
|
if (chainId !== expected) return next(new _ocap_util_lib_error.CustomError("INVALID_CHAIN_ID", `Invalid chain id: expected ${expected}, got ${chainId}`));
|
|
24
|
-
|
|
25
|
-
|
|
28
|
+
if (await require_helpers_dedup_height.isDedupHeightActive(context)) {
|
|
29
|
+
const nonceBn = (0, _ocap_state.parseNonceBn)(nonce);
|
|
30
|
+
if (!nonceBn || nonceBn.lte(new _ocap_util.BN(0))) return next(new _ocap_util_lib_error.CustomError("INVALID_NONCE", "tx.nonce should be a positive integer"));
|
|
31
|
+
} else if (Number.isNaN(Number(nonce)) || Number(nonce) < 0) return next(new _ocap_util_lib_error.CustomError("INVALID_NONCE", "tx.nonce should be a positive integer"));
|
|
26
32
|
const { supportedTxs, maxMultisig } = (0, lodash_get.default)(context, "config.transaction");
|
|
27
33
|
const rawItx = itx;
|
|
28
34
|
const itxTypeUrl = rawItx.typeUrl || (rawItx.type ? (0, _ocap_message.toTypeUrl)(rawItx.type) : void 0);
|
|
29
35
|
if (!itxTypeUrl || supportedTxs.includes(itxTypeUrl) === false) return next(new _ocap_util_lib_error.CustomError("UNSUPPORTED_TX", `Transaction ${itxTypeUrl} is not supported`));
|
|
30
36
|
if ((0, _ocap_util_lib_get_list_field.getListField)(context, "tx.signatures").length > maxMultisig) return next(new _ocap_util_lib_error.CustomError("INVALID_TX", "Too many multisig signatures"));
|
|
37
|
+
if ((0, _arcblock_did.toTypeInfo)(from).role === _ocap_mcrypto.types.RoleType.ROLE_ASSET && (0, lodash_isEmpty.default)(delegator)) return next(new _ocap_util_lib_error.CustomError("INVALID_TX", "Asset sender requires a delegator"));
|
|
38
|
+
if (!(0, lodash_isEmpty.default)(delegator) && (0, _arcblock_did.toTypeInfo)(delegator).role === _ocap_mcrypto.types.RoleType.ROLE_ASSET) return next(new _ocap_util_lib_error.CustomError("INVALID_TX", "Asset cannot act as a delegator signer"));
|
|
31
39
|
if ((0, _arcblock_did.isFromPublicKey)(delegator || from, pk) === false) return next(new _ocap_util_lib_error.CustomError("INVALID_TX", "Sender or delegator address does not match pk"));
|
|
32
40
|
next();
|
|
33
41
|
}
|
|
@@ -2,6 +2,6 @@ import { IDecodedContext } from "@ocap/types";
|
|
|
2
2
|
import { CustomError } from "@ocap/util/lib/error";
|
|
3
3
|
|
|
4
4
|
//#region src/pipes/verify-tx.d.ts
|
|
5
|
-
declare function VerifyTx(context: IDecodedContext, next: (err?: CustomError) => void): void
|
|
5
|
+
declare function VerifyTx(context: IDecodedContext, next: (err?: CustomError) => void): Promise<void>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { VerifyTx as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
3
3
|
const require_package = require('../package.cjs');
|
|
4
|
-
let _ocap_util_lib_error = require("@ocap/util/lib/error");
|
|
5
4
|
let lodash_get = require("lodash/get");
|
|
6
5
|
lodash_get = require_rolldown_runtime.__toESM(lodash_get);
|
|
6
|
+
let _ocap_util_lib_error = require("@ocap/util/lib/error");
|
|
7
7
|
let debug = require("debug");
|
|
8
8
|
debug = require_rolldown_runtime.__toESM(debug);
|
|
9
9
|
let _ocap_util_lib_get_related_addr = require("@ocap/util/lib/get-related-addr");
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.30.
|
|
6
|
+
"version": "1.30.25",
|
|
7
7
|
"description": "Pipeline runner and common pipelines to process transactions",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"main": "./lib/index.cjs",
|
|
@@ -49,15 +49,15 @@
|
|
|
49
49
|
"elliptic": "6.5.3"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@arcblock/did": "1.30.
|
|
53
|
-
"@arcblock/did-util": "1.30.
|
|
54
|
-
"@ocap/client": "1.30.
|
|
55
|
-
"@ocap/mcrypto": "1.30.
|
|
56
|
-
"@ocap/message": "1.30.
|
|
57
|
-
"@ocap/state": "1.30.
|
|
58
|
-
"@ocap/types": "1.30.
|
|
59
|
-
"@ocap/util": "1.30.
|
|
60
|
-
"@ocap/wallet": "1.30.
|
|
52
|
+
"@arcblock/did": "1.30.25",
|
|
53
|
+
"@arcblock/did-util": "1.30.25",
|
|
54
|
+
"@ocap/client": "1.30.25",
|
|
55
|
+
"@ocap/mcrypto": "1.30.25",
|
|
56
|
+
"@ocap/message": "1.30.25",
|
|
57
|
+
"@ocap/state": "1.30.25",
|
|
58
|
+
"@ocap/types": "1.30.25",
|
|
59
|
+
"@ocap/util": "1.30.25",
|
|
60
|
+
"@ocap/wallet": "1.30.25",
|
|
61
61
|
"debug": "^4.4.3",
|
|
62
62
|
"lodash": "^4.17.23"
|
|
63
63
|
}
|