@osdk/client 2.7.0 → 2.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/build/browser/Client.js +1 -1
- package/build/browser/Client.js.map +1 -1
- package/build/browser/util/UserAgent.js +2 -2
- package/build/cjs/{chunk-W4BHRZWL.cjs → chunk-OVZCGOMG.cjs} +65 -65
- package/build/cjs/{chunk-W4BHRZWL.cjs.map → chunk-OVZCGOMG.cjs.map} +1 -1
- package/build/cjs/{chunk-Y362HOIZ.cjs → chunk-OZNDU7AU.cjs} +2 -2
- package/build/cjs/{chunk-Y362HOIZ.cjs.map → chunk-OZNDU7AU.cjs.map} +1 -1
- package/build/cjs/index.cjs +8 -8
- package/build/cjs/public/internal.cjs +8 -8
- package/build/cjs/public/unstable-do-not-use.cjs +52 -52
- package/build/esm/Client.js +1 -1
- package/build/esm/Client.js.map +1 -1
- package/build/esm/util/UserAgent.js +2 -2
- package/build/types/Client.d.ts +1 -1
- package/package.json +6 -6
package/build/cjs/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkOVZCGOMG_cjs = require('./chunk-OVZCGOMG.cjs');
|
|
4
|
+
require('./chunk-OZNDU7AU.cjs');
|
|
5
5
|
var chunkLDTMSHUZ_cjs = require('./chunk-LDTMSHUZ.cjs');
|
|
6
6
|
var api = require('@osdk/api');
|
|
7
7
|
var shared_net_errors = require('@osdk/shared.net.errors');
|
|
@@ -18,7 +18,7 @@ chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
|
18
18
|
// src/createPlatformClient.ts
|
|
19
19
|
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
20
20
|
function createPlatformClient(baseUrl, tokenProvider, options = void 0, fetchFn = fetch) {
|
|
21
|
-
return shared_client_impl.createSharedClientContext(baseUrl, tokenProvider,
|
|
21
|
+
return shared_client_impl.createSharedClientContext(baseUrl, tokenProvider, chunkOVZCGOMG_cjs.USER_AGENT, fetchFn);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
// src/util/datetimeConverters.ts
|
|
@@ -45,23 +45,23 @@ var extractDateFromIsoString = (dateTime) => {
|
|
|
45
45
|
|
|
46
46
|
Object.defineProperty(exports, "ActionValidationError", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkOVZCGOMG_cjs.ActionValidationError; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "createAttachmentUpload", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkOVZCGOMG_cjs.createAttachmentUpload; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "createClient", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkOVZCGOMG_cjs.createClient; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "createObjectSpecifierFromPrimaryKey", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkOVZCGOMG_cjs.createObjectSpecifierFromPrimaryKey; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "extractPrimaryKeyFromObjectSpecifier", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkOVZCGOMG_cjs.extractPrimaryKeyFromObjectSpecifier; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "isOk", {
|
|
67
67
|
enumerable: true,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkOZNDU7AU_cjs = require('../chunk-OZNDU7AU.cjs');
|
|
4
4
|
var chunkLDTMSHUZ_cjs = require('../chunk-LDTMSHUZ.cjs');
|
|
5
5
|
|
|
6
6
|
// src/public/internal.ts
|
|
@@ -9,8 +9,8 @@ chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
|
9
9
|
// src/public-utils/createAndFetchTempObjectSetRid.ts
|
|
10
10
|
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
11
11
|
async function createAndFetchTempObjectSetRid(client, objectSet) {
|
|
12
|
-
const response = await
|
|
13
|
-
objectSet:
|
|
12
|
+
const response = await chunkOZNDU7AU_cjs.OntologyObjectSet_exports.createTemporary(client, await client[chunkOZNDU7AU_cjs.additionalContext].ontologyRid, {
|
|
13
|
+
objectSet: chunkOZNDU7AU_cjs.getWireObjectSet(objectSet)
|
|
14
14
|
});
|
|
15
15
|
return response.objectSetRid;
|
|
16
16
|
}
|
|
@@ -18,7 +18,7 @@ async function createAndFetchTempObjectSetRid(client, objectSet) {
|
|
|
18
18
|
// src/public-utils/hydrateObjectSetFromObjectRids.ts
|
|
19
19
|
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
20
20
|
function hydrateObjectSetFromObjectRids(client, definition, rids) {
|
|
21
|
-
return
|
|
21
|
+
return chunkOZNDU7AU_cjs.createObjectSet(definition, client[chunkOZNDU7AU_cjs.additionalContext], {
|
|
22
22
|
type: "intersect",
|
|
23
23
|
objectSets: [definition.type === "interface" ? {
|
|
24
24
|
type: "interfaceBase",
|
|
@@ -39,7 +39,7 @@ function asMutableArray(array) {
|
|
|
39
39
|
// src/public-utils/hydrateObjectSetFromRid.ts
|
|
40
40
|
chunkLDTMSHUZ_cjs.init_cjs_shims();
|
|
41
41
|
function hydrateObjectSetFromRid(client, definition, rid) {
|
|
42
|
-
return
|
|
42
|
+
return chunkOZNDU7AU_cjs.createObjectSet(definition, client[chunkOZNDU7AU_cjs.additionalContext], {
|
|
43
43
|
type: "intersect",
|
|
44
44
|
objectSets: [definition.type === "interface" ? {
|
|
45
45
|
type: "interfaceBase",
|
|
@@ -81,7 +81,7 @@ var levelStyles = {
|
|
|
81
81
|
color: "orange"
|
|
82
82
|
})
|
|
83
83
|
};
|
|
84
|
-
var BrowserLogger = class _BrowserLogger extends
|
|
84
|
+
var BrowserLogger = class _BrowserLogger extends chunkOZNDU7AU_cjs.BaseLogger {
|
|
85
85
|
constructor(bindings = {}, options = {}) {
|
|
86
86
|
super(bindings, {
|
|
87
87
|
...options,
|
|
@@ -107,11 +107,11 @@ var BrowserLogger = class _BrowserLogger extends chunkY362HOIZ_cjs.BaseLogger {
|
|
|
107
107
|
|
|
108
108
|
Object.defineProperty(exports, "MinimalLogger", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkOZNDU7AU_cjs.MinimalLogger; }
|
|
111
111
|
});
|
|
112
112
|
Object.defineProperty(exports, "hydrateAttachmentFromRid", {
|
|
113
113
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkOZNDU7AU_cjs.hydrateAttachmentFromRid; }
|
|
115
115
|
});
|
|
116
116
|
exports.BrowserLogger = BrowserLogger;
|
|
117
117
|
exports.createAndFetchTempObjectSetRid = createAndFetchTempObjectSetRid;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkOVZCGOMG_cjs = require('../chunk-OVZCGOMG.cjs');
|
|
4
|
+
var chunkOZNDU7AU_cjs = require('../chunk-OZNDU7AU.cjs');
|
|
5
5
|
var chunkLDTMSHUZ_cjs = require('../chunk-LDTMSHUZ.cjs');
|
|
6
6
|
var trie = require('@wry/trie');
|
|
7
7
|
var deepEqual = require('fast-deep-equal');
|
|
@@ -153,7 +153,7 @@ var WhereClauseCanonicalizer = class {
|
|
|
153
153
|
var whereCanonicalizer = new WhereClauseCanonicalizer();
|
|
154
154
|
var orderByCanonicalizer = new OrderByCanonicalizer();
|
|
155
155
|
function computeObjectSetCacheKey(objectSet, options) {
|
|
156
|
-
const keyParts = ["objectSet",
|
|
156
|
+
const keyParts = ["objectSet", chunkOZNDU7AU_cjs.getWireObjectSet(objectSet)];
|
|
157
157
|
if (!options) {
|
|
158
158
|
return JSON.stringify(keyParts);
|
|
159
159
|
}
|
|
@@ -165,13 +165,13 @@ function computeObjectSetCacheKey(objectSet, options) {
|
|
|
165
165
|
keyParts.push("props", propKeys);
|
|
166
166
|
}
|
|
167
167
|
if (options.union && options.union.length > 0) {
|
|
168
|
-
keyParts.push("union", options.union.map((os) =>
|
|
168
|
+
keyParts.push("union", options.union.map((os) => chunkOZNDU7AU_cjs.getWireObjectSet(os)));
|
|
169
169
|
}
|
|
170
170
|
if (options.intersect && options.intersect.length > 0) {
|
|
171
|
-
keyParts.push("intersect", options.intersect.map((os) =>
|
|
171
|
+
keyParts.push("intersect", options.intersect.map((os) => chunkOZNDU7AU_cjs.getWireObjectSet(os)));
|
|
172
172
|
}
|
|
173
173
|
if (options.subtract && options.subtract.length > 0) {
|
|
174
|
-
keyParts.push("subtract", options.subtract.map((os) =>
|
|
174
|
+
keyParts.push("subtract", options.subtract.map((os) => chunkOZNDU7AU_cjs.getWireObjectSet(os)));
|
|
175
175
|
}
|
|
176
176
|
if (options.pivotTo) {
|
|
177
177
|
keyParts.push("pivotTo", options.pivotTo);
|
|
@@ -371,7 +371,7 @@ var OptimisticJob = class {
|
|
|
371
371
|
return this;
|
|
372
372
|
},
|
|
373
373
|
createObject(type, pk, properties) {
|
|
374
|
-
const create = store.client[
|
|
374
|
+
const create = store.client[chunkOZNDU7AU_cjs.additionalContext].objectFactory2(store.client[chunkOZNDU7AU_cjs.additionalContext], [{
|
|
375
375
|
$primaryKey: pk,
|
|
376
376
|
$apiName: type.apiName,
|
|
377
377
|
$objectType: type.apiName,
|
|
@@ -592,7 +592,7 @@ var Query = class {
|
|
|
592
592
|
this.store = store;
|
|
593
593
|
this.cacheKeys = store.cacheKeys;
|
|
594
594
|
this.#subject = observable;
|
|
595
|
-
this.logger = logger ?? (process.env.NODE_ENV === "production" ? store.client[
|
|
595
|
+
this.logger = logger ?? (process.env.NODE_ENV === "production" ? store.client[chunkOZNDU7AU_cjs.additionalContext].logger : store.client[chunkOZNDU7AU_cjs.additionalContext].logger?.child({}, {
|
|
596
596
|
msgPrefix: process.env.NODE_ENV !== "production" ? `Query<${cacheKey.type}, ${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>` : "Query"
|
|
597
597
|
}));
|
|
598
598
|
}
|
|
@@ -750,7 +750,7 @@ var Query = class {
|
|
|
750
750
|
// src/observable/internal/aggregation/AggregationQuery.ts
|
|
751
751
|
var AggregationQuery = class extends Query {
|
|
752
752
|
constructor(store, subject, cacheKey, opts) {
|
|
753
|
-
super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[
|
|
753
|
+
super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkOZNDU7AU_cjs.additionalContext].logger?.child({}, {
|
|
754
754
|
msgPrefix: `AggregationQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
|
|
755
755
|
}) : void 0);
|
|
756
756
|
this.apiName = cacheKey.otherKeys[API_NAME_IDX];
|
|
@@ -1121,7 +1121,7 @@ var FunctionParamsCanonicalizer = class {
|
|
|
1121
1121
|
path.push("$:map_end");
|
|
1122
1122
|
return arr;
|
|
1123
1123
|
}
|
|
1124
|
-
if (
|
|
1124
|
+
if (chunkOVZCGOMG_cjs.isObjectSpecifiersObject(value)) {
|
|
1125
1125
|
const objectType = value.$objectType ?? value.$apiName;
|
|
1126
1126
|
path.push("$:osdk", objectType, value.$primaryKey);
|
|
1127
1127
|
return {
|
|
@@ -1129,8 +1129,8 @@ var FunctionParamsCanonicalizer = class {
|
|
|
1129
1129
|
$primaryKey: value.$primaryKey
|
|
1130
1130
|
};
|
|
1131
1131
|
}
|
|
1132
|
-
if (
|
|
1133
|
-
const wire =
|
|
1132
|
+
if (chunkOZNDU7AU_cjs.isObjectSet(value)) {
|
|
1133
|
+
const wire = chunkOZNDU7AU_cjs.getWireObjectSet(value);
|
|
1134
1134
|
path.push("$:objectset", wire);
|
|
1135
1135
|
return wire;
|
|
1136
1136
|
}
|
|
@@ -1193,7 +1193,7 @@ var FunctionQuery = class extends Query {
|
|
|
1193
1193
|
#dependsOnObjects;
|
|
1194
1194
|
#queryDef;
|
|
1195
1195
|
constructor(store, subject, queryDef, params, cacheKey, opts) {
|
|
1196
|
-
super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[
|
|
1196
|
+
super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkOZNDU7AU_cjs.additionalContext].logger?.child({}, {
|
|
1197
1197
|
msgPrefix: `FunctionQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
|
|
1198
1198
|
}) : void 0);
|
|
1199
1199
|
this.#apiName = queryDef.apiName;
|
|
@@ -1227,7 +1227,7 @@ var FunctionQuery = class extends Query {
|
|
|
1227
1227
|
}).debug("calling _fetchAndStore");
|
|
1228
1228
|
}
|
|
1229
1229
|
try {
|
|
1230
|
-
const result = await
|
|
1230
|
+
const result = await chunkOVZCGOMG_cjs.applyQuery(this.store.client[chunkOZNDU7AU_cjs.additionalContext], this.#queryDef, this.#params);
|
|
1231
1231
|
const executedAt = Date.now();
|
|
1232
1232
|
this.store.batch({}, (batch) => {
|
|
1233
1233
|
this.writeToStore({
|
|
@@ -2334,7 +2334,7 @@ var SpecificLinkQuery = class extends BaseListQuery {
|
|
|
2334
2334
|
batch.changes.modified.add(this.cacheKey);
|
|
2335
2335
|
}
|
|
2336
2336
|
constructor(store, subject, cacheKey, opts) {
|
|
2337
|
-
super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[
|
|
2337
|
+
super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkOZNDU7AU_cjs.additionalContext].logger?.child({}, {
|
|
2338
2338
|
msgPrefix: `SpecificLinkQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
|
|
2339
2339
|
}) : void 0);
|
|
2340
2340
|
[this.#sourceApiName, this.#sourcePk, this.#linkName, this.#whereClause, this.#orderBy] = cacheKey.otherKeys;
|
|
@@ -2350,7 +2350,7 @@ var SpecificLinkQuery = class extends BaseListQuery {
|
|
|
2350
2350
|
type: "object",
|
|
2351
2351
|
apiName: this.#sourceApiName
|
|
2352
2352
|
};
|
|
2353
|
-
const sourceMetadata = await client[
|
|
2353
|
+
const sourceMetadata = await client[chunkOZNDU7AU_cjs.additionalContext].ontologyProvider.getObjectDefinition(this.#sourceApiName);
|
|
2354
2354
|
if (this.#orderBy && Object.keys(this.#orderBy).length > 0) {
|
|
2355
2355
|
const linkDef = sourceMetadata.links?.[this.#linkName];
|
|
2356
2356
|
if (!linkDef?.targetType) {
|
|
@@ -2422,7 +2422,7 @@ var SpecificLinkQuery = class extends BaseListQuery {
|
|
|
2422
2422
|
return this.revalidate(true);
|
|
2423
2423
|
} else {
|
|
2424
2424
|
return (async () => {
|
|
2425
|
-
const sourceMetadata = await this.store.client[
|
|
2425
|
+
const sourceMetadata = await this.store.client[chunkOZNDU7AU_cjs.additionalContext].ontologyProvider.getObjectDefinition(this.#sourceApiName);
|
|
2426
2426
|
const linkDef = sourceMetadata.links?.[this.#linkName];
|
|
2427
2427
|
if (!linkDef || linkDef.targetType !== objectType) return;
|
|
2428
2428
|
const promise = this.revalidate(true);
|
|
@@ -2730,7 +2730,7 @@ var ListQuery = class extends BaseListQuery {
|
|
|
2730
2730
|
batch.changes.registerList(this.cacheKey);
|
|
2731
2731
|
}
|
|
2732
2732
|
constructor(store, subject, apiName, cacheKey, opts) {
|
|
2733
|
-
super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[
|
|
2733
|
+
super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkOZNDU7AU_cjs.additionalContext].logger?.child({}, {
|
|
2734
2734
|
msgPrefix: `ListQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
|
|
2735
2735
|
}) : void 0);
|
|
2736
2736
|
this.apiName = apiName;
|
|
@@ -2768,10 +2768,10 @@ var ListQuery = class extends BaseListQuery {
|
|
|
2768
2768
|
*/
|
|
2769
2769
|
async fetchPageData(signal) {
|
|
2770
2770
|
if (Object.keys(this.#orderBy).length > 0 && !(this.sortingStrategy instanceof OrderBySortingStrategy)) {
|
|
2771
|
-
const wireObjectSet =
|
|
2771
|
+
const wireObjectSet = chunkOZNDU7AU_cjs.getWireObjectSet(this.#objectSet);
|
|
2772
2772
|
const {
|
|
2773
2773
|
resultType
|
|
2774
|
-
} = await getObjectTypesThatInvalidate(this.store.client[
|
|
2774
|
+
} = await getObjectTypesThatInvalidate(this.store.client[chunkOZNDU7AU_cjs.additionalContext], wireObjectSet);
|
|
2775
2775
|
this.sortingStrategy = new OrderBySortingStrategy(resultType.apiName, this.#orderBy);
|
|
2776
2776
|
}
|
|
2777
2777
|
const resp = await this.#objectSet.fetchPage({
|
|
@@ -3037,7 +3037,7 @@ var InterfaceListQuery = class extends ListQuery {
|
|
|
3037
3037
|
}
|
|
3038
3038
|
extractRelevantObjects(changes) {
|
|
3039
3039
|
const matchesApiName = ([, object]) => {
|
|
3040
|
-
return this.apiName in object[
|
|
3040
|
+
return this.apiName in object[chunkOVZCGOMG_cjs.ObjectDefRef].interfaceMap;
|
|
3041
3041
|
};
|
|
3042
3042
|
const added = Array.from(changes.addedObjects).filter(matchesApiName).map(([, object]) => object.$as(this.apiName));
|
|
3043
3043
|
const modified = Array.from(changes.modifiedObjects).filter(matchesApiName).map(([, object]) => object.$as(this.apiName));
|
|
@@ -3090,7 +3090,7 @@ var ObjectListQuery = class extends ListQuery {
|
|
|
3090
3090
|
const intersectWith = this.cacheKey.otherKeys[INTERSECT_IDX];
|
|
3091
3091
|
const pivotInfo = this.cacheKey.otherKeys[PIVOT_IDX];
|
|
3092
3092
|
const rids = this.cacheKey.otherKeys[RIDS_IDX];
|
|
3093
|
-
const clientCtx = store.client[
|
|
3093
|
+
const clientCtx = store.client[chunkOZNDU7AU_cjs.additionalContext];
|
|
3094
3094
|
const typeDefinition = {
|
|
3095
3095
|
type: "object",
|
|
3096
3096
|
apiName: this.apiName
|
|
@@ -3241,8 +3241,8 @@ function stripRdpFields(value, rdpFields) {
|
|
|
3241
3241
|
if (rdpFields.size === 0) {
|
|
3242
3242
|
return value;
|
|
3243
3243
|
}
|
|
3244
|
-
const underlying = value[
|
|
3245
|
-
const objectDef = value[
|
|
3244
|
+
const underlying = value[chunkOVZCGOMG_cjs.UnderlyingOsdkObject];
|
|
3245
|
+
const objectDef = value[chunkOVZCGOMG_cjs.ObjectDefRef];
|
|
3246
3246
|
const newProps = {
|
|
3247
3247
|
$apiName: underlying.$apiName,
|
|
3248
3248
|
$objectType: underlying.$objectType,
|
|
@@ -3255,7 +3255,7 @@ function stripRdpFields(value, rdpFields) {
|
|
|
3255
3255
|
newProps[key] = underlying[key];
|
|
3256
3256
|
}
|
|
3257
3257
|
}
|
|
3258
|
-
return
|
|
3258
|
+
return chunkOVZCGOMG_cjs.createOsdkObject(value[chunkOVZCGOMG_cjs.ClientRef], objectDef, newProps);
|
|
3259
3259
|
}
|
|
3260
3260
|
function isSuperset(superset, subset) {
|
|
3261
3261
|
for (const field of subset) {
|
|
@@ -3266,8 +3266,8 @@ function isSuperset(superset, subset) {
|
|
|
3266
3266
|
return true;
|
|
3267
3267
|
}
|
|
3268
3268
|
function filterToRdpFields(value, rdpFieldsToKeep, sourceRdpFields) {
|
|
3269
|
-
const underlying = value[
|
|
3270
|
-
const objectDef = value[
|
|
3269
|
+
const underlying = value[chunkOVZCGOMG_cjs.UnderlyingOsdkObject];
|
|
3270
|
+
const objectDef = value[chunkOVZCGOMG_cjs.ObjectDefRef];
|
|
3271
3271
|
const newProps = {
|
|
3272
3272
|
$apiName: underlying.$apiName,
|
|
3273
3273
|
$objectType: underlying.$objectType,
|
|
@@ -3283,7 +3283,7 @@ function filterToRdpFields(value, rdpFieldsToKeep, sourceRdpFields) {
|
|
|
3283
3283
|
}
|
|
3284
3284
|
}
|
|
3285
3285
|
}
|
|
3286
|
-
return
|
|
3286
|
+
return chunkOVZCGOMG_cjs.createOsdkObject(value[chunkOVZCGOMG_cjs.ClientRef], objectDef, newProps);
|
|
3287
3287
|
}
|
|
3288
3288
|
function mergeObjectFields(sourceValue, sourceRdpFields, targetRdpFields, targetCurrentValue) {
|
|
3289
3289
|
if (targetRdpFields.size === 0) {
|
|
@@ -3295,8 +3295,8 @@ function mergeObjectFields(sourceValue, sourceRdpFields, targetRdpFields, target
|
|
|
3295
3295
|
}
|
|
3296
3296
|
return filterToRdpFields(sourceValue, targetRdpFields, sourceRdpFields);
|
|
3297
3297
|
}
|
|
3298
|
-
const sourceUnderlying = sourceValue[
|
|
3299
|
-
const objectDef = sourceValue[
|
|
3298
|
+
const sourceUnderlying = sourceValue[chunkOVZCGOMG_cjs.UnderlyingOsdkObject];
|
|
3299
|
+
const objectDef = sourceValue[chunkOVZCGOMG_cjs.ObjectDefRef];
|
|
3300
3300
|
const newProps = {
|
|
3301
3301
|
$apiName: sourceUnderlying.$apiName,
|
|
3302
3302
|
$objectType: sourceUnderlying.$objectType,
|
|
@@ -3310,14 +3310,14 @@ function mergeObjectFields(sourceValue, sourceRdpFields, targetRdpFields, target
|
|
|
3310
3310
|
}
|
|
3311
3311
|
}
|
|
3312
3312
|
if (targetCurrentValue) {
|
|
3313
|
-
const targetUnderlying = targetCurrentValue[
|
|
3313
|
+
const targetUnderlying = targetCurrentValue[chunkOVZCGOMG_cjs.UnderlyingOsdkObject];
|
|
3314
3314
|
for (const field of targetRdpFields) {
|
|
3315
3315
|
if (!sourceRdpFields.has(field) && field in targetUnderlying) {
|
|
3316
3316
|
newProps[field] = targetUnderlying[field];
|
|
3317
3317
|
}
|
|
3318
3318
|
}
|
|
3319
3319
|
}
|
|
3320
|
-
return
|
|
3320
|
+
return chunkOVZCGOMG_cjs.createOsdkObject(sourceValue[chunkOVZCGOMG_cjs.ClientRef], objectDef, newProps);
|
|
3321
3321
|
}
|
|
3322
3322
|
|
|
3323
3323
|
// src/observable/internal/object/ObjectCacheKeyRegistry.ts
|
|
@@ -3452,7 +3452,7 @@ var BulkObjectLoader = class {
|
|
|
3452
3452
|
#maxEntries;
|
|
3453
3453
|
constructor(client, maxWait = 25, maxEntries = 100) {
|
|
3454
3454
|
this.#client = client;
|
|
3455
|
-
this.#logger = client[
|
|
3455
|
+
this.#logger = client[chunkOZNDU7AU_cjs.additionalContext].logger;
|
|
3456
3456
|
this.#maxWait = maxWait;
|
|
3457
3457
|
this.#maxEntries = maxEntries;
|
|
3458
3458
|
}
|
|
@@ -3521,7 +3521,7 @@ var ObjectQuery = class extends Query {
|
|
|
3521
3521
|
#apiName;
|
|
3522
3522
|
#pk;
|
|
3523
3523
|
constructor(store, subject, type, pk, cacheKey, opts) {
|
|
3524
|
-
super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[
|
|
3524
|
+
super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkOZNDU7AU_cjs.additionalContext].logger?.child({}, {
|
|
3525
3525
|
msgPrefix: `ObjectQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
|
|
3526
3526
|
}) : void 0);
|
|
3527
3527
|
this.#apiName = type;
|
|
@@ -3682,7 +3682,7 @@ var ObjectSetQuery = class extends BaseListQuery {
|
|
|
3682
3682
|
#composedObjectSet;
|
|
3683
3683
|
#objectTypes;
|
|
3684
3684
|
constructor(store, subject, baseObjectSetWire, operations, cacheKey, opts) {
|
|
3685
|
-
super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[
|
|
3685
|
+
super(store, subject, opts, cacheKey, process.env.NODE_ENV !== "production" ? store.client[chunkOZNDU7AU_cjs.additionalContext].logger?.child({}, {
|
|
3686
3686
|
msgPrefix: `ObjectSetQuery<${cacheKey.otherKeys.map((x) => JSON.stringify(x)).join(", ")}>`
|
|
3687
3687
|
}) : void 0);
|
|
3688
3688
|
this.#baseObjectSetWire = baseObjectSetWire;
|
|
@@ -3727,7 +3727,7 @@ var ObjectSetQuery = class extends BaseListQuery {
|
|
|
3727
3727
|
}
|
|
3728
3728
|
if (opts.union) {
|
|
3729
3729
|
for (const os of opts.union) {
|
|
3730
|
-
const wire =
|
|
3730
|
+
const wire = chunkOZNDU7AU_cjs.getWireObjectSet(os);
|
|
3731
3731
|
if (wire.type) {
|
|
3732
3732
|
types.add(wire.type);
|
|
3733
3733
|
}
|
|
@@ -3735,7 +3735,7 @@ var ObjectSetQuery = class extends BaseListQuery {
|
|
|
3735
3735
|
}
|
|
3736
3736
|
if (opts.intersect) {
|
|
3737
3737
|
for (const os of opts.intersect) {
|
|
3738
|
-
const wire =
|
|
3738
|
+
const wire = chunkOZNDU7AU_cjs.getWireObjectSet(os);
|
|
3739
3739
|
if (wire.type) {
|
|
3740
3740
|
types.add(wire.type);
|
|
3741
3741
|
}
|
|
@@ -3743,7 +3743,7 @@ var ObjectSetQuery = class extends BaseListQuery {
|
|
|
3743
3743
|
}
|
|
3744
3744
|
if (opts.subtract) {
|
|
3745
3745
|
for (const os of opts.subtract) {
|
|
3746
|
-
const wire =
|
|
3746
|
+
const wire = chunkOZNDU7AU_cjs.getWireObjectSet(os);
|
|
3747
3747
|
if (wire.type) {
|
|
3748
3748
|
types.add(wire.type);
|
|
3749
3749
|
}
|
|
@@ -3763,10 +3763,10 @@ var ObjectSetQuery = class extends BaseListQuery {
|
|
|
3763
3763
|
*/
|
|
3764
3764
|
async fetchPageData(signal) {
|
|
3765
3765
|
if (this.#operations.orderBy && Object.keys(this.#operations.orderBy).length > 0 && !(this.sortingStrategy instanceof OrderBySortingStrategy)) {
|
|
3766
|
-
const wireObjectSet =
|
|
3766
|
+
const wireObjectSet = chunkOZNDU7AU_cjs.getWireObjectSet(this.#composedObjectSet);
|
|
3767
3767
|
const {
|
|
3768
3768
|
resultType
|
|
3769
|
-
} = await getObjectTypesThatInvalidate(this.store.client[
|
|
3769
|
+
} = await getObjectTypesThatInvalidate(this.store.client[chunkOZNDU7AU_cjs.additionalContext], wireObjectSet);
|
|
3770
3770
|
this.sortingStrategy = new OrderBySortingStrategy(resultType.apiName, this.#operations.orderBy);
|
|
3771
3771
|
}
|
|
3772
3772
|
const resp = await this.#composedObjectSet.fetchPage({
|
|
@@ -3835,7 +3835,7 @@ var ObjectSetHelper = class extends AbstractHelper {
|
|
|
3835
3835
|
const {
|
|
3836
3836
|
baseObjectSet
|
|
3837
3837
|
} = options;
|
|
3838
|
-
const baseObjectSetWire = JSON.stringify(
|
|
3838
|
+
const baseObjectSetWire = JSON.stringify(chunkOZNDU7AU_cjs.getWireObjectSet(baseObjectSet));
|
|
3839
3839
|
const operations = this.buildCanonicalizedOperations(options);
|
|
3840
3840
|
const objectSetCacheKey = this.cacheKeys.get("objectSet", baseObjectSetWire, operations);
|
|
3841
3841
|
return this.store.queries.get(objectSetCacheKey, () => {
|
|
@@ -3851,13 +3851,13 @@ var ObjectSetHelper = class extends AbstractHelper {
|
|
|
3851
3851
|
operations.withProperties = Object.keys(options.withProperties).sort();
|
|
3852
3852
|
}
|
|
3853
3853
|
if (options.union && options.union.length > 0) {
|
|
3854
|
-
operations.union = options.union.map((os) => JSON.stringify(
|
|
3854
|
+
operations.union = options.union.map((os) => JSON.stringify(chunkOZNDU7AU_cjs.getWireObjectSet(os)));
|
|
3855
3855
|
}
|
|
3856
3856
|
if (options.intersect && options.intersect.length > 0) {
|
|
3857
|
-
operations.intersect = options.intersect.map((os) => JSON.stringify(
|
|
3857
|
+
operations.intersect = options.intersect.map((os) => JSON.stringify(chunkOZNDU7AU_cjs.getWireObjectSet(os)));
|
|
3858
3858
|
}
|
|
3859
3859
|
if (options.subtract && options.subtract.length > 0) {
|
|
3860
|
-
operations.subtract = options.subtract.map((os) => JSON.stringify(
|
|
3860
|
+
operations.subtract = options.subtract.map((os) => JSON.stringify(chunkOZNDU7AU_cjs.getWireObjectSet(os)));
|
|
3861
3861
|
}
|
|
3862
3862
|
if (options.pivotTo) {
|
|
3863
3863
|
operations.pivotTo = options.pivotTo;
|
|
@@ -3929,7 +3929,7 @@ var RdpCanonicalizer = class extends CachingCanonicalizer {
|
|
|
3929
3929
|
apiName: "__rdp_canonicalizer_holder__"
|
|
3930
3930
|
};
|
|
3931
3931
|
for (const [key, rdpFunction] of Object.entries(rdp)) {
|
|
3932
|
-
const builder =
|
|
3932
|
+
const builder = chunkOZNDU7AU_cjs.createWithPropertiesObjectSet(
|
|
3933
3933
|
objectTypeHolder,
|
|
3934
3934
|
{
|
|
3935
3935
|
type: "methodInput"
|
|
@@ -3997,7 +3997,7 @@ var Store = class {
|
|
|
3997
3997
|
subjects = this.layers.subjects;
|
|
3998
3998
|
// these are hopefully temporary
|
|
3999
3999
|
constructor(client) {
|
|
4000
|
-
this.logger = client[
|
|
4000
|
+
this.logger = client[chunkOZNDU7AU_cjs.additionalContext].logger?.child({}, {
|
|
4001
4001
|
msgPrefix: "Store"
|
|
4002
4002
|
});
|
|
4003
4003
|
this.client = client;
|
|
@@ -4270,10 +4270,10 @@ var Store = class {
|
|
|
4270
4270
|
|
|
4271
4271
|
// src/observable/ObservableClient.ts
|
|
4272
4272
|
function createObservableClient(client) {
|
|
4273
|
-
const tweakedClient =
|
|
4274
|
-
...client[
|
|
4275
|
-
fetch: shared_net_fetch.createFetchHeaderMutator(client[
|
|
4276
|
-
headers.set("Fetch-User-Agent", [headers.get("Fetch-User-Agent"),
|
|
4273
|
+
const tweakedClient = chunkOVZCGOMG_cjs.createClientFromContext({
|
|
4274
|
+
...client[chunkOZNDU7AU_cjs.additionalContext],
|
|
4275
|
+
fetch: shared_net_fetch.createFetchHeaderMutator(client[chunkOZNDU7AU_cjs.additionalContext].fetch, (headers) => {
|
|
4276
|
+
headers.set("Fetch-User-Agent", [headers.get("Fetch-User-Agent"), chunkOVZCGOMG_cjs.OBSERVABLE_USER_AGENT].filter((x) => x && x?.length > 0).join(" "));
|
|
4277
4277
|
return headers;
|
|
4278
4278
|
})
|
|
4279
4279
|
});
|
|
@@ -4317,11 +4317,11 @@ function getOsdkConfig(ontologyRid) {
|
|
|
4317
4317
|
|
|
4318
4318
|
Object.defineProperty(exports, "createClientWithTransaction", {
|
|
4319
4319
|
enumerable: true,
|
|
4320
|
-
get: function () { return
|
|
4320
|
+
get: function () { return chunkOVZCGOMG_cjs.createClientWithTransaction; }
|
|
4321
4321
|
});
|
|
4322
4322
|
Object.defineProperty(exports, "augment", {
|
|
4323
4323
|
enumerable: true,
|
|
4324
|
-
get: function () { return
|
|
4324
|
+
get: function () { return chunkOZNDU7AU_cjs.augment; }
|
|
4325
4325
|
});
|
|
4326
4326
|
exports.computeObjectSetCacheKey = computeObjectSetCacheKey;
|
|
4327
4327
|
exports.createObservableClient = createObservableClient;
|
package/build/esm/Client.js
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
export const additionalContext = Symbol("additionalContext");
|
|
22
22
|
|
|
23
23
|
// BEGIN: THIS IS GENERATED CODE. DO NOT EDIT.
|
|
24
|
-
const MaxOsdkVersion = "2.7.
|
|
24
|
+
const MaxOsdkVersion = "2.7.1";
|
|
25
25
|
// END: THIS IS GENERATED CODE. DO NOT EDIT.
|
|
26
26
|
|
|
27
27
|
const ErrorMessage = Symbol("ErrorMessage");
|
package/build/esm/Client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Client.js","names":["additionalContext","Symbol","MaxOsdkVersion","ErrorMessage"],"sources":["Client.ts"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type {\n ActionDefinition,\n ActionMetadata,\n CompileTimeMetadata,\n InterfaceDefinition,\n InterfaceMetadata,\n ObjectMetadata,\n ObjectSet,\n ObjectTypeDefinition,\n QueryDefinition,\n QueryMetadata,\n VersionBound,\n} from \"@osdk/api\";\nimport type {\n Experiment,\n ExperimentFns,\n MinimalObjectSet,\n} from \"@osdk/api/unstable\";\nimport type { SharedClient } from \"@osdk/shared.client2\";\nimport type { ActionSignatureFromDef } from \"./actions/applyAction.js\";\nimport type { MinimalClient } from \"./MinimalClientContext.js\";\nimport type { QuerySignatureFromDef } from \"./queries/types.js\";\nimport type { SatisfiesSemver } from \"./SatisfiesSemver.js\";\n\n// eslint-disable-next-line @typescript-eslint/consistent-type-imports\ntype OldSharedClient = import(\"@osdk/shared.client\").SharedClient;\n\nexport type CheckVersionBound<Q> = Q extends VersionBound<infer V> ? (\n SatisfiesSemver<V, MaxOsdkVersion> extends true ? Q\n : Q & {\n [ErrorMessage]:\n `Your SDK requires a semver compatible version with ${V}. You have ${MaxOsdkVersion}. Update your package.json`;\n }\n )\n : Q;\n\nexport interface Client extends SharedClient, OldSharedClient {\n <Q extends ObjectTypeDefinition>(\n o: Q,\n ): unknown extends CompileTimeMetadata<Q>[\"objectSet\"] ? ObjectSet<Q>\n : CompileTimeMetadata<Q>[\"objectSet\"];\n\n <Q extends (InterfaceDefinition)>(\n o: Q,\n ): unknown extends CompileTimeMetadata<Q>[\"objectSet\"] ? MinimalObjectSet<Q>\n : CompileTimeMetadata<Q>[\"objectSet\"];\n\n <Q extends ActionDefinition<any>>(\n o: Q,\n ): ActionSignatureFromDef<Q>;\n\n <Q extends QueryDefinition<any>>(\n o: Q,\n ): QuerySignatureFromDef<Q>;\n\n <Q extends Experiment<\"2.0.8\"> | Experiment<\"2.1.0\"> | Experiment<\"2.2.0\">>(\n experiment: Q,\n ): ExperimentFns<Q>;\n\n fetchMetadata<\n Q extends (\n | ObjectTypeDefinition\n | InterfaceDefinition\n | ActionDefinition<any>\n | QueryDefinition<any>\n ),\n >(o: Q): Promise<\n Q extends ObjectTypeDefinition ? ObjectMetadata\n : Q extends InterfaceDefinition ? InterfaceMetadata\n : Q extends ActionDefinition<any> ? ActionMetadata\n : Q extends QueryDefinition<any> ? QueryMetadata\n : never\n >;\n\n /** @internal */\n [additionalContext]: MinimalClient;\n}\n\n// DO NOT EXPORT FROM PACKAGE\n/** @internal */\nexport const additionalContext: unique symbol = Symbol(\"additionalContext\");\n\n// BEGIN: THIS IS GENERATED CODE. DO NOT EDIT.\nconst MaxOsdkVersion = \"2.7.
|
|
1
|
+
{"version":3,"file":"Client.js","names":["additionalContext","Symbol","MaxOsdkVersion","ErrorMessage"],"sources":["Client.ts"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type {\n ActionDefinition,\n ActionMetadata,\n CompileTimeMetadata,\n InterfaceDefinition,\n InterfaceMetadata,\n ObjectMetadata,\n ObjectSet,\n ObjectTypeDefinition,\n QueryDefinition,\n QueryMetadata,\n VersionBound,\n} from \"@osdk/api\";\nimport type {\n Experiment,\n ExperimentFns,\n MinimalObjectSet,\n} from \"@osdk/api/unstable\";\nimport type { SharedClient } from \"@osdk/shared.client2\";\nimport type { ActionSignatureFromDef } from \"./actions/applyAction.js\";\nimport type { MinimalClient } from \"./MinimalClientContext.js\";\nimport type { QuerySignatureFromDef } from \"./queries/types.js\";\nimport type { SatisfiesSemver } from \"./SatisfiesSemver.js\";\n\n// eslint-disable-next-line @typescript-eslint/consistent-type-imports\ntype OldSharedClient = import(\"@osdk/shared.client\").SharedClient;\n\nexport type CheckVersionBound<Q> = Q extends VersionBound<infer V> ? (\n SatisfiesSemver<V, MaxOsdkVersion> extends true ? Q\n : Q & {\n [ErrorMessage]:\n `Your SDK requires a semver compatible version with ${V}. You have ${MaxOsdkVersion}. Update your package.json`;\n }\n )\n : Q;\n\nexport interface Client extends SharedClient, OldSharedClient {\n <Q extends ObjectTypeDefinition>(\n o: Q,\n ): unknown extends CompileTimeMetadata<Q>[\"objectSet\"] ? ObjectSet<Q>\n : CompileTimeMetadata<Q>[\"objectSet\"];\n\n <Q extends (InterfaceDefinition)>(\n o: Q,\n ): unknown extends CompileTimeMetadata<Q>[\"objectSet\"] ? MinimalObjectSet<Q>\n : CompileTimeMetadata<Q>[\"objectSet\"];\n\n <Q extends ActionDefinition<any>>(\n o: Q,\n ): ActionSignatureFromDef<Q>;\n\n <Q extends QueryDefinition<any>>(\n o: Q,\n ): QuerySignatureFromDef<Q>;\n\n <Q extends Experiment<\"2.0.8\"> | Experiment<\"2.1.0\"> | Experiment<\"2.2.0\">>(\n experiment: Q,\n ): ExperimentFns<Q>;\n\n fetchMetadata<\n Q extends (\n | ObjectTypeDefinition\n | InterfaceDefinition\n | ActionDefinition<any>\n | QueryDefinition<any>\n ),\n >(o: Q): Promise<\n Q extends ObjectTypeDefinition ? ObjectMetadata\n : Q extends InterfaceDefinition ? InterfaceMetadata\n : Q extends ActionDefinition<any> ? ActionMetadata\n : Q extends QueryDefinition<any> ? QueryMetadata\n : never\n >;\n\n /** @internal */\n [additionalContext]: MinimalClient;\n}\n\n// DO NOT EXPORT FROM PACKAGE\n/** @internal */\nexport const additionalContext: unique symbol = Symbol(\"additionalContext\");\n\n// BEGIN: THIS IS GENERATED CODE. DO NOT EDIT.\nconst MaxOsdkVersion = \"2.7.1\";\n// END: THIS IS GENERATED CODE. DO NOT EDIT.\nexport type MaxOsdkVersion = typeof MaxOsdkVersion;\nconst ErrorMessage: unique symbol = Symbol(\"ErrorMessage\");\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AA0BA;;AAsDA;AACA;AACA,OAAO,MAAMA,iBAAgC,GAAGC,MAAM,CAAC,mBAAmB,CAAC;;AAE3E;AACA,MAAMC,cAAc,GAAG,OAAO;AAC9B;;AAEA,MAAMC,YAA2B,GAAGF,MAAM,CAAC,cAAc,CAAC","ignoreList":[]}
|
|
@@ -14,6 +14,6 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
export const USER_AGENT = `osdk-client/${"2.7.
|
|
18
|
-
export const OBSERVABLE_USER_AGENT = `osdk-observable-client/${"2.7.
|
|
17
|
+
export const USER_AGENT = `osdk-client/${"2.7.1"}`;
|
|
18
|
+
export const OBSERVABLE_USER_AGENT = `osdk-observable-client/${"2.7.1"}`;
|
|
19
19
|
//# sourceMappingURL=UserAgent.js.map
|
package/build/types/Client.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export interface Client extends SharedClient, OldSharedClient {
|
|
|
16
16
|
<Q extends Experiment<"2.0.8"> | Experiment<"2.1.0"> | Experiment<"2.2.0">>(experiment: Q): ExperimentFns<Q>;
|
|
17
17
|
fetchMetadata<Q extends (ObjectTypeDefinition | InterfaceDefinition | ActionDefinition<any> | QueryDefinition<any>)>(o: Q): Promise<Q extends ObjectTypeDefinition ? ObjectMetadata : Q extends InterfaceDefinition ? InterfaceMetadata : Q extends ActionDefinition<any> ? ActionMetadata : Q extends QueryDefinition<any> ? QueryMetadata : never>;
|
|
18
18
|
}
|
|
19
|
-
declare const MaxOsdkVersion = "2.7.
|
|
19
|
+
declare const MaxOsdkVersion = "2.7.1";
|
|
20
20
|
export type MaxOsdkVersion = typeof MaxOsdkVersion;
|
|
21
21
|
declare const ErrorMessage: unique symbol;
|
|
22
22
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdk/client",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"access": "public",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -75,12 +75,12 @@
|
|
|
75
75
|
"tiny-invariant": "^1.3.3",
|
|
76
76
|
"type-fest": "^4.41.0",
|
|
77
77
|
"ws": "^8.18.3",
|
|
78
|
-
"@osdk/
|
|
78
|
+
"@osdk/client.unstable": "2.7.1",
|
|
79
|
+
"@osdk/api": "~2.7.1",
|
|
80
|
+
"@osdk/generator-converters": "2.7.1",
|
|
79
81
|
"@osdk/shared.client.impl": "~1.7.0",
|
|
80
|
-
"@osdk/generator-converters": "2.7.0",
|
|
81
|
-
"@osdk/shared.net.fetch": "~1.7.0",
|
|
82
82
|
"@osdk/shared.net.errors": "~2.7.0",
|
|
83
|
-
"@osdk/
|
|
83
|
+
"@osdk/shared.net.fetch": "~1.7.0"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
86
|
"@microsoft/api-documenter": "^7.26.32",
|
|
@@ -100,8 +100,8 @@
|
|
|
100
100
|
"ts-expect": "^1.3.0",
|
|
101
101
|
"typescript": "~5.5.4",
|
|
102
102
|
"zod": "^3.25.76",
|
|
103
|
+
"@osdk/client.test.ontology": "~2.7.1",
|
|
103
104
|
"@osdk/monorepo.api-extractor": "~0.6.0",
|
|
104
|
-
"@osdk/client.test.ontology": "~2.7.0",
|
|
105
105
|
"@osdk/shared.test": "~2.7.0",
|
|
106
106
|
"@osdk/monorepo.tsconfig": "~0.6.0"
|
|
107
107
|
},
|