@honeybadger-io/js 6.16.2 → 6.16.3

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.
@@ -1455,7 +1455,7 @@
1455
1455
  this.__notifier = {
1456
1456
  name: '@honeybadger-io/core',
1457
1457
  url: 'https://github.com/honeybadger-io/honeybadger-js/tree/master/packages/core',
1458
- version: '6.16.2'
1458
+ version: '6.16.3'
1459
1459
  };
1460
1460
  this.config = __assign$1(__assign$1({}, defaults_1.CONFIG), opts);
1461
1461
  this.__initStore();
@@ -3051,7 +3051,10 @@
3051
3051
  });
3052
3052
  };
3053
3053
  Honeybadger.prototype.getUserFeedbackSubmitUrl = function () {
3054
- return (0, exports.getUserFeedbackScriptUrl)(this.getVersion());
3054
+ // The feedback form template is published per major.minor of this package, so the
3055
+ // url must track NOTIFIER.version. It cannot use getVersion(), which reports the
3056
+ // notifier a wrapper package (react, vue) may have installed via setNotifier().
3057
+ return (0, exports.getUserFeedbackScriptUrl)(NOTIFIER.version);
3055
3058
  };
3056
3059
  /** @internal */
3057
3060
  Honeybadger.prototype.__buildPayload = function (notice) {
@@ -3153,7 +3156,7 @@
3153
3156
  var NOTIFIER = {
3154
3157
  name: '@honeybadger-io/js',
3155
3158
  url: 'https://github.com/honeybadger-io/honeybadger-js/tree/master/packages/js',
3156
- version: '6.16.2'
3159
+ version: '6.16.3'
3157
3160
  };
3158
3161
  var userAgent = function () {
3159
3162
  if (typeof navigator !== 'undefined') {