react-easy-wall 3.5.4 → 3.5.5
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/package.json +1 -1
- package/dist/cjs/_virtual/_assert.js +0 -30
- package/dist/cjs/_virtual/_assert.js.map +0 -1
- package/dist/cjs/_virtual/_crypto.js +0 -30
- package/dist/cjs/_virtual/_crypto.js.map +0 -1
- package/dist/cjs/_virtual/_fs.js +0 -30
- package/dist/cjs/_virtual/_fs.js.map +0 -1
- package/dist/cjs/_virtual/_http.js +0 -30
- package/dist/cjs/_virtual/_http.js.map +0 -1
- package/dist/cjs/_virtual/_https.js +0 -30
- package/dist/cjs/_virtual/_https.js.map +0 -1
- package/dist/cjs/_virtual/_os.js +0 -30
- package/dist/cjs/_virtual/_os.js.map +0 -1
- package/dist/cjs/_virtual/_path.js +0 -30
- package/dist/cjs/_virtual/_path.js.map +0 -1
- package/dist/cjs/_virtual/_stream.js +0 -30
- package/dist/cjs/_virtual/_stream.js.map +0 -1
- package/dist/cjs/_virtual/_tty.js +0 -30
- package/dist/cjs/_virtual/_tty.js.map +0 -1
- package/dist/cjs/_virtual/_url.js +0 -30
- package/dist/cjs/_virtual/_url.js.map +0 -1
- package/dist/cjs/_virtual/_util.js +0 -30
- package/dist/cjs/_virtual/_util.js.map +0 -1
- package/dist/cjs/_virtual/browser.js +0 -6
- package/dist/cjs/_virtual/browser.js.map +0 -1
- package/dist/cjs/_virtual/form_data.js +0 -12
- package/dist/cjs/_virtual/form_data.js.map +0 -1
- package/dist/cjs/_virtual/index10.js +0 -6
- package/dist/cjs/_virtual/index10.js.map +0 -1
- package/dist/cjs/_virtual/index11.js +0 -6
- package/dist/cjs/_virtual/index11.js.map +0 -1
- package/dist/cjs/_virtual/index12.js +0 -6
- package/dist/cjs/_virtual/index12.js.map +0 -1
- package/dist/cjs/_virtual/index13.js +0 -6
- package/dist/cjs/_virtual/index13.js.map +0 -1
- package/dist/cjs/_virtual/index14.js +0 -6
- package/dist/cjs/_virtual/index14.js.map +0 -1
- package/dist/cjs/_virtual/index15.js +0 -6
- package/dist/cjs/_virtual/index15.js.map +0 -1
- package/dist/cjs/_virtual/node.js +0 -6
- package/dist/cjs/_virtual/node.js.map +0 -1
- package/dist/cjs/_virtual/serialOrdered.js +0 -6
- package/dist/cjs/_virtual/serialOrdered.js.map +0 -1
- package/dist/cjs/components/session/SessionProviderServer.js +0 -15
- package/dist/cjs/components/session/SessionProviderServer.js.map +0 -1
- package/dist/cjs/components/session/SessionUserClientProvider.js +0 -71
- package/dist/cjs/components/session/SessionUserClientProvider.js.map +0 -1
- package/dist/cjs/components/session/SessionUserProvider.js +0 -23
- package/dist/cjs/components/session/SessionUserProvider.js.map +0 -1
- package/dist/cjs/node_modules/@apollo/client/errors/CombinedProtocolErrors.js +0 -85
- package/dist/cjs/node_modules/@apollo/client/errors/CombinedProtocolErrors.js.map +0 -1
- package/dist/cjs/node_modules/@apollo/client/errors/ServerError.js +0 -80
- package/dist/cjs/node_modules/@apollo/client/errors/ServerError.js.map +0 -1
- package/dist/cjs/node_modules/@apollo/client/errors/ServerParseError.js +0 -77
- package/dist/cjs/node_modules/@apollo/client/errors/ServerParseError.js.map +0 -1
- package/dist/cjs/node_modules/@apollo/client/errors/index.js +0 -9
- package/dist/cjs/node_modules/@apollo/client/errors/index.js.map +0 -1
- package/dist/cjs/node_modules/@apollo/client/errors/utils.js +0 -19
- package/dist/cjs/node_modules/@apollo/client/errors/utils.js.map +0 -1
- package/dist/cjs/node_modules/@apollo/client/link/client-awareness/ClientAwarenessLink.js +0 -91
- package/dist/cjs/node_modules/@apollo/client/link/client-awareness/ClientAwarenessLink.js.map +0 -1
- package/dist/cjs/node_modules/@apollo/client/link/http/BaseHttpLink.js +0 -155
- package/dist/cjs/node_modules/@apollo/client/link/http/BaseHttpLink.js.map +0 -1
- package/dist/cjs/node_modules/@apollo/client/link/http/HttpLink.js +0 -41
- package/dist/cjs/node_modules/@apollo/client/link/http/HttpLink.js.map +0 -1
- package/dist/cjs/node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js +0 -168
- package/dist/cjs/node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js.map +0 -1
- package/dist/cjs/node_modules/@apollo/client/link/http/rewriteURIForGET.js +0 -56
- package/dist/cjs/node_modules/@apollo/client/link/http/rewriteURIForGET.js.map +0 -1
- package/dist/cjs/node_modules/@apollo/client/link/http/selectHttpOptionsAndBody.js +0 -106
- package/dist/cjs/node_modules/@apollo/client/link/http/selectHttpOptionsAndBody.js.map +0 -1
- package/dist/cjs/node_modules/@apollo/client/link/http/selectURI.js +0 -18
- package/dist/cjs/node_modules/@apollo/client/link/http/selectURI.js.map +0 -1
- package/dist/cjs/node_modules/@apollo/client/link/utils/filterOperationVariables.js +0 -27
- package/dist/cjs/node_modules/@apollo/client/link/utils/filterOperationVariables.js.map +0 -1
- package/dist/cjs/node_modules/@apollo/client/utilities/graphql/operations.js +0 -65
- package/dist/cjs/node_modules/@apollo/client/utilities/graphql/operations.js.map +0 -1
- package/dist/cjs/node_modules/@apollo/client/utilities/graphql/print.js +0 -31
- package/dist/cjs/node_modules/@apollo/client/utilities/graphql/print.js.map +0 -1
- package/dist/cjs/node_modules/@apollo/client/utilities/internal/compact.js +0 -27
- package/dist/cjs/node_modules/@apollo/client/utilities/internal/compact.js.map +0 -1
- package/dist/cjs/node_modules/@apollo/client/utilities/internal/isNonNullObject.js +0 -13
- package/dist/cjs/node_modules/@apollo/client/utilities/internal/isNonNullObject.js.map +0 -1
- package/dist/cjs/node_modules/asynckit/index.js +0 -23
- package/dist/cjs/node_modules/asynckit/index.js.map +0 -1
- package/dist/cjs/node_modules/asynckit/lib/abort.js +0 -42
- package/dist/cjs/node_modules/asynckit/lib/abort.js.map +0 -1
- package/dist/cjs/node_modules/asynckit/lib/async.js +0 -49
- package/dist/cjs/node_modules/asynckit/lib/async.js.map +0 -1
- package/dist/cjs/node_modules/asynckit/lib/defer.js +0 -39
- package/dist/cjs/node_modules/asynckit/lib/defer.js.map +0 -1
- package/dist/cjs/node_modules/asynckit/lib/iterate.js +0 -91
- package/dist/cjs/node_modules/asynckit/lib/iterate.js.map +0 -1
- package/dist/cjs/node_modules/asynckit/lib/state.js +0 -50
- package/dist/cjs/node_modules/asynckit/lib/state.js.map +0 -1
- package/dist/cjs/node_modules/asynckit/lib/terminator.js +0 -45
- package/dist/cjs/node_modules/asynckit/lib/terminator.js.map +0 -1
- package/dist/cjs/node_modules/asynckit/parallel.js +0 -60
- package/dist/cjs/node_modules/asynckit/parallel.js.map +0 -1
- package/dist/cjs/node_modules/asynckit/serial.js +0 -32
- package/dist/cjs/node_modules/asynckit/serial.js.map +0 -1
- package/dist/cjs/node_modules/asynckit/serialOrdered.js +0 -92
- package/dist/cjs/node_modules/asynckit/serialOrdered.js.map +0 -1
- package/dist/cjs/node_modules/axios/index.js +0 -46
- package/dist/cjs/node_modules/axios/index.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/adapters/adapters.js +0 -137
- package/dist/cjs/node_modules/axios/lib/adapters/adapters.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/adapters/fetch.js +0 -333
- package/dist/cjs/node_modules/axios/lib/adapters/fetch.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/adapters/http.js +0 -948
- package/dist/cjs/node_modules/axios/lib/adapters/http.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/adapters/xhr.js +0 -229
- package/dist/cjs/node_modules/axios/lib/adapters/xhr.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/axios.js +0 -92
- package/dist/cjs/node_modules/axios/lib/axios.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/cancel/CancelToken.js +0 -139
- package/dist/cjs/node_modules/axios/lib/cancel/CancelToken.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/cancel/CanceledError.js +0 -26
- package/dist/cjs/node_modules/axios/lib/cancel/CanceledError.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/cancel/isCancel.js +0 -11
- package/dist/cjs/node_modules/axios/lib/cancel/isCancel.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/core/Axios.js +0 -265
- package/dist/cjs/node_modules/axios/lib/core/Axios.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/core/AxiosError.js +0 -94
- package/dist/cjs/node_modules/axios/lib/core/AxiosError.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/core/AxiosHeaders.js +0 -348
- package/dist/cjs/node_modules/axios/lib/core/AxiosHeaders.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/core/InterceptorManager.js +0 -76
- package/dist/cjs/node_modules/axios/lib/core/InterceptorManager.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/core/buildFullPath.js +0 -28
- package/dist/cjs/node_modules/axios/lib/core/buildFullPath.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/core/dispatchRequest.js +0 -83
- package/dist/cjs/node_modules/axios/lib/core/dispatchRequest.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/core/mergeConfig.js +0 -113
- package/dist/cjs/node_modules/axios/lib/core/mergeConfig.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/core/settle.js +0 -37
- package/dist/cjs/node_modules/axios/lib/core/settle.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/core/transformData.js +0 -34
- package/dist/cjs/node_modules/axios/lib/core/transformData.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/defaults/index.js +0 -176
- package/dist/cjs/node_modules/axios/lib/defaults/index.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/defaults/transitional.js +0 -14
- package/dist/cjs/node_modules/axios/lib/defaults/transitional.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/env/data.js +0 -6
- package/dist/cjs/node_modules/axios/lib/env/data.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/AxiosTransformStream.js +0 -160
- package/dist/cjs/node_modules/axios/lib/helpers/AxiosTransformStream.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -66
- package/dist/cjs/node_modules/axios/lib/helpers/AxiosURLSearchParams.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -82
- package/dist/cjs/node_modules/axios/lib/helpers/HttpStatusCode.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +0 -33
- package/dist/cjs/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/bind.js +0 -20
- package/dist/cjs/node_modules/axios/lib/helpers/bind.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/buildURL.js +0 -72
- package/dist/cjs/node_modules/axios/lib/helpers/buildURL.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/callbackify.js +0 -23
- package/dist/cjs/node_modules/axios/lib/helpers/callbackify.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/combineURLs.js +0 -21
- package/dist/cjs/node_modules/axios/lib/helpers/combineURLs.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/composeSignals.js +0 -61
- package/dist/cjs/node_modules/axios/lib/helpers/composeSignals.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/cookies.js +0 -55
- package/dist/cjs/node_modules/axios/lib/helpers/cookies.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +0 -80
- package/dist/cjs/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/formDataToJSON.js +0 -99
- package/dist/cjs/node_modules/axios/lib/helpers/formDataToJSON.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/formDataToStream.js +0 -123
- package/dist/cjs/node_modules/axios/lib/helpers/formDataToStream.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/fromDataURI.js +0 -59
- package/dist/cjs/node_modules/axios/lib/helpers/fromDataURI.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -25
- package/dist/cjs/node_modules/axios/lib/helpers/isAbsoluteURL.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/isAxiosError.js +0 -20
- package/dist/cjs/node_modules/axios/lib/helpers/isAxiosError.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -23
- package/dist/cjs/node_modules/axios/lib/helpers/isURLSameOrigin.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/parseHeaders.js +0 -75
- package/dist/cjs/node_modules/axios/lib/helpers/parseHeaders.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/parseProtocol.js +0 -12
- package/dist/cjs/node_modules/axios/lib/helpers/parseProtocol.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/progressEventReducer.js +0 -58
- package/dist/cjs/node_modules/axios/lib/helpers/progressEventReducer.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/readBlob.js +0 -20
- package/dist/cjs/node_modules/axios/lib/helpers/readBlob.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/resolveConfig.js +0 -77
- package/dist/cjs/node_modules/axios/lib/helpers/resolveConfig.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/speedometer.js +0 -59
- package/dist/cjs/node_modules/axios/lib/helpers/speedometer.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/spread.js +0 -34
- package/dist/cjs/node_modules/axios/lib/helpers/spread.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/throttle.js +0 -49
- package/dist/cjs/node_modules/axios/lib/helpers/throttle.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/toFormData.js +0 -244
- package/dist/cjs/node_modules/axios/lib/helpers/toFormData.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -25
- package/dist/cjs/node_modules/axios/lib/helpers/toURLEncodedForm.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/trackStream.js +0 -96
- package/dist/cjs/node_modules/axios/lib/helpers/trackStream.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/helpers/validator.js +0 -116
- package/dist/cjs/node_modules/axios/lib/helpers/validator.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/platform/common/utils.js +0 -53
- package/dist/cjs/node_modules/axios/lib/platform/common/utils.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/platform/index.js +0 -14
- package/dist/cjs/node_modules/axios/lib/platform/index.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/platform/node/classes/FormData.js +0 -10
- package/dist/cjs/node_modules/axios/lib/platform/node/classes/FormData.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +0 -11
- package/dist/cjs/node_modules/axios/lib/platform/node/classes/URLSearchParams.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/platform/node/index.js +0 -44
- package/dist/cjs/node_modules/axios/lib/platform/node/index.js.map +0 -1
- package/dist/cjs/node_modules/axios/lib/utils.js +0 -925
- package/dist/cjs/node_modules/axios/lib/utils.js.map +0 -1
- package/dist/cjs/node_modules/call-bind-apply-helpers/actualApply.js +0 -27
- package/dist/cjs/node_modules/call-bind-apply-helpers/actualApply.js.map +0 -1
- package/dist/cjs/node_modules/call-bind-apply-helpers/functionApply.js +0 -16
- package/dist/cjs/node_modules/call-bind-apply-helpers/functionApply.js.map +0 -1
- package/dist/cjs/node_modules/call-bind-apply-helpers/functionCall.js +0 -16
- package/dist/cjs/node_modules/call-bind-apply-helpers/functionCall.js.map +0 -1
- package/dist/cjs/node_modules/call-bind-apply-helpers/index.js +0 -32
- package/dist/cjs/node_modules/call-bind-apply-helpers/index.js.map +0 -1
- package/dist/cjs/node_modules/call-bind-apply-helpers/reflectApply.js +0 -16
- package/dist/cjs/node_modules/call-bind-apply-helpers/reflectApply.js.map +0 -1
- package/dist/cjs/node_modules/combined-stream/lib/combined_stream.js +0 -225
- package/dist/cjs/node_modules/combined-stream/lib/combined_stream.js.map +0 -1
- package/dist/cjs/node_modules/debug/src/browser.js +0 -289
- package/dist/cjs/node_modules/debug/src/browser.js.map +0 -1
- package/dist/cjs/node_modules/debug/src/common.js +0 -306
- package/dist/cjs/node_modules/debug/src/common.js.map +0 -1
- package/dist/cjs/node_modules/debug/src/index.js +0 -26
- package/dist/cjs/node_modules/debug/src/index.js.map +0 -1
- package/dist/cjs/node_modules/debug/src/node.js +0 -283
- package/dist/cjs/node_modules/debug/src/node.js.map +0 -1
- package/dist/cjs/node_modules/delayed-stream/lib/delayed_stream.js +0 -123
- package/dist/cjs/node_modules/delayed-stream/lib/delayed_stream.js.map +0 -1
- package/dist/cjs/node_modules/dunder-proto/get.js +0 -45
- package/dist/cjs/node_modules/dunder-proto/get.js.map +0 -1
- package/dist/cjs/node_modules/es-define-property/index.js +0 -26
- package/dist/cjs/node_modules/es-define-property/index.js.map +0 -1
- package/dist/cjs/node_modules/es-errors/eval.js +0 -16
- package/dist/cjs/node_modules/es-errors/eval.js.map +0 -1
- package/dist/cjs/node_modules/es-errors/index.js +0 -16
- package/dist/cjs/node_modules/es-errors/index.js.map +0 -1
- package/dist/cjs/node_modules/es-errors/range.js +0 -16
- package/dist/cjs/node_modules/es-errors/range.js.map +0 -1
- package/dist/cjs/node_modules/es-errors/ref.js +0 -16
- package/dist/cjs/node_modules/es-errors/ref.js.map +0 -1
- package/dist/cjs/node_modules/es-errors/syntax.js +0 -16
- package/dist/cjs/node_modules/es-errors/syntax.js.map +0 -1
- package/dist/cjs/node_modules/es-errors/type.js +0 -16
- package/dist/cjs/node_modules/es-errors/type.js.map +0 -1
- package/dist/cjs/node_modules/es-errors/uri.js +0 -16
- package/dist/cjs/node_modules/es-errors/uri.js.map +0 -1
- package/dist/cjs/node_modules/es-object-atoms/index.js +0 -16
- package/dist/cjs/node_modules/es-object-atoms/index.js.map +0 -1
- package/dist/cjs/node_modules/es-set-tostringtag/index.js +0 -52
- package/dist/cjs/node_modules/es-set-tostringtag/index.js.map +0 -1
- package/dist/cjs/node_modules/follow-redirects/debug.js +0 -30
- package/dist/cjs/node_modules/follow-redirects/debug.js.map +0 -1
- package/dist/cjs/node_modules/follow-redirects/index.js +0 -706
- package/dist/cjs/node_modules/follow-redirects/index.js.map +0 -1
- package/dist/cjs/node_modules/form-data/lib/form_data.js +0 -521
- package/dist/cjs/node_modules/form-data/lib/form_data.js.map +0 -1
- package/dist/cjs/node_modules/form-data/lib/populate.js +0 -22
- package/dist/cjs/node_modules/form-data/lib/populate.js.map +0 -1
- package/dist/cjs/node_modules/function-bind/implementation.js +0 -96
- package/dist/cjs/node_modules/function-bind/implementation.js.map +0 -1
- package/dist/cjs/node_modules/function-bind/index.js +0 -19
- package/dist/cjs/node_modules/function-bind/index.js.map +0 -1
- package/dist/cjs/node_modules/get-intrinsic/index.js +0 -416
- package/dist/cjs/node_modules/get-intrinsic/index.js.map +0 -1
- package/dist/cjs/node_modules/get-proto/Object.getPrototypeOf.js +0 -20
- package/dist/cjs/node_modules/get-proto/Object.getPrototypeOf.js.map +0 -1
- package/dist/cjs/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -16
- package/dist/cjs/node_modules/get-proto/Reflect.getPrototypeOf.js.map +0 -1
- package/dist/cjs/node_modules/get-proto/index.js +0 -43
- package/dist/cjs/node_modules/get-proto/index.js.map +0 -1
- package/dist/cjs/node_modules/gopd/gOPD.js +0 -16
- package/dist/cjs/node_modules/gopd/gOPD.js.map +0 -1
- package/dist/cjs/node_modules/gopd/index.js +0 -29
- package/dist/cjs/node_modules/gopd/index.js.map +0 -1
- package/dist/cjs/node_modules/graphql/error/GraphQLError.js +0 -232
- package/dist/cjs/node_modules/graphql/error/GraphQLError.js.map +0 -1
- package/dist/cjs/node_modules/graphql/error/syntaxError.js +0 -18
- package/dist/cjs/node_modules/graphql/error/syntaxError.js.map +0 -1
- package/dist/cjs/node_modules/graphql/jsutils/instanceOf.js +0 -63
- package/dist/cjs/node_modules/graphql/jsutils/instanceOf.js.map +0 -1
- package/dist/cjs/node_modules/graphql/jsutils/invariant.js +0 -14
- package/dist/cjs/node_modules/graphql/jsutils/invariant.js.map +0 -1
- package/dist/cjs/node_modules/graphql/jsutils/isObjectLike.js +0 -12
- package/dist/cjs/node_modules/graphql/jsutils/isObjectLike.js.map +0 -1
- package/dist/cjs/node_modules/graphql/language/blockString.js +0 -114
- package/dist/cjs/node_modules/graphql/language/blockString.js.map +0 -1
- package/dist/cjs/node_modules/graphql/language/characterClasses.js +0 -73
- package/dist/cjs/node_modules/graphql/language/characterClasses.js.map +0 -1
- package/dist/cjs/node_modules/graphql/language/directiveLocation.js +0 -34
- package/dist/cjs/node_modules/graphql/language/directiveLocation.js.map +0 -1
- package/dist/cjs/node_modules/graphql/language/lexer.js +0 -925
- package/dist/cjs/node_modules/graphql/language/lexer.js.map +0 -1
- package/dist/cjs/node_modules/graphql/language/location.js +0 -36
- package/dist/cjs/node_modules/graphql/language/location.js.map +0 -1
- package/dist/cjs/node_modules/graphql/language/parser.js +0 -1582
- package/dist/cjs/node_modules/graphql/language/parser.js.map +0 -1
- package/dist/cjs/node_modules/graphql/language/printLocation.js +0 -72
- package/dist/cjs/node_modules/graphql/language/printLocation.js.map +0 -1
- package/dist/cjs/node_modules/graphql/language/printString.js +0 -181
- package/dist/cjs/node_modules/graphql/language/printString.js.map +0 -1
- package/dist/cjs/node_modules/graphql/language/printer.js +0 -374
- package/dist/cjs/node_modules/graphql/language/printer.js.map +0 -1
- package/dist/cjs/node_modules/graphql/language/source.js +0 -56
- package/dist/cjs/node_modules/graphql/language/source.js.map +0 -1
- package/dist/cjs/node_modules/graphql/language/tokenKind.js +0 -39
- package/dist/cjs/node_modules/graphql/language/tokenKind.js.map +0 -1
- package/dist/cjs/node_modules/graphql-tag/lib/index.js +0 -129
- package/dist/cjs/node_modules/graphql-tag/lib/index.js.map +0 -1
- package/dist/cjs/node_modules/has-flag/index.js +0 -20
- package/dist/cjs/node_modules/has-flag/index.js.map +0 -1
- package/dist/cjs/node_modules/has-symbols/index.js +0 -28
- package/dist/cjs/node_modules/has-symbols/index.js.map +0 -1
- package/dist/cjs/node_modules/has-symbols/shams.js +0 -57
- package/dist/cjs/node_modules/has-symbols/shams.js.map +0 -1
- package/dist/cjs/node_modules/has-tostringtag/shams.js +0 -22
- package/dist/cjs/node_modules/has-tostringtag/shams.js.map +0 -1
- package/dist/cjs/node_modules/hasown/index.js +0 -22
- package/dist/cjs/node_modules/hasown/index.js.map +0 -1
- package/dist/cjs/node_modules/math-intrinsics/abs.js +0 -16
- package/dist/cjs/node_modules/math-intrinsics/abs.js.map +0 -1
- package/dist/cjs/node_modules/math-intrinsics/floor.js +0 -16
- package/dist/cjs/node_modules/math-intrinsics/floor.js.map +0 -1
- package/dist/cjs/node_modules/math-intrinsics/isNaN.js +0 -18
- package/dist/cjs/node_modules/math-intrinsics/isNaN.js.map +0 -1
- package/dist/cjs/node_modules/math-intrinsics/max.js +0 -16
- package/dist/cjs/node_modules/math-intrinsics/max.js.map +0 -1
- package/dist/cjs/node_modules/math-intrinsics/min.js +0 -16
- package/dist/cjs/node_modules/math-intrinsics/min.js.map +0 -1
- package/dist/cjs/node_modules/math-intrinsics/pow.js +0 -16
- package/dist/cjs/node_modules/math-intrinsics/pow.js.map +0 -1
- package/dist/cjs/node_modules/math-intrinsics/round.js +0 -16
- package/dist/cjs/node_modules/math-intrinsics/round.js.map +0 -1
- package/dist/cjs/node_modules/math-intrinsics/sign.js +0 -25
- package/dist/cjs/node_modules/math-intrinsics/sign.js.map +0 -1
- package/dist/cjs/node_modules/mime-db/db.json.js +0 -10709
- package/dist/cjs/node_modules/mime-db/db.json.js.map +0 -1
- package/dist/cjs/node_modules/mime-db/index.js +0 -27
- package/dist/cjs/node_modules/mime-db/index.js.map +0 -1
- package/dist/cjs/node_modules/mime-types/index.js +0 -205
- package/dist/cjs/node_modules/mime-types/index.js.map +0 -1
- package/dist/cjs/node_modules/ms/index.js +0 -175
- package/dist/cjs/node_modules/ms/index.js.map +0 -1
- package/dist/cjs/node_modules/proxy-from-env/index.js +0 -122
- package/dist/cjs/node_modules/proxy-from-env/index.js.map +0 -1
- package/dist/cjs/node_modules/supports-color/index.js +0 -151
- package/dist/cjs/node_modules/supports-color/index.js.map +0 -1
- package/dist/esm/_virtual/browser.js +0 -4
- package/dist/esm/_virtual/browser.js.map +0 -1
- package/dist/esm/_virtual/form_data.js +0 -8
- package/dist/esm/_virtual/form_data.js.map +0 -1
- package/dist/esm/_virtual/index10.js +0 -4
- package/dist/esm/_virtual/index10.js.map +0 -1
- package/dist/esm/_virtual/index11.js +0 -4
- package/dist/esm/_virtual/index11.js.map +0 -1
- package/dist/esm/_virtual/index12.js +0 -4
- package/dist/esm/_virtual/index12.js.map +0 -1
- package/dist/esm/_virtual/index13.js +0 -4
- package/dist/esm/_virtual/index13.js.map +0 -1
- package/dist/esm/_virtual/index14.js +0 -4
- package/dist/esm/_virtual/index14.js.map +0 -1
- package/dist/esm/_virtual/index15.js +0 -4
- package/dist/esm/_virtual/index15.js.map +0 -1
- package/dist/esm/_virtual/node.js +0 -4
- package/dist/esm/_virtual/node.js.map +0 -1
- package/dist/esm/_virtual/serialOrdered.js +0 -4
- package/dist/esm/_virtual/serialOrdered.js.map +0 -1
- package/dist/esm/components/session/SessionProviderServer.js +0 -13
- package/dist/esm/components/session/SessionProviderServer.js.map +0 -1
- package/dist/esm/components/session/SessionUserClientProvider.js +0 -69
- package/dist/esm/components/session/SessionUserClientProvider.js.map +0 -1
- package/dist/esm/components/session/SessionUserProvider.js +0 -21
- package/dist/esm/components/session/SessionUserProvider.js.map +0 -1
- package/dist/esm/node_modules/@apollo/client/errors/CombinedProtocolErrors.js +0 -83
- package/dist/esm/node_modules/@apollo/client/errors/CombinedProtocolErrors.js.map +0 -1
- package/dist/esm/node_modules/@apollo/client/errors/ServerError.js +0 -78
- package/dist/esm/node_modules/@apollo/client/errors/ServerError.js.map +0 -1
- package/dist/esm/node_modules/@apollo/client/errors/ServerParseError.js +0 -75
- package/dist/esm/node_modules/@apollo/client/errors/ServerParseError.js.map +0 -1
- package/dist/esm/node_modules/@apollo/client/errors/index.js +0 -7
- package/dist/esm/node_modules/@apollo/client/errors/index.js.map +0 -1
- package/dist/esm/node_modules/@apollo/client/errors/utils.js +0 -16
- package/dist/esm/node_modules/@apollo/client/errors/utils.js.map +0 -1
- package/dist/esm/node_modules/@apollo/client/link/client-awareness/ClientAwarenessLink.js +0 -89
- package/dist/esm/node_modules/@apollo/client/link/client-awareness/ClientAwarenessLink.js.map +0 -1
- package/dist/esm/node_modules/@apollo/client/link/http/BaseHttpLink.js +0 -153
- package/dist/esm/node_modules/@apollo/client/link/http/BaseHttpLink.js.map +0 -1
- package/dist/esm/node_modules/@apollo/client/link/http/HttpLink.js +0 -39
- package/dist/esm/node_modules/@apollo/client/link/http/HttpLink.js.map +0 -1
- package/dist/esm/node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js +0 -165
- package/dist/esm/node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js.map +0 -1
- package/dist/esm/node_modules/@apollo/client/link/http/rewriteURIForGET.js +0 -54
- package/dist/esm/node_modules/@apollo/client/link/http/rewriteURIForGET.js.map +0 -1
- package/dist/esm/node_modules/@apollo/client/link/http/selectHttpOptionsAndBody.js +0 -102
- package/dist/esm/node_modules/@apollo/client/link/http/selectHttpOptionsAndBody.js.map +0 -1
- package/dist/esm/node_modules/@apollo/client/link/http/selectURI.js +0 -16
- package/dist/esm/node_modules/@apollo/client/link/http/selectURI.js.map +0 -1
- package/dist/esm/node_modules/@apollo/client/link/utils/filterOperationVariables.js +0 -25
- package/dist/esm/node_modules/@apollo/client/link/utils/filterOperationVariables.js.map +0 -1
- package/dist/esm/node_modules/@apollo/client/utilities/graphql/operations.js +0 -62
- package/dist/esm/node_modules/@apollo/client/utilities/graphql/operations.js.map +0 -1
- package/dist/esm/node_modules/@apollo/client/utilities/graphql/print.js +0 -29
- package/dist/esm/node_modules/@apollo/client/utilities/graphql/print.js.map +0 -1
- package/dist/esm/node_modules/@apollo/client/utilities/internal/compact.js +0 -25
- package/dist/esm/node_modules/@apollo/client/utilities/internal/compact.js.map +0 -1
- package/dist/esm/node_modules/@apollo/client/utilities/internal/isNonNullObject.js +0 -11
- package/dist/esm/node_modules/@apollo/client/utilities/internal/isNonNullObject.js.map +0 -1
- package/dist/esm/node_modules/asynckit/index.js +0 -21
- package/dist/esm/node_modules/asynckit/index.js.map +0 -1
- package/dist/esm/node_modules/asynckit/lib/abort.js +0 -40
- package/dist/esm/node_modules/asynckit/lib/abort.js.map +0 -1
- package/dist/esm/node_modules/asynckit/lib/async.js +0 -47
- package/dist/esm/node_modules/asynckit/lib/async.js.map +0 -1
- package/dist/esm/node_modules/asynckit/lib/defer.js +0 -37
- package/dist/esm/node_modules/asynckit/lib/defer.js.map +0 -1
- package/dist/esm/node_modules/asynckit/lib/iterate.js +0 -89
- package/dist/esm/node_modules/asynckit/lib/iterate.js.map +0 -1
- package/dist/esm/node_modules/asynckit/lib/state.js +0 -48
- package/dist/esm/node_modules/asynckit/lib/state.js.map +0 -1
- package/dist/esm/node_modules/asynckit/lib/terminator.js +0 -43
- package/dist/esm/node_modules/asynckit/lib/terminator.js.map +0 -1
- package/dist/esm/node_modules/asynckit/parallel.js +0 -58
- package/dist/esm/node_modules/asynckit/parallel.js.map +0 -1
- package/dist/esm/node_modules/asynckit/serial.js +0 -30
- package/dist/esm/node_modules/asynckit/serial.js.map +0 -1
- package/dist/esm/node_modules/asynckit/serialOrdered.js +0 -90
- package/dist/esm/node_modules/asynckit/serialOrdered.js.map +0 -1
- package/dist/esm/node_modules/axios/index.js +0 -26
- package/dist/esm/node_modules/axios/index.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/adapters/adapters.js +0 -133
- package/dist/esm/node_modules/axios/lib/adapters/adapters.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/adapters/fetch.js +0 -331
- package/dist/esm/node_modules/axios/lib/adapters/fetch.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/adapters/http.js +0 -944
- package/dist/esm/node_modules/axios/lib/adapters/http.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/adapters/xhr.js +0 -225
- package/dist/esm/node_modules/axios/lib/adapters/xhr.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/axios.js +0 -88
- package/dist/esm/node_modules/axios/lib/axios.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/cancel/CancelToken.js +0 -135
- package/dist/esm/node_modules/axios/lib/cancel/CancelToken.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/cancel/CanceledError.js +0 -22
- package/dist/esm/node_modules/axios/lib/cancel/CanceledError.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/cancel/isCancel.js +0 -7
- package/dist/esm/node_modules/axios/lib/cancel/isCancel.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/core/Axios.js +0 -261
- package/dist/esm/node_modules/axios/lib/core/Axios.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/core/AxiosError.js +0 -90
- package/dist/esm/node_modules/axios/lib/core/AxiosError.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/core/AxiosHeaders.js +0 -344
- package/dist/esm/node_modules/axios/lib/core/AxiosHeaders.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/core/InterceptorManager.js +0 -72
- package/dist/esm/node_modules/axios/lib/core/InterceptorManager.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/core/buildFullPath.js +0 -24
- package/dist/esm/node_modules/axios/lib/core/buildFullPath.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/core/dispatchRequest.js +0 -79
- package/dist/esm/node_modules/axios/lib/core/dispatchRequest.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/core/mergeConfig.js +0 -109
- package/dist/esm/node_modules/axios/lib/core/mergeConfig.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/core/settle.js +0 -33
- package/dist/esm/node_modules/axios/lib/core/settle.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/core/transformData.js +0 -30
- package/dist/esm/node_modules/axios/lib/core/transformData.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/defaults/index.js +0 -172
- package/dist/esm/node_modules/axios/lib/defaults/index.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/defaults/transitional.js +0 -10
- package/dist/esm/node_modules/axios/lib/defaults/transitional.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/env/data.js +0 -4
- package/dist/esm/node_modules/axios/lib/env/data.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/AxiosTransformStream.js +0 -156
- package/dist/esm/node_modules/axios/lib/helpers/AxiosTransformStream.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -62
- package/dist/esm/node_modules/axios/lib/helpers/AxiosURLSearchParams.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -78
- package/dist/esm/node_modules/axios/lib/helpers/HttpStatusCode.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +0 -29
- package/dist/esm/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/bind.js +0 -16
- package/dist/esm/node_modules/axios/lib/helpers/bind.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/buildURL.js +0 -68
- package/dist/esm/node_modules/axios/lib/helpers/buildURL.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/callbackify.js +0 -19
- package/dist/esm/node_modules/axios/lib/helpers/callbackify.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/combineURLs.js +0 -17
- package/dist/esm/node_modules/axios/lib/helpers/combineURLs.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/composeSignals.js +0 -57
- package/dist/esm/node_modules/axios/lib/helpers/composeSignals.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/cookies.js +0 -51
- package/dist/esm/node_modules/axios/lib/helpers/cookies.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +0 -76
- package/dist/esm/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/formDataToJSON.js +0 -95
- package/dist/esm/node_modules/axios/lib/helpers/formDataToJSON.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/formDataToStream.js +0 -119
- package/dist/esm/node_modules/axios/lib/helpers/formDataToStream.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/fromDataURI.js +0 -55
- package/dist/esm/node_modules/axios/lib/helpers/fromDataURI.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -21
- package/dist/esm/node_modules/axios/lib/helpers/isAbsoluteURL.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/isAxiosError.js +0 -16
- package/dist/esm/node_modules/axios/lib/helpers/isAxiosError.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -19
- package/dist/esm/node_modules/axios/lib/helpers/isURLSameOrigin.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/parseHeaders.js +0 -71
- package/dist/esm/node_modules/axios/lib/helpers/parseHeaders.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/parseProtocol.js +0 -8
- package/dist/esm/node_modules/axios/lib/helpers/parseProtocol.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/progressEventReducer.js +0 -54
- package/dist/esm/node_modules/axios/lib/helpers/progressEventReducer.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/readBlob.js +0 -16
- package/dist/esm/node_modules/axios/lib/helpers/readBlob.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/resolveConfig.js +0 -73
- package/dist/esm/node_modules/axios/lib/helpers/resolveConfig.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/speedometer.js +0 -55
- package/dist/esm/node_modules/axios/lib/helpers/speedometer.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/spread.js +0 -30
- package/dist/esm/node_modules/axios/lib/helpers/spread.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/throttle.js +0 -45
- package/dist/esm/node_modules/axios/lib/helpers/throttle.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/toFormData.js +0 -240
- package/dist/esm/node_modules/axios/lib/helpers/toFormData.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -21
- package/dist/esm/node_modules/axios/lib/helpers/toURLEncodedForm.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/trackStream.js +0 -92
- package/dist/esm/node_modules/axios/lib/helpers/trackStream.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/validator.js +0 -112
- package/dist/esm/node_modules/axios/lib/helpers/validator.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/platform/common/utils.js +0 -47
- package/dist/esm/node_modules/axios/lib/platform/common/utils.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/platform/index.js +0 -10
- package/dist/esm/node_modules/axios/lib/platform/index.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/platform/node/classes/FormData.js +0 -6
- package/dist/esm/node_modules/axios/lib/platform/node/classes/FormData.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +0 -7
- package/dist/esm/node_modules/axios/lib/platform/node/classes/URLSearchParams.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/platform/node/index.js +0 -40
- package/dist/esm/node_modules/axios/lib/platform/node/index.js.map +0 -1
- package/dist/esm/node_modules/axios/lib/utils.js +0 -921
- package/dist/esm/node_modules/axios/lib/utils.js.map +0 -1
- package/dist/esm/node_modules/call-bind-apply-helpers/actualApply.js +0 -25
- package/dist/esm/node_modules/call-bind-apply-helpers/actualApply.js.map +0 -1
- package/dist/esm/node_modules/call-bind-apply-helpers/functionApply.js +0 -14
- package/dist/esm/node_modules/call-bind-apply-helpers/functionApply.js.map +0 -1
- package/dist/esm/node_modules/call-bind-apply-helpers/functionCall.js +0 -14
- package/dist/esm/node_modules/call-bind-apply-helpers/functionCall.js.map +0 -1
- package/dist/esm/node_modules/call-bind-apply-helpers/index.js +0 -30
- package/dist/esm/node_modules/call-bind-apply-helpers/index.js.map +0 -1
- package/dist/esm/node_modules/call-bind-apply-helpers/reflectApply.js +0 -14
- package/dist/esm/node_modules/call-bind-apply-helpers/reflectApply.js.map +0 -1
- package/dist/esm/node_modules/combined-stream/lib/combined_stream.js +0 -223
- package/dist/esm/node_modules/combined-stream/lib/combined_stream.js.map +0 -1
- package/dist/esm/node_modules/debug/src/browser.js +0 -287
- package/dist/esm/node_modules/debug/src/browser.js.map +0 -1
- package/dist/esm/node_modules/debug/src/common.js +0 -304
- package/dist/esm/node_modules/debug/src/common.js.map +0 -1
- package/dist/esm/node_modules/debug/src/index.js +0 -24
- package/dist/esm/node_modules/debug/src/index.js.map +0 -1
- package/dist/esm/node_modules/debug/src/node.js +0 -281
- package/dist/esm/node_modules/debug/src/node.js.map +0 -1
- package/dist/esm/node_modules/delayed-stream/lib/delayed_stream.js +0 -121
- package/dist/esm/node_modules/delayed-stream/lib/delayed_stream.js.map +0 -1
- package/dist/esm/node_modules/dunder-proto/get.js +0 -43
- package/dist/esm/node_modules/dunder-proto/get.js.map +0 -1
- package/dist/esm/node_modules/es-define-property/index.js +0 -24
- package/dist/esm/node_modules/es-define-property/index.js.map +0 -1
- package/dist/esm/node_modules/es-errors/eval.js +0 -14
- package/dist/esm/node_modules/es-errors/eval.js.map +0 -1
- package/dist/esm/node_modules/es-errors/index.js +0 -14
- package/dist/esm/node_modules/es-errors/index.js.map +0 -1
- package/dist/esm/node_modules/es-errors/range.js +0 -14
- package/dist/esm/node_modules/es-errors/range.js.map +0 -1
- package/dist/esm/node_modules/es-errors/ref.js +0 -14
- package/dist/esm/node_modules/es-errors/ref.js.map +0 -1
- package/dist/esm/node_modules/es-errors/syntax.js +0 -14
- package/dist/esm/node_modules/es-errors/syntax.js.map +0 -1
- package/dist/esm/node_modules/es-errors/type.js +0 -14
- package/dist/esm/node_modules/es-errors/type.js.map +0 -1
- package/dist/esm/node_modules/es-errors/uri.js +0 -14
- package/dist/esm/node_modules/es-errors/uri.js.map +0 -1
- package/dist/esm/node_modules/es-object-atoms/index.js +0 -14
- package/dist/esm/node_modules/es-object-atoms/index.js.map +0 -1
- package/dist/esm/node_modules/es-set-tostringtag/index.js +0 -50
- package/dist/esm/node_modules/es-set-tostringtag/index.js.map +0 -1
- package/dist/esm/node_modules/follow-redirects/debug.js +0 -28
- package/dist/esm/node_modules/follow-redirects/debug.js.map +0 -1
- package/dist/esm/node_modules/follow-redirects/index.js +0 -704
- package/dist/esm/node_modules/follow-redirects/index.js.map +0 -1
- package/dist/esm/node_modules/form-data/lib/form_data.js +0 -519
- package/dist/esm/node_modules/form-data/lib/form_data.js.map +0 -1
- package/dist/esm/node_modules/form-data/lib/populate.js +0 -20
- package/dist/esm/node_modules/form-data/lib/populate.js.map +0 -1
- package/dist/esm/node_modules/function-bind/implementation.js +0 -94
- package/dist/esm/node_modules/function-bind/implementation.js.map +0 -1
- package/dist/esm/node_modules/function-bind/index.js +0 -17
- package/dist/esm/node_modules/function-bind/index.js.map +0 -1
- package/dist/esm/node_modules/get-intrinsic/index.js +0 -414
- package/dist/esm/node_modules/get-intrinsic/index.js.map +0 -1
- package/dist/esm/node_modules/get-proto/Object.getPrototypeOf.js +0 -18
- package/dist/esm/node_modules/get-proto/Object.getPrototypeOf.js.map +0 -1
- package/dist/esm/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -14
- package/dist/esm/node_modules/get-proto/Reflect.getPrototypeOf.js.map +0 -1
- package/dist/esm/node_modules/get-proto/index.js +0 -41
- package/dist/esm/node_modules/get-proto/index.js.map +0 -1
- package/dist/esm/node_modules/gopd/gOPD.js +0 -14
- package/dist/esm/node_modules/gopd/gOPD.js.map +0 -1
- package/dist/esm/node_modules/gopd/index.js +0 -27
- package/dist/esm/node_modules/gopd/index.js.map +0 -1
- package/dist/esm/node_modules/graphql/error/GraphQLError.js +0 -230
- package/dist/esm/node_modules/graphql/error/GraphQLError.js.map +0 -1
- package/dist/esm/node_modules/graphql/error/syntaxError.js +0 -16
- package/dist/esm/node_modules/graphql/error/syntaxError.js.map +0 -1
- package/dist/esm/node_modules/graphql/jsutils/instanceOf.js +0 -61
- package/dist/esm/node_modules/graphql/jsutils/instanceOf.js.map +0 -1
- package/dist/esm/node_modules/graphql/jsutils/invariant.js +0 -12
- package/dist/esm/node_modules/graphql/jsutils/invariant.js.map +0 -1
- package/dist/esm/node_modules/graphql/jsutils/isObjectLike.js +0 -10
- package/dist/esm/node_modules/graphql/jsutils/isObjectLike.js.map +0 -1
- package/dist/esm/node_modules/graphql/language/blockString.js +0 -111
- package/dist/esm/node_modules/graphql/language/blockString.js.map +0 -1
- package/dist/esm/node_modules/graphql/language/characterClasses.js +0 -67
- package/dist/esm/node_modules/graphql/language/characterClasses.js.map +0 -1
- package/dist/esm/node_modules/graphql/language/directiveLocation.js +0 -34
- package/dist/esm/node_modules/graphql/language/directiveLocation.js.map +0 -1
- package/dist/esm/node_modules/graphql/language/lexer.js +0 -919
- package/dist/esm/node_modules/graphql/language/lexer.js.map +0 -1
- package/dist/esm/node_modules/graphql/language/location.js +0 -34
- package/dist/esm/node_modules/graphql/language/location.js.map +0 -1
- package/dist/esm/node_modules/graphql/language/parser.js +0 -1579
- package/dist/esm/node_modules/graphql/language/parser.js.map +0 -1
- package/dist/esm/node_modules/graphql/language/printLocation.js +0 -69
- package/dist/esm/node_modules/graphql/language/printLocation.js.map +0 -1
- package/dist/esm/node_modules/graphql/language/printString.js +0 -179
- package/dist/esm/node_modules/graphql/language/printString.js.map +0 -1
- package/dist/esm/node_modules/graphql/language/printer.js +0 -372
- package/dist/esm/node_modules/graphql/language/printer.js.map +0 -1
- package/dist/esm/node_modules/graphql/language/source.js +0 -53
- package/dist/esm/node_modules/graphql/language/source.js.map +0 -1
- package/dist/esm/node_modules/graphql/language/tokenKind.js +0 -39
- package/dist/esm/node_modules/graphql/language/tokenKind.js.map +0 -1
- package/dist/esm/node_modules/graphql-tag/lib/index.js +0 -123
- package/dist/esm/node_modules/graphql-tag/lib/index.js.map +0 -1
- package/dist/esm/node_modules/has-flag/index.js +0 -18
- package/dist/esm/node_modules/has-flag/index.js.map +0 -1
- package/dist/esm/node_modules/has-symbols/index.js +0 -26
- package/dist/esm/node_modules/has-symbols/index.js.map +0 -1
- package/dist/esm/node_modules/has-symbols/shams.js +0 -55
- package/dist/esm/node_modules/has-symbols/shams.js.map +0 -1
- package/dist/esm/node_modules/has-tostringtag/shams.js +0 -20
- package/dist/esm/node_modules/has-tostringtag/shams.js.map +0 -1
- package/dist/esm/node_modules/hasown/index.js +0 -20
- package/dist/esm/node_modules/hasown/index.js.map +0 -1
- package/dist/esm/node_modules/math-intrinsics/abs.js +0 -14
- package/dist/esm/node_modules/math-intrinsics/abs.js.map +0 -1
- package/dist/esm/node_modules/math-intrinsics/floor.js +0 -14
- package/dist/esm/node_modules/math-intrinsics/floor.js.map +0 -1
- package/dist/esm/node_modules/math-intrinsics/isNaN.js +0 -16
- package/dist/esm/node_modules/math-intrinsics/isNaN.js.map +0 -1
- package/dist/esm/node_modules/math-intrinsics/max.js +0 -14
- package/dist/esm/node_modules/math-intrinsics/max.js.map +0 -1
- package/dist/esm/node_modules/math-intrinsics/min.js +0 -14
- package/dist/esm/node_modules/math-intrinsics/min.js.map +0 -1
- package/dist/esm/node_modules/math-intrinsics/pow.js +0 -14
- package/dist/esm/node_modules/math-intrinsics/pow.js.map +0 -1
- package/dist/esm/node_modules/math-intrinsics/round.js +0 -14
- package/dist/esm/node_modules/math-intrinsics/round.js.map +0 -1
- package/dist/esm/node_modules/math-intrinsics/sign.js +0 -23
- package/dist/esm/node_modules/math-intrinsics/sign.js.map +0 -1
- package/dist/esm/node_modules/mime-db/db.json.js +0 -10705
- package/dist/esm/node_modules/mime-db/db.json.js.map +0 -1
- package/dist/esm/node_modules/mime-db/index.js +0 -25
- package/dist/esm/node_modules/mime-db/index.js.map +0 -1
- package/dist/esm/node_modules/mime-types/index.js +0 -203
- package/dist/esm/node_modules/mime-types/index.js.map +0 -1
- package/dist/esm/node_modules/ms/index.js +0 -173
- package/dist/esm/node_modules/ms/index.js.map +0 -1
- package/dist/esm/node_modules/proxy-from-env/index.js +0 -120
- package/dist/esm/node_modules/proxy-from-env/index.js.map +0 -1
- package/dist/esm/node_modules/supports-color/index.js +0 -149
- package/dist/esm/node_modules/supports-color/index.js.map +0 -1
- package/dist/esm/types/components/session/SessionProviderServer.d.ts +0 -6
- package/dist/esm/types/components/session/SessionUserClientProvider.d.ts +0 -6
- package/dist/esm/types/components/session/SessionUserProvider.d.ts +0 -10
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HttpLink.js","sources":["../../../../../../../node_modules/@apollo/client/link/http/HttpLink.js"],"sourcesContent":["import { ApolloLink } from \"@apollo/client/link\";\nimport { ClientAwarenessLink } from \"@apollo/client/link/client-awareness\";\nimport { BaseHttpLink } from \"./BaseHttpLink.js\";\n/**\n * `HttpLink` is a terminating link that sends a GraphQL operation to a remote\n * endpoint over HTTP. It combines the functionality of `BaseHttpLink` and\n * `ClientAwarenessLink` into a single link.\n *\n * @remarks\n *\n * `HttpLink` supports both POST and GET requests, and you can configure HTTP\n * options on a per-operation basis. You can use these options for\n * authentication, persisted queries, dynamic URIs, and other granular updates.\n *\n * @example\n *\n * ```ts\n * import { HttpLink } from \"@apollo/client\";\n *\n * const link = new HttpLink({\n * uri: \"http://localhost:4000/graphql\",\n * // Additional options\n * });\n * ```\n */\nexport class HttpLink extends ApolloLink {\n constructor(options = {}) {\n const { left, right, request } = ApolloLink.from([\n new ClientAwarenessLink(options),\n new BaseHttpLink(options),\n ]);\n super(request);\n Object.assign(this, { left, right });\n }\n}\n/**\n * @deprecated\n * Use `HttpLink` from `@apollo/client/link/http` instead.\n */\nexport const createHttpLink = (options = {}) => new HttpLink(options);\n//# sourceMappingURL=HttpLink.js.map"],"names":["ApolloLink","ClientAwarenessLink","BaseHttpLink"],"mappings":";;;;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAM,QAAQ,SAASA,qBAAU,CAAC;AACzC,IAAI,WAAW,CAAC,OAAO,GAAG,EAAE,EAAE;AAC9B,QAAQ,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,GAAGA,qBAAU,CAAC,IAAI,CAAC;AACzD,YAAY,IAAIC,uCAAmB,CAAC,OAAO,CAAC;AAC5C,YAAY,IAAIC,yBAAY,CAAC,OAAO,CAAC;AACrC,SAAS,CAAC;AACV,QAAQ,KAAK,CAAC,OAAO,CAAC;AACtB,QAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;AAC5C,IAAI;AACJ;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var index = require('../../errors/index.js');
|
|
4
|
-
var index$1 = require('../../utilities/invariant/index.js');
|
|
5
|
-
var CombinedProtocolErrors = require('../../errors/CombinedProtocolErrors.js');
|
|
6
|
-
var ServerError = require('../../errors/ServerError.js');
|
|
7
|
-
var ServerParseError = require('../../errors/ServerParseError.js');
|
|
8
|
-
var isNonNullObject = require('../../utilities/internal/isNonNullObject.js');
|
|
9
|
-
|
|
10
|
-
const { hasOwnProperty } = Object.prototype;
|
|
11
|
-
/**
|
|
12
|
-
* This function detects an Apollo payload result before it is transformed
|
|
13
|
-
* into a FetchResult via HttpLink; it cannot detect an ApolloPayloadResult
|
|
14
|
-
* once it leaves the link chain.
|
|
15
|
-
*/
|
|
16
|
-
function isApolloPayloadResult(value) {
|
|
17
|
-
return isNonNullObject.isNonNullObject(value) && "payload" in value;
|
|
18
|
-
}
|
|
19
|
-
async function* consumeMultipartBody(response) {
|
|
20
|
-
const decoder = new TextDecoder("utf-8");
|
|
21
|
-
const contentType = response.headers?.get("content-type");
|
|
22
|
-
// parse boundary value and ignore any subsequent name/value pairs after ;
|
|
23
|
-
// https://www.rfc-editor.org/rfc/rfc9110.html#name-parameters
|
|
24
|
-
// e.g. multipart/mixed;boundary="graphql";deferSpec=20220824
|
|
25
|
-
// if no boundary is specified, default to -
|
|
26
|
-
const match = contentType?.match(
|
|
27
|
-
/*
|
|
28
|
-
;\s*boundary= # Match the boundary parameter
|
|
29
|
-
(?: # either
|
|
30
|
-
'([^']*)' # a string starting with ' doesn't contain ', ends with '
|
|
31
|
-
| # or
|
|
32
|
-
"([^"]*)" # a string starting with " doesn't contain ", ends with "
|
|
33
|
-
| # or
|
|
34
|
-
([^"'].*?) # a string that doesn't start with ' or ", parsed non-greedily
|
|
35
|
-
) # end of the group
|
|
36
|
-
\s* # optional whitespace
|
|
37
|
-
(?:;|$) # match a semicolon or end of string
|
|
38
|
-
*/
|
|
39
|
-
/;\s*boundary=(?:'([^']+)'|"([^"]+)"|([^"'].+?))\s*(?:;|$)/i);
|
|
40
|
-
const boundary = "\r\n--" + (match ? match[1] ?? match[2] ?? match[3] ?? "-" : "-");
|
|
41
|
-
let buffer = "";
|
|
42
|
-
index$1.invariant(response.body && typeof response.body.getReader === "function", 62);
|
|
43
|
-
const stream = response.body;
|
|
44
|
-
const reader = stream.getReader();
|
|
45
|
-
let done = false;
|
|
46
|
-
let encounteredBoundary = false;
|
|
47
|
-
let value;
|
|
48
|
-
// check to see if we received the final boundary, which is a normal boundary followed by "--"
|
|
49
|
-
// as described in https://www.rfc-editor.org/rfc/rfc2046#section-5.1.1
|
|
50
|
-
const passedFinalBoundary = () => encounteredBoundary && buffer[0] == "-" && buffer[1] == "-";
|
|
51
|
-
try {
|
|
52
|
-
while (!done) {
|
|
53
|
-
({ value, done } = await reader.read());
|
|
54
|
-
const chunk = typeof value === "string" ? value : decoder.decode(value);
|
|
55
|
-
const searchFrom = buffer.length - boundary.length + 1;
|
|
56
|
-
buffer += chunk;
|
|
57
|
-
let bi = buffer.indexOf(boundary, searchFrom);
|
|
58
|
-
while (bi > -1 && !passedFinalBoundary()) {
|
|
59
|
-
encounteredBoundary = true;
|
|
60
|
-
let message;
|
|
61
|
-
[message, buffer] = [
|
|
62
|
-
buffer.slice(0, bi),
|
|
63
|
-
buffer.slice(bi + boundary.length),
|
|
64
|
-
];
|
|
65
|
-
const i = message.indexOf("\r\n\r\n");
|
|
66
|
-
const headers = parseHeaders(message.slice(0, i));
|
|
67
|
-
const contentType = headers["content-type"];
|
|
68
|
-
if (contentType &&
|
|
69
|
-
contentType.toLowerCase().indexOf("application/json") === -1) {
|
|
70
|
-
throw new Error("Unsupported patch content type: application/json is required.");
|
|
71
|
-
}
|
|
72
|
-
// nb: Technically you'd want to slice off the beginning "\r\n" but since
|
|
73
|
-
// this is going to be `JSON.parse`d there is no need.
|
|
74
|
-
const body = message.slice(i);
|
|
75
|
-
if (body) {
|
|
76
|
-
yield body;
|
|
77
|
-
}
|
|
78
|
-
bi = buffer.indexOf(boundary);
|
|
79
|
-
}
|
|
80
|
-
if (passedFinalBoundary()) {
|
|
81
|
-
return;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
throw new Error("premature end of multipart body");
|
|
85
|
-
}
|
|
86
|
-
finally {
|
|
87
|
-
reader.cancel();
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
async function readMultipartBody(response, nextValue) {
|
|
91
|
-
for await (const body of consumeMultipartBody(response)) {
|
|
92
|
-
const result = parseJsonEncoding(response, body);
|
|
93
|
-
if (Object.keys(result).length == 0)
|
|
94
|
-
continue;
|
|
95
|
-
if (isApolloPayloadResult(result)) {
|
|
96
|
-
if (Object.keys(result).length === 1 && result.payload === null) {
|
|
97
|
-
return;
|
|
98
|
-
}
|
|
99
|
-
let next = { ...result.payload };
|
|
100
|
-
if ("errors" in result) {
|
|
101
|
-
next.extensions = {
|
|
102
|
-
...next.extensions,
|
|
103
|
-
[index.PROTOCOL_ERRORS_SYMBOL]: new CombinedProtocolErrors.CombinedProtocolErrors(result.errors ?? []),
|
|
104
|
-
};
|
|
105
|
-
}
|
|
106
|
-
nextValue(next);
|
|
107
|
-
}
|
|
108
|
-
else {
|
|
109
|
-
nextValue(result);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
function parseHeaders(headerText) {
|
|
114
|
-
const headersInit = {};
|
|
115
|
-
headerText.split("\n").forEach((line) => {
|
|
116
|
-
const i = line.indexOf(":");
|
|
117
|
-
if (i > -1) {
|
|
118
|
-
// normalize headers to lowercase
|
|
119
|
-
const name = line.slice(0, i).trim().toLowerCase();
|
|
120
|
-
const value = line.slice(i + 1).trim();
|
|
121
|
-
headersInit[name] = value;
|
|
122
|
-
}
|
|
123
|
-
});
|
|
124
|
-
return headersInit;
|
|
125
|
-
}
|
|
126
|
-
function parseJsonEncoding(response, bodyText) {
|
|
127
|
-
if (response.status >= 300) {
|
|
128
|
-
throw new ServerError.ServerError(`Response not successful: Received status code ${response.status}`, { response, bodyText });
|
|
129
|
-
}
|
|
130
|
-
try {
|
|
131
|
-
return JSON.parse(bodyText);
|
|
132
|
-
}
|
|
133
|
-
catch (err) {
|
|
134
|
-
throw new ServerParseError.ServerParseError(err, { response, bodyText });
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
function parseGraphQLResponseJsonEncoding(response, bodyText) {
|
|
138
|
-
try {
|
|
139
|
-
return JSON.parse(bodyText);
|
|
140
|
-
}
|
|
141
|
-
catch (err) {
|
|
142
|
-
throw new ServerParseError.ServerParseError(err, { response, bodyText });
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
function parseResponse(response, bodyText) {
|
|
146
|
-
const contentType = response.headers.get("content-type");
|
|
147
|
-
if (contentType?.includes("application/graphql-response+json")) {
|
|
148
|
-
return parseGraphQLResponseJsonEncoding(response, bodyText);
|
|
149
|
-
}
|
|
150
|
-
return parseJsonEncoding(response, bodyText);
|
|
151
|
-
}
|
|
152
|
-
function parseAndCheckHttpResponse(operations) {
|
|
153
|
-
return (response) => response.text().then((bodyText) => {
|
|
154
|
-
const result = parseResponse(response, bodyText);
|
|
155
|
-
if (!Array.isArray(result) &&
|
|
156
|
-
!hasOwnProperty.call(result, "data") &&
|
|
157
|
-
!hasOwnProperty.call(result, "errors")) {
|
|
158
|
-
throw new ServerError.ServerError(`Server response was malformed for query '${Array.isArray(operations) ?
|
|
159
|
-
operations.map((op) => op.operationName)
|
|
160
|
-
: operations.operationName}'.`, { response, bodyText });
|
|
161
|
-
}
|
|
162
|
-
return result;
|
|
163
|
-
});
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
exports.parseAndCheckHttpResponse = parseAndCheckHttpResponse;
|
|
167
|
-
exports.readMultipartBody = readMultipartBody;
|
|
168
|
-
//# sourceMappingURL=parseAndCheckHttpResponse.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parseAndCheckHttpResponse.js","sources":["../../../../../../../node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js"],"sourcesContent":["import { CombinedProtocolErrors, PROTOCOL_ERRORS_SYMBOL, ServerError, ServerParseError, } from \"@apollo/client/errors\";\nimport { isNonNullObject } from \"@apollo/client/utilities/internal\";\nimport { invariant } from \"@apollo/client/utilities/invariant\";\nconst { hasOwnProperty } = Object.prototype;\n/**\n * This function detects an Apollo payload result before it is transformed\n * into a FetchResult via HttpLink; it cannot detect an ApolloPayloadResult\n * once it leaves the link chain.\n */\nfunction isApolloPayloadResult(value) {\n return isNonNullObject(value) && \"payload\" in value;\n}\nasync function* consumeMultipartBody(response) {\n const decoder = new TextDecoder(\"utf-8\");\n const contentType = response.headers?.get(\"content-type\");\n // parse boundary value and ignore any subsequent name/value pairs after ;\n // https://www.rfc-editor.org/rfc/rfc9110.html#name-parameters\n // e.g. multipart/mixed;boundary=\"graphql\";deferSpec=20220824\n // if no boundary is specified, default to -\n const match = contentType?.match(\n /*\n ;\\s*boundary= # Match the boundary parameter\n (?: # either\n '([^']*)' # a string starting with ' doesn't contain ', ends with '\n | # or\n \"([^\"]*)\" # a string starting with \" doesn't contain \", ends with \"\n | # or\n ([^\"'].*?) # a string that doesn't start with ' or \", parsed non-greedily\n ) # end of the group\n \\s* # optional whitespace\n (?:;|$) # match a semicolon or end of string\n */\n /;\\s*boundary=(?:'([^']+)'|\"([^\"]+)\"|([^\"'].+?))\\s*(?:;|$)/i);\n const boundary = \"\\r\\n--\" + (match ? match[1] ?? match[2] ?? match[3] ?? \"-\" : \"-\");\n let buffer = \"\";\n invariant(response.body && typeof response.body.getReader === \"function\", 62);\n const stream = response.body;\n const reader = stream.getReader();\n let done = false;\n let encounteredBoundary = false;\n let value;\n // check to see if we received the final boundary, which is a normal boundary followed by \"--\"\n // as described in https://www.rfc-editor.org/rfc/rfc2046#section-5.1.1\n const passedFinalBoundary = () => encounteredBoundary && buffer[0] == \"-\" && buffer[1] == \"-\";\n try {\n while (!done) {\n ({ value, done } = await reader.read());\n const chunk = typeof value === \"string\" ? value : decoder.decode(value);\n const searchFrom = buffer.length - boundary.length + 1;\n buffer += chunk;\n let bi = buffer.indexOf(boundary, searchFrom);\n while (bi > -1 && !passedFinalBoundary()) {\n encounteredBoundary = true;\n let message;\n [message, buffer] = [\n buffer.slice(0, bi),\n buffer.slice(bi + boundary.length),\n ];\n const i = message.indexOf(\"\\r\\n\\r\\n\");\n const headers = parseHeaders(message.slice(0, i));\n const contentType = headers[\"content-type\"];\n if (contentType &&\n contentType.toLowerCase().indexOf(\"application/json\") === -1) {\n throw new Error(\"Unsupported patch content type: application/json is required.\");\n }\n // nb: Technically you'd want to slice off the beginning \"\\r\\n\" but since\n // this is going to be `JSON.parse`d there is no need.\n const body = message.slice(i);\n if (body) {\n yield body;\n }\n bi = buffer.indexOf(boundary);\n }\n if (passedFinalBoundary()) {\n return;\n }\n }\n throw new Error(\"premature end of multipart body\");\n }\n finally {\n reader.cancel();\n }\n}\nexport async function readMultipartBody(response, nextValue) {\n for await (const body of consumeMultipartBody(response)) {\n const result = parseJsonEncoding(response, body);\n if (Object.keys(result).length == 0)\n continue;\n if (isApolloPayloadResult(result)) {\n if (Object.keys(result).length === 1 && result.payload === null) {\n return;\n }\n let next = { ...result.payload };\n if (\"errors\" in result) {\n next.extensions = {\n ...next.extensions,\n [PROTOCOL_ERRORS_SYMBOL]: new CombinedProtocolErrors(result.errors ?? []),\n };\n }\n nextValue(next);\n }\n else {\n nextValue(result);\n }\n }\n}\nfunction parseHeaders(headerText) {\n const headersInit = {};\n headerText.split(\"\\n\").forEach((line) => {\n const i = line.indexOf(\":\");\n if (i > -1) {\n // normalize headers to lowercase\n const name = line.slice(0, i).trim().toLowerCase();\n const value = line.slice(i + 1).trim();\n headersInit[name] = value;\n }\n });\n return headersInit;\n}\nfunction parseJsonEncoding(response, bodyText) {\n if (response.status >= 300) {\n throw new ServerError(`Response not successful: Received status code ${response.status}`, { response, bodyText });\n }\n try {\n return JSON.parse(bodyText);\n }\n catch (err) {\n throw new ServerParseError(err, { response, bodyText });\n }\n}\nfunction parseGraphQLResponseJsonEncoding(response, bodyText) {\n try {\n return JSON.parse(bodyText);\n }\n catch (err) {\n throw new ServerParseError(err, { response, bodyText });\n }\n}\nfunction parseResponse(response, bodyText) {\n const contentType = response.headers.get(\"content-type\");\n if (contentType?.includes(\"application/graphql-response+json\")) {\n return parseGraphQLResponseJsonEncoding(response, bodyText);\n }\n return parseJsonEncoding(response, bodyText);\n}\nexport function parseAndCheckHttpResponse(operations) {\n return (response) => response.text().then((bodyText) => {\n const result = parseResponse(response, bodyText);\n if (!Array.isArray(result) &&\n !hasOwnProperty.call(result, \"data\") &&\n !hasOwnProperty.call(result, \"errors\")) {\n throw new ServerError(`Server response was malformed for query '${Array.isArray(operations) ?\n operations.map((op) => op.operationName)\n : operations.operationName}'.`, { response, bodyText });\n }\n return result;\n });\n}\n//# sourceMappingURL=parseAndCheckHttpResponse.js.map\n"],"names":["isNonNullObject","invariant","PROTOCOL_ERRORS_SYMBOL","CombinedProtocolErrors","ServerError","ServerParseError"],"mappings":";;;;;;;;;AAGA,MAAM,EAAE,cAAc,EAAE,GAAG,MAAM,CAAC,SAAS;AAC3C;AACA;AACA;AACA;AACA;AACA,SAAS,qBAAqB,CAAC,KAAK,EAAE;AACtC,IAAI,OAAOA,+BAAe,CAAC,KAAK,CAAC,IAAI,SAAS,IAAI,KAAK;AACvD;AACA,gBAAgB,oBAAoB,CAAC,QAAQ,EAAE;AAC/C,IAAI,MAAM,OAAO,GAAG,IAAI,WAAW,CAAC,OAAO,CAAC;AAC5C,IAAI,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO,EAAE,GAAG,CAAC,cAAc,CAAC;AAC7D;AACA;AACA;AACA;AACA,IAAI,MAAM,KAAK,GAAG,WAAW,EAAE,KAAK;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,4DAA4D,CAAC;AACjE,IAAI,MAAM,QAAQ,GAAG,QAAQ,IAAI,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,IAAI,GAAG,GAAG,GAAG,CAAC;AACvF,IAAI,IAAI,MAAM,GAAG,EAAE;AACnB,IAAIC,iBAAS,CAAC,QAAQ,CAAC,IAAI,IAAI,OAAO,QAAQ,CAAC,IAAI,CAAC,SAAS,KAAK,UAAU,EAAE,EAAE,CAAC;AACjF,IAAI,MAAM,MAAM,GAAG,QAAQ,CAAC,IAAI;AAChC,IAAI,MAAM,MAAM,GAAG,MAAM,CAAC,SAAS,EAAE;AACrC,IAAI,IAAI,IAAI,GAAG,KAAK;AACp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CAAC,OAAO,CAAC,UAAU,CAAC;AACvG,gBAAgB,UAAU,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,aAAa;AACvD,kBAAkB,UAAU,CAAC,aAAa,CAAC,EAAE,CAAC,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC;AACvE,QAAQ;AACR,QAAQ,OAAO,MAAM;AACrB,IAAI,CAAC,CAAC;AACN;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
// For GET operations, returns the given URI rewritten with parameters, or a
|
|
4
|
-
// parse error.
|
|
5
|
-
function rewriteURIForGET(chosenURI, body) {
|
|
6
|
-
// Implement the standard HTTP GET serialization, plus 'extensions'. Note
|
|
7
|
-
// the extra level of JSON serialization!
|
|
8
|
-
const queryParams = [];
|
|
9
|
-
const addQueryParam = (key, value) => {
|
|
10
|
-
queryParams.push(`${key}=${encodeURIComponent(value)}`);
|
|
11
|
-
};
|
|
12
|
-
if ("query" in body) {
|
|
13
|
-
addQueryParam("query", body.query);
|
|
14
|
-
}
|
|
15
|
-
if (body.operationName) {
|
|
16
|
-
addQueryParam("operationName", body.operationName);
|
|
17
|
-
}
|
|
18
|
-
if (body.variables) {
|
|
19
|
-
let serializedVariables;
|
|
20
|
-
try {
|
|
21
|
-
serializedVariables = JSON.stringify(body.variables);
|
|
22
|
-
}
|
|
23
|
-
catch (parseError) {
|
|
24
|
-
return { parseError };
|
|
25
|
-
}
|
|
26
|
-
addQueryParam("variables", serializedVariables);
|
|
27
|
-
}
|
|
28
|
-
if (body.extensions) {
|
|
29
|
-
let serializedExtensions;
|
|
30
|
-
try {
|
|
31
|
-
serializedExtensions = JSON.stringify(body.extensions);
|
|
32
|
-
}
|
|
33
|
-
catch (parseError) {
|
|
34
|
-
return { parseError };
|
|
35
|
-
}
|
|
36
|
-
addQueryParam("extensions", serializedExtensions);
|
|
37
|
-
}
|
|
38
|
-
// Reconstruct the URI with added query params.
|
|
39
|
-
// XXX This assumes that the URI is well-formed and that it doesn't
|
|
40
|
-
// already contain any of these query params. We could instead use the
|
|
41
|
-
// URL API and take a polyfill (whatwg-url@6) for older browsers that
|
|
42
|
-
// don't support URLSearchParams. Note that some browsers (and
|
|
43
|
-
// versions of whatwg-url) support URL but not URLSearchParams!
|
|
44
|
-
let fragment = "", preFragment = chosenURI;
|
|
45
|
-
const fragmentStart = chosenURI.indexOf("#");
|
|
46
|
-
if (fragmentStart !== -1) {
|
|
47
|
-
fragment = chosenURI.substr(fragmentStart);
|
|
48
|
-
preFragment = chosenURI.substr(0, fragmentStart);
|
|
49
|
-
}
|
|
50
|
-
const queryParamsPrefix = preFragment.indexOf("?") === -1 ? "?" : "&";
|
|
51
|
-
const newURI = preFragment + queryParamsPrefix + queryParams.join("&") + fragment;
|
|
52
|
-
return { newURI };
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
exports.rewriteURIForGET = rewriteURIForGET;
|
|
56
|
-
//# sourceMappingURL=rewriteURIForGET.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rewriteURIForGET.js","sources":["../../../../../../../node_modules/@apollo/client/link/http/rewriteURIForGET.js"],"sourcesContent":["// For GET operations, returns the given URI rewritten with parameters, or a\n// parse error.\nexport function rewriteURIForGET(chosenURI, body) {\n // Implement the standard HTTP GET serialization, plus 'extensions'. Note\n // the extra level of JSON serialization!\n const queryParams = [];\n const addQueryParam = (key, value) => {\n queryParams.push(`${key}=${encodeURIComponent(value)}`);\n };\n if (\"query\" in body) {\n addQueryParam(\"query\", body.query);\n }\n if (body.operationName) {\n addQueryParam(\"operationName\", body.operationName);\n }\n if (body.variables) {\n let serializedVariables;\n try {\n serializedVariables = JSON.stringify(body.variables);\n }\n catch (parseError) {\n return { parseError };\n }\n addQueryParam(\"variables\", serializedVariables);\n }\n if (body.extensions) {\n let serializedExtensions;\n try {\n serializedExtensions = JSON.stringify(body.extensions);\n }\n catch (parseError) {\n return { parseError };\n }\n addQueryParam(\"extensions\", serializedExtensions);\n }\n // Reconstruct the URI with added query params.\n // XXX This assumes that the URI is well-formed and that it doesn't\n // already contain any of these query params. We could instead use the\n // URL API and take a polyfill (whatwg-url@6) for older browsers that\n // don't support URLSearchParams. Note that some browsers (and\n // versions of whatwg-url) support URL but not URLSearchParams!\n let fragment = \"\", preFragment = chosenURI;\n const fragmentStart = chosenURI.indexOf(\"#\");\n if (fragmentStart !== -1) {\n fragment = chosenURI.substr(fragmentStart);\n preFragment = chosenURI.substr(0, fragmentStart);\n }\n const queryParamsPrefix = preFragment.indexOf(\"?\") === -1 ? \"?\" : \"&\";\n const newURI = preFragment + queryParamsPrefix + queryParams.join(\"&\") + fragment;\n return { newURI };\n}\n//# sourceMappingURL=rewriteURIForGET.js.map"],"names":[],"mappings":";;AAAA;AACA;AACO,SAAS,gBAAgB,CAAC,SAAS,EAAE,IAAI,EAAE;AAClD;AACA;AACA,IAAI,MAAM,WAAW,GAAG,EAAE;AAC1B,IAAI,MAAM,aAAa,GAAG,CAAC,GAAG,EAAE,KAAK,KAAK;AAC1C,QAAQ,WAAW,CAAC,IAAI,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,EAAE,kBAAkB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AAC/D,IAAI,CAAC;AACL,IAAI,IAAI,OAAO,IAAI,IAAI,EAAE;AACzB,QAAQ,aAAa,CAAC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC;AAC1C,IAAI;AACJ,IAAI,IAAI,IAAI,CAAC,aAAa,EAAE;AAC5B,QAAQ,aAAa,CAAC,eAAe,EAAE,IAAI,CAAC,aAAa,CAAC;AAC1D,IAAI;AACJ,IAAI,IAAI,IAAI,CAAC,SAAS,EAAE;AACxB,QAAQ,IAAI,mBAAmB;AAC/B,QAAQ,IAAI;AACZ,YAAY,mBAAmB,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC;AA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|
|
6
|
-
includeQuery: true,
|
|
7
|
-
includeExtensions: true,
|
|
8
|
-
preserveHeaderCase: false,
|
|
9
|
-
};
|
|
10
|
-
const defaultHeaders = {
|
|
11
|
-
// headers are case insensitive (https://stackoverflow.com/a/5259004)
|
|
12
|
-
accept: "application/graphql-response+json,application/json;q=0.9",
|
|
13
|
-
// The content-type header describes the type of the body of the request, and
|
|
14
|
-
// so it typically only is sent with requests that actually have bodies. One
|
|
15
|
-
// could imagine that Apollo Client would remove this header when constructing
|
|
16
|
-
// a GET request (which has no body), but we historically have not done that.
|
|
17
|
-
// This means that browsers will preflight all Apollo Client requests (even
|
|
18
|
-
// GET requests). Apollo Server's CSRF prevention feature (introduced in
|
|
19
|
-
// AS3.7) takes advantage of this fact and does not block requests with this
|
|
20
|
-
// header. If you want to drop this header from GET requests, then you should
|
|
21
|
-
// probably replace it with a `apollo-require-preflight` header, or servers
|
|
22
|
-
// with CSRF prevention enabled might block your GET request. See
|
|
23
|
-
// https://www.apollographql.com/docs/apollo-server/security/cors/#preventing-cross-site-request-forgery-csrf
|
|
24
|
-
// for more details.
|
|
25
|
-
"content-type": "application/json",
|
|
26
|
-
};
|
|
27
|
-
const defaultOptions = {
|
|
28
|
-
method: "POST",
|
|
29
|
-
};
|
|
30
|
-
const fallbackHttpConfig = {
|
|
31
|
-
http: defaultHttpOptions,
|
|
32
|
-
headers: defaultHeaders,
|
|
33
|
-
options: defaultOptions,
|
|
34
|
-
};
|
|
35
|
-
const defaultPrinter = (ast, printer) => printer(ast);
|
|
36
|
-
function selectHttpOptionsAndBodyInternal(operation, printer, ...configs) {
|
|
37
|
-
let options = {};
|
|
38
|
-
let http = {};
|
|
39
|
-
configs.forEach((config) => {
|
|
40
|
-
options = {
|
|
41
|
-
...options,
|
|
42
|
-
...config.options,
|
|
43
|
-
headers: {
|
|
44
|
-
...options.headers,
|
|
45
|
-
...config.headers,
|
|
46
|
-
},
|
|
47
|
-
};
|
|
48
|
-
if (config.credentials) {
|
|
49
|
-
options.credentials = config.credentials;
|
|
50
|
-
}
|
|
51
|
-
options.headers.accept = (config.http?.accept || [])
|
|
52
|
-
.concat(options.headers.accept)
|
|
53
|
-
.join(",");
|
|
54
|
-
http = {
|
|
55
|
-
...http,
|
|
56
|
-
...config.http,
|
|
57
|
-
};
|
|
58
|
-
});
|
|
59
|
-
options.headers = removeDuplicateHeaders(options.headers, http.preserveHeaderCase);
|
|
60
|
-
//The body depends on the http options
|
|
61
|
-
const { operationName, extensions, variables, query } = operation;
|
|
62
|
-
const body = { operationName, variables };
|
|
63
|
-
if (http.includeExtensions && Object.keys(extensions || {}).length)
|
|
64
|
-
body.extensions = extensions;
|
|
65
|
-
// not sending the query (i.e persisted queries)
|
|
66
|
-
if (http.includeQuery)
|
|
67
|
-
body.query = printer(query, print.print);
|
|
68
|
-
return {
|
|
69
|
-
options,
|
|
70
|
-
body,
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
// Remove potential duplicate header names, preserving last (by insertion order).
|
|
74
|
-
// This is done to prevent unintentionally duplicating a header instead of
|
|
75
|
-
// overwriting it (See #8447 and #8449).
|
|
76
|
-
function removeDuplicateHeaders(headers, preserveHeaderCase) {
|
|
77
|
-
// If we're not preserving the case, just remove duplicates w/ normalization.
|
|
78
|
-
if (!preserveHeaderCase) {
|
|
79
|
-
const normalizedHeaders = {};
|
|
80
|
-
Object.keys(Object(headers)).forEach((name) => {
|
|
81
|
-
normalizedHeaders[name.toLowerCase()] = headers[name];
|
|
82
|
-
});
|
|
83
|
-
return normalizedHeaders;
|
|
84
|
-
}
|
|
85
|
-
// If we are preserving the case, remove duplicates w/ normalization,
|
|
86
|
-
// preserving the original name.
|
|
87
|
-
// This allows for non-http-spec-compliant servers that expect intentionally
|
|
88
|
-
// capitalized header names (See #6741).
|
|
89
|
-
const headerData = {};
|
|
90
|
-
Object.keys(Object(headers)).forEach((name) => {
|
|
91
|
-
headerData[name.toLowerCase()] = {
|
|
92
|
-
originalName: name,
|
|
93
|
-
value: headers[name],
|
|
94
|
-
};
|
|
95
|
-
});
|
|
96
|
-
const normalizedHeaders = {};
|
|
97
|
-
Object.keys(headerData).forEach((name) => {
|
|
98
|
-
normalizedHeaders[headerData[name].originalName] = headerData[name].value;
|
|
99
|
-
});
|
|
100
|
-
return normalizedHeaders;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
exports.defaultPrinter = defaultPrinter;
|
|
104
|
-
exports.fallbackHttpConfig = fallbackHttpConfig;
|
|
105
|
-
exports.selectHttpOptionsAndBodyInternal = selectHttpOptionsAndBodyInternal;
|
|
106
|
-
//# sourceMappingURL=selectHttpOptionsAndBody.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"selectHttpOptionsAndBody.js","sources":["../../../../../../../node_modules/@apollo/client/link/http/selectHttpOptionsAndBody.js"],"sourcesContent":["import { print } from \"@apollo/client/utilities\";\nconst defaultHttpOptions = {\n includeQuery: true,\n includeExtensions: true,\n preserveHeaderCase: false,\n};\nconst defaultHeaders = {\n // headers are case insensitive (https://stackoverflow.com/a/5259004)\n accept: \"application/graphql-response+json,application/json;q=0.9\",\n // The content-type header describes the type of the body of the request, and\n // so it typically only is sent with requests that actually have bodies. One\n // could imagine that Apollo Client would remove this header when constructing\n // a GET request (which has no body), but we historically have not done that.\n // This means that browsers will preflight all Apollo Client requests (even\n // GET requests). Apollo Server's CSRF prevention feature (introduced in\n // AS3.7) takes advantage of this fact and does not block requests with this\n // header. If you want to drop this header from GET requests, then you should\n // probably replace it with a `apollo-require-preflight` header, or servers\n // with CSRF prevention enabled might block your GET request. See\n // https://www.apollographql.com/docs/apollo-server/security/cors/#preventing-cross-site-request-forgery-csrf\n // for more details.\n \"content-type\": \"application/json\",\n};\nconst defaultOptions = {\n method: \"POST\",\n};\nexport const fallbackHttpConfig = {\n http: defaultHttpOptions,\n headers: defaultHeaders,\n options: defaultOptions,\n};\nexport const defaultPrinter = (ast, printer) => printer(ast);\nexport function selectHttpOptionsAndBody(operation, fallbackConfig, ...configs) {\n configs.unshift(fallbackConfig);\n return selectHttpOptionsAndBodyInternal(operation, defaultPrinter, ...configs);\n}\nexport function selectHttpOptionsAndBodyInternal(operation, printer, ...configs) {\n let options = {};\n let http = {};\n configs.forEach((config) => {\n options = {\n ...options,\n ...config.options,\n headers: {\n ...options.headers,\n ...config.headers,\n },\n };\n if (config.credentials) {\n options.credentials = config.credentials;\n }\n options.headers.accept = (config.http?.accept || [])\n .concat(options.headers.accept)\n .join(\",\");\n http = {\n ...http,\n ...config.http,\n };\n });\n options.headers = removeDuplicateHeaders(options.headers, http.preserveHeaderCase);\n //The body depends on the http options\n const { operationName, extensions, variables, query } = operation;\n const body = { operationName, variables };\n if (http.includeExtensions && Object.keys(extensions || {}).length)\n body.extensions = extensions;\n // not sending the query (i.e persisted queries)\n if (http.includeQuery)\n body.query = printer(query, print);\n return {\n options,\n body,\n };\n}\n// Remove potential duplicate header names, preserving last (by insertion order).\n// This is done to prevent unintentionally duplicating a header instead of\n// overwriting it (See #8447 and #8449).\nfunction removeDuplicateHeaders(headers, preserveHeaderCase) {\n // If we're not preserving the case, just remove duplicates w/ normalization.\n if (!preserveHeaderCase) {\n const normalizedHeaders = {};\n Object.keys(Object(headers)).forEach((name) => {\n normalizedHeaders[name.toLowerCase()] = headers[name];\n });\n return normalizedHeaders;\n }\n // If we are preserving the case, remove duplicates w/ normalization,\n // preserving the original name.\n // This allows for non-http-spec-compliant servers that expect intentionally\n // capitalized header names (See #6741).\n const headerData = {};\n Object.keys(Object(headers)).forEach((name) => {\n headerData[name.toLowerCase()] = {\n originalName: name,\n value: headers[name],\n };\n });\n const normalizedHeaders = {};\n Object.keys(headerData).forEach((name) => {\n normalizedHeaders[headerData[name].originalName] = headerData[name].value;\n });\n return normalizedHeaders;\n}\n//# sourceMappingURL=selectHttpOptionsAndBody.js.map"],"names":["print"],"mappings":";;;;AACA,MAAM,kBAAkB,GAAG;AAC3B,IAAI,YAAY,EAAE,IAAI;AACtB,IAAI,iB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;AACnD,QAAQ,UAAU,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,GAAG;AACzC,YAAY,YAAY,EAAE,IAAI;AAC9B,YAAY,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC;AAChC,SAAS;AACT,IAAI,CAAC,CAAC;AACN,IAAI,MAAM,iBAAiB,GAAG,EAAE;AAChC,IAAI,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,KAAK;AAC9C,QAAQ,iBAAiB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,YAAY,CAAC,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,KAAK;AACjF,IAAI,CAAC,CAAC;AACN,IAAI,OAAO,iBAAiB;AAC5B;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const selectURI = (operation, fallbackURI) => {
|
|
4
|
-
const context = operation.getContext();
|
|
5
|
-
const contextURI = context.uri;
|
|
6
|
-
if (contextURI) {
|
|
7
|
-
return contextURI;
|
|
8
|
-
}
|
|
9
|
-
else if (typeof fallbackURI === "function") {
|
|
10
|
-
return fallbackURI(operation);
|
|
11
|
-
}
|
|
12
|
-
else {
|
|
13
|
-
return fallbackURI || "/graphql";
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
exports.selectURI = selectURI;
|
|
18
|
-
//# sourceMappingURL=selectURI.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"selectURI.js","sources":["../../../../../../../node_modules/@apollo/client/link/http/selectURI.js"],"sourcesContent":["export const selectURI = (operation, fallbackURI) => {\n const context = operation.getContext();\n const contextURI = context.uri;\n if (contextURI) {\n return contextURI;\n }\n else if (typeof fallbackURI === \"function\") {\n return fallbackURI(operation);\n }\n else {\n return fallbackURI || \"/graphql\";\n }\n};\n//# sourceMappingURL=selectURI.js.map"],"names":[],"mappings":";;AAAY,MAAC,SAAS,GAAG,CAAC,SAAS,EAAE,WAAW,KAAK;AACrD,IAAI,MAAM,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE;AAC1C,IAAI,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG;AAClC,IAAI,IAAI,UAAU,EAAE;AACpB,QAAQ,OAAO,UAAU;AACzB,IAAI;AACJ,SAAS,IAAI,OAAO,WAAW,KAAK,UAAU,EAAE;AAChD,QAAQ,OAAO,WAAW,CAAC,SAAS,CAAC;AACrC,IAAI;AACJ,SAAS;AACT,QAAQ,OAAO,WAAW,IAAI,UAAU;AACxC,IAAI;AACJ;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var visitor = require('../../../../graphql/language/visitor.js');
|
|
4
|
-
|
|
5
|
-
function filterOperationVariables(variables, query) {
|
|
6
|
-
const result = { ...variables };
|
|
7
|
-
const unusedNames = new Set(Object.keys(variables));
|
|
8
|
-
visitor.visit(query, {
|
|
9
|
-
Variable(node, _key, parent) {
|
|
10
|
-
// A variable type definition at the top level of a query is not
|
|
11
|
-
// enough to silence server-side errors about the variable being
|
|
12
|
-
// unused, so variable definitions do not count as usage.
|
|
13
|
-
// https://spec.graphql.org/draft/#sec-All-Variables-Used
|
|
14
|
-
if (parent &&
|
|
15
|
-
parent.kind !== "VariableDefinition") {
|
|
16
|
-
unusedNames.delete(node.name.value);
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
});
|
|
20
|
-
unusedNames.forEach((name) => {
|
|
21
|
-
delete result[name];
|
|
22
|
-
});
|
|
23
|
-
return result;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
exports.filterOperationVariables = filterOperationVariables;
|
|
27
|
-
//# sourceMappingURL=filterOperationVariables.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filterOperationVariables.js","sources":["../../../../../../../node_modules/@apollo/client/link/utils/filterOperationVariables.js"],"sourcesContent":["import { visit } from \"graphql\";\nexport function filterOperationVariables(variables, query) {\n const result = { ...variables };\n const unusedNames = new Set(Object.keys(variables));\n visit(query, {\n Variable(node, _key, parent) {\n // A variable type definition at the top level of a query is not\n // enough to silence server-side errors about the variable being\n // unused, so variable definitions do not count as usage.\n // https://spec.graphql.org/draft/#sec-All-Variables-Used\n if (parent &&\n parent.kind !== \"VariableDefinition\") {\n unusedNames.delete(node.name.value);\n }\n },\n });\n unusedNames.forEach((name) => {\n delete result[name];\n });\n return result;\n}\n//# sourceMappingURL=filterOperationVariables.js.map"],"names":["visit"],"mappings":";;;;AACO,SAAS,wBAAwB,CAAC,SAAS,EAAE,KAAK,EAAE;AAC3D,IAAI,MAAM,MAAM,GAAG,EAAE,GAAG,SAAS,EAAE;AACnC,IAAI,MAAM,WAAW,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;AACvD,IAAIA,aAAK,CAAC,KAAK,EAAE;AACjB,QAAQ,QAAQ,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE;AACrC;AACA;AACA;AACA;AACA,YAAY,IAAI,MAAM;AACtB,gBAAgB,MAAM,CAAC,IAAI,KAAK,oBAAoB,EAAE;AACtD,gBAAgB,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC;AACnD,YAAY;AACZ,QAAQ,CAAC;AACT,KAAK,CAAC;AACN,IAAI,WAAW,CAAC,OAAO,CAAC,CAAC,IAAI,KAAK;AAClC,QAAQ,OAAO,MAAM,CAAC,IAAI,CAAC;AAC3B,IAAI,CAAC,CAAC;AACN,IAAI,OAAO,MAAM;AACjB;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var getOperationDefinition = require('../internal/getOperationDefinition.js');
|
|
4
|
-
|
|
5
|
-
function isOperation(document, operation) {
|
|
6
|
-
return getOperationDefinition.getOperationDefinition(document)?.operation === operation;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Determine if a document is a mutation document.
|
|
10
|
-
*
|
|
11
|
-
* @remarks
|
|
12
|
-
* If you are authoring an Apollo link, you might not need this utility.
|
|
13
|
-
* Prefer using the `operationType` property the `operation` object instead.
|
|
14
|
-
*
|
|
15
|
-
* @param document - The GraphQL document to check
|
|
16
|
-
* @returns A boolean indicating if the document is a mutation operation
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
*
|
|
20
|
-
* ```ts
|
|
21
|
-
* import { isMutationOperation } from "@apollo/client/utilities";
|
|
22
|
-
*
|
|
23
|
-
* const mutation = gql`
|
|
24
|
-
* mutation MyMutation {
|
|
25
|
-
* # ...
|
|
26
|
-
* }
|
|
27
|
-
* `;
|
|
28
|
-
*
|
|
29
|
-
* isMutationOperation(mutation); // true
|
|
30
|
-
* ```
|
|
31
|
-
*/
|
|
32
|
-
function isMutationOperation(document) {
|
|
33
|
-
return isOperation(document, "mutation");
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Determine if a document is a subscription document.
|
|
37
|
-
*
|
|
38
|
-
* @remarks
|
|
39
|
-
* If you are authoring an Apollo link, you might not need this utility.
|
|
40
|
-
* Prefer using the `operationType` property the `operation` object instead.
|
|
41
|
-
*
|
|
42
|
-
* @param document - The GraphQL document to check
|
|
43
|
-
* @returns A boolean indicating if the document is a subscription operation
|
|
44
|
-
*
|
|
45
|
-
* @example
|
|
46
|
-
*
|
|
47
|
-
* ```ts
|
|
48
|
-
* import { isSubscriptionOperation } from "@apollo/client/utilities";
|
|
49
|
-
*
|
|
50
|
-
* const subscription = gql`
|
|
51
|
-
* subscription MySubscription {
|
|
52
|
-
* # ...
|
|
53
|
-
* }
|
|
54
|
-
* `;
|
|
55
|
-
*
|
|
56
|
-
* isSubscriptionOperation(subscription); // true
|
|
57
|
-
* ```
|
|
58
|
-
*/
|
|
59
|
-
function isSubscriptionOperation(document) {
|
|
60
|
-
return isOperation(document, "subscription");
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
exports.isMutationOperation = isMutationOperation;
|
|
64
|
-
exports.isSubscriptionOperation = isSubscriptionOperation;
|
|
65
|
-
//# sourceMappingURL=operations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sources":["../../../../../../../node_modules/@apollo/client/utilities/graphql/operations.js"],"sourcesContent":["import { getOperationDefinition } from \"@apollo/client/utilities/internal\";\nfunction isOperation(document, operation) {\n return getOperationDefinition(document)?.operation === operation;\n}\n/**\n * Determine if a document is a mutation document.\n *\n * @remarks\n * If you are authoring an Apollo link, you might not need this utility.\n * Prefer using the `operationType` property the `operation` object instead.\n *\n * @param document - The GraphQL document to check\n * @returns A boolean indicating if the document is a mutation operation\n *\n * @example\n *\n * ```ts\n * import { isMutationOperation } from \"@apollo/client/utilities\";\n *\n * const mutation = gql`\n * mutation MyMutation {\n * # ...\n * }\n * `;\n *\n * isMutationOperation(mutation); // true\n * ```\n */\nexport function isMutationOperation(document) {\n return isOperation(document, \"mutation\");\n}\n/**\n * Determine if a document is a query document.\n *\n * @remarks\n * If you are authoring an Apollo link, you might not need this utility.\n * Prefer using the `operationType` property the `operation` object instead.\n *\n * @param document - The GraphQL document to check\n * @returns A boolean indicating if the document is a query operation\n *\n * @example\n *\n * ```ts\n * import { isQueryOperation } from \"@apollo/client/utilities\";\n *\n * const query = gql`\n * query MyQuery {\n * # ...\n * }\n * `;\n *\n * isQueryOperation(query); // true\n * ```\n */\nexport function isQueryOperation(document) {\n return isOperation(document, \"query\");\n}\n/**\n * Determine if a document is a subscription document.\n *\n * @remarks\n * If you are authoring an Apollo link, you might not need this utility.\n * Prefer using the `operationType` property the `operation` object instead.\n *\n * @param document - The GraphQL document to check\n * @returns A boolean indicating if the document is a subscription operation\n *\n * @example\n *\n * ```ts\n * import { isSubscriptionOperation } from \"@apollo/client/utilities\";\n *\n * const subscription = gql`\n * subscription MySubscription {\n * # ...\n * }\n * `;\n *\n * isSubscriptionOperation(subscription); // true\n * ```\n */\nexport function isSubscriptionOperation(document) {\n return isOperation(document, \"subscription\");\n}\n//# sourceMappingURL=operations.js.map"],"names":["getOperationDefinition"],"mappings":";;;;AACA,SAAS,WAAW,CAAC,QAAQ,EAAE,SAAS,EAAE;AAC1C,IAAI,OAAOA,6CAAsB,CAAC,QAAQ,CAAC,EAAE,SAAS,KAAK,SAAS;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,mBAAmB,CAAC,QAAQ,EAAE;AAC9C,IAAI,OAAO,WAAW,CAAC,QAAQ,EAAE,UAAU,CAAC;AAC5C;AA4BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,uBAAuB,CAAC,QAAQ,EAAE;AAClD,IAAI,OAAO,WAAW,CAAC,QAAQ,EAAE,cAAc,CAAC;AAChD;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var printer = require('../../../../graphql/language/printer.js');
|
|
4
|
-
var caches = require('../internal/caches.js');
|
|
5
|
-
var sizes = require('../caching/sizes.js');
|
|
6
|
-
|
|
7
|
-
let printCache;
|
|
8
|
-
/**
|
|
9
|
-
* Converts an AST into a string, using one set of reasonable
|
|
10
|
-
* formatting rules.
|
|
11
|
-
*
|
|
12
|
-
* @remarks This is the same function as the GraphQL.js `print` function but
|
|
13
|
-
* with an added cache to avoid recomputation when encountering the same
|
|
14
|
-
* `ASTNode` more than once.
|
|
15
|
-
*/
|
|
16
|
-
const print = Object.assign((ast) => {
|
|
17
|
-
let result = printCache.get(ast);
|
|
18
|
-
if (!result) {
|
|
19
|
-
result = printer.print(ast);
|
|
20
|
-
printCache.set(ast, result);
|
|
21
|
-
}
|
|
22
|
-
return result;
|
|
23
|
-
}, {
|
|
24
|
-
reset() {
|
|
25
|
-
printCache = new caches.AutoCleanedWeakCache(sizes.cacheSizes.print || 2000 /* defaultCacheSizes.print */);
|
|
26
|
-
},
|
|
27
|
-
});
|
|
28
|
-
print.reset();
|
|
29
|
-
|
|
30
|
-
exports.print = print;
|
|
31
|
-
//# sourceMappingURL=print.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"print.js","sources":["../../../../../../../node_modules/@apollo/client/utilities/graphql/print.js"],"sourcesContent":["import { print as origPrint } from \"graphql\";\nimport { __DEV__ } from \"@apollo/client/utilities/environment\";\nimport { AutoCleanedWeakCache, registerGlobalCache, } from \"@apollo/client/utilities/internal\";\nimport { cacheSizes } from \"../caching/index.js\";\nlet printCache;\n/**\n * Converts an AST into a string, using one set of reasonable\n * formatting rules.\n *\n * @remarks This is the same function as the GraphQL.js `print` function but\n * with an added cache to avoid recomputation when encountering the same\n * `ASTNode` more than once.\n */\nexport const print = Object.assign((ast) => {\n let result = printCache.get(ast);\n if (!result) {\n result = origPrint(ast);\n printCache.set(ast, result);\n }\n return result;\n}, {\n reset() {\n printCache = new AutoCleanedWeakCache(cacheSizes.print || 2000 /* defaultCacheSizes.print */);\n },\n});\nprint.reset();\nif (__DEV__) {\n registerGlobalCache(\"print\", () => (printCache ? printCache.size : 0));\n}\n//# sourceMappingURL=print.js.map"],"names":["origPrint","AutoCleanedWeakCache","cacheSizes"],"mappings":";;;;;;AAIA,IAAI,UAAU;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACY,MAAC,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,KAAK;AAC5C,IAAI,IAAI,MAAM,GAAG,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC;AACpC,IAAI,IAAI,CAAC,MAAM,EAAE;AACjB,QAAQ,MAAM,GAAGA,aAAS,CAAC,GAAG,CAAC;AAC/B,QAAQ,UAAU,CAAC,GAAG,CAAC,GAAG,EAAE,MAAM,CAAC;AACnC,IAAI;AACJ,IAAI,OAAO,MAAM;AACjB,CAAC,EAAE;AACH,IAAI,KAAK,GAAG;AACZ,QAAQ,UAAU,GAAG,IAAIC,2BAAoB,CAACC,gBAAU,CAAC,KAAK,IAAI,IAAI,+BAA+B;AACrG,IAAI,CAAC;AACL,CAAC;AACD,KAAK,CAAC,KAAK,EAAE;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Merges the provided objects shallowly and removes
|
|
5
|
-
* all properties with an `undefined` value
|
|
6
|
-
*
|
|
7
|
-
* @internal
|
|
8
|
-
*
|
|
9
|
-
* @deprecated This is an internal API and should not be used directly. This can be removed or changed at any time.
|
|
10
|
-
*/
|
|
11
|
-
function compact(...objects) {
|
|
12
|
-
const result = {};
|
|
13
|
-
objects.forEach((obj) => {
|
|
14
|
-
if (!obj)
|
|
15
|
-
return;
|
|
16
|
-
Reflect.ownKeys(obj).forEach((key) => {
|
|
17
|
-
const value = obj[key];
|
|
18
|
-
if (value !== void 0) {
|
|
19
|
-
result[key] = value;
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
});
|
|
23
|
-
return result;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
exports.compact = compact;
|
|
27
|
-
//# sourceMappingURL=compact.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"compact.js","sources":["../../../../../../../node_modules/@apollo/client/utilities/internal/compact.js"],"sourcesContent":["/**\n* Merges the provided objects shallowly and removes\n* all properties with an `undefined` value\n*\n* @internal\n* \n* @deprecated This is an internal API and should not be used directly. This can be removed or changed at any time.\n*/\nexport function compact(...objects) {\n const result = {};\n objects.forEach((obj) => {\n if (!obj)\n return;\n Reflect.ownKeys(obj).forEach((key) => {\n const value = obj[key];\n if (value !== void 0) {\n result[key] = value;\n }\n });\n });\n return result;\n}\n//# sourceMappingURL=compact.js.map\n"],"names":[],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,OAAO,CAAC,GAAG,OAAO,EAAE;AACpC,IAAI,MAAM,MAAM,GAAG,EAAE;AACrB,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC,GAAG,KAAK;AAC7B,QAAQ,IAAI,CAAC,GAAG;AAChB,YAAY;AACZ,QAAQ,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,KAAK;AAC9C,YAAY,MAAM,KAAK,GAAG,GAAG,CAAC,GAAG,CAAC;AAClC,YAAY,IAAI,KAAK,KAAK,MAAM,EAAE;AAClC,gBAAgB,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK;AACnC,YAAY;AACZ,QAAQ,CAAC,CAAC;AACV,IAAI,CAAC,CAAC;AACN,IAAI,OAAO,MAAM;AACjB;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @internal
|
|
5
|
-
*
|
|
6
|
-
* @deprecated This is an internal API and should not be used directly. This can be removed or changed at any time.
|
|
7
|
-
*/
|
|
8
|
-
function isNonNullObject(obj) {
|
|
9
|
-
return obj !== null && typeof obj === "object";
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
exports.isNonNullObject = isNonNullObject;
|
|
13
|
-
//# sourceMappingURL=isNonNullObject.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isNonNullObject.js","sources":["../../../../../../../node_modules/@apollo/client/utilities/internal/isNonNullObject.js"],"sourcesContent":["/**\n* @internal\n* \n* @deprecated This is an internal API and should not be used directly. This can be removed or changed at any time.\n*/\nexport function isNonNullObject(obj) {\n return obj !== null && typeof obj === \"object\";\n}\n//# sourceMappingURL=isNonNullObject.js.map\n"],"names":[],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACO,SAAS,eAAe,CAAC,GAAG,EAAE;AACrC,IAAI,OAAO,GAAG,KAAK,IAAI,IAAI,OAAO,GAAG,KAAK,QAAQ;AAClD;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var parallel = require('./parallel.js');
|
|
4
|
-
var serial = require('./serial.js');
|
|
5
|
-
var serialOrdered = require('./serialOrdered.js');
|
|
6
|
-
|
|
7
|
-
var asynckit;
|
|
8
|
-
var hasRequiredAsynckit;
|
|
9
|
-
|
|
10
|
-
function requireAsynckit () {
|
|
11
|
-
if (hasRequiredAsynckit) return asynckit;
|
|
12
|
-
hasRequiredAsynckit = 1;
|
|
13
|
-
asynckit =
|
|
14
|
-
{
|
|
15
|
-
parallel : parallel.__require(),
|
|
16
|
-
serial : serial.__require(),
|
|
17
|
-
serialOrdered : serialOrdered.__require()
|
|
18
|
-
};
|
|
19
|
-
return asynckit;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
exports.__require = requireAsynckit;
|
|
23
|
-
//# sourceMappingURL=index.js.map
|