@osdk/client 2.89.0-main-b8cfd7cc0d80e486c4ac145e259bf97e220d93da → 2.89.0
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 +5 -7
- package/build/browser/util/UserAgent.js +2 -2
- package/build/browser/util/UserAgent.js.map +1 -1
- package/build/cjs/{chunk-SUPANXZZ.cjs → chunk-OGBA6WQR.cjs} +6 -6
- package/build/cjs/{chunk-SUPANXZZ.cjs.map → chunk-OGBA6WQR.cjs.map} +1 -1
- package/build/cjs/{chunk-6CACQXVM.cjs → chunk-UM3OGLMR.cjs} +27 -27
- package/build/cjs/{chunk-6CACQXVM.cjs.map → chunk-UM3OGLMR.cjs.map} +1 -1
- package/build/cjs/{chunk-3KWIQTG4.cjs → chunk-WIWVLHB5.cjs} +4 -4
- package/build/cjs/chunk-WIWVLHB5.cjs.map +1 -0
- package/build/cjs/index.cjs +4 -4
- package/build/cjs/public/experimental.cjs +6 -6
- package/build/cjs/public/observable.cjs +3 -3
- package/build/cjs/public/unstable-do-not-use.cjs +9 -9
- package/build/esm/util/UserAgent.js +2 -2
- package/build/esm/util/UserAgent.js.map +1 -1
- package/package.json +8 -8
- package/build/cjs/chunk-3KWIQTG4.cjs.map +0 -1
package/build/cjs/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkWIWVLHB5_cjs = require('./chunk-WIWVLHB5.cjs');
|
|
4
4
|
require('./chunk-REBP6AIV.cjs');
|
|
5
5
|
require('./chunk-6OIQ3CCD.cjs');
|
|
6
6
|
require('./chunk-KTZGY72C.cjs');
|
|
@@ -19,7 +19,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
19
19
|
var invariant__default = /*#__PURE__*/_interopDefault(invariant);
|
|
20
20
|
|
|
21
21
|
function createPlatformClient(baseUrl, tokenProvider, options = void 0, fetchFn = fetch) {
|
|
22
|
-
return shared_client_impl.createSharedClientContext(baseUrl, tokenProvider,
|
|
22
|
+
return shared_client_impl.createSharedClientContext(baseUrl, tokenProvider, chunkWIWVLHB5_cjs.USER_AGENT, fetchFn);
|
|
23
23
|
}
|
|
24
24
|
var isoRegex = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?$/u;
|
|
25
25
|
var extractDate = (dateTime) => {
|
|
@@ -43,11 +43,11 @@ var extractDateFromIsoString = (dateTime) => {
|
|
|
43
43
|
|
|
44
44
|
Object.defineProperty(exports, "ActionValidationError", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkWIWVLHB5_cjs.ActionValidationError; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "createClient", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkWIWVLHB5_cjs.createClient; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "createAttachmentUpload", {
|
|
53
53
|
enumerable: true,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkOGBA6WQR_cjs = require('../chunk-OGBA6WQR.cjs');
|
|
4
|
+
var chunkWIWVLHB5_cjs = require('../chunk-WIWVLHB5.cjs');
|
|
5
5
|
require('../chunk-REBP6AIV.cjs');
|
|
6
6
|
require('../chunk-6OIQ3CCD.cjs');
|
|
7
7
|
require('../chunk-KTZGY72C.cjs');
|
|
@@ -18,20 +18,20 @@ function createClientFromWriteableClient(writeableClient, options) {
|
|
|
18
18
|
if (ctx.transactionId === void 0 || ctx.flushEdits === void 0) {
|
|
19
19
|
throw new Error("createClientFromWriteableClient: provided client has no active transaction");
|
|
20
20
|
}
|
|
21
|
-
return
|
|
21
|
+
return chunkWIWVLHB5_cjs.createClientWithTransaction(options?.transactionId ?? ctx.transactionId, ctx.flushEdits, options?.baseUrl ?? ctx.baseUrl, options?.ontologyRid ?? ctx.ontologyRid, options?.tokenProvider ?? ctx.tokenProvider);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
Object.defineProperty(exports, "createScenario", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkOGBA6WQR_cjs.createScenario; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "withScenario", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkOGBA6WQR_cjs.withScenario; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "createClientWithTransaction", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkWIWVLHB5_cjs.createClientWithTransaction; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "AgentGetStateTimeoutError", {
|
|
37
37
|
enumerable: true,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkUM3OGLMR_cjs = require('../chunk-UM3OGLMR.cjs');
|
|
4
|
+
require('../chunk-WIWVLHB5.cjs');
|
|
5
5
|
require('../chunk-REBP6AIV.cjs');
|
|
6
6
|
require('../chunk-6OIQ3CCD.cjs');
|
|
7
7
|
require('../chunk-KTZGY72C.cjs');
|
|
@@ -15,7 +15,7 @@ require('../chunk-Q7SFCCGT.cjs');
|
|
|
15
15
|
|
|
16
16
|
Object.defineProperty(exports, "createObservableClient", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkUM3OGLMR_cjs.createObservableClient; }
|
|
19
19
|
});
|
|
20
20
|
//# sourceMappingURL=observable.cjs.map
|
|
21
21
|
//# sourceMappingURL=observable.cjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkOGBA6WQR_cjs = require('../chunk-OGBA6WQR.cjs');
|
|
4
|
+
var chunkUM3OGLMR_cjs = require('../chunk-UM3OGLMR.cjs');
|
|
5
|
+
var chunkWIWVLHB5_cjs = require('../chunk-WIWVLHB5.cjs');
|
|
6
6
|
require('../chunk-REBP6AIV.cjs');
|
|
7
7
|
require('../chunk-6OIQ3CCD.cjs');
|
|
8
8
|
require('../chunk-KTZGY72C.cjs');
|
|
@@ -15,7 +15,7 @@ var unstable = require('@osdk/api/unstable');
|
|
|
15
15
|
|
|
16
16
|
// src/object/hydrateOsdkObject.ts
|
|
17
17
|
async function hydrateOsdkObject(client, objects, objectDefsByApiName, propertySecurities) {
|
|
18
|
-
return
|
|
18
|
+
return chunkWIWVLHB5_cjs.convertWireToOsdkObjects(
|
|
19
19
|
client[chunkQVCGW2UZ_cjs.additionalContext],
|
|
20
20
|
objects,
|
|
21
21
|
/* interfaceApiName */
|
|
@@ -219,23 +219,23 @@ function resolveSymbolBindings(value, sourcePrimaryKey) {
|
|
|
219
219
|
|
|
220
220
|
Object.defineProperty(exports, "createScenario", {
|
|
221
221
|
enumerable: true,
|
|
222
|
-
get: function () { return
|
|
222
|
+
get: function () { return chunkOGBA6WQR_cjs.createScenario; }
|
|
223
223
|
});
|
|
224
224
|
Object.defineProperty(exports, "withScenario", {
|
|
225
225
|
enumerable: true,
|
|
226
|
-
get: function () { return
|
|
226
|
+
get: function () { return chunkOGBA6WQR_cjs.withScenario; }
|
|
227
227
|
});
|
|
228
228
|
Object.defineProperty(exports, "createObservableClient", {
|
|
229
229
|
enumerable: true,
|
|
230
|
-
get: function () { return
|
|
230
|
+
get: function () { return chunkUM3OGLMR_cjs.createObservableClient; }
|
|
231
231
|
});
|
|
232
232
|
Object.defineProperty(exports, "createClientWithSubscriptionConnection", {
|
|
233
233
|
enumerable: true,
|
|
234
|
-
get: function () { return
|
|
234
|
+
get: function () { return chunkWIWVLHB5_cjs.createClientWithSubscriptionConnection; }
|
|
235
235
|
});
|
|
236
236
|
Object.defineProperty(exports, "createClientWithTransaction", {
|
|
237
237
|
enumerable: true,
|
|
238
|
-
get: function () { return
|
|
238
|
+
get: function () { return chunkWIWVLHB5_cjs.createClientWithTransaction; }
|
|
239
239
|
});
|
|
240
240
|
Object.defineProperty(exports, "augment", {
|
|
241
241
|
enumerable: true,
|
|
@@ -14,6 +14,6 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
export const USER_AGENT = `osdk-client/${"2.89.0
|
|
18
|
-
export const OBSERVABLE_USER_AGENT = `osdk-observable-client/${"2.89.0
|
|
17
|
+
export const USER_AGENT = `osdk-client/${"2.89.0"}`;
|
|
18
|
+
export const OBSERVABLE_USER_AGENT = `osdk-observable-client/${"2.89.0"}`;
|
|
19
19
|
//# sourceMappingURL=UserAgent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserAgent.js","names":["USER_AGENT","OBSERVABLE_USER_AGENT"],"sources":["UserAgent.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\nexport const USER_AGENT: string = `osdk-client/${process.env.PACKAGE_VERSION}`;\nexport const OBSERVABLE_USER_AGENT: string = `osdk-observable-client/${process.env.PACKAGE_VERSION}`;\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAO,MAAMA,UAAkB,GAAG,
|
|
1
|
+
{"version":3,"file":"UserAgent.js","names":["USER_AGENT","OBSERVABLE_USER_AGENT"],"sources":["UserAgent.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\nexport const USER_AGENT: string = `osdk-client/${process.env.PACKAGE_VERSION}`;\nexport const OBSERVABLE_USER_AGENT: string = `osdk-observable-client/${process.env.PACKAGE_VERSION}`;\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAO,MAAMA,UAAkB,GAAG,yBAA4C;AAC9E,OAAO,MAAMC,qBAA6B,GAAG,oCAAuD","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdk/client",
|
|
3
|
-
"version": "2.89.0
|
|
3
|
+
"version": "2.89.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"access": "public",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -83,15 +83,15 @@
|
|
|
83
83
|
"tiny-invariant": "^1.3.3",
|
|
84
84
|
"type-fest": "^4.41.0",
|
|
85
85
|
"ws": "^8.20.1",
|
|
86
|
-
"@osdk/api": "~2.89.0
|
|
87
|
-
"@osdk/client.unstable": "2.89.0
|
|
88
|
-
"@osdk/generator-converters": "2.89.0-main-b8cfd7cc0d80e486c4ac145e259bf97e220d93da",
|
|
86
|
+
"@osdk/api": "~2.89.0",
|
|
87
|
+
"@osdk/client.unstable": "2.89.0",
|
|
89
88
|
"@osdk/shared.client.impl": "~1.15.0",
|
|
89
|
+
"@osdk/generator-converters": "2.89.0",
|
|
90
90
|
"@osdk/shared.net.errors": "~2.13.0",
|
|
91
91
|
"@osdk/shared.net.fetch": "~1.13.0"
|
|
92
92
|
},
|
|
93
93
|
"peerDependencies": {
|
|
94
|
-
"@osdk/shared.test": "^2.
|
|
94
|
+
"@osdk/shared.test": "^2.61.0"
|
|
95
95
|
},
|
|
96
96
|
"peerDependenciesMeta": {
|
|
97
97
|
"@osdk/shared.test": {
|
|
@@ -118,11 +118,11 @@
|
|
|
118
118
|
"ts-expect": "^1.3.0",
|
|
119
119
|
"typescript": "~5.5.4",
|
|
120
120
|
"zod": "^3.25.76",
|
|
121
|
-
"@osdk/client.test.ontology": "2.88.1-main-b8cfd7cc0d80e486c4ac145e259bf97e220d93da",
|
|
122
|
-
"@osdk/monorepo.api-extractor": "~0.7.0",
|
|
123
121
|
"@osdk/monorepo.tsconfig": "~0.7.0",
|
|
122
|
+
"@osdk/monorepo.api-extractor": "~0.7.0",
|
|
123
|
+
"@osdk/client.test.ontology": "2.89.0",
|
|
124
124
|
"@osdk/oauth": "~1.14.0",
|
|
125
|
-
"@osdk/shared.test.intellisense": "~0.
|
|
125
|
+
"@osdk/shared.test.intellisense": "~0.38.0"
|
|
126
126
|
},
|
|
127
127
|
"publishConfig": {
|
|
128
128
|
"access": "public"
|