@0xsequence/provider 1.1.5 → 1.1.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/dist/declarations/src/types.d.ts +4 -0
- package/package.json +10 -10
- package/src/types.ts +5 -0
|
@@ -166,6 +166,10 @@ export interface Settings {
|
|
|
166
166
|
* Note that this setting will not be persisted, use wallet.open with 'openWithOptions' intent
|
|
167
167
|
* to set when you open the wallet for user. */
|
|
168
168
|
lockFundingCurrencyToDefault?: boolean;
|
|
169
|
+
/** Specify an auth provider to allow dapp to specify ahead of time which auth method to redirect to.
|
|
170
|
+
* Will be ignored if user is already signed in.
|
|
171
|
+
*/
|
|
172
|
+
signInWith?: SignInOption;
|
|
169
173
|
/** Specify an email address to allow user automatically sign in with the email option.
|
|
170
174
|
* Will be ignored if user is already signed in.
|
|
171
175
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0xsequence/provider",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.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",
|
|
@@ -11,15 +11,15 @@
|
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"eventemitter2": "^6.4.5",
|
|
13
13
|
"webextension-polyfill": "^0.10.0",
|
|
14
|
-
"@0xsequence/abi": "1.1.
|
|
15
|
-
"@0xsequence/
|
|
16
|
-
"@0xsequence/
|
|
17
|
-
"@0xsequence/
|
|
18
|
-
"@0xsequence/
|
|
19
|
-
"@0xsequence/network": "1.1.
|
|
20
|
-
"@0xsequence/
|
|
21
|
-
"@0xsequence/
|
|
22
|
-
"@0xsequence/wallet": "1.1.
|
|
14
|
+
"@0xsequence/abi": "1.1.7",
|
|
15
|
+
"@0xsequence/auth": "1.1.7",
|
|
16
|
+
"@0xsequence/account": "1.1.7",
|
|
17
|
+
"@0xsequence/core": "1.1.7",
|
|
18
|
+
"@0xsequence/migration": "1.1.7",
|
|
19
|
+
"@0xsequence/network": "1.1.7",
|
|
20
|
+
"@0xsequence/utils": "1.1.7",
|
|
21
|
+
"@0xsequence/relayer": "1.1.7",
|
|
22
|
+
"@0xsequence/wallet": "1.1.7"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"ethers": ">=5.5 < 6"
|
package/src/types.ts
CHANGED
|
@@ -234,6 +234,11 @@ export interface Settings {
|
|
|
234
234
|
* to set when you open the wallet for user. */
|
|
235
235
|
lockFundingCurrencyToDefault?: boolean
|
|
236
236
|
|
|
237
|
+
/** Specify an auth provider to allow dapp to specify ahead of time which auth method to redirect to.
|
|
238
|
+
* Will be ignored if user is already signed in.
|
|
239
|
+
*/
|
|
240
|
+
signInWith?: SignInOption
|
|
241
|
+
|
|
237
242
|
/** Specify an email address to allow user automatically sign in with the email option.
|
|
238
243
|
* Will be ignored if user is already signed in.
|
|
239
244
|
*/
|