Skip to content

Commit

Permalink
fix: makes input of validateClaims optional & changelog (#685)
Browse files Browse the repository at this point in the history
* makes input of validateClaims optional & changelog

* updates version

* chore: update CHANGELOG.md to add a missing sub-header

---------

Co-authored-by: Alisher <alisher@supertokens.com>
Co-authored-by: Mihály Lengyel <mihaly@lengyel.tech>
Co-authored-by: Rishabh Poddar <rishabh.poddar@gmail.com>
  • Loading branch information
4 people committed May 3, 2023
1 parent 302f76c commit 91236d0
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)

## [0.32.1] - 2023-05-03

### Changes

- Made Session.validateClaims argument optional

## [0.32.0] - 2023-05-02

### Changes
Expand Down
2 changes: 1 addition & 1 deletion lib/build/recipe/session/index.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/build/version.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/ts/recipe/session/index.ts
Expand Up @@ -83,7 +83,7 @@ export default class SessionAPIWrapper {
});
}

static validateClaims(input: {
static validateClaims(input?: {
overrideGlobalClaimValidators?: (
globalClaimValidators: SessionClaimValidator[],
userContext: any
Expand Down
2 changes: 1 addition & 1 deletion lib/ts/version.ts
Expand Up @@ -12,4 +12,4 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
export const package_version = "0.32.0";
export const package_version = "0.32.1";
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "supertokens-auth-react",
"version": "0.32.0",
"version": "0.32.1",
"description": "ReactJS SDK that provides login functionality with SuperTokens.",
"main": "./index.js",
"engines": {
Expand Down

0 comments on commit 91236d0

Please sign in to comment.