- Added support for star selectors (
domain/*
). When defined, the star selector will be used as a fallback for undefined selectors. The intended use of this feature is implementing domains that use some form of RPC.
- Added
'sbp/domains/lock'
. Stronger protection than'sbp/selectors/lock'
, prevents rogue code from accessing domain state. h/t @snowteamer
- Added
'sbp/selectors/lock'
. Make sure to call this after overwriting any unsafe selectors! - Improved console warnings
- Fixed typo in NPM description. No source changes.
- reduced size of
dist/main.cjs
by updating"browserslist"
- Remembered to build 2.0.0 this time and added some tests
- Selectors are locked by default. Use
'sbp/selectors/unsafe'
before registering selectors that you intend to overwrite. - Switched to MIT License with board approval.
- Actually build the previous changes
- Locked the
sbp
domain
- Bump version to fix confusion caused by moving to scoped NPM package. This version is identical to the previous one.
- initial release