Compare commits

...
21 Commits
Author SHA1 Message Date
Github Actions eeca1f8f50 [CI Skip] release/stable 0.85.3
skip-checks: true
2021-08-29 20:53:34 +00:00
Jaco b74034a809 0.85.3 (#517)
* 0.85.3

* CHANGELOG
2021-08-29 22:50:42 +02:00
Github Actions b356f26e08 [CI Skip] release/stable 0.85.2
skip-checks: true
2021-08-28 06:46:45 +00:00
Jaco c9c3011441 0.85.2 (#515) 2021-08-28 08:43:52 +02:00
Github Actions d2fcebd84a [CI Skip] release/beta 0.85.2-1
skip-checks: true
2021-08-26 08:32:22 +00:00
Jaco 9c47628233 Bump dev (w/ jsx linting) (#514) 2021-08-26 10:29:23 +02:00
Github Actions 28956664cc [CI Skip] release/beta 0.85.2-0
skip-checks: true
2021-08-17 07:41:09 +00:00
Jaco 994f303064 Bump dev (#513) 2021-08-17 09:38:23 +02:00
Github Actions 52a09f4364 [CI Skip] release/stable 0.85.1
skip-checks: true
2021-08-15 11:01:23 +00:00
Jaco 6abb0f79b6 0.85.1 (#512) 2021-08-15 12:58:46 +02:00
Github Actions 2afd941483 [CI Skip] release/beta 0.84.4-2
skip-checks: true
2021-08-13 11:52:10 +00:00
Jaco Greeff fd43c16853 bump berry 2021-08-13 14:49:13 +03:00
Github Actions c27f971878 [CI Skip] release/beta 0.84.4-1
skip-checks: true
2021-08-13 11:19:06 +00:00
Jaco e48115c557 Bump dev (#511)
* Bump dev

* CHANGELOG

* Bump common
2021-08-13 13:15:45 +02:00
Nantian 3f0c2d82e8 fix bigint type (#510) 2021-08-13 13:08:59 +02:00
Github Actions 544fbb5e6d [CI Skip] release/beta 0.84.4-0
skip-checks: true
2021-08-10 09:36:20 +00:00
Jaco dfde4d7989 Bump deps (#509) 2021-08-10 11:33:42 +02:00
Github Actions d80f0ce906 [CI Skip] release/stable 0.84.3
skip-checks: true
2021-08-02 09:24:07 +00:00
Jaco 6a6a247b1f 0.84.3 (#507) 2021-08-02 11:21:03 +02:00
Github Actions b7c5a9a509 [CI Skip] release/stable 0.84.2
skip-checks: true
2021-07-26 07:00:30 +00:00
Jaco 8694cb45e3 0.84.2 (#506) 2021-07-26 08:57:35 +02:00
30 changed files with 1834 additions and 1873 deletions
+5
View File
@@ -4,3 +4,8 @@
0.66.3
0.71.2
0.71.3
0.84.2
0.84.3
0.85.2
0.85.3
File diff suppressed because one or more lines are too long
+631
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -10,4 +10,4 @@ plugins:
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
spec: "@yarnpkg/plugin-version"
yarnPath: .yarn/releases/yarn-3.0.0-rc.2.cjs
yarnPath: .yarn/releases/yarn-3.0.1.cjs
+39
View File
@@ -1,5 +1,44 @@
# CHANGELOG
## 0.85.3 Aug 29, 2021
Changes:
- Revert color bump to 4.0.1, keep at 3.2.1 (numeric separators on Vue & react-native)
## 0.85.2 Aug 28, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 7.3.1
## 0.85.1 Aug 15, 2021
Contributed:
- Always use `bigint` type to indicate instance (Thanks to https://github.com/ntduan)
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 7.2.1
## 0.84.3 Aug 2, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 7.1.1
## 0.84.2 Jul 26, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 7.0.3
## 0.84.1 Jul 11, 2021
Changes:
+9 -8
View File
@@ -28,22 +28,23 @@
"test:one": "polkadot-dev-run-test"
},
"devDependencies": {
"@babel/core": "^7.14.6",
"@babel/runtime": "^7.14.6",
"@polkadot/dev": "^0.62.57",
"@polkadot/ts": "^0.4.4",
"@polkadot/x-bundle": "^7.0.1",
"@types/jest": "^26.0.23",
"@babel/core": "^7.15.0",
"@babel/runtime": "^7.15.3",
"@polkadot/dev": "^0.62.62",
"@polkadot/ts": "^0.4.6",
"@polkadot/x-bundle": "^7.3.1",
"@types/jest": "^27.0.1",
"babel-plugin-transform-vue-template": "^0.4.2",
"empty": "^0.10.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-is": "^17.0.2",
"react-native": "^0.64.2",
"react-native": "^0.65.1",
"vue-template-compiler": "^2.6.14",
"webpack": "^4.46.0",
"webpack-cli": "^3.3.12",
"webpack-serve": "^3.2.0"
},
"version": "0.84.1"
"version": "0.85.3",
"packageManager": "yarn@3.0.1"
}
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "@polkadot/example-react",
"version": "0.84.1",
"version": "0.85.3",
"description": "A very basic example with ui-* & react-* packages",
"main": "index.js",
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.14.6"
"@babel/runtime": "^7.15.3"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/example-react', version: '0.84.1' };
export const packageInfo = { name: '@polkadot/example-react', version: '0.85.3' };
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "@polkadot/example-vue",
"version": "0.84.1",
"version": "0.85.3",
"description": "A very basic example with ui-* & vue-* packages",
"main": "index.js",
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.14.6"
"@babel/runtime": "^7.15.3"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/example-vue', version: '0.84.1' };
export const packageInfo = { name: '@polkadot/example-vue', version: '0.85.3' };
+18 -12
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2021 @polkadot/example-react authors & contributors
// SPDX-License-Identifier: Apache-2.0
import React, { useEffect, useState } from 'react';
import React, { useCallback, useEffect, useState } from 'react';
import { Button, SafeAreaView, ScrollView, StatusBar, StyleSheet, Text, View } from 'react-native';
import { Colors } from 'react-native/Libraries/NewAppScreen';
@@ -57,17 +57,22 @@ export default function App (): React.ReactElement | null {
const [phrase, setPhrase] = useState<string | null>(null);
const [ss58Format, setSS58Format] = useState(42);
const _onClickNew = (): void => {
const phrase = mnemonicGenerate(12);
const { address } = keyring.createFromUri(phrase);
const _onClickNew = useCallback(
(): void => {
const phrase = mnemonicGenerate(12);
const { address } = keyring.createFromUri(phrase);
setAddress(keyring.encodeAddress(address, ss58Format));
setPhrase(phrase);
};
setAddress(keyring.encodeAddress(address, ss58Format));
setPhrase(phrase);
},
[ss58Format]
);
const _onChangeSS58Format = (value: string): void => {
setSS58Format(parseInt(value, 10));
};
const _onChangeSS58Format = useCallback(
(value: string) =>
() => setSS58Format(parseInt(value, 10)),
[]
);
useEffect((): void => {
isReady && _onClickNew();
@@ -108,7 +113,8 @@ export default function App (): React.ReactElement | null {
<SafeAreaView>
<ScrollView
contentInsetAdjustmentBehavior='automatic'
style={styles.scrollView}>
style={styles.scrollView}
>
<View style={styles.body}>
<View style={styles.sectionContainer}>
<Text style={styles.mainTitle}>React-Native Example</Text>
@@ -144,7 +150,7 @@ export default function App (): React.ReactElement | null {
.map(({ text, value }): React.ReactNode => (
<Button
key={value}
onPress={(): void => _onChangeSS58Format(value.toString())}
onPress={_onChangeSS58Format(value.toString())}
title={text}
/>
))
+13 -13
View File
@@ -1,6 +1,6 @@
{
"name": "exampleReactNative",
"version": "0.84.1",
"version": "0.85.3",
"private": true,
"scripts": {
"copy-workspace-packages": "yarn copy-identicon && yarn copy-ui-shared",
@@ -12,30 +12,30 @@
"test": "jest"
},
"dependencies": {
"@polkadot/keyring": "^7.0.1",
"@polkadot/reactnative-identicon": "0.84.1",
"@polkadot/ui-keyring": "0.84.1",
"@polkadot/ui-settings": "0.84.1",
"@polkadot/util": "^7.0.1",
"@polkadot/util-crypto": "^7.0.1",
"@polkadot/keyring": "^7.3.1",
"@polkadot/reactnative-identicon": "0.85.3",
"@polkadot/ui-keyring": "0.85.3",
"@polkadot/ui-settings": "0.85.3",
"@polkadot/util": "^7.3.1",
"@polkadot/util-crypto": "^7.3.1",
"@react-native-community/async-storage": "^1.12.1",
"fast-text-encoding": "^1.0.3",
"get-yarn-workspaces": "^1.0.2",
"os-browserify": "^0.3.0",
"process": "^0.11.10",
"react": "^17.0.2",
"react-native": "^0.64.2",
"react-native": "^0.65.1",
"react-native-crypto": "^2.2.0",
"react-native-randombytes": "^3.6.1",
"stream-http": "^3.2.0"
},
"devDependencies": {
"@babel/core": "^7.14.6",
"@babel/runtime": "^7.14.6",
"@react-native-community/cli-platform-ios": "^5.0.1",
"@babel/core": "^7.15.0",
"@babel/runtime": "^7.15.3",
"@react-native-community/cli-platform-ios": "^5.0.2",
"@types/react-test-renderer": "17.0.1",
"babel-jest": "^27.0.6",
"metro-react-native-babel-preset": "^0.66.0",
"babel-jest": "^27.1.0",
"metro-react-native-babel-preset": "^0.66.2",
"react-test-renderer": "17.0.2"
},
"jest": {
+15 -15
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/react-identicon",
"version": "0.84.1",
"version": "0.85.3",
"type": "module",
"description": "Renders an SVG picture representing an address",
"main": "index.js",
@@ -12,17 +12,17 @@
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.14.6",
"@polkadot/keyring": "^7.0.1",
"@polkadot/ui-settings": "0.84.1",
"@polkadot/ui-shared": "0.84.1",
"@polkadot/util": "^7.0.1",
"@polkadot/util-crypto": "^7.0.1",
"color": "^3.1.3",
"@babel/runtime": "^7.15.3",
"@polkadot/keyring": "^7.3.1",
"@polkadot/ui-settings": "0.85.3",
"@polkadot/ui-shared": "0.85.3",
"@polkadot/util": "^7.3.1",
"@polkadot/util-crypto": "^7.3.1",
"color": "^3.2.1",
"ethereum-blockies-base64": "^1.0.2",
"jdenticon": "3.1.0",
"react-copy-to-clipboard": "^5.0.3",
"styled-components": "^5.3.0"
"jdenticon": "3.1.1",
"react-copy-to-clipboard": "^5.0.4",
"styled-components": "^5.3.1"
},
"peerDependencies": {
"@polkadot/keyring": "*",
@@ -34,10 +34,10 @@
"styled-components": "*"
},
"devDependencies": {
"@types/react-copy-to-clipboard": "^5.0.0",
"@types/react-dom": "^17.0.8",
"@types/styled-components": "^5.1.11",
"styled-components": "^5.3.0",
"@types/react-copy-to-clipboard": "^5.0.1",
"@types/react-dom": "^17.0.9",
"@types/styled-components": "^5.1.13",
"styled-components": "^5.3.1",
"xmlserializer": "^0.6.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/react-identicon', version: '0.84.1' };
export const packageInfo = { name: '@polkadot/react-identicon', version: '0.85.3' };
+7 -7
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/react-qr",
"version": "0.84.1",
"version": "0.85.3",
"type": "module",
"description": "Generates and reads QR codes",
"main": "index.js",
@@ -9,16 +9,16 @@
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.14.6",
"@polkadot/util": "^7.0.1",
"@polkadot/util-crypto": "^7.0.1",
"@babel/runtime": "^7.15.3",
"@polkadot/util": "^7.3.1",
"@polkadot/util-crypto": "^7.3.1",
"qrcode-generator": "^1.4.4",
"react-qr-reader": "^2.2.1",
"styled-components": "^5.3.0"
"styled-components": "^5.3.1"
},
"devDependencies": {
"@types/react-qr-reader": "^2.1.3",
"@types/styled-components": "^5.1.11"
"@types/react-qr-reader": "^2.1.4",
"@types/styled-components": "^5.1.13"
},
"peerDependencies": {
"@polkadot/util": "*",
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/react-qr', version: '0.84.1' };
export const packageInfo = { name: '@polkadot/react-qr', version: '0.85.3' };
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/reactnative-identicon",
"version": "0.84.1",
"version": "0.85.3",
"type": "module",
"description": "Renders an SVG picture representing an address",
"main": "index.js",
@@ -12,10 +12,10 @@
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.14.6",
"@polkadot/ui-shared": "0.84.1",
"@polkadot/util": "^7.0.1",
"@polkadot/util-crypto": "^7.0.1",
"@babel/runtime": "^7.15.3",
"@polkadot/ui-shared": "0.85.3",
"@polkadot/util": "^7.3.1",
"@polkadot/util-crypto": "^7.3.1",
"react-native-svg": "^12.1.1"
},
"peerDependencies": {
@@ -25,6 +25,6 @@
"react-native": "*"
},
"devDependencies": {
"@types/react-native": "^0.64.10"
"@types/react-native": "^0.64.13"
}
}
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/reactnative-identicon', version: '0.84.1' };
export const packageInfo = { name: '@polkadot/reactnative-identicon', version: '0.85.3' };
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "@polkadot/ui-assets",
"version": "0.84.1",
"version": "0.85.3",
"description": "Static assets shared accross projects",
"main": "index.js",
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.14.6"
"@babel/runtime": "^7.15.3"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/ui-assets', version: '0.84.1' };
export const packageInfo = { name: '@polkadot/ui-assets', version: '0.85.3' };
+8 -8
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/ui-keyring",
"version": "0.84.1",
"version": "0.85.3",
"type": "module",
"main": "index.js",
"sideEffects": [
@@ -13,17 +13,17 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.14.6",
"@polkadot/hw-ledger": "^7.0.1",
"@polkadot/keyring": "^7.0.1",
"@polkadot/ui-settings": "0.84.1",
"@polkadot/util": "^7.0.1",
"@babel/runtime": "^7.15.3",
"@polkadot/hw-ledger": "^7.3.1",
"@polkadot/keyring": "^7.3.1",
"@polkadot/ui-settings": "0.85.3",
"@polkadot/util": "^7.3.1",
"mkdirp": "^1.0.4",
"rxjs": "^7.2.0",
"rxjs": "^7.3.0",
"store": "^2.0.12"
},
"devDependencies": {
"@types/mkdirp": "^1.0.1",
"@types/mkdirp": "^1.0.2",
"@types/store": "^2.0.2"
},
"peerDependencies": {
+1 -1
View File
@@ -45,7 +45,7 @@ export class Keyring extends Base implements KeyringStruct {
return this.addExternal(address, { ...meta, hardwareType, isHardware: true });
}
public addMultisig (addresses: (string | Uint8Array)[], threshold: BigInt | BN | number, meta: KeyringPair$Meta = {}): CreateResult {
public addMultisig (addresses: (string | Uint8Array)[], threshold: bigint | BN | number, meta: KeyringPair$Meta = {}): CreateResult {
const address = createKeyMulti(addresses, threshold);
// we could use `sortAddresses`, but rather use internal encode/decode so we are 100%
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/ui-keyring', version: '0.84.1' };
export const packageInfo = { name: '@polkadot/ui-keyring', version: '0.85.3' };
+4 -4
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/ui-settings",
"version": "0.84.1",
"version": "0.85.3",
"type": "module",
"description": "Manages app settings",
"main": "index.js",
@@ -9,9 +9,9 @@
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.14.6",
"@polkadot/networks": "^7.0.1",
"@polkadot/util": "^7.0.1",
"@babel/runtime": "^7.15.3",
"@polkadot/networks": "^7.3.1",
"@polkadot/util": "^7.3.1",
"eventemitter3": "^4.0.7",
"store": "^2.0.12"
},
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/ui-settings', version: '0.84.1' };
export const packageInfo = { name: '@polkadot/ui-settings', version: '0.85.3' };
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/ui-shared",
"version": "0.84.1",
"version": "0.85.3",
"type": "module",
"description": "Shared logic that is usable accross all frameworks-specific areas",
"main": "index.js",
@@ -9,17 +9,17 @@
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.14.6",
"color": "^3.1.3"
"@babel/runtime": "^7.15.3",
"color": "^3.2.1"
},
"peerDependencies": {
"@polkadot/util": "*",
"@polkadot/util-crypto": "*"
},
"devDependencies": {
"@polkadot/util": "^7.0.1",
"@polkadot/util-crypto": "^7.0.1",
"@types/color": "^3.0.1",
"@polkadot/util": "^7.3.1",
"@polkadot/util-crypto": "^7.3.1",
"@types/color": "^3.0.2",
"@types/xmlserializer": "^0.6.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/ui-shared', version: '0.84.1' };
export const packageInfo = { name: '@polkadot/ui-shared', version: '0.85.3' };
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/vue-identicon",
"version": "0.84.1",
"version": "0.85.3",
"type": "module",
"description": "Renders an SVG picture representing an address",
"author": "Jaco Greeff <jacogr@gmail.com>",
@@ -12,11 +12,11 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.14.6",
"@polkadot/ui-shared": "0.84.1",
"@polkadot/util": "^7.0.1",
"@polkadot/util-crypto": "^7.0.1",
"jdenticon": "3.1.0"
"@babel/runtime": "^7.15.3",
"@polkadot/ui-shared": "0.85.3",
"@polkadot/util": "^7.3.1",
"@polkadot/util-crypto": "^7.3.1",
"jdenticon": "3.1.1"
},
"peerDependencies": {
"@polkadot/util": "*",
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/vue-identicon', version: '0.84.1' };
export const packageInfo = { name: '@polkadot/vue-identicon', version: '0.85.3' };
+1049 -1179
View File
File diff suppressed because it is too large Load Diff