- Updated dependencies [8b9cb46]
- @substrate/[email protected]
- Updated dependencies [654165c]
- @substrate/[email protected]
- Updated dependencies [37910d7]
- @substrate/[email protected]
- ff20390: chore: update chainspecs
- f6cef04: chore: update changesets
- 7ee9c18: chore: update smoldot to 2.0.34
- 20eea99: chore: update smoldot
- Updated dependencies [ff20390]
- Updated dependencies [f6cef04]
- @substrate/[email protected]
-
09f1c22: chore(deps-dev): bump vitest from 2.0.5 to 2.1.4
Bumps vitest from 2.0.5 to 2.1.4.
updated-dependencies:
- dependency-name: vitest dependency-type: direct:development update-type: version-update:semver-minor ...
Signed-off-by: dependabot[bot] [email protected]
-
Updated dependencies [09f1c22]
-
Updated dependencies [9107ccc]
- @substrate/[email protected]
- @substrate/[email protected]
- @substrate/[email protected]
-
e2a5cef: ## Breaking Changes
- Modified
addChain
andaddWellKnownChain
methods:- Now accept a single
options
object parameter instead of separatejsonRpcCallback
anddatabaseContent
parameters - The
jsonRpcCallback
is now passed asoptions.jsonRpcCallback
- The
databaseContent
is now passed asoptions.databaseContent
- Now accept a single
- Removed
JsonRpcCallback
type export. Use the callback type from theoptions
parameter ofaddChain
andaddWellKnownChain
instead. - Updated peer dependency for
@substrate/smoldot-discovery
to "^2"
- Added new methods to the Chain interface to conform with smoldot's interface:
nextJsonRpcResponse
: Returns a promise that resolves with the next JSON-RPC responsejsonRpcResponses
: Returns an async iterable of JSON-RPC responses
- Updated internal implementation to use Effect for streaming JSON RPC responses in a Queue.
- Updated error handling to include
QueueFullError
.
Users of this package will need to update their code to use the new method signatures for
addChain
andaddWellKnownChain
, and adapt to the removedJsonRpcCallback
type export. Please refer to the updated documentation for the new usage patterns.When upgrading, ensure you're using version 3 or higher of
@substrate/smoldot-discovery
as a peer dependency. - Modified
- Updated dependencies [e2a5cef]
- @substrate/[email protected]
- Updated dependencies [a1a7412]
- @substrate/[email protected]
- 198b375: chore: catalog and upgrade papi dependencies
- Updated dependencies [f2163cb]
- Updated dependencies [198b375]
- Updated dependencies [0de443d]
- @substrate/[email protected]
- @substrate/[email protected]
- @substrate/[email protected]
- d0316d7: update docs
- Updated dependencies [972af65]
- Updated dependencies [b2c7737]
- @substrate/[email protected]
- b476e7e: update build system to tshy worker is now exported under "browser" conditional export instead of node. "node" conditional export removed.
- Updated dependencies [6014927]
- Updated dependencies [b476e7e]
- @substrate/[email protected]
- @substrate/[email protected]
- @substrate/[email protected]
- Updated dependencies [0bd81c2]
- Updated dependencies [076439e]
- Updated dependencies [bc9fe42]
- @substrate/[email protected]
-
0b3053e: chore(deps-dev): bump vitest from 1.6.0 to 2.0.5
Bumps vitest from 1.6.0 to 2.0.5.
updated-dependencies:
- dependency-name: vitest dependency-type: direct:development update-type: version-update:semver-major ...
Signed-off-by: dependabot[bot] [email protected]
-
Updated dependencies [1049be1]
- @substrate/[email protected]
- 80187a0: docs(substrate-connect): add polkadotjs example
- e8fef4e: update docs
- Updated dependencies [897f553]
- Updated dependencies [e8fef4e]
- Updated dependencies [0ce9864]
- Updated dependencies [4a45295]
- Updated dependencies [4a45295]
- @substrate/[email protected]
- @substrate/[email protected]
- e35a0e8: add paseo testnet
- cef7d50: update chainspecs
- Updated dependencies [e35a0e8]
- Updated dependencies [cef7d50]
- Updated dependencies [188bf5b]
- Updated dependencies [4123a5e]
- @substrate/[email protected]
- @substrate/[email protected]
- Updated dependencies [3efab80]
- @substrate/[email protected]
- 444503f: chore: update READMEs across repo
- Updated dependencies [444503f]
- Updated dependencies [f03e960]
- @substrate/[email protected]
- @substrate/[email protected]
- Updated dependencies [c358405]
- Updated dependencies [bdd728d]
- @substrate/[email protected]
- Updated dependencies [78ca884]
- @substrate/[email protected]
- 796c168: chore: update polkadot-api packages
- Updated dependencies [c69adf0]
- @substrate/[email protected]
- Updated dependencies [932dc47]
- @substrate/[email protected]
- Update internal usage of discovery protocol to use @substrate/smoldot-discovery instead of @substrate/connect-discovery
- Bump light client extension helpers
- Bump light client extension helpers
- Version bump
- Drop support for
lightClient:requestProvider
events #2221
- Add support for @substrate/discovery protocol #2221
- Update
@substrate/light-client-extension-helpers
to v0.1.0 - Update
@substrate/connect-known-chains
to v1.1.5
- Update
@substrate/light-client-extension-helpers
to v0.0.5 - Update
@substrate/connect-known-chains
to v1.1.4
- Update @polkadot-api/json-rpc-provider-proxy to v0.0.1 #2072
- Update @polkadot-api/substrate-client to v0.0.1 #2072
- Update smoldot@version 2.0.22 #1936
- Update
@substrate/light-client-extension-helpers
to v0.0.4 #1971
- Update
@substrate/light-client-extension-helpers
to v0.0.3 #1875
- Update smoldot@version 2.0.21 #1843
- Use LightClient provider announced by the extension with custom events #1845
- Use
@substrate/light-client-extension-helpers
(#1720) - Update smoldot@version 2.0.17 #1767
- Update smoldot@version 2.0.16 #1708
- Use
@polkadot-api/light-client-extension-helpers@0.0.1-4bc9bd71f8f37f800fec7a42775f403271903870.1.0
(#1709)
- Use
@polkadot-api/light-client-extension-helpers/web-page
(#1603)
- Update
@substrate/connect-known-chains@^1.0.2
- Use chain specifications from
@substrate/connect-known-chains
(#1647)
- Add
chain.addChain(...)
to substrate connect API (#1604)
- Update smoldot@version 2.0.13 (#1641)
- Update smoldot@version 2.0.7#1602
- Fix code-spliting issue (#1605)
- Update dependencies (#1606)
- Update smoldot@version 2.0.6#1572
- Use dynamic imports for well known chain (#1560)
- Add
@substrate/connect/worker
(#1525) - Update smoldot@version 2.0.1#1534
- Update smoldot@version 1.0.13#1493
- Update smoldot@version 1.0.11#1463
- Publish
src
folder.
- Update smoldot@version 1.0.9#1438
- Avoid importing json files (#1437)
- Update smoldot@version 1.0.4#1429
- Update smoldot@version 1.0.3 #1426
- Update smoldot@version 1.0.2#1420
- Switch Rococo bootnodes from WS to WSS(#1418)
- Switch to DNS name based bootnodes for Rococo (#1413)
- Fix broken link in docs (#1417)
- Update smoldot@version 1.0.1#1410
- Stop using dynamic imports in order to import the "well-known" specs, due to the fact that not all bundlers are able to handle dynamic imports gracefully on package's code.
- Update smoldot to version 1.0.0. (#1394)
- Update @substrate/smoldot-light to smoldot@version 0.7.11. (#1389)
- Update checkpoints in chain specification, in order to correct the breaking of substrate-connect that occurred due to an operational issue on the Westend validators(execution of a sudo initializer.forceApprove operation at block #14192316 to recover consensus). (#1377)
- Update @substrate/smoldot-light to version 0.7.9. (#1361)
- Update @substrate/smoldot-light to version 0.7.7. (#1345)
- Update @substrate/smoldot-light to version 0.7.5. (#1331)
- Update @substrate/smoldot-light to version 0.7.2. (#1300)
- Update @substrate/smoldot-light to version 0.6.34. (#1261)
- Update @substrate/smoldot-light to version 0.6.33. (#1248)
- Update @substrate/smoldot-light to version 0.6.32. (#1244)
- Update @substrate/smoldot-light to version 0.6.30. (#1213)
- Update @substrate/smoldot-light to version 0.6.27. (#1182)
- Alter configuration for supporting both ESM and CommonJS (CJS) (#1160)
- Update @substrate/smoldot-light to version 0.6.25. (#1160)
- Update @substrate/smoldot-light to version 0.6.23. (#1146)
- Update the Rococo chain specification to start after a forced authorities change. (#1107)
- Update @substrate/smoldot-light to version 0.6.19. (#1101)
- Fixed race condition causing failure to detect when the chain initialization fails when the extension is present (#1093).
- Added an optional configuration to
createScClient
that allows forcing the use of the embedded client, and customizing the maximum log level to use while the embedded client client is in use, allowing for better debuggability. (#1027, #1044)
- Update @substrate/smoldot-light to version 0.6.16 (#1048)
- Debug logs are no longer printed in the console. This should considerably decrease the number of messages being printed. (#1027)
- Replace the
rococo_v2_1
well-known chain withrococo_v2_2
(#1010) - The reason why the extension rejects a chain is now explained in the exception being thrown. (#968)
- Update @substrate/smoldot-light to version 0.6.15 (#955)
- Removed
createPolkadotJsScClient
from the API, as theScProvider
has been upstreamed to@polkadot/rpc-provider
. (#909)
- Fixed an issue when calling
chain.remove()
where it would throw anAlreadyDestroyedError
.
- Update @substrate/smoldot-light to version 0.6.13 (#919)
- The smoldot background worker will now bound its CPU usage to 50% of one CPU on average. (#900)
- Update @substrate/smoldot-light to version 0.6.9 (#901)
- The
isExtensionPresent
constant indicates whether the substrate-connect extension has been detected. (#869)
- Update @substrate/smoldot-light to version 0.6.8 (#890)
- Replace the
rococo_v2
well-known chain withrococo_v2_1
(#879) - The inline client ("SmoldotProvider") no longer tries to connect to non-WebSocket addresses. This was previously the case when using the library from within NodeJS. This change ensures consistency in terms of blockchain connectivity between browsers and NodeJS. (#863)
- The error message when passing an invalid well-known chain name to
addWellKnownChain
is no longer confusing. (#873)
- Fixed wrong unsubscription JSON-RPC methods being used when calling
ProviderInterface.disconnect()
(#842).