ds-harness-remote 0.4.23 → 0.4.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.
- package/README.md +4 -4
- package/dist/client.github.js +56 -56
- package/dist/client.js +56 -56
- package/dist/harness-version.d.ts +9 -2
- package/dist/harness-version.d.ts.map +1 -1
- package/dist/harness-version.js +34 -11
- package/dist/harness-version.js.map +1 -1
- package/dist/index.js +78 -57
- package/dist/index.js.map +3 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dsh-plugin.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ Continue DeepSeek Harness sessions and experimental Codex workspaces from anothe
|
|
|
19
19
|
Add the current package version to the `web` profile, then restart Harness:
|
|
20
20
|
|
|
21
21
|
```sh
|
|
22
|
-
dsh plugin --profile web add -w ds-harness-remote@0.4.
|
|
22
|
+
dsh plugin --profile web add -w ds-harness-remote@0.4.26
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
### dsh-TUI Host
|
|
@@ -27,7 +27,7 @@ dsh plugin --profile web add -w ds-harness-remote@0.4.23
|
|
|
27
27
|
Remote can also run as a Host in a terminal-only [dsh-TUI](https://github.com/ccch1mneyyy/dsh-TUI) profile:
|
|
28
28
|
|
|
29
29
|
```sh
|
|
30
|
-
dsh plugin --profile dsh-tui add -w ds-harness-remote@0.4.
|
|
30
|
+
dsh plugin --profile dsh-tui add -w ds-harness-remote@0.4.26
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
After starting dsh-TUI, manage Remote with `/remote`, `/remote login`, `/remote status`, and `/remote logout`.
|
|
@@ -44,13 +44,13 @@ After starting dsh-TUI, manage Remote with `/remote`, `/remote login`, `/remote
|
|
|
44
44
|
|
|
45
45
|
## Compatibility
|
|
46
46
|
|
|
47
|
-
Plugin `0.4.
|
|
47
|
+
Plugin `0.4.26` targets DeepSeek Harness `dsh-v0.2.0-rc.1` and retains `dsh-v0.1.7-rc.1` compatibility; it also supports `dsh-v0.1.6-alpha.2` and earlier settings hosts. It supports:
|
|
48
48
|
|
|
49
49
|
- `dsh-v0.1.1-rc.2` through the official legacy `ApiProxy`;
|
|
50
50
|
- `dsh-v0.1.2-alpha.1` through `dsh-v0.1.2-rc.1` through the official Typert Remote Gateway;
|
|
51
51
|
- `dsh-v0.1.5-rc.1`, `dsh-v0.1.6-alpha.1`, and `dsh-v0.2.0-rc.1` Session V3 through the official Typert Remote Gateway.
|
|
52
52
|
|
|
53
|
-
The same package feature-detects the older settings registry and the `0.1.7-rc.1` and `0.2.0-rc.1` Volatile settings entry. Remote Web/Desktop and Android normalize released sessions that still report the retired `code` agent preset to `ptc`.
|
|
53
|
+
The same package feature-detects the older settings registry and the `0.1.7-rc.1` and `0.2.0-rc.1` Volatile settings entry. Remote Web/Desktop and Android normalize released sessions that still report the retired `code` agent preset to `ptc`. The Host reads the running Harness version from the CLI entrypoint, or from the 0.2.0 Desktop shell's `@deepseek-ai/dsh-desktop-host` entrypoint when the Harness CLI package is only a sibling of that entrypoint inside `app.asar`.
|
|
54
54
|
|
|
55
55
|
## Self-hosted Server
|
|
56
56
|
|
package/dist/client.github.js
CHANGED
|
@@ -23,18 +23,18 @@
|
|
|
23
23
|
mod
|
|
24
24
|
));
|
|
25
25
|
|
|
26
|
-
// ../../node_modules
|
|
26
|
+
// ../../node_modules/qrcode/lib/can-promise.js
|
|
27
27
|
var require_can_promise = __commonJS({
|
|
28
|
-
"../../node_modules
|
|
28
|
+
"../../node_modules/qrcode/lib/can-promise.js"(exports, module) {
|
|
29
29
|
module.exports = function() {
|
|
30
30
|
return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
// ../../node_modules
|
|
35
|
+
// ../../node_modules/qrcode/lib/core/utils.js
|
|
36
36
|
var require_utils = __commonJS({
|
|
37
|
-
"../../node_modules
|
|
37
|
+
"../../node_modules/qrcode/lib/core/utils.js"(exports) {
|
|
38
38
|
var toSJISFunction, CODEWORDS_COUNT = [
|
|
39
39
|
0,
|
|
40
40
|
// Not used
|
|
@@ -107,9 +107,9 @@
|
|
|
107
107
|
}
|
|
108
108
|
});
|
|
109
109
|
|
|
110
|
-
// ../../node_modules
|
|
110
|
+
// ../../node_modules/qrcode/lib/core/error-correction-level.js
|
|
111
111
|
var require_error_correction_level = __commonJS({
|
|
112
|
-
"../../node_modules
|
|
112
|
+
"../../node_modules/qrcode/lib/core/error-correction-level.js"(exports) {
|
|
113
113
|
exports.L = { bit: 1 };
|
|
114
114
|
exports.M = { bit: 0 };
|
|
115
115
|
exports.Q = { bit: 3 };
|
|
@@ -149,9 +149,9 @@
|
|
|
149
149
|
}
|
|
150
150
|
});
|
|
151
151
|
|
|
152
|
-
// ../../node_modules
|
|
152
|
+
// ../../node_modules/qrcode/lib/core/bit-buffer.js
|
|
153
153
|
var require_bit_buffer = __commonJS({
|
|
154
|
-
"../../node_modules
|
|
154
|
+
"../../node_modules/qrcode/lib/core/bit-buffer.js"(exports, module) {
|
|
155
155
|
function BitBuffer() {
|
|
156
156
|
this.buffer = [], this.length = 0;
|
|
157
157
|
}
|
|
@@ -176,9 +176,9 @@
|
|
|
176
176
|
}
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
// ../../node_modules
|
|
179
|
+
// ../../node_modules/qrcode/lib/core/bit-matrix.js
|
|
180
180
|
var require_bit_matrix = __commonJS({
|
|
181
|
-
"../../node_modules
|
|
181
|
+
"../../node_modules/qrcode/lib/core/bit-matrix.js"(exports, module) {
|
|
182
182
|
function BitMatrix(size) {
|
|
183
183
|
if (!size || size < 1)
|
|
184
184
|
throw new Error("BitMatrix size must be defined and greater than 0");
|
|
@@ -201,9 +201,9 @@
|
|
|
201
201
|
}
|
|
202
202
|
});
|
|
203
203
|
|
|
204
|
-
// ../../node_modules
|
|
204
|
+
// ../../node_modules/qrcode/lib/core/alignment-pattern.js
|
|
205
205
|
var require_alignment_pattern = __commonJS({
|
|
206
|
-
"../../node_modules
|
|
206
|
+
"../../node_modules/qrcode/lib/core/alignment-pattern.js"(exports) {
|
|
207
207
|
var getSymbolSize = require_utils().getSymbolSize;
|
|
208
208
|
exports.getRowColCoords = function(version) {
|
|
209
209
|
if (version === 1) return [];
|
|
@@ -224,9 +224,9 @@
|
|
|
224
224
|
}
|
|
225
225
|
});
|
|
226
226
|
|
|
227
|
-
// ../../node_modules
|
|
227
|
+
// ../../node_modules/qrcode/lib/core/finder-pattern.js
|
|
228
228
|
var require_finder_pattern = __commonJS({
|
|
229
|
-
"../../node_modules
|
|
229
|
+
"../../node_modules/qrcode/lib/core/finder-pattern.js"(exports) {
|
|
230
230
|
var getSymbolSize = require_utils().getSymbolSize, FINDER_PATTERN_SIZE = 7;
|
|
231
231
|
exports.getPositions = function(version) {
|
|
232
232
|
let size = getSymbolSize(version);
|
|
@@ -242,9 +242,9 @@
|
|
|
242
242
|
}
|
|
243
243
|
});
|
|
244
244
|
|
|
245
|
-
// ../../node_modules
|
|
245
|
+
// ../../node_modules/qrcode/lib/core/mask-pattern.js
|
|
246
246
|
var require_mask_pattern = __commonJS({
|
|
247
|
-
"../../node_modules
|
|
247
|
+
"../../node_modules/qrcode/lib/core/mask-pattern.js"(exports) {
|
|
248
248
|
exports.Patterns = {
|
|
249
249
|
PATTERN000: 0,
|
|
250
250
|
PATTERN001: 1,
|
|
@@ -342,9 +342,9 @@
|
|
|
342
342
|
}
|
|
343
343
|
});
|
|
344
344
|
|
|
345
|
-
// ../../node_modules
|
|
345
|
+
// ../../node_modules/qrcode/lib/core/error-correction-code.js
|
|
346
346
|
var require_error_correction_code = __commonJS({
|
|
347
|
-
"../../node_modules
|
|
347
|
+
"../../node_modules/qrcode/lib/core/error-correction-code.js"(exports) {
|
|
348
348
|
var ECLevel = require_error_correction_level(), EC_BLOCKS_TABLE = [
|
|
349
349
|
// L M Q H
|
|
350
350
|
1,
|
|
@@ -701,9 +701,9 @@
|
|
|
701
701
|
}
|
|
702
702
|
});
|
|
703
703
|
|
|
704
|
-
// ../../node_modules
|
|
704
|
+
// ../../node_modules/qrcode/lib/core/galois-field.js
|
|
705
705
|
var require_galois_field = __commonJS({
|
|
706
|
-
"../../node_modules
|
|
706
|
+
"../../node_modules/qrcode/lib/core/galois-field.js"(exports) {
|
|
707
707
|
var EXP_TABLE = new Uint8Array(512), LOG_TABLE = new Uint8Array(256);
|
|
708
708
|
(function() {
|
|
709
709
|
let x = 1;
|
|
@@ -725,9 +725,9 @@
|
|
|
725
725
|
}
|
|
726
726
|
});
|
|
727
727
|
|
|
728
|
-
// ../../node_modules
|
|
728
|
+
// ../../node_modules/qrcode/lib/core/polynomial.js
|
|
729
729
|
var require_polynomial = __commonJS({
|
|
730
|
-
"../../node_modules
|
|
730
|
+
"../../node_modules/qrcode/lib/core/polynomial.js"(exports) {
|
|
731
731
|
var GF = require_galois_field();
|
|
732
732
|
exports.mul = function(p1, p2) {
|
|
733
733
|
let coeff = new Uint8Array(p1.length + p2.length - 1);
|
|
@@ -757,9 +757,9 @@
|
|
|
757
757
|
}
|
|
758
758
|
});
|
|
759
759
|
|
|
760
|
-
// ../../node_modules
|
|
760
|
+
// ../../node_modules/qrcode/lib/core/reed-solomon-encoder.js
|
|
761
761
|
var require_reed_solomon_encoder = __commonJS({
|
|
762
|
-
"../../node_modules
|
|
762
|
+
"../../node_modules/qrcode/lib/core/reed-solomon-encoder.js"(exports, module) {
|
|
763
763
|
var Polynomial = require_polynomial();
|
|
764
764
|
function ReedSolomonEncoder(degree) {
|
|
765
765
|
this.genPoly = void 0, this.degree = degree, this.degree && this.initialize(this.degree);
|
|
@@ -783,18 +783,18 @@
|
|
|
783
783
|
}
|
|
784
784
|
});
|
|
785
785
|
|
|
786
|
-
// ../../node_modules
|
|
786
|
+
// ../../node_modules/qrcode/lib/core/version-check.js
|
|
787
787
|
var require_version_check = __commonJS({
|
|
788
|
-
"../../node_modules
|
|
788
|
+
"../../node_modules/qrcode/lib/core/version-check.js"(exports) {
|
|
789
789
|
exports.isValid = function(version) {
|
|
790
790
|
return !isNaN(version) && version >= 1 && version <= 40;
|
|
791
791
|
};
|
|
792
792
|
}
|
|
793
793
|
});
|
|
794
794
|
|
|
795
|
-
// ../../node_modules
|
|
795
|
+
// ../../node_modules/qrcode/lib/core/regex.js
|
|
796
796
|
var require_regex = __commonJS({
|
|
797
|
-
"../../node_modules
|
|
797
|
+
"../../node_modules/qrcode/lib/core/regex.js"(exports) {
|
|
798
798
|
var numeric = "[0-9]+", alphanumeric = "[A-Z $%*+\\-./:]+", kanji = "(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";
|
|
799
799
|
kanji = kanji.replace(/u/g, "\\u");
|
|
800
800
|
var byte = "(?:(?![A-Z0-9 $%*+\\-./:]|" + kanji + `)(?:.|[\r
|
|
@@ -817,9 +817,9 @@
|
|
|
817
817
|
}
|
|
818
818
|
});
|
|
819
819
|
|
|
820
|
-
// ../../node_modules
|
|
820
|
+
// ../../node_modules/qrcode/lib/core/mode.js
|
|
821
821
|
var require_mode = __commonJS({
|
|
822
|
-
"../../node_modules
|
|
822
|
+
"../../node_modules/qrcode/lib/core/mode.js"(exports) {
|
|
823
823
|
var VersionCheck = require_version_check(), Regex = require_regex();
|
|
824
824
|
exports.NUMERIC = {
|
|
825
825
|
id: "Numeric",
|
|
@@ -888,9 +888,9 @@
|
|
|
888
888
|
}
|
|
889
889
|
});
|
|
890
890
|
|
|
891
|
-
// ../../node_modules
|
|
891
|
+
// ../../node_modules/qrcode/lib/core/version.js
|
|
892
892
|
var require_version = __commonJS({
|
|
893
|
-
"../../node_modules
|
|
893
|
+
"../../node_modules/qrcode/lib/core/version.js"(exports) {
|
|
894
894
|
var Utils = require_utils(), ECCode = require_error_correction_code(), ECLevel = require_error_correction_level(), Mode = require_mode(), VersionCheck = require_version_check(), G18 = 7973, G18_BCH = Utils.getBCHDigit(G18);
|
|
895
895
|
function getBestVersionForDataLength(mode, length, errorCorrectionLevel) {
|
|
896
896
|
for (let currentVersion = 1; currentVersion <= 40; currentVersion++)
|
|
@@ -957,9 +957,9 @@
|
|
|
957
957
|
}
|
|
958
958
|
});
|
|
959
959
|
|
|
960
|
-
// ../../node_modules
|
|
960
|
+
// ../../node_modules/qrcode/lib/core/format-info.js
|
|
961
961
|
var require_format_info = __commonJS({
|
|
962
|
-
"../../node_modules
|
|
962
|
+
"../../node_modules/qrcode/lib/core/format-info.js"(exports) {
|
|
963
963
|
var Utils = require_utils(), G15 = 1335, G15_MASK = 21522, G15_BCH = Utils.getBCHDigit(G15);
|
|
964
964
|
exports.getEncodedBits = function(errorCorrectionLevel, mask) {
|
|
965
965
|
let data = errorCorrectionLevel.bit << 3 | mask, d = data << 10;
|
|
@@ -970,9 +970,9 @@
|
|
|
970
970
|
}
|
|
971
971
|
});
|
|
972
972
|
|
|
973
|
-
// ../../node_modules
|
|
973
|
+
// ../../node_modules/qrcode/lib/core/numeric-data.js
|
|
974
974
|
var require_numeric_data = __commonJS({
|
|
975
|
-
"../../node_modules
|
|
975
|
+
"../../node_modules/qrcode/lib/core/numeric-data.js"(exports, module) {
|
|
976
976
|
var Mode = require_mode();
|
|
977
977
|
function NumericData(data) {
|
|
978
978
|
this.mode = Mode.NUMERIC, this.data = data.toString();
|
|
@@ -997,9 +997,9 @@
|
|
|
997
997
|
}
|
|
998
998
|
});
|
|
999
999
|
|
|
1000
|
-
// ../../node_modules
|
|
1000
|
+
// ../../node_modules/qrcode/lib/core/alphanumeric-data.js
|
|
1001
1001
|
var require_alphanumeric_data = __commonJS({
|
|
1002
|
-
"../../node_modules
|
|
1002
|
+
"../../node_modules/qrcode/lib/core/alphanumeric-data.js"(exports, module) {
|
|
1003
1003
|
var Mode = require_mode(), ALPHA_NUM_CHARS = [
|
|
1004
1004
|
"0",
|
|
1005
1005
|
"1",
|
|
@@ -1071,9 +1071,9 @@
|
|
|
1071
1071
|
}
|
|
1072
1072
|
});
|
|
1073
1073
|
|
|
1074
|
-
// ../../node_modules
|
|
1074
|
+
// ../../node_modules/qrcode/lib/core/byte-data.js
|
|
1075
1075
|
var require_byte_data = __commonJS({
|
|
1076
|
-
"../../node_modules
|
|
1076
|
+
"../../node_modules/qrcode/lib/core/byte-data.js"(exports, module) {
|
|
1077
1077
|
var Mode = require_mode();
|
|
1078
1078
|
function ByteData(data) {
|
|
1079
1079
|
this.mode = Mode.BYTE, typeof data == "string" ? this.data = new TextEncoder().encode(data) : this.data = new Uint8Array(data);
|
|
@@ -1095,9 +1095,9 @@
|
|
|
1095
1095
|
}
|
|
1096
1096
|
});
|
|
1097
1097
|
|
|
1098
|
-
// ../../node_modules
|
|
1098
|
+
// ../../node_modules/qrcode/lib/core/kanji-data.js
|
|
1099
1099
|
var require_kanji_data = __commonJS({
|
|
1100
|
-
"../../node_modules
|
|
1100
|
+
"../../node_modules/qrcode/lib/core/kanji-data.js"(exports, module) {
|
|
1101
1101
|
var Mode = require_mode(), Utils = require_utils();
|
|
1102
1102
|
function KanjiData(data) {
|
|
1103
1103
|
this.mode = Mode.KANJI, this.data = data;
|
|
@@ -1131,9 +1131,9 @@ Make sure your charset is UTF-8`
|
|
|
1131
1131
|
}
|
|
1132
1132
|
});
|
|
1133
1133
|
|
|
1134
|
-
// ../../node_modules
|
|
1134
|
+
// ../../node_modules/dijkstrajs/dijkstra.js
|
|
1135
1135
|
var require_dijkstra = __commonJS({
|
|
1136
|
-
"../../node_modules
|
|
1136
|
+
"../../node_modules/dijkstrajs/dijkstra.js"(exports, module) {
|
|
1137
1137
|
"use strict";
|
|
1138
1138
|
var dijkstra = {
|
|
1139
1139
|
single_source_shortest_paths: function(graph, s, d) {
|
|
@@ -1201,9 +1201,9 @@ Make sure your charset is UTF-8`
|
|
|
1201
1201
|
}
|
|
1202
1202
|
});
|
|
1203
1203
|
|
|
1204
|
-
// ../../node_modules
|
|
1204
|
+
// ../../node_modules/qrcode/lib/core/segments.js
|
|
1205
1205
|
var require_segments = __commonJS({
|
|
1206
|
-
"../../node_modules
|
|
1206
|
+
"../../node_modules/qrcode/lib/core/segments.js"(exports) {
|
|
1207
1207
|
var Mode = require_mode(), NumericData = require_numeric_data(), AlphanumericData = require_alphanumeric_data(), ByteData = require_byte_data(), KanjiData = require_kanji_data(), Regex = require_regex(), Utils = require_utils(), dijkstra = require_dijkstra();
|
|
1208
1208
|
function getStringByteLength(str) {
|
|
1209
1209
|
return unescape(encodeURIComponent(str)).length;
|
|
@@ -1334,9 +1334,9 @@ Make sure your charset is UTF-8`
|
|
|
1334
1334
|
}
|
|
1335
1335
|
});
|
|
1336
1336
|
|
|
1337
|
-
// ../../node_modules
|
|
1337
|
+
// ../../node_modules/qrcode/lib/core/qrcode.js
|
|
1338
1338
|
var require_qrcode = __commonJS({
|
|
1339
|
-
"../../node_modules
|
|
1339
|
+
"../../node_modules/qrcode/lib/core/qrcode.js"(exports) {
|
|
1340
1340
|
var Utils = require_utils(), ECLevel = require_error_correction_level(), BitBuffer = require_bit_buffer(), BitMatrix = require_bit_matrix(), AlignmentPattern = require_alignment_pattern(), FinderPattern = require_finder_pattern(), MaskPattern = require_mask_pattern(), ECCode = require_error_correction_code(), ReedSolomonEncoder = require_reed_solomon_encoder(), Version = require_version(), FormatInfo = require_format_info(), Mode = require_mode(), Segments = require_segments();
|
|
1341
1341
|
function setupFinderPattern(matrix, version) {
|
|
1342
1342
|
let size = matrix.size, pos = FinderPattern.getPositions(version);
|
|
@@ -1464,9 +1464,9 @@ Minimum version required to store current data is: ` + bestVersion + `.
|
|
|
1464
1464
|
}
|
|
1465
1465
|
});
|
|
1466
1466
|
|
|
1467
|
-
// ../../node_modules
|
|
1467
|
+
// ../../node_modules/qrcode/lib/renderer/utils.js
|
|
1468
1468
|
var require_utils2 = __commonJS({
|
|
1469
|
-
"../../node_modules
|
|
1469
|
+
"../../node_modules/qrcode/lib/renderer/utils.js"(exports) {
|
|
1470
1470
|
function hex2rgba(hex) {
|
|
1471
1471
|
if (typeof hex == "number" && (hex = hex.toString()), typeof hex != "string")
|
|
1472
1472
|
throw new Error("Color should be defined as hex string");
|
|
@@ -1522,9 +1522,9 @@ Minimum version required to store current data is: ` + bestVersion + `.
|
|
|
1522
1522
|
}
|
|
1523
1523
|
});
|
|
1524
1524
|
|
|
1525
|
-
// ../../node_modules
|
|
1525
|
+
// ../../node_modules/qrcode/lib/renderer/canvas.js
|
|
1526
1526
|
var require_canvas = __commonJS({
|
|
1527
|
-
"../../node_modules
|
|
1527
|
+
"../../node_modules/qrcode/lib/renderer/canvas.js"(exports) {
|
|
1528
1528
|
var Utils = require_utils2();
|
|
1529
1529
|
function clearCanvas(ctx, canvas, size) {
|
|
1530
1530
|
ctx.clearRect(0, 0, canvas.width, canvas.height), canvas.style || (canvas.style = {}), canvas.height = size, canvas.width = size, canvas.style.height = size + "px", canvas.style.width = size + "px";
|
|
@@ -1551,9 +1551,9 @@ Minimum version required to store current data is: ` + bestVersion + `.
|
|
|
1551
1551
|
}
|
|
1552
1552
|
});
|
|
1553
1553
|
|
|
1554
|
-
// ../../node_modules
|
|
1554
|
+
// ../../node_modules/qrcode/lib/renderer/svg-tag.js
|
|
1555
1555
|
var require_svg_tag = __commonJS({
|
|
1556
|
-
"../../node_modules
|
|
1556
|
+
"../../node_modules/qrcode/lib/renderer/svg-tag.js"(exports) {
|
|
1557
1557
|
var Utils = require_utils2();
|
|
1558
1558
|
function getColorAttrib(color, attrib) {
|
|
1559
1559
|
let alpha = color.a / 255, str = attrib + '="' + color.hex + '"';
|
|
@@ -1579,9 +1579,9 @@ Minimum version required to store current data is: ` + bestVersion + `.
|
|
|
1579
1579
|
}
|
|
1580
1580
|
});
|
|
1581
1581
|
|
|
1582
|
-
// ../../node_modules
|
|
1582
|
+
// ../../node_modules/qrcode/lib/browser.js
|
|
1583
1583
|
var require_browser = __commonJS({
|
|
1584
|
-
"../../node_modules
|
|
1584
|
+
"../../node_modules/qrcode/lib/browser.js"(exports) {
|
|
1585
1585
|
var canPromise = require_can_promise(), QRCode2 = require_qrcode(), CanvasRenderer = require_canvas(), SvgRenderer = require_svg_tag();
|
|
1586
1586
|
function renderCanvas(renderFunc, canvas, text, opts, cb) {
|
|
1587
1587
|
let args = [].slice.call(arguments, 1), argsNum = args.length, isLastArgCb = typeof args[argsNum - 1] == "function";
|