@osdk/client 2.76.0-main-0c092519b1e0bcb2ce003bbf6dc8d474c35b7021 → 2.76.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 +7 -7
- package/build/browser/util/UserAgent.js +2 -2
- package/build/browser/util/UserAgent.js.map +1 -1
- package/build/cjs/{chunk-YWCKYTRD.cjs → chunk-E3VV6MCF.cjs} +4 -4
- package/build/cjs/chunk-E3VV6MCF.cjs.map +1 -0
- package/build/cjs/{chunk-2NFMXSQX.cjs → chunk-KVB6LP4F.cjs} +6 -6
- package/build/cjs/{chunk-2NFMXSQX.cjs.map → chunk-KVB6LP4F.cjs.map} +1 -1
- package/build/cjs/{chunk-XO76TUXH.cjs → chunk-LOONJRYY.cjs} +27 -27
- package/build/cjs/{chunk-XO76TUXH.cjs.map → chunk-LOONJRYY.cjs.map} +1 -1
- 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 +9 -9
- package/build/cjs/chunk-YWCKYTRD.cjs.map +0 -1
package/build/cjs/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkE3VV6MCF_cjs = require('./chunk-E3VV6MCF.cjs');
|
|
4
4
|
require('./chunk-IBY4PG26.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, chunkE3VV6MCF_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 chunkE3VV6MCF_cjs.ActionValidationError; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "createClient", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkE3VV6MCF_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 chunkKVB6LP4F_cjs = require('../chunk-KVB6LP4F.cjs');
|
|
4
|
+
var chunkE3VV6MCF_cjs = require('../chunk-E3VV6MCF.cjs');
|
|
5
5
|
require('../chunk-IBY4PG26.cjs');
|
|
6
6
|
require('../chunk-6OIQ3CCD.cjs');
|
|
7
7
|
require('../chunk-KTZGY72C.cjs');
|
|
@@ -17,20 +17,20 @@ function createClientFromWriteableClient(writeableClient, options) {
|
|
|
17
17
|
if (ctx.transactionId === void 0 || ctx.flushEdits === void 0) {
|
|
18
18
|
throw new Error("createClientFromWriteableClient: provided client has no active transaction");
|
|
19
19
|
}
|
|
20
|
-
return
|
|
20
|
+
return chunkE3VV6MCF_cjs.createClientWithTransaction(options?.transactionId ?? ctx.transactionId, ctx.flushEdits, options?.baseUrl ?? ctx.baseUrl, options?.ontologyRid ?? ctx.ontologyRid, options?.tokenProvider ?? ctx.tokenProvider);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
Object.defineProperty(exports, "createScenario", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkKVB6LP4F_cjs.createScenario; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "withScenario", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkKVB6LP4F_cjs.withScenario; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "createClientWithTransaction", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkE3VV6MCF_cjs.createClientWithTransaction; }
|
|
34
34
|
});
|
|
35
35
|
exports.createClientFromWriteableClient = createClientFromWriteableClient;
|
|
36
36
|
//# sourceMappingURL=experimental.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkLOONJRYY_cjs = require('../chunk-LOONJRYY.cjs');
|
|
4
|
+
require('../chunk-E3VV6MCF.cjs');
|
|
5
5
|
require('../chunk-IBY4PG26.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 chunkLOONJRYY_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 chunkKVB6LP4F_cjs = require('../chunk-KVB6LP4F.cjs');
|
|
4
|
+
var chunkLOONJRYY_cjs = require('../chunk-LOONJRYY.cjs');
|
|
5
|
+
var chunkE3VV6MCF_cjs = require('../chunk-E3VV6MCF.cjs');
|
|
6
6
|
require('../chunk-IBY4PG26.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 chunkE3VV6MCF_cjs.convertWireToOsdkObjects(
|
|
19
19
|
client[chunkFY5MUMSI_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 chunkKVB6LP4F_cjs.createScenario; }
|
|
223
223
|
});
|
|
224
224
|
Object.defineProperty(exports, "withScenario", {
|
|
225
225
|
enumerable: true,
|
|
226
|
-
get: function () { return
|
|
226
|
+
get: function () { return chunkKVB6LP4F_cjs.withScenario; }
|
|
227
227
|
});
|
|
228
228
|
Object.defineProperty(exports, "createObservableClient", {
|
|
229
229
|
enumerable: true,
|
|
230
|
-
get: function () { return
|
|
230
|
+
get: function () { return chunkLOONJRYY_cjs.createObservableClient; }
|
|
231
231
|
});
|
|
232
232
|
Object.defineProperty(exports, "createClientWithSubscriptionConnection", {
|
|
233
233
|
enumerable: true,
|
|
234
|
-
get: function () { return
|
|
234
|
+
get: function () { return chunkE3VV6MCF_cjs.createClientWithSubscriptionConnection; }
|
|
235
235
|
});
|
|
236
236
|
Object.defineProperty(exports, "createClientWithTransaction", {
|
|
237
237
|
enumerable: true,
|
|
238
|
-
get: function () { return
|
|
238
|
+
get: function () { return chunkE3VV6MCF_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.76.0
|
|
18
|
-
export const OBSERVABLE_USER_AGENT = `osdk-observable-client/${"2.76.0
|
|
17
|
+
export const USER_AGENT = `osdk-client/${"2.76.0"}`;
|
|
18
|
+
export const OBSERVABLE_USER_AGENT = `osdk-observable-client/${"2.76.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.76.0
|
|
3
|
+
"version": "2.76.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"access": "public",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -82,15 +82,15 @@
|
|
|
82
82
|
"tiny-invariant": "^1.3.3",
|
|
83
83
|
"type-fest": "^4.41.0",
|
|
84
84
|
"ws": "^8.20.1",
|
|
85
|
-
"@osdk/
|
|
86
|
-
"@osdk/client.unstable": "2.76.0
|
|
87
|
-
"@osdk/
|
|
88
|
-
"@osdk/shared.client.impl": "~1.14.1-main-0c092519b1e0bcb2ce003bbf6dc8d474c35b7021",
|
|
85
|
+
"@osdk/generator-converters": "2.76.0",
|
|
86
|
+
"@osdk/client.unstable": "2.76.0",
|
|
87
|
+
"@osdk/api": "~2.76.0",
|
|
89
88
|
"@osdk/shared.net.errors": "~2.13.0",
|
|
90
|
-
"@osdk/shared.net.fetch": "~1.13.0"
|
|
89
|
+
"@osdk/shared.net.fetch": "~1.13.0",
|
|
90
|
+
"@osdk/shared.client.impl": "~1.15.0"
|
|
91
91
|
},
|
|
92
92
|
"peerDependencies": {
|
|
93
|
-
"@osdk/shared.test": "^2.
|
|
93
|
+
"@osdk/shared.test": "^2.51.0"
|
|
94
94
|
},
|
|
95
95
|
"peerDependenciesMeta": {
|
|
96
96
|
"@osdk/shared.test": {
|
|
@@ -117,11 +117,11 @@
|
|
|
117
117
|
"ts-expect": "^1.3.0",
|
|
118
118
|
"typescript": "~5.5.4",
|
|
119
119
|
"zod": "^3.25.76",
|
|
120
|
-
"@osdk/client.test.ontology": "2.75.1-main-0c092519b1e0bcb2ce003bbf6dc8d474c35b7021",
|
|
121
120
|
"@osdk/monorepo.api-extractor": "~0.7.0",
|
|
121
|
+
"@osdk/client.test.ontology": "2.76.0",
|
|
122
122
|
"@osdk/monorepo.tsconfig": "~0.7.0",
|
|
123
123
|
"@osdk/oauth": "~1.14.0",
|
|
124
|
-
"@osdk/shared.test.intellisense": "~0.
|
|
124
|
+
"@osdk/shared.test.intellisense": "~0.28.0"
|
|
125
125
|
},
|
|
126
126
|
"publishConfig": {
|
|
127
127
|
"access": "public"
|