Skip to content

Commit

Permalink
Merge pull request #3 from wharfkit/apporc_fix
Browse files Browse the repository at this point in the history
Scatter plugins register should be inside protocol-scatter
  • Loading branch information
aaroncox authored Apr 27, 2024
2 parents 40762aa + 5806490 commit 1e3f109
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -30,7 +29,6 @@ export class WalletPluginTokenPocket extends AbstractWalletPlugin implements Wal

constructor() {
super()
ScatterJS.plugins(new ScatterEOS())
}

/**
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1e3f109

Please sign in to comment.