Skip to content

Commit 9df0fd2

Browse files
dannyhaakclaude
andcommitted
chore: bump npm package to 3.0.3 and fix WASM trimmer for RuntimeInformation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e97587c commit 9df0fd2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

npm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mimasu/tdt",
3-
"version": "3.0.0",
3+
"version": "3.0.3",
44
"description": "GS1 EPC Tag Data Translation for JavaScript/TypeScript and RAIN (UHF) RFID via WebAssembly. Encode and decode SGTIN, SSCC, SGLN, GRAI, and all EPC schemes.",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",

sdk/wasm/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
// WASM entry point — required by the runtime but unused for library-style interop
2+
// force the trimmer to preserve RuntimeInformation (Mono WASM resolves it by token at startup)
3+
_ = System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription;
24
return 0;

0 commit comments

Comments
 (0)