@osdk/client 0.20.0-beta.1 → 0.20.0-beta.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # @osdk/client
2
2
 
3
+ ## 0.20.0-beta.3
4
+
5
+ ### Minor Changes
6
+
7
+ - 62bae76: Upgrades 'ws' to avoid false flag CVE
8
+ - 388dba9: Change all internal dependencies to be tilde not caret
9
+ - 57b68db: It is possible to pass a Promise<string> for ontologyRid on client creation
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [b5ac8a8]
14
+ - Updated dependencies [388dba9]
15
+ - Updated dependencies [700c894]
16
+ - @osdk/client.api@0.20.0-beta.3
17
+ - @osdk/generator-converters@0.7.0-beta.0
18
+ - @osdk/shared.client.impl@0.1.0-beta.0
19
+ - @osdk/shared.net.fetch@0.1.0-beta.0
20
+ - @osdk/api@1.9.0-beta.0
21
+
22
+ ## 0.20.0-beta.2
23
+
24
+ ### Minor Changes
25
+
26
+ - 7505880: Fix exports from client
27
+ - 141953f: Expose $title property in OsdkBase
28
+
29
+ ### Patch Changes
30
+
31
+ - Updated dependencies [141953f]
32
+ - @osdk/client.api@0.20.0-beta.2
33
+
3
34
  ## 0.20.0-beta.1
4
35
 
5
36
  ### Minor Changes
@@ -12,14 +12,13 @@ var __export = (target, all) => {
12
12
  __defProp(target, name, { get: all[name], enumerable: true });
13
13
  };
14
14
 
15
- // ../internal.foundry.datasets/build/esm/chunk-CSAU5B4Q.js
15
+ // ../internal.foundry.datasets/build/esm/chunk-PZ5AY32C.js
16
16
  var __defProp2 = Object.defineProperty;
17
17
  var __export2 = (target, all) => {
18
- for (var name in all)
19
- __defProp2(target, name, {
20
- get: all[name],
21
- enumerable: true
22
- });
18
+ for (var name in all) __defProp2(target, name, {
19
+ get: all[name],
20
+ enumerable: true
21
+ });
23
22
  };
24
23
  async function foundryPlatformFetch(client, [httpMethodNum, origPath, flags, contentType, responseContentType], ...args) {
25
24
  const path = origPath.replace(/\{([^}]+)\}/g, () => encodeURIComponent(args.shift()));
@@ -77,7 +76,7 @@ async function apiFetch(clientCtx, method, endpointPath, data, queryArguments, h
77
76
  return response.blob();
78
77
  }
79
78
 
80
- // ../internal.foundry.datasets/build/esm/chunk-YPYY5DPJ.js
79
+ // ../internal.foundry.datasets/build/esm/chunk-3STPFXHE.js
81
80
  var Branch_exports = {};
82
81
  __export2(Branch_exports, {
83
82
  createBranch: () => createBranch,
@@ -102,7 +101,7 @@ function deleteBranch($ctx, ...args) {
102
101
  return foundryPlatformFetch($ctx, _deleteBranch, ...args);
103
102
  }
104
103
 
105
- // ../internal.foundry.datasets/build/esm/chunk-Q6FZUZ4K.js
104
+ // ../internal.foundry.datasets/build/esm/chunk-5ZK5IVCS.js
106
105
  var Dataset_exports = {};
107
106
  __export2(Dataset_exports, {
108
107
  createDataset: () => createDataset,
@@ -137,7 +136,7 @@ function deleteSchema($ctx, ...args) {
137
136
  return foundryPlatformFetch($ctx, _deleteSchema, ...args);
138
137
  }
139
138
 
140
- // ../internal.foundry.datasets/build/esm/chunk-UJYKN4YN.js
139
+ // ../internal.foundry.datasets/build/esm/chunk-N55YZHZU.js
141
140
  var File_exports = {};
142
141
  __export2(File_exports, {
143
142
  deleteFile: () => deleteFile,
@@ -167,7 +166,7 @@ function getFileContent($ctx, ...args) {
167
166
  return foundryPlatformFetch($ctx, _getFileContent, ...args);
168
167
  }
169
168
 
170
- // ../internal.foundry.datasets/build/esm/chunk-5RKMNE66.js
169
+ // ../internal.foundry.datasets/build/esm/chunk-267TDC7H.js
171
170
  var Transaction_exports = {};
172
171
  __export2(Transaction_exports, {
173
172
  abortTransaction: () => abortTransaction,
@@ -192,14 +191,13 @@ function abortTransaction($ctx, ...args) {
192
191
  return foundryPlatformFetch($ctx, _abortTransaction, ...args);
193
192
  }
194
193
 
195
- // ../internal.foundry.models/build/esm/chunk-SJUC7YTI.js
194
+ // ../internal.foundry.models/build/esm/chunk-IOTKXOZ6.js
196
195
  var __defProp3 = Object.defineProperty;
197
196
  var __export3 = (target, all) => {
198
- for (var name in all)
199
- __defProp3(target, name, {
200
- get: all[name],
201
- enumerable: true
202
- });
197
+ for (var name in all) __defProp3(target, name, {
198
+ get: all[name],
199
+ enumerable: true
200
+ });
203
201
  };
204
202
  var LanguageModel_exports = {};
205
203
  __export3(LanguageModel_exports, {
@@ -231,17 +229,16 @@ __export(esm_exports, {
231
229
  QueryTypes: () => QueryType_exports
232
230
  });
233
231
 
234
- // ../internal.foundry.ontologies/build/esm/chunk-CSAU5B4Q.js
232
+ // ../internal.foundry.ontologies/build/esm/chunk-PZ5AY32C.js
235
233
  var __defProp4 = Object.defineProperty;
236
234
  var __export4 = (target, all) => {
237
- for (var name in all)
238
- __defProp4(target, name, {
239
- get: all[name],
240
- enumerable: true
241
- });
235
+ for (var name in all) __defProp4(target, name, {
236
+ get: all[name],
237
+ enumerable: true
238
+ });
242
239
  };
243
240
 
244
- // ../internal.foundry.ontologies/build/esm/chunk-UV55E7D4.js
241
+ // ../internal.foundry.ontologies/build/esm/chunk-LTUKKONO.js
245
242
  var ActionType_exports = {};
246
243
  __export4(ActionType_exports, {
247
244
  applyAction: () => applyAction,
@@ -281,7 +278,7 @@ function validateAction($ctx, ...args) {
281
278
  return foundryPlatformFetch($ctx, _validateAction, ...args);
282
279
  }
283
280
 
284
- // ../internal.foundry.ontologies/build/esm/chunk-KU7N4OS3.js
281
+ // ../internal.foundry.ontologies/build/esm/chunk-67IRYQ4I.js
285
282
  var Attachment_exports = {};
286
283
  __export4(Attachment_exports, {
287
284
  getAttachment: () => getAttachment,
@@ -301,7 +298,7 @@ function getAttachment($ctx, ...args) {
301
298
  return foundryPlatformFetch($ctx, _getAttachment, ...args);
302
299
  }
303
300
 
304
- // ../internal.foundry.ontologies/build/esm/chunk-K2FHVG2O.js
301
+ // ../internal.foundry.ontologies/build/esm/chunk-JDBI2K4S.js
305
302
  var ObjectType_exports = {};
306
303
  __export4(ObjectType_exports, {
307
304
  getObjectType: () => getObjectType,
@@ -326,7 +323,7 @@ function getOutgoingLinkType($ctx, ...args) {
326
323
  return foundryPlatformFetch($ctx, _getOutgoingLinkType, ...args);
327
324
  }
328
325
 
329
- // ../internal.foundry.ontologies/build/esm/chunk-LB4RYVNQ.js
326
+ // ../internal.foundry.ontologies/build/esm/chunk-6OWDPN5M.js
330
327
  var Ontology_exports = {};
331
328
  __export4(Ontology_exports, {
332
329
  getOntology: () => getOntology,
@@ -341,7 +338,7 @@ function getOntology($ctx, ...args) {
341
338
  return foundryPlatformFetch($ctx, _getOntology, ...args);
342
339
  }
343
340
 
344
- // ../internal.foundry.ontologies/build/esm/chunk-FANEAZUW.js
341
+ // ../internal.foundry.ontologies/build/esm/chunk-M2AD7ARN.js
345
342
  var OntologyObject_exports = {};
346
343
  __export4(OntologyObject_exports, {
347
344
  aggregateObjects: () => aggregateObjects,
@@ -376,7 +373,7 @@ function aggregateObjects($ctx, ...args) {
376
373
  return foundryPlatformFetch($ctx, _aggregateObjects, ...args);
377
374
  }
378
375
 
379
- // ../internal.foundry.ontologies/build/esm/chunk-CRDBJVD6.js
376
+ // ../internal.foundry.ontologies/build/esm/chunk-CBKBUZ63.js
380
377
  var QueryType_exports = {};
381
378
  __export4(QueryType_exports, {
382
379
  executeQuery: () => executeQuery,
@@ -408,17 +405,16 @@ __export(esm_exports2, {
408
405
  QueryTypes: () => QueryType_exports2
409
406
  });
410
407
 
411
- // ../internal.foundry.ontologiesv2/build/esm/chunk-CSAU5B4Q.js
408
+ // ../internal.foundry.ontologiesv2/build/esm/chunk-PZ5AY32C.js
412
409
  var __defProp5 = Object.defineProperty;
413
410
  var __export5 = (target, all) => {
414
- for (var name in all)
415
- __defProp5(target, name, {
416
- get: all[name],
417
- enumerable: true
418
- });
411
+ for (var name in all) __defProp5(target, name, {
412
+ get: all[name],
413
+ enumerable: true
414
+ });
419
415
  };
420
416
 
421
- // ../internal.foundry.ontologiesv2/build/esm/chunk-UVEI3RO3.js
417
+ // ../internal.foundry.ontologiesv2/build/esm/chunk-B5JRDCDE.js
422
418
  var Action_exports = {};
423
419
  __export5(Action_exports, {
424
420
  applyActionAsyncV2: () => applyActionAsyncV2,
@@ -438,7 +434,7 @@ function applyActionAsyncV2($ctx, ...args) {
438
434
  return foundryPlatformFetch($ctx, _applyActionAsyncV2, ...args);
439
435
  }
440
436
 
441
- // ../internal.foundry.ontologiesv2/build/esm/chunk-GCLYROAR.js
437
+ // ../internal.foundry.ontologiesv2/build/esm/chunk-G4A4IJCI.js
442
438
  var ActionTypeV2_exports = {};
443
439
  __export5(ActionTypeV2_exports, {
444
440
  getActionTypeV2: () => getActionTypeV2,
@@ -453,7 +449,7 @@ function getActionTypeV2($ctx, ...args) {
453
449
  return foundryPlatformFetch($ctx, _getActionTypeV2, ...args);
454
450
  }
455
451
 
456
- // ../internal.foundry.ontologiesv2/build/esm/chunk-GUSJ3JXB.js
452
+ // ../internal.foundry.ontologiesv2/build/esm/chunk-6LZM4EP4.js
457
453
  var ObjectTypeV2_exports = {};
458
454
  __export5(ObjectTypeV2_exports, {
459
455
  getObjectTypeV2: () => getObjectTypeV2,
@@ -478,7 +474,7 @@ function getOutgoingLinkTypeV2($ctx, ...args) {
478
474
  return foundryPlatformFetch($ctx, _getOutgoingLinkTypeV2, ...args);
479
475
  }
480
476
 
481
- // ../internal.foundry.ontologiesv2/build/esm/chunk-ADT7WVKJ.js
477
+ // ../internal.foundry.ontologiesv2/build/esm/chunk-TJX6RHXS.js
482
478
  var OntologyObjectSet_exports = {};
483
479
  __export5(OntologyObjectSet_exports, {
484
480
  aggregateObjectSetV2: () => aggregateObjectSetV2,
@@ -503,7 +499,7 @@ function aggregateObjectSetV2($ctx, ...args) {
503
499
  return foundryPlatformFetch($ctx, _aggregateObjectSetV2, ...args);
504
500
  }
505
501
 
506
- // ../internal.foundry.ontologiesv2/build/esm/chunk-S2FR63YP.js
502
+ // ../internal.foundry.ontologiesv2/build/esm/chunk-U2YDEYVP.js
507
503
  var OntologyObjectV2_exports = {};
508
504
  __export5(OntologyObjectV2_exports, {
509
505
  aggregateObjectsForInterface: () => aggregateObjectsForInterface,
@@ -603,7 +599,7 @@ function getObjectTypeFullMetadata($ctx, ...args) {
603
599
  return foundryPlatformFetch($ctx, _getObjectTypeFullMetadata, ...args);
604
600
  }
605
601
 
606
- // ../internal.foundry.ontologiesv2/build/esm/chunk-QZMDTH3J.js
602
+ // ../internal.foundry.ontologiesv2/build/esm/chunk-5MBQRC34.js
607
603
  var OntologyV2_exports = {};
608
604
  __export5(OntologyV2_exports, {
609
605
  getOntologyFullMetadata: () => getOntologyFullMetadata,
@@ -623,7 +619,7 @@ function getOntologyFullMetadata($ctx, ...args) {
623
619
  return foundryPlatformFetch($ctx, _getOntologyFullMetadata, ...args);
624
620
  }
625
621
 
626
- // ../internal.foundry.ontologiesv2/build/esm/chunk-HLZX6UUL.js
622
+ // ../internal.foundry.ontologiesv2/build/esm/chunk-ASYINYCV.js
627
623
  var QueryType_exports2 = {};
628
624
  __export5(QueryType_exports2, {
629
625
  executeQueryV2: () => executeQueryV2,
@@ -672,10 +668,10 @@ function addUserAgent(client, withMetadata) {
672
668
  function createClientCache(fn) {
673
669
  const cache = /* @__PURE__ */ new WeakMap();
674
670
  function get(client, key) {
675
- if (cache.get(client) == null) {
676
- cache.set(client, /* @__PURE__ */ new Map());
671
+ if (cache.get(client.clientCacheKey) == null) {
672
+ cache.set(client.clientCacheKey, /* @__PURE__ */ new Map());
677
673
  }
678
- let r = cache.get(client).get(key);
674
+ let r = cache.get(client.clientCacheKey).get(key);
679
675
  if (r === void 0 && fn !== void 0) {
680
676
  return set(client, key, fn(client, key));
681
677
  } else {
@@ -683,16 +679,15 @@ function createClientCache(fn) {
683
679
  }
684
680
  }
685
681
  function set(client, key, value) {
686
- if (cache.get(client) == null) {
687
- cache.set(client, /* @__PURE__ */ new Map());
682
+ if (cache.get(client.clientCacheKey) == null) {
683
+ cache.set(client.clientCacheKey, /* @__PURE__ */ new Map());
688
684
  }
689
- cache.get(client).set(key, value);
685
+ cache.get(client.clientCacheKey).set(key, value);
690
686
  return value;
691
687
  }
692
688
  function remove(client, key) {
693
- if (cache.get(client) == null)
694
- return false;
695
- return cache.get(client).delete(key);
689
+ if (cache.get(client.clientCacheKey) == null) return false;
690
+ return cache.get(client.clientCacheKey).delete(key);
696
691
  }
697
692
  return {
698
693
  get,
@@ -797,8 +792,7 @@ function customInspect(_depth, options, localInspect) {
797
792
  let ret = `Osdk<${options.stylize(this[ObjectDefRef]?.apiName ?? this[InterfaceDefRef]?.apiName, "special")}> {
798
793
  `;
799
794
  for (const k of /* @__PURE__ */ new Set(["$apiName", "$objectType", "$primaryKey", ...Reflect.ownKeys(this)])) {
800
- if (typeof k === "symbol")
801
- continue;
795
+ if (typeof k === "symbol") continue;
802
796
  ret += ` ${options.stylize(k.toString(), "undefined")}: ${localInspect(this[k], newOptions)}
803
797
  `;
804
798
  }
@@ -834,6 +828,7 @@ function createInterfaceProxyHandler(newDef) {
834
828
  const objDef = underlying[ObjectDefRef];
835
829
  switch (p) {
836
830
  case "$primaryKey":
831
+ case "$title":
837
832
  case "$objectType":
838
833
  return Reflect.getOwnPropertyDescriptor(underlying, p);
839
834
  case "$apiName":
@@ -852,7 +847,7 @@ function createInterfaceProxyHandler(newDef) {
852
847
  }
853
848
  },
854
849
  ownKeys(target) {
855
- return ["$apiName", "$objectType", "$primaryKey", ...Object.keys(newDef.properties)];
850
+ return ["$apiName", "$objectType", "$primaryKey", "$title", ...Object.keys(newDef.properties)];
856
851
  },
857
852
  get(target, p) {
858
853
  const underlying = target[UnderlyingOsdkObject];
@@ -864,6 +859,7 @@ function createInterfaceProxyHandler(newDef) {
864
859
  case "$as":
865
860
  case UnderlyingOsdkObject:
866
861
  case "$primaryKey":
862
+ case "$title":
867
863
  case "$objectType":
868
864
  return underlying[p];
869
865
  }
@@ -900,8 +896,7 @@ function $asFactory(objDef) {
900
896
  }
901
897
  const underlying = this[UnderlyingOsdkObject];
902
898
  const existing = osdkObjectToInterfaceView.get(underlying).get(newDef.apiName);
903
- if (existing)
904
- return existing;
899
+ if (existing) return existing;
905
900
  const osdkInterface = createOsdkInterface(underlying, newDef);
906
901
  osdkObjectToInterfaceView.get(underlying).set(newDef.apiName, osdkInterface);
907
902
  return osdkInterface;
@@ -1069,8 +1064,7 @@ function modernToLegacyAggregationClause(select) {
1069
1064
  });
1070
1065
  }
1071
1066
  function modernToLegacyGroupByClause(groupByClause) {
1072
- if (!groupByClause)
1073
- return [];
1067
+ if (!groupByClause) return [];
1074
1068
  return Object.entries(groupByClause).flatMap(([field, type]) => {
1075
1069
  if (type === "exact") {
1076
1070
  return [{
@@ -1104,8 +1098,7 @@ function modernToLegacyGroupByClause(groupByClause) {
1104
1098
  value: type.$duration[0],
1105
1099
  unit: DurationMapping[type.$duration[1]]
1106
1100
  }];
1107
- } else
1108
- return [];
1101
+ } else return [];
1109
1102
  });
1110
1103
  }
1111
1104
  function convertRange(range) {
@@ -1131,7 +1124,7 @@ async function aggregate(clientCtx, objectType, objectSet = {
1131
1124
  if (req.$where) {
1132
1125
  body.where = modernToLegacyWhereClause(req.$where);
1133
1126
  }
1134
- const result = await esm_exports2.OntologyObjectSets.aggregateObjectSetV2(addUserAgent(clientCtx, objectType), clientCtx.ontologyRid, {
1127
+ const result = await esm_exports2.OntologyObjectSets.aggregateObjectSetV2(addUserAgent(clientCtx, objectType), await clientCtx.ontologyRid, {
1135
1128
  objectSet,
1136
1129
  groupBy: body.groupBy,
1137
1130
  aggregation: body.aggregation
@@ -1375,8 +1368,7 @@ function createOsdkObject(client, objectDef, rawObj) {
1375
1368
  case UnderlyingOsdkObject:
1376
1369
  return receiver;
1377
1370
  }
1378
- if (p in target)
1379
- return target[p];
1371
+ if (p in target) return target[p];
1380
1372
  if (p in rawObj) {
1381
1373
  const rawValue = target[RawObject][p];
1382
1374
  const propDef = objectDef.properties[p];
@@ -1443,8 +1435,7 @@ async function convertWireToOsdkObjects(client, objects, interfaceApiName, force
1443
1435
  continue;
1444
1436
  }
1445
1437
  let osdkObject = createOsdkObject(client, objectDef, rawObj);
1446
- if (interfaceApiName)
1447
- osdkObject = osdkObject.$as(interfaceApiName);
1438
+ if (interfaceApiName) osdkObject = osdkObject.$as(interfaceApiName);
1448
1439
  ret.push(osdkObject);
1449
1440
  }
1450
1441
  client.logger?.debug(`END convertWireToOsdkObjects()`);
@@ -1508,8 +1499,10 @@ function fixObjectPropertiesInPlace(objs, forceRemoveRid) {
1508
1499
  obj.$apiName = obj.__apiName;
1509
1500
  obj.$objectType = obj.__apiName;
1510
1501
  obj.$primaryKey = obj.__primaryKey;
1502
+ obj.$title = obj.__title;
1511
1503
  delete obj.__apiName;
1512
1504
  delete obj.__primaryKey;
1505
+ delete obj.__title;
1513
1506
  }
1514
1507
  }
1515
1508
 
@@ -1535,7 +1528,7 @@ function objectSetToSearchJsonV2(objectSet, expectedApiName, existingWhere = voi
1535
1528
  throw new Error(`Unsupported objectSet type: ${objectSet.type}`);
1536
1529
  }
1537
1530
  async function fetchInterfacePage(client, interfaceType, args, objectSet) {
1538
- const result = await esm_exports2.OntologyObjectsV2.searchObjectsForInterface(addUserAgent(client, interfaceType), client.ontologyRid, interfaceType.apiName, applyFetchArgs(args, {
1531
+ const result = await esm_exports2.OntologyObjectsV2.searchObjectsForInterface(addUserAgent(client, interfaceType), await client.ontologyRid, interfaceType.apiName, applyFetchArgs(args, {
1539
1532
  augmentedProperties: args.$augment ?? {},
1540
1533
  augmentedSharedPropertyTypes: {},
1541
1534
  otherInterfaceTypes: [],
@@ -1602,7 +1595,7 @@ function applyFetchArgs(args, body) {
1602
1595
  return body;
1603
1596
  }
1604
1597
  async function fetchObjectPage(client, objectType, args, objectSet) {
1605
- const r = await esm_exports2.OntologyObjectSets.loadObjectSetV2(addUserAgent(client, objectType), client.ontologyRid, applyFetchArgs(args, {
1598
+ const r = await esm_exports2.OntologyObjectSets.loadObjectSetV2(addUserAgent(client, objectType), await client.ontologyRid, applyFetchArgs(args, {
1606
1599
  objectSet,
1607
1600
  // We have to do the following case because LoadObjectSetRequestV2 isnt readonly
1608
1601
  select: args?.$select ?? [],
@@ -1673,7 +1666,7 @@ async function toDataValue(value, client) {
1673
1666
  // src/actions/applyAction.ts
1674
1667
  async function applyAction2(client, action, parameters, options = {}) {
1675
1668
  if (Array.isArray(parameters)) {
1676
- const response = await esm_exports2.Actions.applyActionBatchV2(addUserAgent(client, action), client.ontologyRid, action.apiName, {
1669
+ const response = await esm_exports2.Actions.applyActionBatchV2(addUserAgent(client, action), await client.ontologyRid, action.apiName, {
1677
1670
  requests: parameters ? await remapBatchActionParams(parameters, client) : [],
1678
1671
  options: {
1679
1672
  returnEdits: options?.$returnEdits ? "ALL" : "NONE"
@@ -1681,7 +1674,7 @@ async function applyAction2(client, action, parameters, options = {}) {
1681
1674
  });
1682
1675
  return options?.$returnEdits ? response.edits : void 0;
1683
1676
  } else {
1684
- const response = await esm_exports2.Actions.applyActionV2(addUserAgent(client, action), client.ontologyRid, action.apiName, {
1677
+ const response = await esm_exports2.Actions.applyActionV2(addUserAgent(client, action), await client.ontologyRid, action.apiName, {
1685
1678
  parameters: await remapActionParams(parameters, client),
1686
1679
  options: {
1687
1680
  mode: options?.$validateOnly ? "VALIDATE_ONLY" : "VALIDATE_AND_EXECUTE",
@@ -1716,7 +1709,7 @@ async function remapBatchActionParams(params, client) {
1716
1709
  return remappedParams;
1717
1710
  }
1718
1711
  async function loadFullObjectMetadata(client, objtype) {
1719
- const full = await esm_exports2.OntologyObjectsV2.getObjectTypeFullMetadata(client, client.ontologyRid, objtype, {
1712
+ const full = await esm_exports2.OntologyObjectsV2.getObjectTypeFullMetadata(client, await client.ontologyRid, objtype, {
1720
1713
  preview: true
1721
1714
  });
1722
1715
  const ret = wireObjectTypeFullMetadataToSdkObjectTypeDefinition(full, true);
@@ -1727,7 +1720,7 @@ async function loadFullObjectMetadata(client, objtype) {
1727
1720
  };
1728
1721
  }
1729
1722
  async function loadInterfaceDefinition(client, objtype) {
1730
- const r = await esm_exports2.OntologyObjectsV2.getInterfaceType(client, client.ontologyRid, objtype, {
1723
+ const r = await esm_exports2.OntologyObjectsV2.getInterfaceType(client, await client.ontologyRid, objtype, {
1731
1724
  preview: true
1732
1725
  });
1733
1726
  return __UNSTABLE_wireInterfaceTypeV2ToSdkObjectDefinition(r, true);
@@ -1768,7 +1761,7 @@ var createStandardOntologyProviderFactory = (client) => {
1768
1761
  };
1769
1762
 
1770
1763
  // src/util/UserAgent.ts
1771
- var USER_AGENT = `osdk-client/${"0.20.0-beta.1"}`;
1764
+ var USER_AGENT = `osdk-client/${"0.20.0-beta.3"}`;
1772
1765
 
1773
1766
  // src/createMinimalClient.ts
1774
1767
  function createMinimalClient(metadata, baseUrl, tokenProvider, options = {}, fetchFn = global.fetch, objectSetFactory = createObjectSet) {
@@ -1784,7 +1777,8 @@ function createMinimalClient(metadata, baseUrl, tokenProvider, options = {}, fet
1784
1777
  ...createSharedClientContext(baseUrl, tokenProvider, USER_AGENT, fetchFn),
1785
1778
  objectSetFactory,
1786
1779
  ontologyRid: metadata.ontologyRid,
1787
- logger: options.logger
1780
+ logger: options.logger,
1781
+ clientCacheKey: {}
1788
1782
  };
1789
1783
  return Object.assign(minimalClient, {
1790
1784
  ontologyProvider: createStandardOntologyProviderFactory()(minimalClient)
@@ -1823,4 +1817,4 @@ var createClient = createClientInternal.bind(void 0, createObjectSet);
1823
1817
 
1824
1818
  export { ActionValidationError, USER_AGENT, augment, convertWireToOsdkObjects, createAttachmentFromRid, createClient, createClientInternal, createObjectSet, createSimpleAsyncCache, esm_exports2 as esm_exports };
1825
1819
  //# sourceMappingURL=out.js.map
1826
- //# sourceMappingURL=chunk-RJH55BAH.js.map
1820
+ //# sourceMappingURL=chunk-M3BF5ESV.js.map