diff --git a/package.json b/package.json index cfe0f03..3fe6f82 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "prepare": "make" }, "dependencies": { - "@wharfkit/protocol-scatter": "^1.0.0-rc1", + "@wharfkit/protocol-scatter": "^1.2.0", "tslib": "^2.1.0" }, "peerDependencies": { diff --git a/src/index.ts b/src/index.ts index bb66542..bcfedac 100644 --- a/src/index.ts +++ b/src/index.ts @@ -10,7 +10,6 @@ import { WalletPluginSignResponse, } from '@wharfkit/session' import {handleLogin, handleSignatureRequest} from '@wharfkit/protocol-scatter' -import {ScatterEOS, ScatterJS} from 'scatter-ts' export class WalletPluginTokenPocket extends AbstractWalletPlugin implements WalletPlugin { id = 'tokenpocket' @@ -30,7 +29,6 @@ export class WalletPluginTokenPocket extends AbstractWalletPlugin implements Wal constructor() { super() - ScatterJS.plugins(new ScatterEOS()) } /** diff --git a/yarn.lock b/yarn.lock index 28c7cab..7c14227 100644 --- a/yarn.lock +++ b/yarn.lock @@ -569,10 +569,10 @@ dependencies: tslib "^2.1.0" -"@wharfkit/protocol-scatter@^1.0.0-rc1": - version "1.0.0-rc1" - resolved "https://registry.yarnpkg.com/@wharfkit/protocol-scatter/-/protocol-scatter-1.0.0-rc1.tgz#a23bb432daaa53503ef7cd410242ffe23d47aadf" - integrity sha512-0wkteKBDY8jCW0CgYCqQ+c3PaNlP/EcRnTkOzuvVI64u3IRv4nfxrxaAACsV6ZWfuaexrW3/Z1djgos58VFyTA== +"@wharfkit/protocol-scatter@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@wharfkit/protocol-scatter/-/protocol-scatter-1.2.0.tgz#7f74642e9b81c59e7b9034042e00f166e244bc6c" + integrity sha512-U9cLSGG5GHxuGTKQObWi1/PAGwlNc4ywOJAVdn9FoQqnU1cyD4ISAMKuiKC4LaKPrHcrArZZ/KsZnYHMuPs96Q== dependencies: eosjs "20.0.0" scatter-ts "^0.1.9"