@microsoft/sp-http-msgraph 1.21.1 → 1.22.0-beta.1
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/dist/aec2bbfd-a968-4d5b-a279-12e570f378e6.manifest.json +133 -133
- package/dist/{chunk.sp-http-msgraphclient_none_6c6860a7dbf5c4affeec.js → chunk.sp-http-msgraphclient_none_254051770ee2c0d5d03f.js} +1 -1
- package/dist/{chunk.sp-http-msgraphclientv3_none_c2259cffaa9a9dec38a9.js → chunk.sp-http-msgraphclientv3_none_2c5499c1d9140b6b043a.js} +1 -1
- package/dist/{sp-http-msgraph_default_a27ec12b005149b09392.js → sp-http-msgraph_default_4df746036332a4387437.js} +1 -1
- package/dist/{sp-http-msgraph_en-us_68d596c50a1c8c909ea8.js → sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js} +1 -1
- package/dist/{sp-http-msgraph_qps-ploc_99bafb91a21c8d92723d.js → sp-http-msgraph_qps-ploc_33b301b92c5a0e988c49.js} +1 -1
- package/dist/{sp-http-msgraph_qps-ploca_6d7f1115bb6ba53b2680.js → sp-http-msgraph_qps-ploca_94a48b31e48512284936.js} +1 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/lib-commonjs/MSGraphClientV3.js +1 -1
- package/lib-commonjs/SPHttpMsGraphStrings.resx.json +1 -0
- package/package.json +9 -9
- package/lib-commonjs/SPHttpMsGraphStrings.resx +0 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var e=document.currentScript;define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.
|
|
1
|
+
(()=>{var e=document.currentScript;define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.0",["tslib","@microsoft/sp-core-library","@microsoft/sp-diagnostics","@microsoft/sp-http-base","@microsoft/sp-loader"],(t,n,a,i,r)=>(()=>{"use strict";var o,s,c,d,l,u={676:e=>{e.exports=n},207:e=>{e.exports=a},737:e=>{e.exports=i},414:e=>{e.exports=r},280:e=>{e.exports=t}},f={};function p(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return u[e](n,n.exports,p),n.exports}p.m=u,s=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,p.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var n=Object.create(null);p.r(n);var a={};o=o||[null,s({}),s([]),s(s)];for(var i=2&t&&e;"object"==typeof i&&!~o.indexOf(i);i=s(i))Object.getOwnPropertyNames(i).forEach(t=>a[t]=()=>e[t]);return a.default=()=>e,p.d(n,a),n},p.d=(e,t)=>{for(var n in t)p.o(t,n)&&!p.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},p.f={},p.e=e=>Promise.all(Object.keys(p.f).reduce((t,n)=>(p.f[n](e,t),t),[])),p.u=e=>"chunk."+{265:"sp-http-msgraphclient",308:"sp-http-msgraphclientv3"}[e]+"_none_"+{265:"254051770ee2c0d5d03f",308:"2c5499c1d9140b6b043a"}[e]+".js",p.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),c={},d="aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.0:",p.l=(e,t,n,a)=>{if(c[e])c[e].push(t);else{var i,r;if(void 0!==n)for(var o=document.getElementsByTagName("script"),s=0;s<o.length;s++){var l=o[s];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==d+n){i=l;break}}i||(r=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,p.nc&&i.setAttribute("nonce",p.nc),i.setAttribute("data-webpack",d+n),i.src=e,0!==i.src.indexOf(window.location.origin+"/")&&(i.crossOrigin="anonymous")),c[e]=[t];var u=(t,n)=>{i.onerror=i.onload=null,clearTimeout(f);var a=c[e];if(delete c[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),t)return t(n)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=u.bind(null,i.onerror),i.onload=u.bind(null,i.onload),r&&document.head.appendChild(i)}},p.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l=e?e.src:"",p.p=l.slice(0,l.lastIndexOf("/")+1),p.f.compat=(e,t)=>{for(var n=function(e){return{308:[{i:"32b9363b-09ff-4959-929a-cab2663fb223",v:"3.0.2",m:888}]}[e]||[]}(e),a=0;a<n.length;a++)p.m[n[a].m]||(e=>{t.push(m.SPComponentLoader.loadComponentById(e.i,e.v).then(t=>{p.m[e.m]=e=>e.exports=t}))})(n[a])};var m=p(414);(()=>{var e={884:0};p.f.j=(t,n)=>{var a=p.o(e,t)?e[t]:void 0;if(0!==a)if(a)n.push(a[2]);else{var i=new Promise((n,i)=>a=e[t]=[n,i]);n.push(a[2]=i);var r=p.p+p.u(t),o=new Error;p.l(r,n=>{if(p.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var i=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;o.message="Loading chunk "+t+" failed.\n("+i+": "+r+")",o.name="ChunkLoadError",o.type=i,o.request=r,a[1](o)}},"chunk-"+t,t)}};var t=(t,n)=>{var a,i,[r,o,s]=n,c=0;if(r.some(t=>0!==e[t])){for(a in o)p.o(o,a)&&(p.m[a]=o[a]);s&&s(p)}for(t&&t(n);c<r.length;c++)i=r[c],p.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.0"]=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.0"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var _={};return(()=>{p.r(_),p.d(_,{MSGraphClient:()=>r,MSGraphClientFactory:()=>o});var e=p(280),t=p(676),n=p(207),a=p(737);const i=JSON.parse('{"C":"Sorry, we couldn\\u0027t make a connection to Microsoft Graph."}'),r=function(){function r(e){var t=this;e.whenFinished(function(){r._graphBaseUrl=e.consume(a._GraphHttpClientContext.serviceKey).getGraphEndpointUrl(),r._instance||(r._instance=t._createGraphClientInstance(a._AadTokenProviders.configurable))})}return r.prototype.api=function(n,a){return t.Validate.isNonemptyString(n,"path"),r._instance.config=(0,e.__assign)((0,e.__assign)({},r._originalConfig),a||{}),r._instance.api(n)},r.prototype._createGraphClientInstance=function(e){var t,n=this;if(!r._window.MicrosoftGraph||!r._window.MicrosoftGraph.Client)throw new Error(i.C);t=r._window.MicrosoftGraph.Client,r._window.MicrosoftGraph=void 0;var a=t.init({authProvider:function(t){n._getOAuthToken(e).then(function(e){t(void 0,e)}).catch(function(e){t(e,"")})},baseUrl:r._graphBaseUrl});return r._originalConfig=a.config,a},r.prototype._getOAuthToken=function(e){var t=new n._QosMonitor("MSGraphClient.FetchGraphToken");return e.getToken(r._graphBaseUrl).then(function(e){return t.writeSuccess(),e}).catch(function(e){throw t.writeUnexpectedFailure(e.message,e),e})},r._window=window,r}(),o=function(){function e(e){this._serviceScope=e}return e.prototype.getClient=function(e,a){var i=this;if(e&&"1"!==e){if("3"!==e||t._SPKillSwitch.isActivated("24401914-15d6-4c3c-aeea-4aace46d5586"))throw Error("Not yet implemented.");var o=new n._QosMonitor("MSGraphClientFactory.GetClientV3");return p.e(308).then(p.bind(p,979)).then(function(e){return o.writeSuccess({version:3,options:!!a}),new e.default(i._serviceScope,a,void 0)}).catch(function(e){throw o.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})}return r._instance?Promise.resolve(new r(this._serviceScope)):p.e(265).then(p.t.bind(p,946,23)).then(function(){return new r(i._serviceScope)})},e.prototype.getClientWithMiddleware=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetClientV3WithMiddleware");return p.e(308).then(p.bind(p,979)).then(function(e){return i.writeSuccess({version:3}),new e.default(a._serviceScope,void 0,t)}).catch(function(e){throw i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.prototype.getClientInternal=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetInternalClientV3");return p.e(308).then(p.bind(p,979)).then(function(e){return i.writeSuccess({version:3,options:!!t}),new e.default(a._serviceScope,t,void 0,!0)}).catch(function(e){throw i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.serviceKey=t.ServiceKey.create("sp-http:MSGraphClientFactory",e),e}()})(),_})())})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var e=document.currentScript;define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.
|
|
1
|
+
(()=>{var e=document.currentScript;define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.0",["tslib","@microsoft/sp-core-library","@microsoft/sp-diagnostics","@microsoft/sp-http-base","@microsoft/sp-loader"],(t,n,a,i,r)=>(()=>{"use strict";var o,s,c,d,l,u={676:e=>{e.exports=n},207:e=>{e.exports=a},737:e=>{e.exports=i},414:e=>{e.exports=r},280:e=>{e.exports=t}},f={};function p(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return u[e](n,n.exports,p),n.exports}p.m=u,s=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,p.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var n=Object.create(null);p.r(n);var a={};o=o||[null,s({}),s([]),s(s)];for(var i=2&t&&e;"object"==typeof i&&!~o.indexOf(i);i=s(i))Object.getOwnPropertyNames(i).forEach(t=>a[t]=()=>e[t]);return a.default=()=>e,p.d(n,a),n},p.d=(e,t)=>{for(var n in t)p.o(t,n)&&!p.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},p.f={},p.e=e=>Promise.all(Object.keys(p.f).reduce((t,n)=>(p.f[n](e,t),t),[])),p.u=e=>"chunk."+{265:"sp-http-msgraphclient",308:"sp-http-msgraphclientv3"}[e]+"_none_"+{265:"254051770ee2c0d5d03f",308:"2c5499c1d9140b6b043a"}[e]+".js",p.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),c={},d="aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.0:",p.l=(e,t,n,a)=>{if(c[e])c[e].push(t);else{var i,r;if(void 0!==n)for(var o=document.getElementsByTagName("script"),s=0;s<o.length;s++){var l=o[s];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==d+n){i=l;break}}i||(r=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,p.nc&&i.setAttribute("nonce",p.nc),i.setAttribute("data-webpack",d+n),i.src=e,0!==i.src.indexOf(window.location.origin+"/")&&(i.crossOrigin="anonymous")),c[e]=[t];var u=(t,n)=>{i.onerror=i.onload=null,clearTimeout(f);var a=c[e];if(delete c[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),t)return t(n)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=u.bind(null,i.onerror),i.onload=u.bind(null,i.onload),r&&document.head.appendChild(i)}},p.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l=e?e.src:"",p.p=l.slice(0,l.lastIndexOf("/")+1),p.f.compat=(e,t)=>{for(var n=function(e){return{308:[{i:"32b9363b-09ff-4959-929a-cab2663fb223",v:"3.0.2",m:888}]}[e]||[]}(e),a=0;a<n.length;a++)p.m[n[a].m]||(e=>{t.push(m.SPComponentLoader.loadComponentById(e.i,e.v).then(t=>{p.m[e.m]=e=>e.exports=t}))})(n[a])};var m=p(414);(()=>{var e={884:0};p.f.j=(t,n)=>{var a=p.o(e,t)?e[t]:void 0;if(0!==a)if(a)n.push(a[2]);else{var i=new Promise((n,i)=>a=e[t]=[n,i]);n.push(a[2]=i);var r=p.p+p.u(t),o=new Error;p.l(r,n=>{if(p.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var i=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;o.message="Loading chunk "+t+" failed.\n("+i+": "+r+")",o.name="ChunkLoadError",o.type=i,o.request=r,a[1](o)}},"chunk-"+t,t)}};var t=(t,n)=>{var a,i,[r,o,s]=n,c=0;if(r.some(t=>0!==e[t])){for(a in o)p.o(o,a)&&(p.m[a]=o[a]);s&&s(p)}for(t&&t(n);c<r.length;c++)i=r[c],p.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.0"]=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.0"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var _={};return(()=>{p.r(_),p.d(_,{MSGraphClient:()=>r,MSGraphClientFactory:()=>o});var e=p(280),t=p(676),n=p(207),a=p(737);const i=JSON.parse('{"C":"[!!--##Śōŕŕŷ, ŵē ćōũĺďń\\u0027ţ màķē à ćōńńēćţĩōń ţō Mĩćŕōśōƒţ Ĝŕàƥĥ.##--!!]"}'),r=function(){function r(e){var t=this;e.whenFinished(function(){r._graphBaseUrl=e.consume(a._GraphHttpClientContext.serviceKey).getGraphEndpointUrl(),r._instance||(r._instance=t._createGraphClientInstance(a._AadTokenProviders.configurable))})}return r.prototype.api=function(n,a){return t.Validate.isNonemptyString(n,"path"),r._instance.config=(0,e.__assign)((0,e.__assign)({},r._originalConfig),a||{}),r._instance.api(n)},r.prototype._createGraphClientInstance=function(e){var t,n=this;if(!r._window.MicrosoftGraph||!r._window.MicrosoftGraph.Client)throw new Error(i.C);t=r._window.MicrosoftGraph.Client,r._window.MicrosoftGraph=void 0;var a=t.init({authProvider:function(t){n._getOAuthToken(e).then(function(e){t(void 0,e)}).catch(function(e){t(e,"")})},baseUrl:r._graphBaseUrl});return r._originalConfig=a.config,a},r.prototype._getOAuthToken=function(e){var t=new n._QosMonitor("MSGraphClient.FetchGraphToken");return e.getToken(r._graphBaseUrl).then(function(e){return t.writeSuccess(),e}).catch(function(e){throw t.writeUnexpectedFailure(e.message,e),e})},r._window=window,r}(),o=function(){function e(e){this._serviceScope=e}return e.prototype.getClient=function(e,a){var i=this;if(e&&"1"!==e){if("3"!==e||t._SPKillSwitch.isActivated("24401914-15d6-4c3c-aeea-4aace46d5586"))throw Error("Not yet implemented.");var o=new n._QosMonitor("MSGraphClientFactory.GetClientV3");return p.e(308).then(p.bind(p,979)).then(function(e){return o.writeSuccess({version:3,options:!!a}),new e.default(i._serviceScope,a,void 0)}).catch(function(e){throw o.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})}return r._instance?Promise.resolve(new r(this._serviceScope)):p.e(265).then(p.t.bind(p,946,23)).then(function(){return new r(i._serviceScope)})},e.prototype.getClientWithMiddleware=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetClientV3WithMiddleware");return p.e(308).then(p.bind(p,979)).then(function(e){return i.writeSuccess({version:3}),new e.default(a._serviceScope,void 0,t)}).catch(function(e){throw i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.prototype.getClientInternal=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetInternalClientV3");return p.e(308).then(p.bind(p,979)).then(function(e){return i.writeSuccess({version:3,options:!!t}),new e.default(a._serviceScope,t,void 0,!0)}).catch(function(e){throw i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.serviceKey=t.ServiceKey.create("sp-http:MSGraphClientFactory",e),e}()})(),_})())})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var e=document.currentScript;define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.
|
|
1
|
+
(()=>{var e=document.currentScript;define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.0",["tslib","@microsoft/sp-core-library","@microsoft/sp-diagnostics","@microsoft/sp-http-base","@microsoft/sp-loader"],(t,n,a,i,r)=>(()=>{"use strict";var o,s,c,d,l,u={676:e=>{e.exports=n},207:e=>{e.exports=a},737:e=>{e.exports=i},414:e=>{e.exports=r},280:e=>{e.exports=t}},f={};function p(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return u[e](n,n.exports,p),n.exports}p.m=u,s=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,p.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var n=Object.create(null);p.r(n);var a={};o=o||[null,s({}),s([]),s(s)];for(var i=2&t&&e;"object"==typeof i&&!~o.indexOf(i);i=s(i))Object.getOwnPropertyNames(i).forEach(t=>a[t]=()=>e[t]);return a.default=()=>e,p.d(n,a),n},p.d=(e,t)=>{for(var n in t)p.o(t,n)&&!p.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},p.f={},p.e=e=>Promise.all(Object.keys(p.f).reduce((t,n)=>(p.f[n](e,t),t),[])),p.u=e=>"chunk."+{265:"sp-http-msgraphclient",308:"sp-http-msgraphclientv3"}[e]+"_none_"+{265:"254051770ee2c0d5d03f",308:"2c5499c1d9140b6b043a"}[e]+".js",p.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),c={},d="aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.0:",p.l=(e,t,n,a)=>{if(c[e])c[e].push(t);else{var i,r;if(void 0!==n)for(var o=document.getElementsByTagName("script"),s=0;s<o.length;s++){var l=o[s];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==d+n){i=l;break}}i||(r=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,p.nc&&i.setAttribute("nonce",p.nc),i.setAttribute("data-webpack",d+n),i.src=e,0!==i.src.indexOf(window.location.origin+"/")&&(i.crossOrigin="anonymous")),c[e]=[t];var u=(t,n)=>{i.onerror=i.onload=null,clearTimeout(f);var a=c[e];if(delete c[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),t)return t(n)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=u.bind(null,i.onerror),i.onload=u.bind(null,i.onload),r&&document.head.appendChild(i)}},p.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l=e?e.src:"",p.p=l.slice(0,l.lastIndexOf("/")+1),p.f.compat=(e,t)=>{for(var n=function(e){return{308:[{i:"32b9363b-09ff-4959-929a-cab2663fb223",v:"3.0.2",m:888}]}[e]||[]}(e),a=0;a<n.length;a++)p.m[n[a].m]||(e=>{t.push(m.SPComponentLoader.loadComponentById(e.i,e.v).then(t=>{p.m[e.m]=e=>e.exports=t}))})(n[a])};var m=p(414);(()=>{var e={884:0};p.f.j=(t,n)=>{var a=p.o(e,t)?e[t]:void 0;if(0!==a)if(a)n.push(a[2]);else{var i=new Promise((n,i)=>a=e[t]=[n,i]);n.push(a[2]=i);var r=p.p+p.u(t),o=new Error;p.l(r,n=>{if(p.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var i=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;o.message="Loading chunk "+t+" failed.\n("+i+": "+r+")",o.name="ChunkLoadError",o.type=i,o.request=r,a[1](o)}},"chunk-"+t,t)}};var t=(t,n)=>{var a,i,[r,o,s]=n,c=0;if(r.some(t=>0!==e[t])){for(a in o)p.o(o,a)&&(p.m[a]=o[a]);s&&s(p)}for(t&&t(n);c<r.length;c++)i=r[c],p.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.0"]=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.0"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var _={};return(()=>{p.r(_),p.d(_,{MSGraphClient:()=>r,MSGraphClientFactory:()=>o});var e=p(280),t=p(676),n=p(207),a=p(737);const i=JSON.parse('{"C":"Śōŕŕŷ, ŵē ćōũĺďń\\u0027ţ màķē à ćōńńēćţĩōń ţō Mĩćŕōśōƒţ Ĝŕàƥĥ."}'),r=function(){function r(e){var t=this;e.whenFinished(function(){r._graphBaseUrl=e.consume(a._GraphHttpClientContext.serviceKey).getGraphEndpointUrl(),r._instance||(r._instance=t._createGraphClientInstance(a._AadTokenProviders.configurable))})}return r.prototype.api=function(n,a){return t.Validate.isNonemptyString(n,"path"),r._instance.config=(0,e.__assign)((0,e.__assign)({},r._originalConfig),a||{}),r._instance.api(n)},r.prototype._createGraphClientInstance=function(e){var t,n=this;if(!r._window.MicrosoftGraph||!r._window.MicrosoftGraph.Client)throw new Error(i.C);t=r._window.MicrosoftGraph.Client,r._window.MicrosoftGraph=void 0;var a=t.init({authProvider:function(t){n._getOAuthToken(e).then(function(e){t(void 0,e)}).catch(function(e){t(e,"")})},baseUrl:r._graphBaseUrl});return r._originalConfig=a.config,a},r.prototype._getOAuthToken=function(e){var t=new n._QosMonitor("MSGraphClient.FetchGraphToken");return e.getToken(r._graphBaseUrl).then(function(e){return t.writeSuccess(),e}).catch(function(e){throw t.writeUnexpectedFailure(e.message,e),e})},r._window=window,r}(),o=function(){function e(e){this._serviceScope=e}return e.prototype.getClient=function(e,a){var i=this;if(e&&"1"!==e){if("3"!==e||t._SPKillSwitch.isActivated("24401914-15d6-4c3c-aeea-4aace46d5586"))throw Error("Not yet implemented.");var o=new n._QosMonitor("MSGraphClientFactory.GetClientV3");return p.e(308).then(p.bind(p,979)).then(function(e){return o.writeSuccess({version:3,options:!!a}),new e.default(i._serviceScope,a,void 0)}).catch(function(e){throw o.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})}return r._instance?Promise.resolve(new r(this._serviceScope)):p.e(265).then(p.t.bind(p,946,23)).then(function(){return new r(i._serviceScope)})},e.prototype.getClientWithMiddleware=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetClientV3WithMiddleware");return p.e(308).then(p.bind(p,979)).then(function(e){return i.writeSuccess({version:3}),new e.default(a._serviceScope,void 0,t)}).catch(function(e){throw i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.prototype.getClientInternal=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetInternalClientV3");return p.e(308).then(p.bind(p,979)).then(function(e){return i.writeSuccess({version:3,options:!!t}),new e.default(a._serviceScope,t,void 0,!0)}).catch(function(e){throw i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.serviceKey=t.ServiceKey.create("sp-http:MSGraphClientFactory",e),e}()})(),_})())})();
|
package/dist/tsdoc-metadata.json
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
var tslib_1 = require("tslib");
|
|
4
4
|
var sp_core_library_1 = require("@microsoft/sp-core-library");
|
|
5
5
|
var sp_diagnostics_1 = require("@microsoft/sp-diagnostics");
|
|
6
|
-
var ms_graph_v3_bundle_1 = require("@
|
|
6
|
+
var ms_graph_v3_bundle_1 = require("@msinternal/ms-graph-v3-bundle");
|
|
7
7
|
var sp_http_base_1 = require("@microsoft/sp-http-base");
|
|
8
8
|
var Killswitches_1 = require("./common/Killswitches");
|
|
9
9
|
var MSGraphAuthenticationProvider_1 = require("./MSGraphAuthenticationProvider");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"graphClientInitializationError":"Sorry, we couldn't make a connection to Microsoft Graph."}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/sp-http-msgraph",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.22.0-beta.1",
|
|
4
4
|
"description": "Microsoft Graph communication layer for the SharePoint Framework",
|
|
5
5
|
"license": "https://aka.ms/spfx/license",
|
|
6
6
|
"homepage": "http://aka.ms/spfx",
|
|
@@ -14,18 +14,18 @@
|
|
|
14
14
|
"@microsoft/microsoft-graph-clientv1": "npm:@microsoft/microsoft-graph-client@1.7.2-spfx",
|
|
15
15
|
"@swc/helpers": "0.5.12",
|
|
16
16
|
"tslib": "2.3.1",
|
|
17
|
-
"@microsoft/sp-
|
|
18
|
-
"@microsoft/sp-
|
|
19
|
-
"@microsoft/sp-
|
|
20
|
-
"@microsoft/sp-
|
|
17
|
+
"@microsoft/sp-core-library": "1.22.0-beta.1",
|
|
18
|
+
"@microsoft/sp-diagnostics": "1.22.0-beta.1",
|
|
19
|
+
"@microsoft/sp-http-base": "1.22.0-beta.1",
|
|
20
|
+
"@microsoft/sp-loader": "1.22.0-beta.1"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@microsoft/microsoft-graph-client": "3.0.2",
|
|
24
|
-
"@rushstack/heft": "0.
|
|
24
|
+
"@rushstack/heft": "0.73.6",
|
|
25
25
|
"eslint": "8.57.1",
|
|
26
|
-
"@microsoft/sp-module-interfaces": "1.
|
|
27
|
-
"@
|
|
28
|
-
"@ms
|
|
26
|
+
"@microsoft/sp-module-interfaces": "1.22.0-beta.1",
|
|
27
|
+
"@msinternal/spfx-internal-web-build-rig": "0.1.0",
|
|
28
|
+
"@msinternal/ms-graph-v3-bundle": "3.0.2"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"@microsoft/microsoft-graph-client": "3.0.2"
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<root>
|
|
3
|
-
<data name="$FILE_ID" xml:space="preserve">
|
|
4
|
-
<value>d825b9d7-8b85-47f7-a88c-1d4c32dd9e99</value>
|
|
5
|
-
<comment>{locked} This is the file ID for this localization file. This string value should not be used or translated.</comment>
|
|
6
|
-
</data>
|
|
7
|
-
<data name="graphClientInitializationError" xml:space="preserve">
|
|
8
|
-
<value>Sorry, we couldn't make a connection to Microsoft Graph.</value>
|
|
9
|
-
<comment>[Tag:ODSP-SPPPLAT-SPHttp] Message to show when the MSGraphClient cannot be constructed. MSGraphClient is a javascript SDK for interacting with Microsoft Graph's REST APIs. </comment>
|
|
10
|
-
</data>
|
|
11
|
-
</root>
|