@ocap/indexdb 1.18.83 → 1.18.85
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/lib/util.js +3 -0
- package/package.json +4 -4
package/lib/util.js
CHANGED
|
@@ -180,6 +180,9 @@ const createIndexedTransaction = async (tx, ctx, indexdb) => {
|
|
|
180
180
|
if (ctx.txType === 'fg:t:update_asset') {
|
|
181
181
|
tx.accounts.push(ctx.assetState.owner);
|
|
182
182
|
}
|
|
183
|
+
if (ctx.txType === 'fg:t:mint_asset') {
|
|
184
|
+
tx.accounts.push(ctx.ownerAddress);
|
|
185
|
+
}
|
|
183
186
|
}
|
|
184
187
|
if (ctx.assetStates && Array.isArray(ctx.assetStates)) {
|
|
185
188
|
tx.assets.push(...ctx.assetStates.map((x) => x.address));
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.18.
|
|
6
|
+
"version": "1.18.85",
|
|
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.
|
|
29
|
-
"@ocap/util": "1.18.
|
|
28
|
+
"@ocap/state": "1.18.85",
|
|
29
|
+
"@ocap/util": "1.18.85",
|
|
30
30
|
"kareem": "^2.4.1",
|
|
31
31
|
"lodash": "^4.17.21"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "c17928905b9dabebacd92686c92ee303781cd603"
|
|
34
34
|
}
|