@krx3d/tizentube2 1.13.410 → 1.14.870
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/dist/service.js +4 -19
- package/dist/userScript.js +2 -14
- package/package.json +1 -1
package/dist/service.js
CHANGED
|
@@ -35569,7 +35569,7 @@ function requireSideChannelList() {
|
|
|
35569
35569
|
};
|
|
35570
35570
|
}
|
|
35571
35571
|
// eslint-disable-next-line no-extra-parens
|
|
35572
|
-
listSet(
|
|
35572
|
+
listSet(/** @type {NonNullable<typeof $o>} */$o, key, value);
|
|
35573
35573
|
}
|
|
35574
35574
|
};
|
|
35575
35575
|
// @ts-expect-error TODO: figure out why this is erroring
|
|
@@ -36507,7 +36507,7 @@ function requireCallBound() {
|
|
|
36507
36507
|
|
|
36508
36508
|
var intrinsic = /** @type {(this: unknown, ...args: unknown[]) => unknown} */GetIntrinsic(name, !!allowMissing);
|
|
36509
36509
|
if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
|
|
36510
|
-
return callBindBasic(
|
|
36510
|
+
return callBindBasic(/** @type {const} */[intrinsic]);
|
|
36511
36511
|
}
|
|
36512
36512
|
return intrinsic;
|
|
36513
36513
|
};
|
|
@@ -50302,22 +50302,7 @@ var dial = peerDial;
|
|
|
50302
50302
|
var express = express$1;
|
|
50303
50303
|
var cors = libExports;
|
|
50304
50304
|
var app = express();
|
|
50305
|
-
|
|
50306
|
-
var corsOptions = {
|
|
50307
|
-
origin: function origin(_origin, callback) {
|
|
50308
|
-
if (!_origin) {
|
|
50309
|
-
return callback(null, true);
|
|
50310
|
-
}
|
|
50311
|
-
if (allowedOrigins.indexOf(_origin) !== -1) {
|
|
50312
|
-
return callback(null, true);
|
|
50313
|
-
}
|
|
50314
|
-
return callback(new Error('Not allowed by CORS'));
|
|
50315
|
-
},
|
|
50316
|
-
methods: 'GET,HEAD,PUT,PATCH,POST,DELETE',
|
|
50317
|
-
credentials: true,
|
|
50318
|
-
optionsSuccessStatus: 204
|
|
50319
|
-
};
|
|
50320
|
-
app.use(cors(corsOptions));
|
|
50305
|
+
app.use(cors());
|
|
50321
50306
|
var PORT = 8085;
|
|
50322
50307
|
var apps = {
|
|
50323
50308
|
"YouTube": {
|
|
@@ -50329,7 +50314,7 @@ var apps = {
|
|
|
50329
50314
|
launch: function launch(launchData) {
|
|
50330
50315
|
var tbPackageId = tizen.application.getAppInfo().packageId;
|
|
50331
50316
|
tizen.application.launchAppControl(new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/view", null, null, null, [new tizen.ApplicationControlData("module", [JSON.stringify({
|
|
50332
|
-
moduleName: '@
|
|
50317
|
+
moduleName: '@krx3d/tizentube2',
|
|
50333
50318
|
moduleType: 'npm',
|
|
50334
50319
|
args: launchData
|
|
50335
50320
|
})])]), "".concat(tbPackageId, ".TizenBrewStandalone"));
|