# `internal` compat shim

`@meteorwallet/connect-shared/internal` exists only in the package `exports` map. Resolvers that
read `exports` — Node, Vite, webpack 5, Rollup — resolve it to `build/internal.*` and never look at
this directory.

Parcel's default resolver does not read `exports` unless a consumer opts in with
`"@parcel/resolver-default": { "packageExports": true }`. Without this shim it falls back to legacy
resolution, finds no `internal.js` and no `internal/` directory, and fails the build with:

```
@parcel/resolver-default: Cannot load file './internal' from module '@meteorwallet/connect-shared'
```

That is not hypothetical: `@meteorwallet/connect` imports this subpath, so *every* Parcel consumer
of `@meteorwallet/sdk` hit it (REVIEW-consumer-implementation B-01/M-05). The shim makes legacy
resolution land on the same code the `exports` map points at.

It does not widen the API. `/internal` remains backend-internal and may change without a
SemVer-major bump; consumer code should import from `@meteorwallet/connect-shared`.
