diff --git a/app/package.json b/app/package.json
index 14e38fc4..238caef2 100644
--- a/app/package.json
+++ b/app/package.json
@@ -1,6 +1,6 @@
{
"name": "micropad",
- "version": "4.2.6",
+ "version": "4.2.8",
"private": true,
"scripts": {
"preinstall": "python3 ../libs/build-libs.py && ./get_precache_files.py > src/extraPrecacheFiles.ts",
diff --git a/app/src/app/components/sync/SyncProErrorComponent.tsx b/app/src/app/components/sync/SyncProErrorComponent.tsx
index 12d3d8f5..82eb5287 100644
--- a/app/src/app/components/sync/SyncProErrorComponent.tsx
+++ b/app/src/app/components/sync/SyncProErrorComponent.tsx
@@ -17,7 +17,7 @@ export const SyncProErrorComponent = () => (
The bad news is that these notepads take up a lot more resources to keep in-sync.
- To sync this notepad you'll need to upgrade to {SYNC_NAME} Pro for less than the price of a cup of coffee:
+ To sync this notebook you'll need to upgrade to {SYNC_NAME} Pro for less than the price of a cup of coffee:
window.open(`${MICROPAD_URL}/sync/manage`, '_blank')}>Upgrade here
diff --git a/app/src/app/components/sync/sync-options/SyncOptionsComponent.tsx b/app/src/app/components/sync/sync-options/SyncOptionsComponent.tsx
index 1a019787..178d83a0 100644
--- a/app/src/app/components/sync/sync-options/SyncOptionsComponent.tsx
+++ b/app/src/app/components/sync/sync-options/SyncOptionsComponent.tsx
@@ -36,7 +36,7 @@ export default class SyncOptionsComponent extends React.Component addNotepad(syncState.user, notepad.title)}>
- Start syncing this notepad
+ Start syncing this notebook
}
{
diff --git a/app/src/unsupported-page/feature-detect.ts b/app/src/unsupported-page/feature-detect.ts
index e6e040a2..cd762670 100644
--- a/app/src/unsupported-page/feature-detect.ts
+++ b/app/src/unsupported-page/feature-detect.ts
@@ -3,7 +3,7 @@ export async function hasRequiredFeatures(): Promise {
return true;
}
- return doesSupportSrcDoc() && hasUrlHelperClasses();
+ return doesSupportSrcDoc() && hasUrlHelperClasses() && supportsWebAssembly();
}
export function shouldIgnoreCompatibility(): boolean {
@@ -22,3 +22,7 @@ function hasUrlHelperClasses(): boolean {
return !!new URLSearchParams(url.search);
} catch (_) { return false; }
}
+
+function supportsWebAssembly(): boolean {
+ return typeof WebAssembly === 'object' && typeof WebAssembly.instantiate === 'function';
+}
diff --git a/app/yarn.lock b/app/yarn.lock
index cd266c4f..7761d625 100644
--- a/app/yarn.lock
+++ b/app/yarn.lock
@@ -11804,9 +11804,9 @@ __metadata:
linkType: hard
"word-wrap@npm:~1.2.3":
- version: 1.2.3
- resolution: "word-wrap@npm:1.2.3"
- checksum: 30b48f91fcf12106ed3186ae4fa86a6a1842416df425be7b60485de14bec665a54a68e4b5156647dec3a70f25e84d270ca8bc8cd23182ed095f5c7206a938c1f
+ version: 1.2.4
+ resolution: "word-wrap@npm:1.2.4"
+ checksum: 8f1f2e0a397c0e074ca225ba9f67baa23f99293bc064e31355d426ae91b8b3f6b5f6c1fc9ae5e9141178bb362d563f55e62fd8d5c31f2a77e3ade56cb3e35bd1
languageName: node
linkType: hard