Skip to content

Commit 989209f

Browse files
committed
docs(plans): link the upstream protect-ffi blocker for #798 stage 4
cipherstash/protectjs-ffi#142 — WASM .d.ts types every opts as `any` and exports no option types, so CryptoBackend must import them from the native specifier.
1 parent 3eae0c1 commit 989209f

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

docs/plans/798-shared-operation-layer.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,10 @@ Two consequences follow, and they are the same root cause:
165165
type-checking at all. The one interface that was supposed to keep the two
166166
bindings honest checks only one of them.
167167
168-
**The fix is upstream, in protect-ffi**: have the WASM `.d.ts` use the same
169-
named option types as the Node-API one, rather than `any`. Failing that, a
170-
runtime-free `./types` subpath both entries re-export. Either makes
168+
**The fix is upstream, in protect-ffi** — filed as
169+
cipherstash/protectjs-ffi#142: have the WASM `.d.ts` use the same named option
170+
types as the Node-API one, rather than `any`. Failing that, a runtime-free
171+
`./types` subpath both entries re-export. Either makes
171172
`CryptoBackend` a genuinely shared contract instead of the native types being
172173
borrowed to describe both bindings — which is what this whole issue is after.
173174
Until then, stage 4 either ships unresolvable types or duplicates the operation

0 commit comments

Comments
 (0)