splatone 0.0.21 → 0.0.23

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "splatone",
3
- "version": "0.0.21",
3
+ "version": "0.0.23",
4
4
  "description": "Multi-layer Composite Heatmap",
5
5
  "homepage": "https://github.com/YokoyamaLab/Splatone#readme",
6
6
  "bugs": {
@@ -16,7 +16,8 @@
16
16
  "main": "index.js",
17
17
  "bin": {
18
18
  "crawler": "./crawler.js",
19
- "colors": "./color.js"
19
+ "colors": "./color.js",
20
+ "browse": "./browse.js"
20
21
  },
21
22
  "imports": {
22
23
  "#lib/*": "./lib/*.js"
@@ -172,10 +172,11 @@ export default async function ({
172
172
  tags,
173
173
  category,
174
174
  nextPluginOptions: nextPluginOptionsDelta.map(e => { return { ...pluginOptions, ...e } }),
175
- total: res.photos.total,
175
+ TermId: pluginOptions.TermId,
176
+ remaining: res.photos.total - res.photos.photo.length,
176
177
  outside: outside,
177
178
  ids,
178
- final: nextPluginOptionsDelta.length == 0//res.photos.photo.length == res.photos.total
179
+ final: nextPluginOptionsDelta.length == 0
179
180
  }
180
181
  };
181
182
 
@@ -196,7 +197,8 @@ export default async function ({
196
197
  tags,
197
198
  category,
198
199
  nextPluginOptions: [],
199
- total: 0,
200
+ TermId: pluginOptions.TermId,
201
+ remaining: 0,
200
202
  outside: 0,
201
203
  ids: [],
202
204
  final: true,
@@ -208,28 +210,5 @@ export default async function ({
208
210
  });
209
211
  return false;
210
212
  }
211
- return {
212
- photos,
213
- hexId: hex.properties.hexId,
214
- tags,
215
- category,
216
- nextPluginOptions: nextPluginOptionsDelta.map(e => { return { ...pluginOptions, ...e } }),
217
- total: res.photos.total,
218
- outside: outside,
219
- ids,
220
- final: res.photos.photo.length == res.photos.total
221
- };
222
- /*
223
- pluginOptions["DateMax"] = next_max_date;
224
- return {
225
- photos,
226
- hexId: hex.properties.hexId,
227
- tags,
228
- category,
229
- nextPluginOptions: pluginOptions,
230
- total: res.photos.total,
231
- outside: outside,
232
- ids,
233
- final: res.photos.photo.length == res.photos.total
234
- };*/
213
+ return false;
235
214
  }
File without changes