Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@0xsequence/provider

Package Overview
Dependencies
Maintainers
3
Versions
516
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xsequence/provider - npm Package Compare versions

Comparing version 0.10.6 to 0.10.7

14

CHANGELOG.md
# @0xsequence/provider
## 0.10.7
### Patch Changes
- allow provider transport to force disconnect
- Updated dependencies [undefined]
- @0xsequence/abi@0.10.7
- @0xsequence/auth@0.10.7
- @0xsequence/config@0.10.7
- @0xsequence/network@0.10.7
- @0xsequence/transactions@0.10.7
- @0xsequence/utils@0.10.7
- @0xsequence/wallet@0.10.7
## 0.10.6

@@ -4,0 +18,0 @@

16

package.json
{
"name": "@0xsequence/provider",
"version": "0.10.6",
"version": "0.10.7",
"description": "provider sub-package for Sequence",

@@ -16,9 +16,9 @@ "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/provider",

"dependencies": {
"@0xsequence/abi": "^0.10.6",
"@0xsequence/auth": "^0.10.6",
"@0xsequence/config": "^0.10.6",
"@0xsequence/network": "^0.10.6",
"@0xsequence/transactions": "^0.10.6",
"@0xsequence/utils": "^0.10.6",
"@0xsequence/wallet": "^0.10.6",
"@0xsequence/abi": "^0.10.7",
"@0xsequence/auth": "^0.10.7",
"@0xsequence/config": "^0.10.7",
"@0xsequence/network": "^0.10.7",
"@0xsequence/transactions": "^0.10.7",
"@0xsequence/utils": "^0.10.7",
"@0xsequence/wallet": "^0.10.7",
"@ethersproject/abstract-signer": "5.0.14",

@@ -25,0 +25,0 @@ "@ethersproject/hash": "^5.0.12",

@@ -199,2 +199,8 @@ import EventEmitter from 'eventemitter3'

// NOTIFY DISCONNECT -- when wallet instructs to disconnect
if (message.type === ProviderMessageType.DISCONNECT) {
if (this.isConnected()) {
this.disconnect()
}
}
}

@@ -201,0 +207,0 @@

@@ -1,4 +0,3 @@

import { BaseProviderTransport, nextMessageIdx } from '../base-provider-transport'
import {
ProviderMessage, ProviderMessageResponseCallback, ProviderMessageType, ProviderTransport,
ProviderMessage, ProviderMessageType, ProviderTransport,
ProviderMessageEvent, ProviderMessageRequest, ProviderMessageResponse, WalletSession

@@ -5,0 +4,0 @@ } from '../../types'

@@ -24,2 +24,3 @@ import EventEmitter from 'eventemitter3'

// handle messages which hit this port
handleMessage = (message: ProviderMessage<any>): void => {

@@ -29,2 +30,3 @@ throw new Error('ProxyMessageChannelPort is not registered')

// send messages to the connected port
sendMessage = (message: ProviderMessage<any>): void => {

@@ -31,0 +33,0 @@ this.conn.handleMessage(message)

@@ -1,7 +0,5 @@

import { BaseProviderTransport, nextMessageIdx } from '../base-provider-transport'
import { BaseProviderTransport } from '../base-provider-transport'
import {
ProviderMessageResponse,
ProviderMessage, ProviderMessageResponseCallback, ProviderMessageType,
ProviderMessageRequest, ProviderMessageTransport, ConnectionState
ProviderMessage, ConnectionState
} from '../../types'

@@ -8,0 +6,0 @@

@@ -78,2 +78,3 @@ import { ProviderMessage } from '../../types'

// const popup = window.open(walletURL.href, 'sequence.app', windowFeatures)
const popup = window.open(walletURL.href, 'sequenceWalletApp', windowFeatures)

@@ -80,0 +81,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc