@0xsequence/provider 0.35.6 → 0.35.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0xsequence/provider",
|
|
3
|
-
"version": "0.35.
|
|
3
|
+
"version": "0.35.7",
|
|
4
4
|
"description": "provider sub-package for Sequence",
|
|
5
5
|
"repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/provider",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"typecheck": "tsc --noEmit"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@0xsequence/abi": "^0.35.
|
|
17
|
-
"@0xsequence/auth": "^0.35.
|
|
18
|
-
"@0xsequence/config": "^0.35.
|
|
19
|
-
"@0xsequence/network": "^0.35.
|
|
20
|
-
"@0xsequence/transactions": "^0.35.
|
|
21
|
-
"@0xsequence/utils": "^0.35.
|
|
22
|
-
"@0xsequence/wallet": "^0.35.
|
|
16
|
+
"@0xsequence/abi": "^0.35.7",
|
|
17
|
+
"@0xsequence/auth": "^0.35.7",
|
|
18
|
+
"@0xsequence/config": "^0.35.7",
|
|
19
|
+
"@0xsequence/network": "^0.35.7",
|
|
20
|
+
"@0xsequence/transactions": "^0.35.7",
|
|
21
|
+
"@0xsequence/utils": "^0.35.7",
|
|
22
|
+
"@0xsequence/wallet": "^0.35.7",
|
|
23
23
|
"@ethersproject/abstract-signer": "^5.5.0",
|
|
24
24
|
"@ethersproject/hash": "^5.5.0",
|
|
25
25
|
"@ethersproject/providers": "^5.5.1",
|
|
@@ -332,7 +332,6 @@ export abstract class BaseWalletTransport implements WalletTransport {
|
|
|
332
332
|
// origin host of the dapp.
|
|
333
333
|
await this.init()
|
|
334
334
|
|
|
335
|
-
|
|
336
335
|
// Prepare connect options from intent
|
|
337
336
|
if (intent && intent.type === 'connect' && intent.options) {
|
|
338
337
|
const connectOptions = intent.options
|
|
@@ -74,7 +74,6 @@ export class WalletRequestHandler implements ExternalProvider, JsonRpcHandler, P
|
|
|
74
74
|
async signIn(signer: Signer | null, options: WalletSignInOptions = {}) {
|
|
75
75
|
this.setSigner(signer)
|
|
76
76
|
|
|
77
|
-
|
|
78
77
|
const { connect, mainnetNetworks, testnetNetworks, defaultNetworkId } = options
|
|
79
78
|
|
|
80
79
|
if (mainnetNetworks && mainnetNetworks.length > 0) {
|
|
@@ -196,7 +195,6 @@ export class WalletRequestHandler implements ExternalProvider, JsonRpcHandler, P
|
|
|
196
195
|
}
|
|
197
196
|
|
|
198
197
|
const promptConnectDetails = await this.prompter.promptConnect(options || this._connectOptions).catch(_ => {
|
|
199
|
-
|
|
200
198
|
return { connected: false } as ConnectDetails
|
|
201
199
|
})
|
|
202
200
|
|
|
@@ -734,7 +732,7 @@ export class WalletRequestHandler implements ExternalProvider, JsonRpcHandler, P
|
|
|
734
732
|
this.signer = signer
|
|
735
733
|
|
|
736
734
|
if (signer !== undefined) {
|
|
737
|
-
for (let i=0; i < this.signerReadyCallbacks.length; i++) {
|
|
735
|
+
for (let i = 0; i < this.signerReadyCallbacks.length; i++) {
|
|
738
736
|
this.signerReadyCallbacks[i]()
|
|
739
737
|
}
|
|
740
738
|
this.signerReadyCallbacks = []
|