@ocap/indexdb 1.18.129 → 1.18.131

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/lib/util.js +2 -2
  2. package/package.json +4 -4
package/lib/util.js CHANGED
@@ -155,10 +155,10 @@ const createIndexedTransaction = async (tx, ctx, indexdb) => {
155
155
  if (ctx.receiverState) {
156
156
  tx.accounts.push(ctx.receiverState.address);
157
157
  }
158
- if (ctx.feeVaultState) {
158
+ if (ctx.feeVaultState && ctx.feeVaultChange) {
159
159
  tx.accounts.push(ctx.feeVaultState.address);
160
160
  }
161
- if (ctx.gasVaultState) {
161
+ if (ctx.gasVaultState && ctx.gasVaultChange) {
162
162
  tx.accounts.push(ctx.gasVaultState.address);
163
163
  }
164
164
  if (ctx.updatedAccounts && Array.isArray(ctx.updatedAccounts)) {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.18.129",
6
+ "version": "1.18.131",
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.18.129",
29
- "@ocap/util": "1.18.129",
28
+ "@ocap/state": "1.18.131",
29
+ "@ocap/util": "1.18.131",
30
30
  "kareem": "^2.4.1",
31
31
  "lodash": "^4.17.21"
32
32
  },
33
- "gitHead": "422e48b5668be8d25d76037d86926a625b194758"
33
+ "gitHead": "1e07d8baecba883a20db0a1ab44aeba211e97b30"
34
34
  }