@ocap/indexdb 1.17.22 → 1.18.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/util.js +5 -2
- package/package.json +4 -4
package/lib/util.js
CHANGED
@@ -141,8 +141,11 @@ const createIndexedTransaction = async (tx, ctx, indexdb) => {
|
|
141
141
|
if (ctx.receiverState) {
|
142
142
|
tx.accounts.push(ctx.receiverState.address);
|
143
143
|
}
|
144
|
-
if (ctx.
|
145
|
-
tx.accounts.push(ctx.
|
144
|
+
if (ctx.feeVaultState) {
|
145
|
+
tx.accounts.push(ctx.feeVaultState.address);
|
146
|
+
}
|
147
|
+
if (ctx.gasVaultState) {
|
148
|
+
tx.accounts.push(ctx.gasVaultState.address);
|
146
149
|
}
|
147
150
|
if (ctx.updatedAccounts && Array.isArray(ctx.updatedAccounts)) {
|
148
151
|
tx.accounts.push(...ctx.updatedAccounts.map((x) => x.address));
|
package/package.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"publishConfig": {
|
4
4
|
"access": "public"
|
5
5
|
},
|
6
|
-
"version": "1.
|
6
|
+
"version": "1.18.0",
|
7
7
|
"description": "Defines the basic interface for OCAP IndexDB",
|
8
8
|
"main": "lib/main.js",
|
9
9
|
"files": [
|
@@ -25,10 +25,10 @@
|
|
25
25
|
"jest": "^27.5.1"
|
26
26
|
},
|
27
27
|
"dependencies": {
|
28
|
-
"@ocap/state": "1.
|
29
|
-
"@ocap/util": "1.
|
28
|
+
"@ocap/state": "1.18.0",
|
29
|
+
"@ocap/util": "1.18.0",
|
30
30
|
"kareem": "^2.4.1",
|
31
31
|
"lodash": "^4.17.21"
|
32
32
|
},
|
33
|
-
"gitHead": "
|
33
|
+
"gitHead": "c48f928ee4f0deddf0f5e4bcb82fd6ffd7f2bc99"
|
34
34
|
}
|