@ohos-ports/services
v2.0.7-beta.1
Published
MUD services for enhanced interactions with on-chain ECS state (ohos-ports beta port)
Maintainers
Keywords
Readme
DEPRECATED
ohos-ports beta port notes
This is a beta port of upstream @latticexyz/[email protected] (MIT, © Lattice / MUD authors) for OpenHarmony. Dependencies are unchanged from upstream.
Patch applied: the package entry (dist/faucet.js and its TS source ts/faucet/index.ts)
now imports a side-effect module _self-polyfill.js as its first import, which assigns
globalThis.self = globalThis when self is undefined. This fixes
ReferenceError: self is not defined thrown by @improbable-eng/[email protected] (the default
browser transport reached via nice-grpc-web createChannel(url)) when
createFaucetService(url) is used in Node on OpenHarmony.
