@meteorwallet/connect-shared
v0.2.0
Published
Readme
@meteorwallet/connect-shared
Shared schemas, types, errors and action/realm definitions for Meteor Wallet Connect.
This package is the common layer between @meteorwallet/connect
(the client) and the Meteor Connect backend. It contains the valibot schemas, the typed
@nice-code/action channel and runtime definitions, the bridge realm definition, and the shared
error domain — everything both sides of a connection must agree on.
Most consumers do not need to install this directly: @meteorwallet/connect depends on it and
re-exports what a client application needs. Install it when you are implementing something against
the Meteor Connect protocol itself and need the raw schemas.
Installation
npm install @meteorwallet/connect-shared
# or
bun add @meteorwallet/connect-sharedUsage
import {
bridge_action_channel,
bridge_realm,
merr_meteor_connect,
} from "@meteorwallet/connect-shared";The package ships both ESM and CommonJS builds with full type declarations for each.
License
MIT
