Skip to content

Commit

Permalink
Merge pull request #3014 from pnp/version-4
Browse files Browse the repository at this point in the history
4.0.1
  • Loading branch information
patrick-rodgers authored Apr 23, 2024
2 parents 4caf20c + 8146905 commit fd16508
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## 4.0.1 - 2024-Apr-23

### Fixed

- graph
- Fixed issue with SPFx behavior null check #3012

## 4.0.0 - 2024-Apr-22

### Added
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@pnp/monorepo",
"private": true,
"type": "module",
"version": "4.0.0",
"version": "4.0.1",
"description": "A JavaScript library for SharePoint & Graph development.",
"devDependencies": {
"@azure/identity": "4.1.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/graph/behaviors/spfx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class SPFxTokenNullOrUndefinedError extends Error {

export function SPFxToken(context: ISPFXContext): TimelinePipe<Queryable> {

SPFxTokenNullOrUndefinedError.check("SPFxToken");
SPFxTokenNullOrUndefinedError.check("SPFxToken", context);

return (instance: Queryable) => {

Expand All @@ -47,7 +47,7 @@ export function SPFxToken(context: ISPFXContext): TimelinePipe<Queryable> {

export function SPFx(context: ISPFXContext): TimelinePipe<Queryable> {

SPFxTokenNullOrUndefinedError.check("SPFx");
SPFxTokenNullOrUndefinedError.check("SPFx", context);

return (instance: Queryable) => {

Expand Down

0 comments on commit fd16508

Please sign in to comment.