@dynamic-labs/sdk-react-core 1.4.18 → 1.4.19
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/CHANGELOG.md +7 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +11 -11
- package/src/lib/components/SandboxIndicatorWrapper/index.d.ts +1 -0
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.cjs +1 -1
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
|
|
2
|
+
### [1.4.19](https://github.com/dynamic-labs/DynamicAuth/compare/v1.4.18...v1.4.19) (2024-08-23)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* allow twitter popup to close ([#6699](https://github.com/dynamic-labs/DynamicAuth/issues/6699)) ([b8f9484](https://github.com/dynamic-labs/DynamicAuth/commit/b8f9484af974efd9be473452ff05de0059e15ac2))
|
|
8
|
+
|
|
2
9
|
### [1.4.18](https://github.com/dynamic-labs/DynamicAuth/compare/v1.4.17...v1.4.18) (2024-07-31)
|
|
3
10
|
|
|
4
11
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/sdk-react-core",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.19",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/dynamic-labs/DynamicAuth.git",
|
|
@@ -16,16 +16,16 @@
|
|
|
16
16
|
"react-focus-lock": "2.9.2",
|
|
17
17
|
"react-i18next": "^13.2.0",
|
|
18
18
|
"yup": "0.32.11",
|
|
19
|
-
"@dynamic-labs/ethereum": "1.4.
|
|
20
|
-
"@dynamic-labs/iconic": "1.4.
|
|
21
|
-
"@dynamic-labs/logger": "1.4.
|
|
22
|
-
"@dynamic-labs/multi-wallet": "1.4.
|
|
23
|
-
"@dynamic-labs/rpc-providers": "1.4.
|
|
24
|
-
"@dynamic-labs/types": "1.4.
|
|
25
|
-
"@dynamic-labs/utils": "1.4.
|
|
26
|
-
"@dynamic-labs/viem-utils": "1.4.
|
|
27
|
-
"@dynamic-labs/wallet-book": "1.4.
|
|
28
|
-
"@dynamic-labs/wallet-connector-core": "1.4.
|
|
19
|
+
"@dynamic-labs/ethereum": "1.4.19",
|
|
20
|
+
"@dynamic-labs/iconic": "1.4.19",
|
|
21
|
+
"@dynamic-labs/logger": "1.4.19",
|
|
22
|
+
"@dynamic-labs/multi-wallet": "1.4.19",
|
|
23
|
+
"@dynamic-labs/rpc-providers": "1.4.19",
|
|
24
|
+
"@dynamic-labs/types": "1.4.19",
|
|
25
|
+
"@dynamic-labs/utils": "1.4.19",
|
|
26
|
+
"@dynamic-labs/viem-utils": "1.4.19",
|
|
27
|
+
"@dynamic-labs/wallet-book": "1.4.19",
|
|
28
|
+
"@dynamic-labs/wallet-connector-core": "1.4.19",
|
|
29
29
|
"eventemitter3": "5.0.1"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SandboxIndicatorWrapper } from './SandboxIndicatorWrapper';
|
|
@@ -98,7 +98,7 @@ const socialProviders = [
|
|
|
98
98
|
// pkce params are only required for twitter and break if added for other providers, like google
|
|
99
99
|
// so we should only add provider that support pkce to this list
|
|
100
100
|
const providersRequiringPkce = ['twitter', 'github'];
|
|
101
|
-
const providersWithoutWindowOpenerRefence = [
|
|
101
|
+
const providersWithoutWindowOpenerRefence = [];
|
|
102
102
|
// Hook to handle common social auth logic (for social linking and social sign in)
|
|
103
103
|
const useSocialAuth = ({ sessionTimeout, authMode, onSettled, onError, }) => {
|
|
104
104
|
var _a;
|
|
@@ -94,7 +94,7 @@ const socialProviders = [
|
|
|
94
94
|
// pkce params are only required for twitter and break if added for other providers, like google
|
|
95
95
|
// so we should only add provider that support pkce to this list
|
|
96
96
|
const providersRequiringPkce = ['twitter', 'github'];
|
|
97
|
-
const providersWithoutWindowOpenerRefence = [
|
|
97
|
+
const providersWithoutWindowOpenerRefence = [];
|
|
98
98
|
// Hook to handle common social auth logic (for social linking and social sign in)
|
|
99
99
|
const useSocialAuth = ({ sessionTimeout, authMode, onSettled, onError, }) => {
|
|
100
100
|
var _a;
|