Skip to content

Commit

Permalink
3.2.2 (#754)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogr authored Apr 29, 2023
1 parent 359230b commit 4a71023
Show file tree
Hide file tree
Showing 15 changed files with 267 additions and 266 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# CHANGELOG

## master
## 3.2.2 Apr 29, 2023

Changes:

- Add missing `react-is` peer dependency for `styled-components`
- Adjust compilation output for `__internal__` class fields
- Bump to `@polkadot/util` 12.1.1


## 3.2.1 Apr 22, 2023
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"sideEffects": false,
"type": "module",
"version": "3.2.2-0-x",
"version": "3.2.2",
"versions": {
"git": "3.2.2-0-x",
"npm": "3.2.1"
Expand All @@ -33,9 +33,9 @@
"test:one": "polkadot-dev-run-test --env browser"
},
"devDependencies": {
"@polkadot/dev": "^0.73.2",
"@polkadot/x-bundle": "^12.0.1",
"@types/node": "^18.16.0",
"@polkadot/dev": "^0.73.6",
"@polkadot/x-bundle": "^12.1.1",
"@types/node": "^18.16.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-is": "^18.2.0",
Expand Down
14 changes: 7 additions & 7 deletions packages/react-identicon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "3.2.2-0-x",
"version": "3.2.2",
"main": "index.js",
"dependencies": {
"@polkadot/keyring": "^12.0.1",
"@polkadot/ui-settings": "3.2.2-0-x",
"@polkadot/ui-shared": "3.2.2-0-x",
"@polkadot/util": "^12.0.1",
"@polkadot/util-crypto": "^12.0.1",
"@polkadot/keyring": "^12.1.1",
"@polkadot/ui-settings": "3.2.2",
"@polkadot/ui-shared": "3.2.2",
"@polkadot/util": "^12.1.1",
"@polkadot/util-crypto": "^12.1.1",
"ethereum-blockies-base64": "^1.0.2",
"jdenticon": "3.2.0",
"react-copy-to-clipboard": "^5.1.0",
Expand All @@ -34,7 +34,7 @@
},
"devDependencies": {
"@types/react-copy-to-clipboard": "^5.0.4",
"@types/react-dom": "^18.0.11",
"@types/react-dom": "^18.2.1",
"@types/styled-components": "^5.1.26",
"xmlserializer": "^0.6.1"
},
Expand Down
1 change: 0 additions & 1 deletion packages/react-identicon/src/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
// SPDX-License-Identifier: Apache-2.0

export * from './icons/index.js';

export { Identicon } from './Identicon.js';
export { packageInfo } from './packageInfo.js';
8 changes: 4 additions & 4 deletions packages/react-qr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "3.2.2-0-x",
"version": "3.2.2",
"main": "index.js",
"dependencies": {
"@polkadot/ui-settings": "3.2.2-0-x",
"@polkadot/util": "^12.0.1",
"@polkadot/util-crypto": "^12.0.1",
"@polkadot/ui-settings": "3.2.2",
"@polkadot/util": "^12.1.1",
"@polkadot/util-crypto": "^12.1.1",
"qrcode-generator": "^1.4.4",
"react-qr-reader": "^2.2.1",
"styled-components": "^5.3.10",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-qr/src/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

export { QrDisplayAddress } from './DisplayAddress.js';
export { QrDisplayPayload } from './DisplayPayload.js';
export { QrScanAddress } from './ScanAddress.js';
export { QrScanSignature } from './ScanSignature.js';
export { QrNetworkSpecs } from './NetworkSpecs.js';
export { packageInfo } from './packageInfo.js';
export { QrScanAddress } from './ScanAddress.js';
export { QrScanSignature } from './ScanSignature.js';
5 changes: 3 additions & 2 deletions packages/react-qr/src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ export function encodeNumber (value: number): Uint8Array {
}

export function encodeString (value: string): Uint8Array {
const u8a = new Uint8Array(value.length);
const count = value.length;
const u8a = new Uint8Array(count);

for (let i = 0; i < value.length; i++) {
for (let i = 0; i < count; i++) {
u8a[i] = value.charCodeAt(i);
}

Expand Down
8 changes: 4 additions & 4 deletions packages/reactnative-identicon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "3.2.2-0-x",
"version": "3.2.2",
"main": "index.js",
"dependencies": {
"@polkadot/ui-shared": "3.2.2-0-x",
"@polkadot/util": "^12.0.1",
"@polkadot/util-crypto": "^12.0.1",
"@polkadot/ui-shared": "3.2.2",
"@polkadot/util": "^12.1.1",
"@polkadot/util-crypto": "^12.1.1",
"react-native-svg": "^12.5.1",
"tslib": "^2.5.0"
},
Expand Down
12 changes: 6 additions & 6 deletions packages/ui-keyring/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "3.2.2-0-x",
"version": "3.2.2",
"main": "index.js",
"dependencies": {
"@polkadot/keyring": "^12.0.1",
"@polkadot/ui-settings": "3.2.2-0-x",
"@polkadot/util": "^12.0.1",
"@polkadot/util-crypto": "^12.0.1",
"@polkadot/keyring": "^12.1.1",
"@polkadot/ui-settings": "3.2.2",
"@polkadot/util": "^12.1.1",
"@polkadot/util-crypto": "^12.1.1",
"mkdirp": "^2.1.6",
"rxjs": "^7.8.0",
"rxjs": "^7.8.1",
"store": "^2.0.12",
"tslib": "^2.5.0"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/ui-settings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "3.2.2-0-x",
"version": "3.2.2",
"main": "index.js",
"dependencies": {
"@polkadot/networks": "^12.0.1",
"@polkadot/util": "^12.0.1",
"@polkadot/networks": "^12.1.1",
"@polkadot/util": "^12.1.1",
"eventemitter3": "^5.0.0",
"store": "^2.0.12",
"tslib": "^2.5.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/ui-settings/src/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

import { Settings, settings } from './Settings.js';

export { ENDPOINT_DEFAULT, ICON_DEFAULT, ICON_DEFAULT_HOST, LANGUAGE_DEFAULT, LOCKING_DEFAULT, PREFIX_DEFAULT, UIMODE_DEFAULT, UITHEME_DEFAULT } from './defaults/index.js';
export { chains } from './defaults/chains.js';
export { ENDPOINT_DEFAULT, ICON_DEFAULT, ICON_DEFAULT_HOST, LANGUAGE_DEFAULT, LOCKING_DEFAULT, PREFIX_DEFAULT, UIMODE_DEFAULT, UITHEME_DEFAULT } from './defaults/index.js';
export { packageInfo } from './packageInfo.js';

export { settings, Settings };
export { Settings, settings };
6 changes: 3 additions & 3 deletions packages/ui-shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "3.2.2-0-x",
"version": "3.2.2",
"main": "index.js",
"dependencies": {
"colord": "^2.9.3",
"tslib": "^2.5.0"
},
"devDependencies": {
"@polkadot/util": "^12.0.1",
"@polkadot/util-crypto": "^12.0.1",
"@polkadot/util": "^12.1.1",
"@polkadot/util-crypto": "^12.1.1",
"@types/xmlserializer": "^0.6.3",
"xmlserializer": "^0.6.1"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/vue-identicon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "3.2.2-0-x",
"version": "3.2.2",
"main": "index.js",
"dependencies": {
"@polkadot/ui-shared": "3.2.2-0-x",
"@polkadot/util": "^12.0.1",
"@polkadot/util-crypto": "^12.0.1",
"@polkadot/ui-shared": "3.2.2",
"@polkadot/util": "^12.1.1",
"@polkadot/util-crypto": "^12.1.1",
"jdenticon": "3.2.0",
"tslib": "^2.5.0"
},
Expand Down
1 change: 0 additions & 1 deletion packages/vue-identicon/src/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
// SPDX-License-Identifier: Apache-2.0

export { Identicon } from './Identicon.js';

export { packageInfo } from './packageInfo.js';
Loading

0 comments on commit 4a71023

Please sign in to comment.