-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Custom SDK Agents + global
sw.config.js
(#605)
* change logic for defining sdk agents, add global swConfig file * add changeset * change name
- Loading branch information
Showing
3 changed files
with
56 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
'@sw-internal/build': patch | ||
'@signalwire/compatibility-api': patch | ||
'@signalwire/core': patch | ||
'@signalwire/js': patch | ||
'@signalwire/node': patch | ||
'@signalwire/react-native': patch | ||
'@signalwire/realtime-api': patch | ||
'@signalwire/web-api': patch | ||
'@signalwire/webrtc': patch | ||
--- | ||
|
||
[internal] change how the SDK agent is defined |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
module.exports = { | ||
agents: { | ||
// Maps packages to agent-name. Take into account that | ||
// these names are just a part within the fully | ||
// qualified agent sent to the server: | ||
// @signalwire/<platform>/<sdk-name>/<x.y.x> | ||
byName: { | ||
'@signalwire/realtime-api': 'nodejs/realtime-api', | ||
'@signalwire/js': 'js/browser', | ||
'@signalwire/compatibility-api': 'nodejs/compatibility-api', | ||
}, | ||
}, | ||
utilityPackages: ['@signalwire/core', '@signalwire/webrtc'], | ||
} |