Skip to content

Commit 3911d97

Browse files
authored
Bump Extension to 0.2.3 (#1398)
1 parent 9de3a0d commit 3911d97

File tree

8 files changed

+13
-21
lines changed

8 files changed

+13
-21
lines changed

projects/extension/CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22

33
## [Unreleased]
44

5+
## 0.2.3 - 2023-03-16
6+
57
### Changed
68

7-
- Update @substrate/smoldot-light to [version 0.7.9](https://github.com/paritytech/smoldot/blob/main/bin/wasm-node/CHANGELOG.md#079---2022-11-28). ([#1361](https://github.com/paritytech/substrate-connect/pull/1361))
9+
- Update @substrate/smoldot-light to smoldot@[version 1.0.0](https://github.com/smol-dot/smoldot/blob/main/wasm-node/CHANGELOG.md#100---2022-03-12). ([#1398](https://github.com/paritytech/substrate-connect/pull/1398))
810

911
## 0.2.2 - 2022-11-18
1012

projects/extension/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@substrate/extension",
3-
"version": "0.2.2",
3+
"version": "0.2.3",
44
"description": "Browser extension to manage substrate-based blockchain light clients",
55
"main": "dist/src/index.js",
66
"author": "Parity Technologies",
@@ -31,10 +31,10 @@
3131
},
3232
"dependencies": {
3333
"@substrate/connect-extension-protocol": "^1.0.1",
34-
"@substrate/smoldot-light": "0.7.9",
3534
"react": "^18.2.0",
3635
"react-dom": "^18.2.0",
3736
"react-hot-loader": "^4.13.1",
38-
"react-icons": "^4.6.0"
37+
"react-icons": "^4.6.0",
38+
"smoldot": "1.0.0"
3939
}
4040
}

projects/extension/public/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"homepage_url": "https://github.com/paritytech/substrate-connect",
55
"name": "Substrate Connect Extension",
66
"short_name": "substrate-connect",
7-
"version": "0.2.2",
7+
"version": "0.2.3",
88
"manifest_version": 2,
99
"permissions": ["notifications", "storage", "tabs", "alarms"],
1010
"background": {

projects/extension/src/background/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import ksmcc3 from "../../public/assets/ksmcc3.json"
33
import polkadot from "../../public/assets/polkadot.json"
44
import rococo_v2_2 from "../../public/assets/rococo_v2_2.json"
55

6-
import { start as smoldotStart } from "@substrate/smoldot-light"
6+
import { start as smoldotStart } from "smoldot"
77

88
import { ToContentScript, ToExtension } from "./protocol"
99
import * as environment from "../environment"

projects/extension/src/content/ClientWithExtension.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ import {
66
start as startSmoldotClient,
77
QueueFullError,
88
MalformedJsonRpcError,
9-
} from "@substrate/smoldot-light"
9+
} from "smoldot"
1010

1111
import { ToExtension, ToContentScript } from "../background/protocol"
1212

13-
export { MalformedJsonRpcError } from "@substrate/smoldot-light"
13+
export { MalformedJsonRpcError } from "smoldot"
1414

1515
export class SmoldotClientWithExtension {
1616
#client: SmoldotClient

projects/extension/src/mocks.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {
22
ToApplication,
33
ToExtension,
44
} from "@substrate/connect-extension-protocol"
5-
import { AddChainOptions, Chain, Client } from "@substrate/smoldot-light"
5+
import { AddChainOptions, Chain, Client } from "smoldot"
66

77
const noop: any = Function.prototype
88

projects/extension/webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ const config = {
9393
}),
9494
new webpack.EnvironmentPlugin({
9595
PKG_NAME: "@substrate/extension",
96-
PKG_VERSION: "0.2.2",
96+
PKG_VERSION: "0.2.3",
9797
}),
9898
],
9999
optimization: {

yarn.lock

+1-11
Original file line numberDiff line numberDiff line change
@@ -4317,7 +4317,6 @@ __metadata:
43174317
resolution: "@substrate/extension@workspace:projects/extension"
43184318
dependencies:
43194319
"@substrate/connect-extension-protocol": ^1.0.1
4320-
"@substrate/smoldot-light": 0.7.9
43214320
autoprefixer: ^10.4.13
43224321
eslint: ^8.27.0
43234322
jest-chrome: ^0.7.2
@@ -4328,21 +4327,12 @@ __metadata:
43284327
react-dom: ^18.2.0
43294328
react-hot-loader: ^4.13.1
43304329
react-icons: ^4.6.0
4330+
smoldot: 1.0.0
43314331
tailwindcss: ^3.2.4
43324332
web-ext: ^7.3.1
43334333
languageName: unknown
43344334
linkType: soft
43354335

4336-
"@substrate/smoldot-light@npm:0.7.9":
4337-
version: 0.7.9
4338-
resolution: "@substrate/smoldot-light@npm:0.7.9"
4339-
dependencies:
4340-
pako: ^2.0.4
4341-
ws: ^8.8.1
4342-
checksum: d378ab3330734c3efbbba67fdd49e4ecb45e0ae9cd6539090e22718fd06f3eaeadcc520c030c8b16b30745a4a295c0ad406d3c61ddd37c50204722e251fcc6b9
4343-
languageName: node
4344-
linkType: hard
4345-
43464336
"@substrate/ss58-registry@npm:^1.38.0":
43474337
version: 1.38.0
43484338
resolution: "@substrate/ss58-registry@npm:1.38.0"

0 commit comments

Comments
 (0)