@ocap/indexdb 1.13.67 → 1.13.71

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 -1
  2. package/package.json +4 -4
package/lib/util.js CHANGED
@@ -25,7 +25,6 @@ const createIndexedAccount = async (x, getTokenFn) => {
25
25
  return {
26
26
  address: x.address,
27
27
  balance: x.balance || '0',
28
- migratedTo: x.migratedTo[0] || '',
29
28
  moniker: x.moniker,
30
29
  nonce: x.nonce,
31
30
  numAssets: x.numAssets || 0,
@@ -36,6 +35,7 @@ const createIndexedAccount = async (x, getTokenFn) => {
36
35
  formatTokenMeta({ address, balance: x.tokens[address] }, tokenStates)
37
36
  ), // eslint-disable-line function-paren-newline
38
37
  genesisTime: x.context.genesisTime,
38
+ migratedTo: x.migratedTo[0] || '',
39
39
  migratedFrom: x.migratedFrom[0] || '',
40
40
  };
41
41
  };
@@ -256,6 +256,7 @@ const createIndexedRollup = async (x, ctx) => {
256
256
  'leaveWaitingPeriod',
257
257
  'publishWaitingPeriod',
258
258
  'publishSlashRate',
259
+ 'migrateHistory',
259
260
  'data',
260
261
  ]),
261
262
  genesisTime: x.context.genesisTime,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.13.67",
6
+ "version": "1.13.71",
7
7
  "description": "Defines the basic interface for OCAP IndexDB",
8
8
  "main": "lib/main.js",
9
9
  "files": [
@@ -22,10 +22,10 @@
22
22
  "jest": "^27.3.1"
23
23
  },
24
24
  "dependencies": {
25
- "@ocap/state": "1.13.67",
26
- "@ocap/util": "1.13.67",
25
+ "@ocap/state": "1.13.71",
26
+ "@ocap/util": "1.13.71",
27
27
  "kareem": "^2.3.2",
28
28
  "lodash": "^4.17.21"
29
29
  },
30
- "gitHead": "866f6a0dbf4fc22425b8583d84610880472a3109"
30
+ "gitHead": "82321f1dcd59ae272e87372bafaacc562e99c9ee"
31
31
  }