@osdk/client 2.95.0 → 2.96.0-main-fe6f8e1b32a2b59ef338a8f3f4f5e77a496272bb

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.
Files changed (31) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/build/browser/Client.js +1 -1
  3. package/build/browser/Client.js.map +1 -1
  4. package/build/browser/util/UserAgent.js +2 -2
  5. package/build/browser/util/UserAgent.js.map +1 -1
  6. package/build/cjs/{applyStreamingQuery-KCJOS7TV.cjs → applyStreamingQuery-EKQJ2HOP.cjs} +8 -8
  7. package/build/cjs/{applyStreamingQuery-KCJOS7TV.cjs.map → applyStreamingQuery-EKQJ2HOP.cjs.map} +1 -1
  8. package/build/cjs/{chunk-JBCRSB2X.cjs → chunk-FHJSKIMZ.cjs} +58 -58
  9. package/build/cjs/chunk-FHJSKIMZ.cjs.map +1 -0
  10. package/build/cjs/{chunk-QDEI35QO.cjs → chunk-HVITOOBR.cjs} +16 -16
  11. package/build/cjs/{chunk-QDEI35QO.cjs.map → chunk-HVITOOBR.cjs.map} +1 -1
  12. package/build/cjs/{chunk-35RDHB5T.cjs → chunk-JV6FM4K2.cjs} +8 -8
  13. package/build/cjs/{chunk-35RDHB5T.cjs.map → chunk-JV6FM4K2.cjs.map} +1 -1
  14. package/build/cjs/{chunk-B2NX6A3J.cjs → chunk-OQXF4VWE.cjs} +2 -2
  15. package/build/cjs/{chunk-B2NX6A3J.cjs.map → chunk-OQXF4VWE.cjs.map} +1 -1
  16. package/build/cjs/{chunk-EV74MG67.cjs → chunk-RWQOEVL6.cjs} +85 -85
  17. package/build/cjs/{chunk-EV74MG67.cjs.map → chunk-RWQOEVL6.cjs.map} +1 -1
  18. package/build/cjs/{chunk-ROZG5FTY.cjs → chunk-WT3PVLWG.cjs} +5 -5
  19. package/build/cjs/{chunk-ROZG5FTY.cjs.map → chunk-WT3PVLWG.cjs.map} +1 -1
  20. package/build/cjs/index.cjs +12 -12
  21. package/build/cjs/public/experimental.cjs +10 -10
  22. package/build/cjs/public/internal.cjs +10 -10
  23. package/build/cjs/public/observable.cjs +6 -6
  24. package/build/cjs/public/unstable-do-not-use.cjs +17 -17
  25. package/build/esm/Client.js +1 -1
  26. package/build/esm/Client.js.map +1 -1
  27. package/build/esm/util/UserAgent.js +2 -2
  28. package/build/esm/util/UserAgent.js.map +1 -1
  29. package/build/types/Client.d.ts +1 -1
  30. package/package.json +7 -7
  31. package/build/cjs/chunk-JBCRSB2X.cjs.map +0 -1
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkJBCRSB2X_cjs = require('./chunk-JBCRSB2X.cjs');
4
- var chunkQDEI35QO_cjs = require('./chunk-QDEI35QO.cjs');
5
- var chunkB2NX6A3J_cjs = require('./chunk-B2NX6A3J.cjs');
3
+ var chunkFHJSKIMZ_cjs = require('./chunk-FHJSKIMZ.cjs');
4
+ var chunkHVITOOBR_cjs = require('./chunk-HVITOOBR.cjs');
5
+ var chunkOQXF4VWE_cjs = require('./chunk-OQXF4VWE.cjs');
6
6
  var shared_net_fetch = require('@osdk/shared.net.fetch');
7
7
  var rxjs = require('rxjs');
8
8
  var invariant5 = require('tiny-invariant');
@@ -78,8 +78,8 @@ var ObservableClientImpl = class {
78
78
  const instances = [];
79
79
  const objectSetWires = [];
80
80
  for (const item of options.dependsOnObjects ?? []) {
81
- if (chunkB2NX6A3J_cjs.isObjectSet(item)) {
82
- objectSetWires.push(chunkB2NX6A3J_cjs.getWireObjectSet(item));
81
+ if (chunkOQXF4VWE_cjs.isObjectSet(item)) {
82
+ objectSetWires.push(chunkOQXF4VWE_cjs.getWireObjectSet(item));
83
83
  } else {
84
84
  instances.push({
85
85
  $apiName: item.$objectType ?? item.$apiName,
@@ -87,7 +87,7 @@ var ObservableClientImpl = class {
87
87
  });
88
88
  }
89
89
  }
90
- const objectSetTypesPromise = objectSetWires.length > 0 ? Promise.all(objectSetWires.map((wire) => chunkB2NX6A3J_cjs.extractObjectOrInterfaceType(this.__experimentalStore.client[chunkB2NX6A3J_cjs.additionalContext], wire))).then((types) => types.filter((t) => t != null).map((t) => t.apiName)) : void 0;
90
+ const objectSetTypesPromise = objectSetWires.length > 0 ? Promise.all(objectSetWires.map((wire) => chunkOQXF4VWE_cjs.extractObjectOrInterfaceType(this.__experimentalStore.client[chunkOQXF4VWE_cjs.additionalContext], wire))).then((types) => types.filter((t) => t != null).map((t) => t.apiName)) : void 0;
91
91
  return this.__experimentalStore.functions.observe({
92
92
  ...options,
93
93
  queryDef,
@@ -150,7 +150,7 @@ var ObservableClientImpl = class {
150
150
  if (!arr || arr.length === 0) {
151
151
  return arr;
152
152
  }
153
- const wireStrings = arr.map((os) => JSON.stringify(chunkB2NX6A3J_cjs.getWireObjectSet(os)));
153
+ const wireStrings = arr.map((os) => JSON.stringify(chunkOQXF4VWE_cjs.getWireObjectSet(os)));
154
154
  const canonKey = canonicalize(wireStrings);
155
155
  let cached = cache.get(canonKey);
156
156
  if (!cached) {
@@ -366,7 +366,7 @@ var OptimisticJob = class {
366
366
  return this;
367
367
  },
368
368
  createObject(type, pk, properties) {
369
- const create = store.client[chunkB2NX6A3J_cjs.additionalContext].objectFactory(store.client[chunkB2NX6A3J_cjs.additionalContext], [{
369
+ const create = store.client[chunkOQXF4VWE_cjs.additionalContext].objectFactory(store.client[chunkOQXF4VWE_cjs.additionalContext], [{
370
370
  $primaryKey: pk,
371
371
  $apiName: type.apiName,
372
372
  $objectType: type.apiName,
@@ -872,7 +872,7 @@ var Query = class {
872
872
  this.store = store;
873
873
  this.cacheKeys = store.cacheKeys;
874
874
  this.#subject = observable;
875
- this.logger = logger ?? (process.env.NODE_ENV === "production" ? store.client[chunkB2NX6A3J_cjs.additionalContext].logger : store.client[chunkB2NX6A3J_cjs.additionalContext].logger?.child({}, {
875
+ this.logger = logger ?? (process.env.NODE_ENV === "production" ? store.client[chunkOQXF4VWE_cjs.additionalContext].logger : store.client[chunkOQXF4VWE_cjs.additionalContext].logger?.child({}, {
876
876
  msgPrefix: process.env.NODE_ENV !== "production" ? `Query<${cacheKey.type}, ${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>` : "Query"
877
877
  }));
878
878
  }
@@ -1034,7 +1034,7 @@ var AggregationQuery = class extends Query {
1034
1034
  #invalidationTypes;
1035
1035
  #invalidationTypesPromise;
1036
1036
  constructor(store, subject, cacheKey, opts) {
1037
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkB2NX6A3J_cjs.additionalContext].logger?.child({}, {
1037
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkOQXF4VWE_cjs.additionalContext].logger?.child({}, {
1038
1038
  msgPrefix: `AggregationQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
1039
1039
  }) : void 0);
1040
1040
  this.apiName = cacheKey.otherKeys[API_NAME_IDX2];
@@ -1052,7 +1052,7 @@ var AggregationQuery = class extends Query {
1052
1052
  try {
1053
1053
  const {
1054
1054
  invalidationSet
1055
- } = await getObjectTypesThatInvalidate(this.store.client[chunkB2NX6A3J_cjs.additionalContext], wireObjectSet);
1055
+ } = await getObjectTypesThatInvalidate(this.store.client[chunkOQXF4VWE_cjs.additionalContext], wireObjectSet);
1056
1056
  return /* @__PURE__ */ new Set([this.apiName, ...invalidationSet]);
1057
1057
  } catch (error) {
1058
1058
  this.store.logger?.error("Failed to compute invalidation types for aggregation, falling back to base type only", error);
@@ -1123,7 +1123,7 @@ var ObjectAggregationQuery = class extends AggregationQuery {
1123
1123
  };
1124
1124
  let objectSet;
1125
1125
  if (this.parsedWireObjectSet) {
1126
- objectSet = chunkB2NX6A3J_cjs.createObjectSet(objectTypeDef, this.store.client[chunkB2NX6A3J_cjs.additionalContext], this.parsedWireObjectSet);
1126
+ objectSet = chunkOQXF4VWE_cjs.createObjectSet(objectTypeDef, this.store.client[chunkOQXF4VWE_cjs.additionalContext], this.parsedWireObjectSet);
1127
1127
  } else {
1128
1128
  objectSet = this.store.client(objectTypeDef);
1129
1129
  }
@@ -1165,7 +1165,7 @@ var AggregationsHelper = class extends AbstractHelper {
1165
1165
  return this.getOrCreateQuery(options, void 0);
1166
1166
  }
1167
1167
  getQueryWithObjectSet(options) {
1168
- const serializedObjectSet = JSON.stringify(chunkB2NX6A3J_cjs.getWireObjectSet(options.objectSet));
1168
+ const serializedObjectSet = JSON.stringify(chunkOQXF4VWE_cjs.getWireObjectSet(options.objectSet));
1169
1169
  return this.getOrCreateQuery(options, serializedObjectSet);
1170
1170
  }
1171
1171
  getOrCreateQuery(options, serializedObjectSet) {
@@ -1515,7 +1515,7 @@ var FunctionParamsCanonicalizer = class {
1515
1515
  path.push("$:map_end");
1516
1516
  return arr;
1517
1517
  }
1518
- if (chunkQDEI35QO_cjs.isObjectSpecifiersObject(value)) {
1518
+ if (chunkHVITOOBR_cjs.isObjectSpecifiersObject(value)) {
1519
1519
  const objectType = value.$objectType ?? value.$apiName;
1520
1520
  path.push("$:osdk", objectType, value.$primaryKey);
1521
1521
  return {
@@ -1523,8 +1523,8 @@ var FunctionParamsCanonicalizer = class {
1523
1523
  $primaryKey: value.$primaryKey
1524
1524
  };
1525
1525
  }
1526
- if (chunkB2NX6A3J_cjs.isObjectSet(value)) {
1527
- const wire = JSON.stringify(chunkB2NX6A3J_cjs.getWireObjectSet(value));
1526
+ if (chunkOQXF4VWE_cjs.isObjectSet(value)) {
1527
+ const wire = JSON.stringify(chunkOQXF4VWE_cjs.getWireObjectSet(value));
1528
1528
  path.push("$:objectset", wire);
1529
1529
  return wire;
1530
1530
  }
@@ -1584,7 +1584,7 @@ var FunctionQuery = class extends Query {
1584
1584
  #dependsOnObjects;
1585
1585
  #queryDef;
1586
1586
  constructor(store, subject, queryDef, params, cacheKey, opts, objectSetTypesPromise) {
1587
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkB2NX6A3J_cjs.additionalContext].logger?.child({}, {
1587
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkOQXF4VWE_cjs.additionalContext].logger?.child({}, {
1588
1588
  msgPrefix: `FunctionQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
1589
1589
  }) : void 0);
1590
1590
  this.#apiName = queryDef.apiName;
@@ -1641,7 +1641,7 @@ var FunctionQuery = class extends Query {
1641
1641
  }).debug("calling _fetchAndStore");
1642
1642
  }
1643
1643
  try {
1644
- const result = await chunkQDEI35QO_cjs.applyQuery(this.store.client[chunkB2NX6A3J_cjs.additionalContext], this.#queryDef, this.#params);
1644
+ const result = await chunkHVITOOBR_cjs.applyQuery(this.store.client[chunkOQXF4VWE_cjs.additionalContext], this.#queryDef, this.#params);
1645
1645
  const executedAt = Date.now();
1646
1646
  this.store.batch({}, (batch) => {
1647
1647
  this.writeToStore({
@@ -2221,11 +2221,11 @@ function isStringEncodedNumericType(type) {
2221
2221
  return type != null && NUMERIC_STRING_PROPERTY_TYPES.has(type);
2222
2222
  }
2223
2223
  function resolvePropertyType(holder, key, derivedPropertyMetadata = {}) {
2224
- const objectType = holder?.[chunkJBCRSB2X_cjs.ObjectDefRef]?.properties?.[key]?.type;
2224
+ const objectType = holder?.[chunkFHJSKIMZ_cjs.ObjectDefRef]?.properties?.[key]?.type;
2225
2225
  if (typeof objectType === "string") {
2226
2226
  return objectType;
2227
2227
  }
2228
- const interfaceType = resolveInterfacePropertyType(holder?.[chunkJBCRSB2X_cjs.InterfaceDefRef], key);
2228
+ const interfaceType = resolveInterfacePropertyType(holder?.[chunkFHJSKIMZ_cjs.InterfaceDefRef], key);
2229
2229
  if (typeof interfaceType === "string") {
2230
2230
  return interfaceType;
2231
2231
  }
@@ -2240,7 +2240,7 @@ function resolveInterfacePropertyType(interfaceDef, key) {
2240
2240
  if (typeof direct === "string") {
2241
2241
  return direct;
2242
2242
  }
2243
- const [namespace] = chunkB2NX6A3J_cjs.extractNamespace(interfaceDef.apiName);
2243
+ const [namespace] = chunkOQXF4VWE_cjs.extractNamespace(interfaceDef.apiName);
2244
2244
  if (namespace == null) {
2245
2245
  return void 0;
2246
2246
  }
@@ -2319,8 +2319,8 @@ function stripRdpFields(value, rdpFields) {
2319
2319
  if (rdpFields.size === 0) {
2320
2320
  return value;
2321
2321
  }
2322
- const underlying = value[chunkJBCRSB2X_cjs.UnderlyingOsdkObject];
2323
- const objectDef = requireObjectDef(value[chunkJBCRSB2X_cjs.ObjectDefRef], underlying);
2322
+ const underlying = value[chunkFHJSKIMZ_cjs.UnderlyingOsdkObject];
2323
+ const objectDef = requireObjectDef(value[chunkFHJSKIMZ_cjs.ObjectDefRef], underlying);
2324
2324
  const newProps = {
2325
2325
  $apiName: underlying.$apiName,
2326
2326
  $objectType: underlying.$objectType,
@@ -2333,7 +2333,7 @@ function stripRdpFields(value, rdpFields) {
2333
2333
  newProps[key] = underlying[key];
2334
2334
  }
2335
2335
  }
2336
- return chunkJBCRSB2X_cjs.createOsdkObject(value[chunkJBCRSB2X_cjs.ClientRef], objectDef, newProps, {}, void 0, value[chunkJBCRSB2X_cjs.UncastableProperties]);
2336
+ return chunkFHJSKIMZ_cjs.createOsdkObject(value[chunkFHJSKIMZ_cjs.ClientRef], objectDef, newProps, {}, void 0, value[chunkFHJSKIMZ_cjs.UncastableProperties]);
2337
2337
  }
2338
2338
  function isSuperset(superset, subset) {
2339
2339
  for (const field of subset) {
@@ -2344,8 +2344,8 @@ function isSuperset(superset, subset) {
2344
2344
  return true;
2345
2345
  }
2346
2346
  function filterToRdpFields(value, rdpFieldsToKeep, sourceRdpFields) {
2347
- const underlying = value[chunkJBCRSB2X_cjs.UnderlyingOsdkObject];
2348
- const objectDef = requireObjectDef(value[chunkJBCRSB2X_cjs.ObjectDefRef], underlying);
2347
+ const underlying = value[chunkFHJSKIMZ_cjs.UnderlyingOsdkObject];
2348
+ const objectDef = requireObjectDef(value[chunkFHJSKIMZ_cjs.ObjectDefRef], underlying);
2349
2349
  const newProps = {
2350
2350
  $apiName: underlying.$apiName,
2351
2351
  $objectType: underlying.$objectType,
@@ -2362,12 +2362,12 @@ function filterToRdpFields(value, rdpFieldsToKeep, sourceRdpFields) {
2362
2362
  newProps[key] = underlying[key];
2363
2363
  }
2364
2364
  }
2365
- return chunkJBCRSB2X_cjs.createOsdkObject(value[chunkJBCRSB2X_cjs.ClientRef], objectDef, newProps, {}, void 0, value[chunkJBCRSB2X_cjs.UncastableProperties]);
2365
+ return chunkFHJSKIMZ_cjs.createOsdkObject(value[chunkFHJSKIMZ_cjs.ClientRef], objectDef, newProps, {}, void 0, value[chunkFHJSKIMZ_cjs.UncastableProperties]);
2366
2366
  }
2367
2367
  function mergeSelectFields(sourceValue, selectFields, existingValue, sourceRdpFields) {
2368
- const sourceUnderlying = sourceValue[chunkJBCRSB2X_cjs.UnderlyingOsdkObject];
2369
- const existingUnderlying = existingValue[chunkJBCRSB2X_cjs.UnderlyingOsdkObject];
2370
- const objectDef = requireObjectDef(sourceValue[chunkJBCRSB2X_cjs.ObjectDefRef], sourceUnderlying);
2368
+ const sourceUnderlying = sourceValue[chunkFHJSKIMZ_cjs.UnderlyingOsdkObject];
2369
+ const existingUnderlying = existingValue[chunkFHJSKIMZ_cjs.UnderlyingOsdkObject];
2370
+ const objectDef = requireObjectDef(sourceValue[chunkFHJSKIMZ_cjs.ObjectDefRef], sourceUnderlying);
2371
2371
  const newProps = {
2372
2372
  $apiName: sourceUnderlying.$apiName,
2373
2373
  $objectType: sourceUnderlying.$objectType,
@@ -2380,20 +2380,20 @@ function mergeSelectFields(sourceValue, selectFields, existingValue, sourceRdpFi
2380
2380
  newProps[key] = existingUnderlying[key];
2381
2381
  }
2382
2382
  }
2383
- const uncastableProperties = new Set(existingValue[chunkJBCRSB2X_cjs.UncastableProperties]);
2383
+ const uncastableProperties = new Set(existingValue[chunkFHJSKIMZ_cjs.UncastableProperties]);
2384
2384
  for (const key of Object.keys(sourceUnderlying)) {
2385
2385
  if (sourceRdpFields.has(key)) {
2386
2386
  newProps[key] = sourceUnderlying[key];
2387
2387
  } else if (key in objectDef.properties && selectFields.has(key)) {
2388
2388
  newProps[key] = sourceUnderlying[key];
2389
- if (sourceValue[chunkJBCRSB2X_cjs.UncastableProperties].includes(key)) {
2389
+ if (sourceValue[chunkFHJSKIMZ_cjs.UncastableProperties].includes(key)) {
2390
2390
  uncastableProperties.add(key);
2391
2391
  } else {
2392
2392
  uncastableProperties.delete(key);
2393
2393
  }
2394
2394
  }
2395
2395
  }
2396
- return chunkJBCRSB2X_cjs.createOsdkObject(sourceValue[chunkJBCRSB2X_cjs.ClientRef], objectDef, newProps, {}, void 0, [...uncastableProperties]);
2396
+ return chunkFHJSKIMZ_cjs.createOsdkObject(sourceValue[chunkFHJSKIMZ_cjs.ClientRef], objectDef, newProps, {}, void 0, [...uncastableProperties]);
2397
2397
  }
2398
2398
  function mergeObjectFields(sourceValue, sourceRdpFields, targetRdpFields, targetCurrentValue) {
2399
2399
  if (targetRdpFields.size === 0) {
@@ -2405,8 +2405,8 @@ function mergeObjectFields(sourceValue, sourceRdpFields, targetRdpFields, target
2405
2405
  }
2406
2406
  return filterToRdpFields(sourceValue, targetRdpFields, sourceRdpFields);
2407
2407
  }
2408
- const sourceUnderlying = sourceValue[chunkJBCRSB2X_cjs.UnderlyingOsdkObject];
2409
- const objectDef = requireObjectDef(sourceValue[chunkJBCRSB2X_cjs.ObjectDefRef], sourceUnderlying);
2408
+ const sourceUnderlying = sourceValue[chunkFHJSKIMZ_cjs.UnderlyingOsdkObject];
2409
+ const objectDef = requireObjectDef(sourceValue[chunkFHJSKIMZ_cjs.ObjectDefRef], sourceUnderlying);
2410
2410
  const newProps = {
2411
2411
  $apiName: sourceUnderlying.$apiName,
2412
2412
  $objectType: sourceUnderlying.$objectType,
@@ -2425,14 +2425,14 @@ function mergeObjectFields(sourceValue, sourceRdpFields, targetRdpFields, target
2425
2425
  }
2426
2426
  }
2427
2427
  if (targetCurrentValue) {
2428
- const targetUnderlying = targetCurrentValue[chunkJBCRSB2X_cjs.UnderlyingOsdkObject];
2428
+ const targetUnderlying = targetCurrentValue[chunkFHJSKIMZ_cjs.UnderlyingOsdkObject];
2429
2429
  for (const field of targetRdpFields) {
2430
2430
  if (!sourceRdpFields.has(field) && field in targetUnderlying) {
2431
2431
  newProps[field] = targetUnderlying[field];
2432
2432
  }
2433
2433
  }
2434
2434
  }
2435
- return chunkJBCRSB2X_cjs.createOsdkObject(sourceValue[chunkJBCRSB2X_cjs.ClientRef], objectDef, newProps, {}, void 0, sourceValue[chunkJBCRSB2X_cjs.UncastableProperties]);
2435
+ return chunkFHJSKIMZ_cjs.createOsdkObject(sourceValue[chunkFHJSKIMZ_cjs.ClientRef], objectDef, newProps, {}, void 0, sourceValue[chunkFHJSKIMZ_cjs.UncastableProperties]);
2436
2436
  }
2437
2437
  function createCollectionConnectable(subject, subjects, createPayload) {
2438
2438
  return rxjs.connectable(subject.pipe(rxjs.switchMap((listEntry) => {
@@ -3059,7 +3059,7 @@ var SpecificLinkQuery = class extends BaseListQuery {
3059
3059
  batch.changes.modified.add(this.cacheKey);
3060
3060
  }
3061
3061
  constructor(store, subject, cacheKey, opts) {
3062
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkB2NX6A3J_cjs.additionalContext].logger?.child({}, {
3062
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkOQXF4VWE_cjs.additionalContext].logger?.child({}, {
3063
3063
  msgPrefix: `SpecificLinkQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
3064
3064
  }) : void 0);
3065
3065
  [this.#sourceApiName, this.#sourceTypeKind, this.#sourceUnderlyingObjectType, this.#sourcePk, this.#linkName, this.#whereClause, this.#orderBy] = cacheKey.otherKeys;
@@ -3081,7 +3081,7 @@ var SpecificLinkQuery = class extends BaseListQuery {
3081
3081
  */
3082
3082
  async fetchPageData(signal) {
3083
3083
  const client = this.store.client;
3084
- const ontologyProvider = client[chunkB2NX6A3J_cjs.additionalContext].ontologyProvider;
3084
+ const ontologyProvider = client[chunkOQXF4VWE_cjs.additionalContext].ontologyProvider;
3085
3085
  const isInterface = this.#sourceTypeKind === "interface";
3086
3086
  const hasOrderBy = this.#orderBy && Object.keys(this.#orderBy).length > 0;
3087
3087
  let target;
@@ -3213,7 +3213,7 @@ var SpecificLinkQuery = class extends BaseListQuery {
3213
3213
  }
3214
3214
  return (async () => {
3215
3215
  try {
3216
- const ontologyProvider = this.store.client[chunkB2NX6A3J_cjs.additionalContext].ontologyProvider;
3216
+ const ontologyProvider = this.store.client[chunkOQXF4VWE_cjs.additionalContext].ontologyProvider;
3217
3217
  if (this.#sourceTypeKind === "interface") {
3218
3218
  const objectMetadata2 = await ontologyProvider.getObjectDefinition(objectType);
3219
3219
  if (this.#sourceApiName in objectMetadata2.interfaceMap) {
@@ -3460,7 +3460,7 @@ var ListQuery = class extends BaseListQuery {
3460
3460
  batch.changes.registerList(this.cacheKey);
3461
3461
  }
3462
3462
  constructor(store, subject, apiName, cacheKey, opts) {
3463
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkB2NX6A3J_cjs.additionalContext].logger?.child({}, {
3463
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkOQXF4VWE_cjs.additionalContext].logger?.child({}, {
3464
3464
  msgPrefix: `ListQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
3465
3465
  }) : void 0);
3466
3466
  this.apiName = apiName;
@@ -3513,11 +3513,11 @@ var ListQuery = class extends BaseListQuery {
3513
3513
  async fetchPageData(signal) {
3514
3514
  const needsResultType = Object.keys(this.#orderBy).length > 0 && !(this.sortingStrategy instanceof OrderBySortingStrategy) || this.#pivotInfo != null && this.#intersectWith != null && this.#intersectWith.length > 0 && !this.#pivotIntersectApplied;
3515
3515
  if (needsResultType) {
3516
- const wireObjectSet = chunkB2NX6A3J_cjs.getWireObjectSet(this.#objectSet);
3516
+ const wireObjectSet = chunkOQXF4VWE_cjs.getWireObjectSet(this.#objectSet);
3517
3517
  const {
3518
3518
  resultType,
3519
3519
  invalidationSet
3520
- } = await getObjectTypesThatInvalidate(this.store.client[chunkB2NX6A3J_cjs.additionalContext], wireObjectSet);
3520
+ } = await getObjectTypesThatInvalidate(this.store.client[chunkOQXF4VWE_cjs.additionalContext], wireObjectSet);
3521
3521
  this.#updateFetchedObjectType(resultType.apiName);
3522
3522
  this.#rdpInvalidationSet = invalidationSet;
3523
3523
  if (Object.keys(this.#orderBy).length > 0 && !(this.sortingStrategy instanceof OrderBySortingStrategy)) {
@@ -3527,7 +3527,7 @@ var ListQuery = class extends BaseListQuery {
3527
3527
  // Carries derived-property type metadata so string-encoded numeric
3528
3528
  // derived properties (decimal/long) sort by value. Returns {} when
3529
3529
  // there are no derived properties.
3530
- await chunkB2NX6A3J_cjs.extractRdpDefinition(this.store.client[chunkB2NX6A3J_cjs.additionalContext], wireObjectSet)
3530
+ await chunkOQXF4VWE_cjs.extractRdpDefinition(this.store.client[chunkOQXF4VWE_cjs.additionalContext], wireObjectSet)
3531
3531
  );
3532
3532
  }
3533
3533
  if (this.#pivotInfo != null && this.#intersectWith != null && this.#intersectWith.length > 0 && !this.#pivotIntersectApplied) {
@@ -3554,11 +3554,11 @@ var ListQuery = class extends BaseListQuery {
3554
3554
  }
3555
3555
  if (this.#fetchedObjectType == null) {
3556
3556
  try {
3557
- const wireObjectSet = chunkB2NX6A3J_cjs.getWireObjectSet(this.#objectSet);
3557
+ const wireObjectSet = chunkOQXF4VWE_cjs.getWireObjectSet(this.#objectSet);
3558
3558
  const {
3559
3559
  resultType,
3560
3560
  invalidationSet
3561
- } = await getObjectTypesThatInvalidate(this.store.client[chunkB2NX6A3J_cjs.additionalContext], wireObjectSet);
3561
+ } = await getObjectTypesThatInvalidate(this.store.client[chunkOQXF4VWE_cjs.additionalContext], wireObjectSet);
3562
3562
  this.#updateFetchedObjectType(resultType.apiName);
3563
3563
  this.#rdpInvalidationSet = invalidationSet;
3564
3564
  } catch {
@@ -3791,7 +3791,7 @@ var InterfaceListQuery = class extends ListQuery {
3791
3791
  type,
3792
3792
  apiName: this.apiName
3793
3793
  };
3794
- const clientCtx = store.client[chunkB2NX6A3J_cjs.additionalContext];
3794
+ const clientCtx = store.client[chunkOQXF4VWE_cjs.additionalContext];
3795
3795
  let objectSet;
3796
3796
  if (rids != null) {
3797
3797
  objectSet = clientCtx.objectSetFactory(objectTypeDef, clientCtx, {
@@ -3835,7 +3835,7 @@ var InterfaceListQuery = class extends ListQuery {
3835
3835
  }
3836
3836
  extractRelevantObjects(changes) {
3837
3837
  const matchesApiName = ([, object]) => {
3838
- return this.apiName in object[chunkJBCRSB2X_cjs.ObjectDefRef].interfaceMap;
3838
+ return this.apiName in object[chunkFHJSKIMZ_cjs.ObjectDefRef].interfaceMap;
3839
3839
  };
3840
3840
  const added = Array.from(changes.addedObjects).filter(matchesApiName).map(([, object]) => this.wrapObject(object));
3841
3841
  const modified = Array.from(changes.modifiedObjects).filter(matchesApiName).map(([, object]) => this.wrapObject(object));
@@ -3846,7 +3846,7 @@ var InterfaceListQuery = class extends ListQuery {
3846
3846
  }
3847
3847
  };
3848
3848
  function createSourceSetForPivot(store, pivotInfo, rids) {
3849
- const clientCtx = store.client[chunkB2NX6A3J_cjs.additionalContext];
3849
+ const clientCtx = store.client[chunkOQXF4VWE_cjs.additionalContext];
3850
3850
  if (rids != null) {
3851
3851
  return clientCtx.objectSetFactory({
3852
3852
  type: "object",
@@ -3875,7 +3875,7 @@ var ObjectListQuery = class extends ListQuery {
3875
3875
  const intersectWith = this.cacheKey.otherKeys[INTERSECT_IDX];
3876
3876
  const pivotInfo = this.cacheKey.otherKeys[PIVOT_IDX];
3877
3877
  const rids = this.cacheKey.otherKeys[RIDS_IDX];
3878
- const clientCtx = store.client[chunkB2NX6A3J_cjs.additionalContext];
3878
+ const clientCtx = store.client[chunkOQXF4VWE_cjs.additionalContext];
3879
3879
  const typeDefinition = {
3880
3880
  type: "object",
3881
3881
  apiName: this.apiName
@@ -4202,7 +4202,7 @@ var MediaMetadataQuery = class extends Query {
4202
4202
  #propertyName;
4203
4203
  #preview;
4204
4204
  constructor(store, subject, objectType, primaryKey, propertyName, cacheKey, opts) {
4205
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkB2NX6A3J_cjs.additionalContext].logger?.child({}, {
4205
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkOQXF4VWE_cjs.additionalContext].logger?.child({}, {
4206
4206
  msgPrefix: `MediaMetadataQuery<${objectType}, ${JSON.stringify(primaryKey)}, ${propertyName}>`
4207
4207
  }) : void 0);
4208
4208
  this.#objectType = objectType;
@@ -4235,9 +4235,9 @@ var MediaMetadataQuery = class extends Query {
4235
4235
  this.setStatus("loading", batch);
4236
4236
  });
4237
4237
  try {
4238
- const ontologyRid = await this.store.client[chunkB2NX6A3J_cjs.additionalContext].ontologyRid;
4239
- const response = await chunkJBCRSB2X_cjs.MediaReferenceProperty_exports.getMediaMetadata(this.store.client[chunkB2NX6A3J_cjs.additionalContext], ontologyRid, this.#objectType, String(this.#primaryKey), this.#propertyName, {
4240
- branch: this.store.client[chunkB2NX6A3J_cjs.additionalContext].branch,
4238
+ const ontologyRid = await this.store.client[chunkOQXF4VWE_cjs.additionalContext].ontologyRid;
4239
+ const response = await chunkFHJSKIMZ_cjs.MediaReferenceProperty_exports.getMediaMetadata(this.store.client[chunkOQXF4VWE_cjs.additionalContext], ontologyRid, this.#objectType, String(this.#primaryKey), this.#propertyName, {
4240
+ branch: this.store.client[chunkOQXF4VWE_cjs.additionalContext].branch,
4241
4241
  preview: this.#preview
4242
4242
  });
4243
4243
  const metadata = {
@@ -4359,9 +4359,9 @@ var MediaHelper = class extends AbstractHelper {
4359
4359
  return this._subscribe(query, options, observer);
4360
4360
  }
4361
4361
  async fetchMetadata(coords, options) {
4362
- const ontologyRid = await this.store.client[chunkB2NX6A3J_cjs.additionalContext].ontologyRid;
4363
- const response = await chunkJBCRSB2X_cjs.MediaReferenceProperty_exports.getMediaMetadata(this.store.client[chunkB2NX6A3J_cjs.additionalContext], ontologyRid, coords.objectType, String(coords.primaryKey), coords.propertyName, {
4364
- branch: this.store.client[chunkB2NX6A3J_cjs.additionalContext].branch,
4362
+ const ontologyRid = await this.store.client[chunkOQXF4VWE_cjs.additionalContext].ontologyRid;
4363
+ const response = await chunkFHJSKIMZ_cjs.MediaReferenceProperty_exports.getMediaMetadata(this.store.client[chunkOQXF4VWE_cjs.additionalContext], ontologyRid, coords.objectType, String(coords.primaryKey), coords.propertyName, {
4364
+ branch: this.store.client[chunkOQXF4VWE_cjs.additionalContext].branch,
4365
4365
  preview: options?.preview ?? true
4366
4366
  });
4367
4367
  return {
@@ -4381,9 +4381,9 @@ var MediaHelper = class extends AbstractHelper {
4381
4381
  let response;
4382
4382
  const coords = this.resolveToCoords(mediaOrLocation);
4383
4383
  if (coords) {
4384
- const ontologyRid = await this.store.client[chunkB2NX6A3J_cjs.additionalContext].ontologyRid;
4385
- response = await chunkJBCRSB2X_cjs.MediaReferenceProperty_exports.getMediaContent(this.store.client[chunkB2NX6A3J_cjs.additionalContext], ontologyRid, coords.objectType, String(coords.primaryKey), coords.propertyName, {
4386
- branch: this.store.client[chunkB2NX6A3J_cjs.additionalContext].branch,
4384
+ const ontologyRid = await this.store.client[chunkOQXF4VWE_cjs.additionalContext].ontologyRid;
4385
+ response = await chunkFHJSKIMZ_cjs.MediaReferenceProperty_exports.getMediaContent(this.store.client[chunkOQXF4VWE_cjs.additionalContext], ontologyRid, coords.objectType, String(coords.primaryKey), coords.propertyName, {
4386
+ branch: this.store.client[chunkOQXF4VWE_cjs.additionalContext].branch,
4387
4387
  preview
4388
4388
  });
4389
4389
  } else if ("fetchContents" in mediaOrLocation) {
@@ -4570,7 +4570,7 @@ var ObjectCacheKeyRegistry = class {
4570
4570
 
4571
4571
  // src/object/convertWireToOsdkObjects/InterfaceHolder.ts
4572
4572
  function isInterfaceHolder(v) {
4573
- return typeof v === "object" && v != null && chunkJBCRSB2X_cjs.InterfaceDefRef in v;
4573
+ return typeof v === "object" && v != null && chunkFHJSKIMZ_cjs.InterfaceDefRef in v;
4574
4574
  }
4575
4575
 
4576
4576
  // src/observable/internal/collections/DefaultMap.ts
@@ -4621,7 +4621,7 @@ var BulkObjectLoader = class {
4621
4621
  #rdpIds = new DefaultWeakMap(() => this.#nextRdpId++);
4622
4622
  constructor(client, maxWait = 25, maxEntries = 100) {
4623
4623
  this.#client = client;
4624
- this.#logger = client[chunkB2NX6A3J_cjs.additionalContext].logger;
4624
+ this.#logger = client[chunkOQXF4VWE_cjs.additionalContext].logger;
4625
4625
  this.#maxWait = maxWait;
4626
4626
  this.#maxEntries = maxEntries;
4627
4627
  }
@@ -4812,7 +4812,7 @@ var ObjectQuery = class extends Query {
4812
4812
  #includeAllBaseObjectProperties;
4813
4813
  #implementingTypes;
4814
4814
  constructor(store, subject, type, pk, cacheKey, opts, defType = "object", select, loadPropertySecurityMetadata, includeAllBaseObjectProperties) {
4815
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkB2NX6A3J_cjs.additionalContext].logger?.child({}, {
4815
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkOQXF4VWE_cjs.additionalContext].logger?.child({}, {
4816
4816
  msgPrefix: `ObjectQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
4817
4817
  }) : void 0);
4818
4818
  this.#apiName = type;
@@ -4928,7 +4928,7 @@ var ObjectsHelper = class extends AbstractHelper {
4928
4928
  select,
4929
4929
  $loadPropertySecurityMetadata
4930
4930
  } = options;
4931
- const defType = chunkQDEI35QO_cjs.getDefType(options.apiName);
4931
+ const defType = chunkHVITOOBR_cjs.getDefType(options.apiName);
4932
4932
  const $includeAllBaseObjectProperties = defType === "interface" && options.$includeAllBaseObjectProperties ? true : void 0;
4933
4933
  const canonSelect = select && select.length > 0 ? this.store.selectCanonicalizer.canonicalize(select) : void 0;
4934
4934
  const objectCacheKey = this.cacheKeys.get("object", apiName, pk, rdpConfig ?? void 0, canonSelect, $loadPropertySecurityMetadata ? true : void 0, $includeAllBaseObjectProperties);
@@ -4945,7 +4945,7 @@ var ObjectsHelper = class extends AbstractHelper {
4945
4945
  storeOsdkInstances(values, batch, rdpConfig, selectFields, includeAllBaseObjectProperties, computedRdpFields) {
4946
4946
  const holders = values;
4947
4947
  return holders.map((v) => {
4948
- const concreteHolder = isInterfaceHolder(v) ? v[chunkJBCRSB2X_cjs.UnderlyingOsdkObject] : v;
4948
+ const concreteHolder = isInterfaceHolder(v) ? v[chunkFHJSKIMZ_cjs.UnderlyingOsdkObject] : v;
4949
4949
  return this.getQuery({
4950
4950
  apiName: v.$objectType ?? v.$apiName,
4951
4951
  pk: v.$primaryKey,
@@ -5043,7 +5043,7 @@ var ObjectSetQuery = class _ObjectSetQuery extends BaseListQuery {
5043
5043
  // revalidation. Lazily populated on first fetch when `withProperties` is set.
5044
5044
  #rdpInvalidationSet;
5045
5045
  constructor(store, subject, baseObjectSetWire, operations, cacheKey, opts) {
5046
- super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkB2NX6A3J_cjs.additionalContext].logger?.child({}, {
5046
+ super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkOQXF4VWE_cjs.additionalContext].logger?.child({}, {
5047
5047
  msgPrefix: `ObjectSetQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
5048
5048
  }) : void 0);
5049
5049
  this.#baseObjectSetWire = baseObjectSetWire;
@@ -5111,7 +5111,7 @@ var ObjectSetQuery = class _ObjectSetQuery extends BaseListQuery {
5111
5111
  return;
5112
5112
  }
5113
5113
  for (const os of sets) {
5114
- const typeName = _ObjectSetQuery.#extractTypeFromWireObjectSet(chunkB2NX6A3J_cjs.getWireObjectSet(os));
5114
+ const typeName = _ObjectSetQuery.#extractTypeFromWireObjectSet(chunkOQXF4VWE_cjs.getWireObjectSet(os));
5115
5115
  if (typeName) {
5116
5116
  types.add(typeName);
5117
5117
  }
@@ -5138,16 +5138,16 @@ var ObjectSetQuery = class _ObjectSetQuery extends BaseListQuery {
5138
5138
  */
5139
5139
  async fetchPageData(signal) {
5140
5140
  if (this.#operations.orderBy && Object.keys(this.#operations.orderBy).length > 0 && !(this.sortingStrategy instanceof OrderBySortingStrategy)) {
5141
- const wireObjectSet = chunkB2NX6A3J_cjs.getWireObjectSet(this.#composedObjectSet);
5141
+ const wireObjectSet = chunkOQXF4VWE_cjs.getWireObjectSet(this.#composedObjectSet);
5142
5142
  const {
5143
5143
  resultType,
5144
5144
  invalidationSet
5145
- } = await getObjectTypesThatInvalidate(this.store.client[chunkB2NX6A3J_cjs.additionalContext], wireObjectSet);
5146
- this.sortingStrategy = new OrderBySortingStrategy(resultType.apiName, this.#operations.orderBy, await chunkB2NX6A3J_cjs.extractRdpDefinition(this.store.client[chunkB2NX6A3J_cjs.additionalContext], wireObjectSet));
5145
+ } = await getObjectTypesThatInvalidate(this.store.client[chunkOQXF4VWE_cjs.additionalContext], wireObjectSet);
5146
+ this.sortingStrategy = new OrderBySortingStrategy(resultType.apiName, this.#operations.orderBy, await chunkOQXF4VWE_cjs.extractRdpDefinition(this.store.client[chunkOQXF4VWE_cjs.additionalContext], wireObjectSet));
5147
5147
  this.#rdpInvalidationSet = invalidationSet;
5148
5148
  }
5149
5149
  if (this.#rdpInvalidationSet == null && this.#operations.withProperties != null) {
5150
- const wireObjectSet = chunkB2NX6A3J_cjs.getWireObjectSet(this.#composedObjectSet);
5150
+ const wireObjectSet = chunkOQXF4VWE_cjs.getWireObjectSet(this.#composedObjectSet);
5151
5151
  this.#rdpInvalidationSet = await this.#computeInvalidationTypes(wireObjectSet);
5152
5152
  }
5153
5153
  const resp = await this.#composedObjectSet.fetchPage({
@@ -5292,7 +5292,7 @@ var ObjectSetQuery = class _ObjectSetQuery extends BaseListQuery {
5292
5292
  try {
5293
5293
  const {
5294
5294
  invalidationSet
5295
- } = await getObjectTypesThatInvalidate(this.store.client[chunkB2NX6A3J_cjs.additionalContext], wireObjectSet);
5295
+ } = await getObjectTypesThatInvalidate(this.store.client[chunkOQXF4VWE_cjs.additionalContext], wireObjectSet);
5296
5296
  return invalidationSet;
5297
5297
  } catch (error) {
5298
5298
  this.store.logger?.error("Failed to compute invalidation types for object set query, falling back to empty set", error);
@@ -5339,7 +5339,7 @@ var ObjectSetHelper = class extends AbstractHelper {
5339
5339
  if (process.env.NODE_ENV !== "production") {
5340
5340
  console.warn("[@osdk/client] streamUpdates is not supported with pivotTo. The server does not support websocket subscriptions for link-traversal queries. Ignoring streamUpdates.");
5341
5341
  }
5342
- } else if (options.withProperties || chunkB2NX6A3J_cjs.hasWithProperties(chunkB2NX6A3J_cjs.getWireObjectSet(options.baseObjectSet))) {
5342
+ } else if (options.withProperties || chunkOQXF4VWE_cjs.hasWithProperties(chunkOQXF4VWE_cjs.getWireObjectSet(options.baseObjectSet))) {
5343
5343
  if (process.env.NODE_ENV !== "production") {
5344
5344
  console.warn("[@osdk/client] streamUpdates is not supported with withProperties. The server does not support websocket subscriptions for object sets that include derived properties. Ignoring streamUpdates.");
5345
5345
  }
@@ -5353,7 +5353,7 @@ var ObjectSetHelper = class extends AbstractHelper {
5353
5353
  const {
5354
5354
  baseObjectSet
5355
5355
  } = options;
5356
- const baseObjectSetWire = JSON.stringify(chunkB2NX6A3J_cjs.getWireObjectSet(baseObjectSet));
5356
+ const baseObjectSetWire = JSON.stringify(chunkOQXF4VWE_cjs.getWireObjectSet(baseObjectSet));
5357
5357
  const operations = this.buildCanonicalizedOperations(options);
5358
5358
  const objectSetCacheKey = this.cacheKeys.get("objectSet", baseObjectSetWire, operations);
5359
5359
  return this.store.queries.get(objectSetCacheKey, () => {
@@ -5369,13 +5369,13 @@ var ObjectSetHelper = class extends AbstractHelper {
5369
5369
  operations.withProperties = this.rdpCanonicalizer.canonicalize(options.withProperties);
5370
5370
  }
5371
5371
  if (options.union && options.union.length > 0) {
5372
- operations.union = this.objectSetArrayCanonicalizer.canonicalizeUnion(options.union.map((os) => JSON.stringify(chunkB2NX6A3J_cjs.getWireObjectSet(os))));
5372
+ operations.union = this.objectSetArrayCanonicalizer.canonicalizeUnion(options.union.map((os) => JSON.stringify(chunkOQXF4VWE_cjs.getWireObjectSet(os))));
5373
5373
  }
5374
5374
  if (options.intersect && options.intersect.length > 0) {
5375
- operations.intersect = this.objectSetArrayCanonicalizer.canonicalizeIntersect(options.intersect.map((os) => JSON.stringify(chunkB2NX6A3J_cjs.getWireObjectSet(os))));
5375
+ operations.intersect = this.objectSetArrayCanonicalizer.canonicalizeIntersect(options.intersect.map((os) => JSON.stringify(chunkOQXF4VWE_cjs.getWireObjectSet(os))));
5376
5376
  }
5377
5377
  if (options.subtract && options.subtract.length > 0) {
5378
- operations.subtract = this.objectSetArrayCanonicalizer.canonicalizeSubtract(options.subtract.map((os) => JSON.stringify(chunkB2NX6A3J_cjs.getWireObjectSet(os))));
5378
+ operations.subtract = this.objectSetArrayCanonicalizer.canonicalizeSubtract(options.subtract.map((os) => JSON.stringify(chunkOQXF4VWE_cjs.getWireObjectSet(os))));
5379
5379
  }
5380
5380
  if (options.pivotTo) {
5381
5381
  operations.pivotTo = options.pivotTo;
@@ -5523,7 +5523,7 @@ var RdpCanonicalizer = class extends CachingCanonicalizer {
5523
5523
  apiName: "__rdp_canonicalizer_holder__"
5524
5524
  };
5525
5525
  for (const [key, rdpFunction] of Object.entries(rdp)) {
5526
- const builder = chunkB2NX6A3J_cjs.createWithPropertiesObjectSet(
5526
+ const builder = chunkOQXF4VWE_cjs.createWithPropertiesObjectSet(
5527
5527
  objectTypeHolder,
5528
5528
  {
5529
5529
  type: "methodInput"
@@ -5700,7 +5700,7 @@ var Store = class {
5700
5700
  subjects = this.layers.subjects;
5701
5701
  // these are hopefully temporary
5702
5702
  constructor(client, options) {
5703
- this.logger = client[chunkB2NX6A3J_cjs.additionalContext].logger?.child({}, {
5703
+ this.logger = client[chunkOQXF4VWE_cjs.additionalContext].logger?.child({}, {
5704
5704
  msgPrefix: "Store",
5705
5705
  level: options?.devMode?.logLevel
5706
5706
  });
@@ -6158,10 +6158,10 @@ var Store = class {
6158
6158
  // src/observable/ObservableClient.ts
6159
6159
  function createObservableClient(client, extraUserAgents, options) {
6160
6160
  const userAgents = /* @__PURE__ */ new Map();
6161
- const tweakedClient = chunkJBCRSB2X_cjs.createClientFromContext({
6162
- ...client[chunkB2NX6A3J_cjs.additionalContext],
6163
- fetch: shared_net_fetch.createFetchHeaderMutator(client[chunkB2NX6A3J_cjs.additionalContext].fetch, (headers) => {
6164
- headers.set("Fetch-User-Agent", [headers.get("Fetch-User-Agent"), chunkJBCRSB2X_cjs.OBSERVABLE_USER_AGENT, ...extraUserAgents?.() ?? [], ...new Set(userAgents.values())].filter((x) => x && x?.length > 0).join(" "));
6161
+ const tweakedClient = chunkFHJSKIMZ_cjs.createClientFromContext({
6162
+ ...client[chunkOQXF4VWE_cjs.additionalContext],
6163
+ fetch: shared_net_fetch.createFetchHeaderMutator(client[chunkOQXF4VWE_cjs.additionalContext].fetch, (headers) => {
6164
+ headers.set("Fetch-User-Agent", [headers.get("Fetch-User-Agent"), chunkFHJSKIMZ_cjs.OBSERVABLE_USER_AGENT, ...extraUserAgents?.() ?? [], ...new Set(userAgents.values())].filter((x) => x && x?.length > 0).join(" "));
6165
6165
  return headers;
6166
6166
  })
6167
6167
  });
@@ -6169,5 +6169,5 @@ function createObservableClient(client, extraUserAgents, options) {
6169
6169
  }
6170
6170
 
6171
6171
  exports.createObservableClient = createObservableClient;
6172
- //# sourceMappingURL=chunk-EV74MG67.cjs.map
6173
- //# sourceMappingURL=chunk-EV74MG67.cjs.map
6172
+ //# sourceMappingURL=chunk-RWQOEVL6.cjs.map
6173
+ //# sourceMappingURL=chunk-RWQOEVL6.cjs.map