@krx3d/tizentube2 1.13.30 → 1.14.570

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 CHANGED
@@ -38819,6 +38819,7 @@ function pathToRegexp(path, keys, options) {
38819
38819
  }
38820
38820
  pos = offset + match.length;
38821
38821
  if (match === '*') {
38822
+ backtrack = '';
38822
38823
  extraOffset += 3;
38823
38824
  return '(.*)';
38824
38825
  }
@@ -38839,6 +38840,7 @@ function pathToRegexp(path, keys, options) {
38839
38840
  offset: offset + extraOffset
38840
38841
  });
38841
38842
  var result = '(?:' + format + slash + capture + (star ? '((?:[/' + format + '].+?)?)' : '') + ')' + optional;
38843
+ backtrack = '';
38842
38844
  extraOffset += result.length - match.length;
38843
38845
  return result;
38844
38846
  });
@@ -50300,22 +50302,7 @@ var dial = peerDial;
50300
50302
  var express = express$1;
50301
50303
  var cors = libExports;
50302
50304
  var app = express();
50303
- var allowedOrigins = ['http://localhost:3000'];
50304
- var corsOptions = {
50305
- origin: function origin(_origin, callback) {
50306
- if (!_origin) {
50307
- return callback(null, true);
50308
- }
50309
- if (allowedOrigins.indexOf(_origin) !== -1) {
50310
- return callback(null, true);
50311
- }
50312
- return callback(new Error('Not allowed by CORS'));
50313
- },
50314
- methods: 'GET,HEAD,PUT,PATCH,POST,DELETE',
50315
- credentials: true,
50316
- optionsSuccessStatus: 204
50317
- };
50318
- app.use(cors(corsOptions));
50305
+ app.use(cors());
50319
50306
  var PORT = 8085;
50320
50307
  var apps = {
50321
50308
  "YouTube": {
@@ -50327,7 +50314,7 @@ var apps = {
50327
50314
  launch: function launch(launchData) {
50328
50315
  var tbPackageId = tizen.application.getAppInfo().packageId;
50329
50316
  tizen.application.launchAppControl(new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/view", null, null, null, [new tizen.ApplicationControlData("module", [JSON.stringify({
50330
- moduleName: '@foxreis/tizentube',
50317
+ moduleName: '@krx3d/tizentube2',
50331
50318
  moduleType: 'npm',
50332
50319
  args: launchData
50333
50320
  })])]), "".concat(tbPackageId, ".TizenBrewStandalone"));