@stytch/react 0.10.0 → 0.10.2

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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # @stytch/react
2
2
 
3
+ ## 0.10.2
4
+
5
+ ### Patch Changes
6
+
7
+ - ca5a31d: SDK-877 Fix session/user persisting after logging out
8
+ - Updated dependencies [ca5a31d]
9
+ - @stytch/vanilla-js@0.10.6
10
+
11
+ ## 0.10.1
12
+
13
+ ### Patch Changes
14
+
15
+ - f1810c4: Add React Native OAuth callback, PKCE fix
16
+ - Updated dependencies [f1810c4]
17
+ - @stytch/vanilla-js@0.10.2
18
+
3
19
  ## 0.10.0
4
20
 
5
21
  ### Minor Changes
package/README.md CHANGED
@@ -41,9 +41,9 @@ const App = () => {
41
41
  },
42
42
  },
43
43
  styles: {
44
+ container: { width: '321px' },
45
+ colors: { primary: '#0577CA' },
44
46
  fontFamily: '"Helvetica New", Helvetica, sans-serif',
45
- width: '321px',
46
- primaryColor: '#0577CA',
47
47
  },
48
48
  callbacks: {
49
49
  onEvent: (message) => console.log(message),
@@ -56,7 +56,7 @@ const App = () => {
56
56
  <div id="login">
57
57
  <StytchLogin
58
58
  config={stytchProps.loginOrSignupView}
59
- styles={stytchProps.style}
59
+ styles={stytchProps.styles}
60
60
  callbacks={stytchProps.callbacks}
61
61
  />
62
62
  </div>
@@ -154,3 +154,4 @@ We've made a number of small changes to our naming conventions to make the API c
154
154
  - The `<Stytch />` login component is now called `<StytchLogin />`
155
155
  - The `OAuthProvidersTypes` enum is now called `OAuthProviders`
156
156
  - The `SDKProductTypes` enum is now called `Products`
157
+ - There are some additional changes to the `styles` config documented [here](https://stytch.com/docs/sdks/javascript-sdk#resources_migration-guide_v-zero-five)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stytch/react",
3
- "version": "0.10.0",
3
+ "version": "0.10.2",
4
4
  "description": "Stytch's official React Library",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.esm.js",
@@ -31,14 +31,14 @@
31
31
  ],
32
32
  "devDependencies": {
33
33
  "@babel/runtime": "7.18.6",
34
- "@stytch/vanilla-js": "0.10.0",
34
+ "@stytch/vanilla-js": "0.10.6",
35
35
  "@testing-library/react": "12.1.3",
36
36
  "eslint-config-custom": "0.0.0",
37
37
  "rollup": "2.56.3",
38
38
  "typescript": "4.7.4"
39
39
  },
40
40
  "peerDependencies": {
41
- "@stytch/vanilla-js": "^0.10.0",
41
+ "@stytch/vanilla-js": "^0.10.6",
42
42
  "react": ">= 17.0.2",
43
43
  "react-dom": ">= 17.0.2"
44
44
  }