@sanity/sdk 2.1.1 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/auth/refreshStampedToken.ts +1 -1
- package/src/projection/util.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -191,7 +191,7 @@ function createTokenRefreshStream(token, clientFactory, apiHost) {
|
|
|
191
191
|
return new Observable((subscriber) => {
|
|
192
192
|
const subscription = clientFactory({
|
|
193
193
|
apiVersion: DEFAULT_API_VERSION$1,
|
|
194
|
-
requestTagPrefix: "
|
|
194
|
+
requestTagPrefix: "token-refresh",
|
|
195
195
|
useProjectHostname: !1,
|
|
196
196
|
useCdn: !1,
|
|
197
197
|
token,
|
|
@@ -5235,7 +5235,7 @@ function processProjectionQuery({ ids, results }) {
|
|
|
5235
5235
|
}
|
|
5236
5236
|
return finalValues;
|
|
5237
5237
|
}
|
|
5238
|
-
const PROJECTION_TAG = "
|
|
5238
|
+
const PROJECTION_TAG = "projection", PROJECTION_PERSPECTIVE = "raw", PROJECTION_STATE_CLEAR_DELAY = 1e3, STABLE_EMPTY_PROJECTION = {
|
|
5239
5239
|
data: null,
|
|
5240
5240
|
isPending: !1
|
|
5241
5241
|
};
|
|
@@ -5501,7 +5501,7 @@ function validateFilter(filter2, index) {
|
|
|
5501
5501
|
`${filterContext}: when using wildcard '*', it must be the only type in the array`
|
|
5502
5502
|
);
|
|
5503
5503
|
}
|
|
5504
|
-
var version = "2.1.
|
|
5504
|
+
var version = "2.1.2";
|
|
5505
5505
|
const CORE_SDK_VERSION = getEnv("PKG_VERSION") || `${version}-development`;
|
|
5506
5506
|
export {
|
|
5507
5507
|
AuthStateType,
|