Updating to Session Kit 0.4.0

This commit is contained in:
Aaron Cox
2023-04-18 18:11:29 -04:00
parent 6ccbd4b743
commit 6e565c27f8
3 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
"@types/node": "^18.7.18",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/parser": "^5.20.0",
"@wharfkit/session": "^0.3.0",
"@wharfkit/session": "^0.4.0",
"chai": "^4.3.4",
"eslint": "^8.13.0",
"eslint-config-prettier": "^8.1.0",
+3 -3
View File
@@ -26,15 +26,15 @@ export class WalletPluginPrivateKey extends AbstractWalletPlugin implements Wall
requiresChainSelect: true,
requiresPermissionSelect: true,
}
readonly metadata: WalletPluginMetadata = {
readonly metadata: WalletPluginMetadata = WalletPluginMetadata.from({
name: 'Private Key Signer',
description: '',
}
})
constructor(privateKeyData: PrivateKeyType) {
super()
const privateKey = PrivateKey.from(privateKeyData)
this.data.privateKey = privateKey
this.metadata.publicKey = privateKey.toPublic()
this.metadata.publicKey = String(privateKey.toPublic())
this.metadata.description = `An unsecured wallet that can sign for authorities using the ${
String(this.data.publicKey).substring(0, 11) +
'...' +
+14 -14
View File
@@ -212,10 +212,10 @@
minimatch "^3.1.2"
strip-json-comments "^3.1.1"
"@greymass/eosio@^0.6.0", "@greymass/eosio@^0.6.9":
version "0.6.9"
resolved "https://registry.yarnpkg.com/@greymass/eosio/-/eosio-0.6.9.tgz#e5475dfb6f1507da6ec2f9f0065e19684e8d4b70"
integrity sha512-Xd6X3sesStFQiw3+6+8tD1IauW3WX25GQnHa/zhUqIE1cB23bjzLqn89JDTcyQYKJ4R24L1rERqko/u6p7RizA==
"@greymass/eosio@^0.6.0", "@greymass/eosio@^0.6.10":
version "0.6.10"
resolved "https://registry.yarnpkg.com/@greymass/eosio/-/eosio-0.6.10.tgz#20028c2f71da8c071e0a78959904660fa54e1182"
integrity sha512-lgml9eAR85q1s3cDSFiipK1XensUASpBWPU6vu3FRDot0CBOC46kHnNWXjF9p+/jI2TzxFqPVU185ZxzC9Q3mw==
dependencies:
bn.js "^4.11.9"
brorand "^1.1.0"
@@ -551,13 +551,13 @@
"@typescript-eslint/types" "5.50.0"
eslint-visitor-keys "^3.3.0"
"@wharfkit/session@^0.3.0":
version "0.3.0"
resolved "https://registry.yarnpkg.com/@wharfkit/session/-/session-0.3.0.tgz#e42312c7c14dd328d06941ab41cab4abd9926e6d"
integrity sha512-U/B6aRPCm6l0ipxT3/30WEsOSwu5WRuOV3W/DncnYGH2K8rpy7BwZKJURDGN1HPRruNkT9/r+4sT7t+s4EEChw==
"@wharfkit/session@^0.4.0":
version "0.4.0"
resolved "https://registry.yarnpkg.com/@wharfkit/session/-/session-0.4.0.tgz#bfb7b4800a3e373f5747fcf33ccbe759dcf328be"
integrity sha512-mNAYF2DG5g1yJsI3AYUbHu0eAULmehtDg7BBEzm2FlMy2wo4z2tUD5BtjmGWo2ZmYR6tKQ5jY69kRNVnxzWARg==
dependencies:
"@greymass/eosio" "^0.6.9"
eosio-signing-request "^2.5.2"
"@greymass/eosio" "^0.6.10"
eosio-signing-request "^2.5.3"
pako "^2.0.4"
tslib "^2.1.0"
@@ -1015,10 +1015,10 @@ emoji-regex@^8.0.0:
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37"
integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==
eosio-signing-request@^2.5.2:
version "2.5.2"
resolved "https://registry.yarnpkg.com/eosio-signing-request/-/eosio-signing-request-2.5.2.tgz#3cf53d71204d32bb5112e2ac84aba189661a630c"
integrity sha512-mkWhsjZYVfyvUujbeSBZ4u1NlT5Pks/VAT2CesUtMsffg1e4LaA2/uijrDoGNkhRzVv4VDxrssh9jVPdyV97rw==
eosio-signing-request@^2.5.3:
version "2.5.3"
resolved "https://registry.yarnpkg.com/eosio-signing-request/-/eosio-signing-request-2.5.3.tgz#4b15bcc67d2814393a83084c45e4473d638b16e1"
integrity sha512-jb4cKjQM+NI8+JwtGClYiCDX9sgSeUreRTE7YkIAga0fo21vtLTjTn0ZUH1zyfQU5b4Drdcs/yUMXdPUtqp9bg==
dependencies:
"@greymass/eosio" "^0.6.0"
tslib "^2.0.3"