@dynamic-labs/flow 0.17.0-RC.33 → 0.17.0
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 +74 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,78 @@
|
|
|
1
1
|
|
|
2
|
+
## [0.17.0](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.0-RC.33...v0.17.0) (2023-06-13)
|
|
3
|
+
|
|
4
|
+
Dynamic is excited to announce our most amazing SDK update yet (at least since 0.16.0 :-))!
|
|
5
|
+
We have some great things in this version, here are the highlights:
|
|
6
|
+
|
|
7
|
+
### Breaking Changes
|
|
8
|
+
- In favor of supporting MagicLink Wallets we removed the support for Fortmatic.
|
|
9
|
+
|
|
10
|
+
### Deprecations
|
|
11
|
+
- `chainName` on EvmNetwork is deprecated in favor of `name`. If you're passing `evmNetworks` to `DynamicContextProvider` or `DynamicWagmiConnector`, you should update your code like so:
|
|
12
|
+
```ts
|
|
13
|
+
<DynamicContextProvider
|
|
14
|
+
settings={{
|
|
15
|
+
environmentId: 'YOUR_ENV_ID',
|
|
16
|
+
evmNetworks: [
|
|
17
|
+
{
|
|
18
|
+
blockExplorerUrls: [],
|
|
19
|
+
chainId: 1,
|
|
20
|
+
iconUrls: [],
|
|
21
|
+
- chainName: 'Ethereum',
|
|
22
|
+
+ name: 'Ethereum',
|
|
23
|
+
nativeCurrency: {
|
|
24
|
+
decimals: 18,
|
|
25
|
+
name: 'Ether',
|
|
26
|
+
symbol: 'ETH',
|
|
27
|
+
},
|
|
28
|
+
networkId: 1,
|
|
29
|
+
rpcUrls: [],
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
}}
|
|
33
|
+
>
|
|
34
|
+
<HomePage />
|
|
35
|
+
</DynamicContextProvider>
|
|
36
|
+
```
|
|
37
|
+
- the `multiWallet` prop on DynamicContextProvider is deprecated in favor of the Dashboard settings. See [here](https://docs.dynamic.xyz/docs/multi-wallet#setup) for more info
|
|
38
|
+
|
|
39
|
+
### Highlighted Features
|
|
40
|
+
- Package splitting. You asked for it, and here it is!
|
|
41
|
+
If you want to reduce your package size to include only the chains and the wallets that your app needs, you now have the option to customize your build [See instructions](https://docs.dynamic.xyz/docs/reduce-bundle-size-with-modular-sdk)
|
|
42
|
+
|
|
43
|
+
- Two cool features for Magic Wallets:
|
|
44
|
+
- Support for [social login](https://docs.dynamic.xyz/docs/magic#enable-social-sign-in)
|
|
45
|
+
- Modal for supporting [send balance](https://docs.dynamic.xyz/docs/send-balance-ui).
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
- Generic types on various connector methods. For example, if you know you are working with an EVM network, you can typecast with `walletConnector.getNetwork<number>()` to work nicely in typescript.
|
|
49
|
+
|
|
50
|
+
- [onRamp with Banxa](https://docs.dynamic.xyz/docs/onramps) (please reach out to us to enable the feature)
|
|
51
|
+
|
|
52
|
+
- Ability to support multiple RPCs with fallbacks when providing the URL to network prop.
|
|
53
|
+
|
|
54
|
+
- Added suffix to the local storage key, in case you are testing multiple local environments locally at the same time.
|
|
55
|
+
|
|
56
|
+
- We have a new global loading state that you can now easily use to tell when the SDK completed loading (`sdkHasLoaded`)
|
|
57
|
+
|
|
58
|
+
And many other minor improvements and bug fixes.
|
|
59
|
+
|
|
60
|
+
Enjoy!
|
|
61
|
+
|
|
62
|
+
### Features
|
|
63
|
+
|
|
64
|
+
* Add suffix to local storage ([#2227](https://github.com/dynamic-labs/DynamicAuth/issues/2227)) ([b901b9b](https://github.com/dynamic-labs/DynamicAuth/commit/b901b9b43a3eaa80706b9ec0679f668a7b8b2507))
|
|
65
|
+
* Block Self Service so users have to schedule a demo ([#2286](https://github.com/dynamic-labs/DynamicAuth/issues/2286)) ([8a2f19a](https://github.com/dynamic-labs/DynamicAuth/commit/8a2f19a13a91ef0d9b860ff5164d61f6f7664426))
|
|
66
|
+
* dyn 2486 Add support for superb ([#2271](https://github.com/dynamic-labs/DynamicAuth/issues/2271)) ([8ea51e9](https://github.com/dynamic-labs/DynamicAuth/commit/8ea51e93c5d74d02efd47877042d7af05ca55f5c))
|
|
67
|
+
* pass icon theme variant to usages of SocialIcon ([#2303](https://github.com/dynamic-labs/DynamicAuth/issues/2303)) ([da59d6f](https://github.com/dynamic-labs/DynamicAuth/commit/da59d6f22e7ec49cb8cff757baada3cb1e737b99))
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
### Bug Fixes
|
|
71
|
+
|
|
72
|
+
* brief red error message as the KYC screen loads ([#2240](https://github.com/dynamic-labs/DynamicAuth/issues/2240)) ([1155e8b](https://github.com/dynamic-labs/DynamicAuth/commit/1155e8bd66ffdc96ae3f9d88f027793217c120a8))
|
|
73
|
+
* account controls hover does not fill the container ([#2300](https://github.com/dynamic-labs/DynamicAuth/issues/2300)) ([fdc984e](https://github.com/dynamic-labs/DynamicAuth/commit/fdc984e2d0b11d9d38dcd9e877c228fbc41c5855))
|
|
74
|
+
* refresh session in walletconnectv2 ([#2294](https://github.com/dynamic-labs/DynamicAuth/issues/2294)) ([d54263e](https://github.com/dynamic-labs/DynamicAuth/commit/d54263ea04c58f842b60b0c13f964fde25be786b))
|
|
75
|
+
|
|
2
76
|
## [0.17.0-RC.33](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.0-RC.32...v0.17.0-RC.33) (2023-06-09)
|
|
3
77
|
|
|
4
78
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/flow",
|
|
3
|
-
"version": "0.17.0
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/dynamic-labs/DynamicAuth.git",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@onflow/fcl": "1.3.2",
|
|
30
|
-
"@dynamic-labs/utils": "0.17.0
|
|
31
|
-
"@dynamic-labs/wallet-connector-core": "0.17.0
|
|
30
|
+
"@dynamic-labs/utils": "0.17.0",
|
|
31
|
+
"@dynamic-labs/wallet-connector-core": "0.17.0"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {}
|
|
34
34
|
}
|