openclaw-threema 0.7.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.7.1 (2026-05-09)
4
+
5
+ ### Fixed
6
+ - **`tweetnacl-util` named-import broke under OpenClaw 2026.5.7's stricter ESM loader.** OC 2026.5.7 no longer accepts named-imports against CommonJS modules that use `module.exports = X`. The plugin failed to load with `SyntaxError: The requested module 'tweetnacl-util' does not provide an export named 'decodeUTF8'`.
7
+ - Fix: swapped `import { decodeUTF8 } from "tweetnacl-util"` for `import naclUtil from "tweetnacl-util"; const { decodeUTF8 } = naclUtil;` — same shape as how we already import `tweetnacl` itself.
8
+ - Mirror of the in-place hotfix that was applied to `dist/index.js` on 2026-05-08; this release pulls it back into source so it survives a fresh `npm install`.
9
+ - No behavior change. Drop-in upgrade from 0.7.0.
10
+
3
11
  ## 0.7.0 (2026-05-06)
4
12
 
5
13
  ### Added
package/dist/index.js CHANGED
@@ -6,7 +6,8 @@
6
6
  * Includes media (file message) support with audio transcription.
7
7
  */
8
8
  import nacl from "tweetnacl";
9
- import { decodeUTF8 } from "tweetnacl-util";
9
+ import naclUtil from "tweetnacl-util";
10
+ const { decodeUTF8 } = naclUtil;
10
11
  import * as fs from "fs";
11
12
  import * as path from "path";
12
13
  import { spawnSync } from "child_process";
package/index.ts CHANGED
@@ -7,7 +7,8 @@
7
7
  */
8
8
 
9
9
  import nacl from "tweetnacl";
10
- import { decodeUTF8 } from "tweetnacl-util";
10
+ import naclUtil from "tweetnacl-util";
11
+ const { decodeUTF8 } = naclUtil;
11
12
  import * as fs from "fs";
12
13
  import * as path from "path";
13
14
  import { spawnSync } from "child_process";
@@ -2,7 +2,7 @@
2
2
  "id": "threema",
3
3
  "name": "Threema Gateway",
4
4
  "description": "Threema messaging channel via Threema Gateway API (E2E encrypted)",
5
- "version": "0.7.0",
5
+ "version": "0.7.1",
6
6
  "channels": [
7
7
  "threema"
8
8
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openclaw-threema",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Threema Gateway channel plugin for OpenClaw",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -67,4 +67,4 @@
67
67
  "type": "git",
68
68
  "url": "https://github.com/azrael-solution/openclaw-threema"
69
69
  }
70
- }
70
+ }