@blocklet/sdk 1.5.20 → 1.6.2

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.
Files changed (2) hide show
  1. package/lib/database.js +1 -1
  2. package/package.json +9 -9
package/lib/database.js CHANGED
@@ -27,7 +27,7 @@ async function exists(...args) {
27
27
  * @returns nedb cursor
28
28
  */
29
29
  function paginate(page, size) {
30
- const tmp = this.skip(page * size - page).limit(size);
30
+ const tmp = this.skip(page * size - size).limit(size);
31
31
  return tmp;
32
32
  }
33
33
 
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.5.20",
6
+ "version": "1.6.2",
7
7
  "description": "graphql client to read/write data on abt node",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -19,14 +19,14 @@
19
19
  "author": "linchen1987 <linchen.1987@foxmail.com> (http://github.com/linchen1987)",
20
20
  "license": "MIT",
21
21
  "dependencies": {
22
- "@abtnode/client": "1.5.20",
23
- "@abtnode/constant": "1.5.20",
24
- "@arcblock/did-auth": "^1.13.64",
25
- "@arcblock/jwt": "^1.13.64",
26
- "@blocklet/meta": "1.5.20",
22
+ "@abtnode/client": "1.6.2",
23
+ "@abtnode/constant": "1.6.2",
24
+ "@arcblock/did-auth": "^1.13.71",
25
+ "@arcblock/jwt": "^1.13.71",
26
+ "@blocklet/meta": "1.6.2",
27
27
  "@nedb/core": "^1.2.2",
28
- "@ocap/mcrypto": "^1.13.64",
29
- "@ocap/wallet": "^1.13.64",
28
+ "@ocap/mcrypto": "^1.13.71",
29
+ "@ocap/wallet": "^1.13.71",
30
30
  "axios": "^0.21.4",
31
31
  "fs-extra": "^10.0.0",
32
32
  "joi": "^17.4.0",
@@ -37,5 +37,5 @@
37
37
  "detect-port": "^1.3.0",
38
38
  "jest": "^27.3.1"
39
39
  },
40
- "gitHead": "08771b885d987343780f29b95b71e6e0926b91bf"
40
+ "gitHead": "42586732917837bda0ef7bb6a9610b5cebd42b92"
41
41
  }