Skip to content

Commit

Permalink
Enabled WCW and cleos
Browse files Browse the repository at this point in the history
  • Loading branch information
aaroncox committed Aug 13, 2023
1 parent 5d18494 commit 22cdab5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"acorn": "8.0.1"
},
"dependencies": {
"@greymass/create-account": "^1.0.0",
"@greymass/antelope-tokens": "^0.0.1",
"@greymass/create-account": "^1.0.0",
"@greymass/eosio-resources": "0.7.0",
"@lottiefiles/svelte-lottie-player": "^0.2.0",
"@types/feather-icons": "^4.7.0",
Expand All @@ -26,6 +26,7 @@
"@wharfkit/transact-plugin-autocorrect": "^1.0.0",
"@wharfkit/transact-plugin-resource-provider": "^1.0.0",
"@wharfkit/wallet-plugin-anchor": "^1.0.0",
"@wharfkit/wallet-plugin-cleos": "^1.0.0",
"@wharfkit/wallet-plugin-cloudwallet": "^1.0.0",
"@wharfkit/wallet-plugin-mock": "^1.0.0",
"@wharfkit/wallet-plugin-privatekey": "^1.0.0",
Expand Down
8 changes: 7 additions & 1 deletion src/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import {ChainDefinition, SerializedSession, Session, SessionKit} from '@wharfkit
import WebUIRenderer from '@wharfkit/web-renderer'
import {TransactPluginResourceProvider} from '@wharfkit/transact-plugin-resource-provider'
import {WalletPluginAnchor} from '@wharfkit/wallet-plugin-anchor'
import {WalletPluginCleos} from '@wharfkit/wallet-plugin-cleos'
import {WalletPluginCloudWallet} from '@wharfkit/wallet-plugin-cloudwallet'

const sessionKit = new SessionKit(
{
Expand All @@ -19,7 +21,11 @@ const sessionKit = new SessionKit(
})
),
ui: new WebUIRenderer(),
walletPlugins: [new WalletPluginAnchor()],
walletPlugins: [
new WalletPluginAnchor(),
new WalletPluginCloudWallet(),
new WalletPluginCleos(),
],
},
{
transactPlugins: [new TransactPluginResourceProvider()],
Expand Down
7 changes: 7 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1412,6 +1412,13 @@
isomorphic-ws "^5.0.0"
ws "^8.13.0"

"@wharfkit/wallet-plugin-cleos@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@wharfkit/wallet-plugin-cleos/-/wallet-plugin-cleos-1.0.0.tgz#49f27dcc6c1ecc7907d5c7181ac93ed29ccd36d2"
integrity sha512-alPLC/sGzZx211z3HKCYLkEuiO/AWg3KeyFrVabTvLBsscKM/kkbmIuo5WEFq37TFH0ILv5mjbo2XeVJHVog/A==
dependencies:
tslib "^2.1.0"

"@wharfkit/wallet-plugin-cloudwallet@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@wharfkit/wallet-plugin-cloudwallet/-/wallet-plugin-cloudwallet-1.0.0.tgz#a460e66ff6eac37435c6da81a14371e75c2c9dbf"
Expand Down

0 comments on commit 22cdab5

Please sign in to comment.