@jsm-mit/rabbit-motoko-package 0.1.24 → 0.1.26

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.
@@ -112,8 +112,8 @@ export class RabbitMotokoActor {
112
112
  */
113
113
  async getAvailableTaskIdsAsync(channel, throwError) {
114
114
  try {
115
- const thirtyMinutes = 30 * 60 * 1000;
116
- if (Date.now() - this.lastSyncTime > thirtyMinutes) {
115
+ const fifteenMinutes = 15 * 60 * 1000;
116
+ if (Date.now() - this.lastSyncTime > fifteenMinutes) {
117
117
  await this.syncTimeAsync(false);
118
118
  }
119
119
  return await this.actor.getAvailableTaskIds(channel);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsm-mit/rabbit-motoko-package",
3
- "version": "0.1.24",
3
+ "version": "0.1.26",
4
4
  "description": "Wrapper TypeScript package for Rabbit Motoko Canister.",
5
5
  "license": "ISC",
6
6
  "author": "",
@@ -24,9 +24,6 @@
24
24
  "publish-public": "npm login && npm publish --access public",
25
25
  "test": "echo \"Error: no test specified\" && exit 1"
26
26
  },
27
- "devDependencies": {
28
- "@icp-sdk/core": "^5.2.0"
29
- },
30
27
  "peerDependencies": {
31
28
  "@icp-sdk/core": "^5.2.0"
32
29
  }