chore: update enigma (#1169)

* chore: update enigma

* chore: update schemas as well
This commit is contained in:
Tobias Åström
2023-03-21 14:53:25 +01:00
committed by GitHub
parent b7d38ce2c0
commit 48736a8684
13 changed files with 17 additions and 12 deletions

View File

@@ -2,7 +2,7 @@ import enigma from 'enigma.js';
export default function connect() {
const loadSchema = () =>
fetch('https://unpkg.com/enigma.js/schemas/12.936.0.json').then((response) => response.json());
fetch('https://unpkg.com/enigma.js/schemas/12.1657.0.json').then((response) => response.json());
const createConnection = () =>
loadSchema().then((schema) =>

View File

@@ -42,7 +42,7 @@ import enigma from 'enigma.js';
export default function connect() {
const loadSchema = () =>
fetch('https://unpkg.com/enigma.js/schemas/12.936.0.json').then((response) => response.json());
fetch('https://unpkg.com/enigma.js/schemas/12.1657.0.json').then((response) => response.json());
const localApp = '/apps/Ctrl-00.qvf';
const createConnection = () =>

View File

@@ -2,7 +2,7 @@ import enigma from 'enigma.js';
export default function connect() {
const loadSchema = () =>
fetch('https://unpkg.com/enigma.js/schemas/12.936.0.json').then((response) => response.json());
fetch('https://unpkg.com/enigma.js/schemas/12.1657.0.json').then((response) => response.json());
const createConnection = () =>
loadSchema().then((schema) =>

View File

@@ -1,6 +1,6 @@
window.connect = function connect() {
const loadSchema = () =>
fetch('https://unpkg.com/enigma.js/schemas/12.936.0.json').then((response) => response.json());
fetch('https://unpkg.com/enigma.js/schemas/12.1657.0.json').then((response) => response.json());
const createConnection = () =>
loadSchema().then((schema) =>