zotero-plugin 5.0.27 → 5.0.28

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/bin/release.js CHANGED
@@ -8448,7 +8448,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
8448
8448
  "package.json"(exports, module) {
8449
8449
  module.exports = {
8450
8450
  name: "zotero-plugin",
8451
- version: "5.0.27",
8451
+ version: "5.0.28",
8452
8452
  description: "Zotero plugin builder",
8453
8453
  homepage: "https://github.com/retorquere/zotero-plugin/wiki",
8454
8454
  bin: {
package/debug-log.js CHANGED
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.DebugLog = void 0;
5
5
  const tslib_1 = require("tslib");
6
+ const pkg = require('./package.json');
6
7
  const UZip = tslib_1.__importStar(require("uzip"));
7
8
  class DebugLogSender {
8
9
  constructor() {
@@ -116,7 +117,7 @@ class DebugLogSender {
116
117
  method: 'POST',
117
118
  body: formData,
118
119
  headers: {
119
- 'User-Agent': 'curl/8.7.1',
120
+ 'User-Agent': `Zotero-plugin/${pkg.version}`,
120
121
  },
121
122
  });
122
123
  const body = await response.text();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zotero-plugin",
3
- "version": "5.0.27",
3
+ "version": "5.0.28",
4
4
  "description": "Zotero plugin builder",
5
5
  "homepage": "https://github.com/retorquere/zotero-plugin/wiki",
6
6
  "bin": {