update to latest preset converter and pass in lambda URL (#641)

This commit is contained in:
jberg 2018-08-22 18:40:03 -07:00 committed by Jordan Eldredge
parent 4c2e4ace8f
commit 988e902f65
3 changed files with 10 additions and 5 deletions

View File

@ -103,7 +103,12 @@ export default class Presets {
async require => {
const { convertPreset } = require("milkdrop-preset-converter-aws");
try {
resolve(convertPreset(file));
resolve(
convertPreset(
file,
"https://p2tpeb5v8b.execute-api.us-east-2.amazonaws.com/default/milkdropShaderConverter"
)
);
} catch (e) {
reject(e);
}

View File

@ -87,7 +87,7 @@
"jest-runner-eslint": "^0.4.0",
"jsmediatags": "^3.8.1",
"jszip": "^3.1.3",
"milkdrop-preset-converter-aws": "^0.0.10",
"milkdrop-preset-converter-aws": "^0.1.0",
"prettier": "^1.13.0",
"prop-types": "^15.5.10",
"puppeteer": "^1.4.0",

View File

@ -5349,9 +5349,9 @@ milkdrop-eel-parser@^0.0.1:
version "0.0.1"
resolved "https://registry.yarnpkg.com/milkdrop-eel-parser/-/milkdrop-eel-parser-0.0.1.tgz#1c1a82bb7877d9df6d45e6f0b602b4cd1a5dc26d"
milkdrop-preset-converter-aws@^0.0.10:
version "0.0.10"
resolved "https://registry.yarnpkg.com/milkdrop-preset-converter-aws/-/milkdrop-preset-converter-aws-0.0.10.tgz#0519ec68e6b560e55f3aa0bd399660ba95acf275"
milkdrop-preset-converter-aws@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/milkdrop-preset-converter-aws/-/milkdrop-preset-converter-aws-0.1.0.tgz#d73efc384c04d581d5c16eb713c6b0241286788b"
dependencies:
babel-runtime "^6.26.0"
glsl-optimizer-js "^0.0.2"