Skip to content

Commit 0c850a5

Browse files
author
Michael-F-Bryan
committed
fix!: Changed the package.json so importing @wasmer/sdk will pull in the version with wasmer_js_bg.wasm embedded as a base64 string, by default
Release-As: 0.6.0
1 parent 9beb54b commit 0c850a5

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

examples/markdown-editor-improved/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { init, Wasmer, Command } from "@wasmer/sdk/dist/WasmerSDKBundled.js";
1+
import { init, Wasmer, Command } from "@wasmer/sdk";
22

33
async function initialize() {
44
await init();

examples/markdown-editor/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { init, runWasix } from "@wasmer/sdk/dist/WasmerSDKBundled.js";
1+
import { init, runWasix } from "@wasmer/sdk";
22
import markdownRendererUrl from "./markdown-renderer/target/wasm32-wasi/release/markdown-renderer.wasm?url";
33

44
async function initialize() {

examples/wasmer.sh/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ async function main() {
1313
// same chunk as @wasmer/sdk, each Web Worker will try to run this code and
1414
// crash.
1515
// See https://github.com/wasmerio/wasmer-js/issues/373
16-
const { Wasmer, init, initializeLogger } = await import("@wasmer/sdk/dist/WasmerSDKBundled");
16+
const { Wasmer, init, initializeLogger } = await import("@wasmer/sdk");
1717

1818
await init();
1919
initializeLogger("debug");

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "@wasmer/sdk",
33
"version": "0.5.1",
4-
"main": "dist/WasmerSDK.cjs",
5-
"module": "dist/WasmerSDK.js",
6-
"unpkg": "dist/WasmerSDK.umd.js",
7-
"types": "dist/WasmerSDK.d.ts",
4+
"main": "dist/WasmerSDKBundled.js",
5+
"unpkg": "dist/WasmerSDKBundled.umd.js",
6+
"module": "dist/WasmerSDKBundled.js",
7+
"types": "dist/WasmerSDKBundled.d.ts",
88
"keywords": [
99
"webassembly",
1010
"wasm",

0 commit comments

Comments
 (0)