diff --git a/package.json b/package.json index 97f66fcb..cff9f44e 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "devDependencies": { "@babel/core": "^7.9.0", "@babel/runtime": "^7.9.0", - "@polkadot/dev": "^0.51.6", + "@polkadot/dev": "^0.51.7", "@polkadot/ts": "^0.3.14", "@types/jest": "^25.1.4", "babel-plugin-transform-vue-template": "^0.4.2", diff --git a/packages/exampleReactNative/metro.config.js b/packages/exampleReactNative/metro.config.js index 491002d5..9632debe 100644 --- a/packages/exampleReactNative/metro.config.js +++ b/packages/exampleReactNative/metro.config.js @@ -1,11 +1,11 @@ /* eslint-disable @typescript-eslint/no-var-requires */ const path = require('path'); const getWorkspaces = require('get-yarn-workspaces'); -const workspaces = getWorkspaces(__dirname).filter(item => { - return path.normalize(item) !== path.normalize(__dirname); -}); -let workspacesBuildDirs = workspaces.map(workspace => path.join(workspace, 'build/')); -workspacesBuildDirs = workspacesBuildDirs.filter(item => item !== path.join(__dirname, '../reactnative-identicon/build/')); +const workspaces = getWorkspaces(__dirname).filter((item) => + path.normalize(item) !== path.normalize(__dirname) +); +let workspacesBuildDirs = workspaces.map((workspace) => path.join(workspace, 'build/')); +workspacesBuildDirs = workspacesBuildDirs.filter((item) => item !== path.join(__dirname, '../reactnative-identicon/build/')); module.exports = { diff --git a/packages/exampleReactNative/nodeGlobalsShim.js b/packages/exampleReactNative/nodeGlobalsShim.js index 5e718e07..eed95f57 100644 --- a/packages/exampleReactNative/nodeGlobalsShim.js +++ b/packages/exampleReactNative/nodeGlobalsShim.js @@ -2,6 +2,7 @@ // This software may be modified and distributed under the terms // of the Apache-2.0 license. See the LICENSE file for details. /* eslint-disable no-global-assign */ + import 'fast-text-encoding'; import AsyncStorage from '@react-native-community/async-storage'; @@ -19,7 +20,7 @@ class Storage { return [...data]; } - getItem = key => { + getItem = (key) => { return this.dataMap.get(key); } @@ -28,12 +29,12 @@ class Storage { return AsyncStorage.setItem(key, value); } - remove = key => { + remove = (key) => { this.dataMap.delete(key); return AsyncStorage.removeItem(key); } - saveItem = item => { + saveItem = (item) => { this.dataMap.set(item[0], item[1]); } } diff --git a/packages/ui-keyring/package.json b/packages/ui-keyring/package.json index 5858e622..9028b0fe 100644 --- a/packages/ui-keyring/package.json +++ b/packages/ui-keyring/package.json @@ -28,7 +28,7 @@ }, "devDependencies": { "@polkadot/keyring": "^2.6.2", - "@polkadot/types": "^1.8.0-beta.7", + "@polkadot/types": "^1.8.0-beta.8", "@polkadot/util": "^2.6.2", "@types/ledgerhq__hw-transport-node-hid": "^4.22.1", "@types/ledgerhq__hw-transport-u2f": "^4.21.1", diff --git a/yarn.lock b/yarn.lock index ef436aed..cd5612e1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2914,9 +2914,9 @@ __metadata: languageName: node linkType: hard -"@polkadot/dev@npm:^0.51.6": - version: 0.51.6 - resolution: "@polkadot/dev@npm:0.51.6" +"@polkadot/dev@npm:^0.51.7": + version: 0.51.7 + resolution: "@polkadot/dev@npm:0.51.7" dependencies: "@babel/cli": ^7.8.4 "@babel/core": ^7.9.0 @@ -2996,7 +2996,7 @@ __metadata: polkadot-exec-typedoc: scripts/polkadot-exec-typedoc.js polkadot-exec-vuepress: scripts/polkadot-exec-vuepress.js polkadot-exec-webpack: scripts/polkadot-exec-webpack.js - checksum: 2/05d32b22a912e1b283b3dbabd7a73764058b1f6731b6f0a999cad23426311ef8f7a5a27ad2dd405909a5e356a5abbc15d41bd2ed9af2339d86866c6394736bfa + checksum: 2/e4c7a2e512343f627e068fc12b696ed4a2dd95c1e608885738b6bcbf979d9aac85940699e7d696cee49e5a3adb66e7ed2635bd260f6fe18b018d7b6df5ca71f9 languageName: node linkType: hard @@ -3111,7 +3111,7 @@ __metadata: languageName: node linkType: hard -"@polkadot/types@npm:1.8.0-beta.8, @polkadot/types@npm:^1.8.0-beta.7": +"@polkadot/types@npm:1.8.0-beta.8, @polkadot/types@npm:^1.8.0-beta.8": version: 1.8.0-beta.8 resolution: "@polkadot/types@npm:1.8.0-beta.8" dependencies: @@ -3144,7 +3144,7 @@ __metadata: "@ledgerhq/hw-transport-u2f": ^5.11.0 "@ledgerhq/hw-transport-webusb": ^5.11.0 "@polkadot/keyring": ^2.6.2 - "@polkadot/types": ^1.8.0-beta.7 + "@polkadot/types": ^1.8.0-beta.8 "@polkadot/util": ^2.6.2 "@types/ledgerhq__hw-transport-node-hid": ^4.22.1 "@types/ledgerhq__hw-transport-u2f": ^4.21.1 @@ -17739,7 +17739,7 @@ __metadata: dependencies: "@babel/core": ^7.9.0 "@babel/runtime": ^7.9.0 - "@polkadot/dev": ^0.51.6 + "@polkadot/dev": ^0.51.7 "@polkadot/ts": ^0.3.14 "@types/jest": ^25.1.4 babel-plugin-transform-vue-template: ^0.4.2