This commit is contained in:
@@ -62,6 +62,11 @@ npm run index # regenerates index.json
|
||||
npm run release # both
|
||||
```
|
||||
|
||||
> `@source/presence-sdk` is **not** a published npm package. The build pipeline
|
||||
> aliases it to a local runtime shim ([scripts/sdk-runtime.mjs](scripts/sdk-runtime.mjs))
|
||||
> at bundle time, and TypeScript resolves the import to a local `.d.ts`
|
||||
> ([types/presence-sdk.d.ts](types/presence-sdk.d.ts)). Don't add it to `package.json`.
|
||||
|
||||
## Presence API
|
||||
|
||||
`PresenceDefinition` shape (also defined in [`types/presence-sdk.d.ts`](types/presence-sdk.d.ts)):
|
||||
|
||||
Reference in New Issue
Block a user