Skip to content

Commit

Permalink
Bump Extension to 0.2.3 (#1398)
Browse files Browse the repository at this point in the history
  • Loading branch information
wirednkod committed Mar 17, 2023
1 parent 9de3a0d commit 3911d97
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 21 deletions.
4 changes: 3 additions & 1 deletion projects/extension/CHANGELOG.md
Expand Up @@ -2,9 +2,11 @@

## [Unreleased]

## 0.2.3 - 2023-03-16

### Changed

- 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))
- 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))

## 0.2.2 - 2022-11-18

Expand Down
6 changes: 3 additions & 3 deletions projects/extension/package.json
@@ -1,6 +1,6 @@
{
"name": "@substrate/extension",
"version": "0.2.2",
"version": "0.2.3",
"description": "Browser extension to manage substrate-based blockchain light clients",
"main": "dist/src/index.js",
"author": "Parity Technologies",
Expand Down Expand Up @@ -31,10 +31,10 @@
},
"dependencies": {
"@substrate/connect-extension-protocol": "^1.0.1",
"@substrate/smoldot-light": "0.7.9",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hot-loader": "^4.13.1",
"react-icons": "^4.6.0"
"react-icons": "^4.6.0",
"smoldot": "1.0.0"
}
}
2 changes: 1 addition & 1 deletion projects/extension/public/manifest.json
Expand Up @@ -4,7 +4,7 @@
"homepage_url": "https://github.com/paritytech/substrate-connect",
"name": "Substrate Connect Extension",
"short_name": "substrate-connect",
"version": "0.2.2",
"version": "0.2.3",
"manifest_version": 2,
"permissions": ["notifications", "storage", "tabs", "alarms"],
"background": {
Expand Down
2 changes: 1 addition & 1 deletion projects/extension/src/background/index.ts
Expand Up @@ -3,7 +3,7 @@ import ksmcc3 from "../../public/assets/ksmcc3.json"
import polkadot from "../../public/assets/polkadot.json"
import rococo_v2_2 from "../../public/assets/rococo_v2_2.json"

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

import { ToContentScript, ToExtension } from "./protocol"
import * as environment from "../environment"
Expand Down
4 changes: 2 additions & 2 deletions projects/extension/src/content/ClientWithExtension.ts
Expand Up @@ -6,11 +6,11 @@ import {
start as startSmoldotClient,
QueueFullError,
MalformedJsonRpcError,
} from "@substrate/smoldot-light"
} from "smoldot"

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

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

export class SmoldotClientWithExtension {
#client: SmoldotClient
Expand Down
2 changes: 1 addition & 1 deletion projects/extension/src/mocks.ts
Expand Up @@ -2,7 +2,7 @@ import {
ToApplication,
ToExtension,
} from "@substrate/connect-extension-protocol"
import { AddChainOptions, Chain, Client } from "@substrate/smoldot-light"
import { AddChainOptions, Chain, Client } from "smoldot"

const noop: any = Function.prototype

Expand Down
2 changes: 1 addition & 1 deletion projects/extension/webpack.config.js
Expand Up @@ -93,7 +93,7 @@ const config = {
}),
new webpack.EnvironmentPlugin({
PKG_NAME: "@substrate/extension",
PKG_VERSION: "0.2.2",
PKG_VERSION: "0.2.3",
}),
],
optimization: {
Expand Down
12 changes: 1 addition & 11 deletions yarn.lock
Expand Up @@ -4317,7 +4317,6 @@ __metadata:
resolution: "@substrate/extension@workspace:projects/extension"
dependencies:
"@substrate/connect-extension-protocol": ^1.0.1
"@substrate/smoldot-light": 0.7.9
autoprefixer: ^10.4.13
eslint: ^8.27.0
jest-chrome: ^0.7.2
Expand All @@ -4328,21 +4327,12 @@ __metadata:
react-dom: ^18.2.0
react-hot-loader: ^4.13.1
react-icons: ^4.6.0
smoldot: 1.0.0
tailwindcss: ^3.2.4
web-ext: ^7.3.1
languageName: unknown
linkType: soft

"@substrate/smoldot-light@npm:0.7.9":
version: 0.7.9
resolution: "@substrate/smoldot-light@npm:0.7.9"
dependencies:
pako: ^2.0.4
ws: ^8.8.1
checksum: d378ab3330734c3efbbba67fdd49e4ecb45e0ae9cd6539090e22718fd06f3eaeadcc520c030c8b16b30745a4a295c0ad406d3c61ddd37c50204722e251fcc6b9
languageName: node
linkType: hard

"@substrate/ss58-registry@npm:^1.38.0":
version: 1.38.0
resolution: "@substrate/ss58-registry@npm:1.38.0"
Expand Down

0 comments on commit 3911d97

Please sign in to comment.