|
1 | 1 | (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){ |
2 | | -// Comfy.JS v1.1.26 |
| 2 | +// Comfy.JS v1.1.27 |
3 | 3 | var tmi = require( "tmi.js" ); |
4 | 4 | var fetch = require( "node-fetch" ); |
5 | 5 | var NodeSocket = require( "ws" ); |
@@ -814,7 +814,7 @@ var comfyJS = { |
814 | 814 | useEventSub: true, // set to false to use PubSub |
815 | 815 | chatModes: {}, |
816 | 816 | version: function() { |
817 | | - return "1.1.26"; |
| 817 | + return "1.1.27"; |
818 | 818 | }, |
819 | 819 | onError: function( error ) { |
820 | 820 | console.error( "Error:", error ); |
@@ -1470,18 +1470,19 @@ var getGlobal = function () { |
1470 | 1470 | throw new Error('unable to locate global object'); |
1471 | 1471 | } |
1472 | 1472 |
|
1473 | | -var global = getGlobal(); |
| 1473 | +var globalObject = getGlobal(); |
1474 | 1474 |
|
1475 | | -module.exports = exports = global.fetch; |
| 1475 | +module.exports = exports = globalObject.fetch; |
1476 | 1476 |
|
1477 | 1477 | // Needed for TypeScript and Webpack. |
1478 | | -if (global.fetch) { |
1479 | | - exports.default = global.fetch.bind(global); |
| 1478 | +if (globalObject.fetch) { |
| 1479 | + exports.default = globalObject.fetch.bind(globalObject); |
1480 | 1480 | } |
1481 | 1481 |
|
1482 | | -exports.Headers = global.Headers; |
1483 | | -exports.Request = global.Request; |
1484 | | -exports.Response = global.Response; |
| 1482 | +exports.Headers = globalObject.Headers; |
| 1483 | +exports.Request = globalObject.Request; |
| 1484 | +exports.Response = globalObject.Response; |
| 1485 | + |
1485 | 1486 | }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) |
1486 | 1487 | },{}],3:[function(require,module,exports){ |
1487 | 1488 | 'use strict'; |
|
0 commit comments