@fonoster/apiserver 0.16.8 → 0.16.10

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.
@@ -56,7 +56,7 @@ function createListApplications(prisma) {
56
56
  const items = result.map(applicationWithEncodedStruct_1.applicationWithEncodedStruct);
57
57
  callback(null, {
58
58
  items,
59
- nextPageToken: (_a = result[result.length - 1]) === null || _a === void 0 ? void 0 : _a.ref
59
+ nextPageToken: items.length < pageSize ? undefined : (_a = result[result.length - 1]) === null || _a === void 0 ? void 0 : _a.ref
60
60
  });
61
61
  });
62
62
  return (0, common_1.withErrorHandlingAndValidation)(listApplications, common_1.Validators.listRequestSchema);
@@ -49,7 +49,7 @@ function listSecrets(prisma) {
49
49
  })).map(common_1.datesMapper);
50
50
  callback(null, {
51
51
  items: result,
52
- nextPageToken: (_a = result[result.length - 1]) === null || _a === void 0 ? void 0 : _a.ref
52
+ nextPageToken: result.length < pageSize ? undefined : (_a = result[result.length - 1]) === null || _a === void 0 ? void 0 : _a.ref
53
53
  });
54
54
  });
55
55
  return (0, common_1.withErrorHandlingAndValidation)(fn, common_1.Validators.listRequestSchema);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fonoster/apiserver",
3
- "version": "0.16.8",
3
+ "version": "0.16.10",
4
4
  "description": "APIServer for Fonoster",
5
5
  "author": "Pedro Sanders <psanders@fonoster.com>",
6
6
  "homepage": "https://github.com/fonoster/fonoster#readme",
@@ -22,12 +22,12 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "@deepgram/sdk": "^3.5.1",
25
- "@fonoster/authz": "^0.16.8",
26
- "@fonoster/autopilot": "^0.16.8",
25
+ "@fonoster/authz": "^0.16.10",
26
+ "@fonoster/autopilot": "^0.16.10",
27
27
  "@fonoster/common": "^0.16.8",
28
- "@fonoster/identity": "^0.16.8",
28
+ "@fonoster/identity": "^0.16.10",
29
29
  "@fonoster/logger": "^0.16.7",
30
- "@fonoster/sipnet": "^0.16.8",
30
+ "@fonoster/sipnet": "^0.16.10",
31
31
  "@fonoster/streams": "^0.16.7",
32
32
  "@fonoster/types": "^0.16.7",
33
33
  "@google-cloud/speech": "^6.6.0",
@@ -76,5 +76,5 @@
76
76
  "@types/uuid": "^10.0.0",
77
77
  "@types/validator": "^13.15.10"
78
78
  },
79
- "gitHead": "5972440bc8106a5db4b3536129b60d1df30fe6b3"
79
+ "gitHead": "01b11ee98556983fa4dae5aabc0daa66bcbe9e82"
80
80
  }