@osdk/client 2.3.0-rc.11 → 2.3.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 +160 -0
- package/build/browser/index.js.map +1 -1
- package/build/browser/util/UserAgent.js +2 -2
- package/build/browser/util/UserAgent.js.map +1 -1
- package/build/cjs/{chunk-LZ4GFSOQ.cjs → chunk-2MTGADU5.cjs} +4 -4
- package/build/cjs/{chunk-LZ4GFSOQ.cjs.map → chunk-2MTGADU5.cjs.map} +1 -1
- package/build/cjs/index.cjs +5 -5
- package/build/cjs/index.d.cts +1 -1
- package/build/cjs/public/unstable-do-not-use.cjs +5 -5
- package/build/esm/index.js.map +1 -1
- package/build/esm/util/UserAgent.js +2 -2
- package/build/esm/util/UserAgent.js.map +1 -1
- package/build/types/index.d.ts +1 -1
- package/build/types/index.d.ts.map +1 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,54 @@
|
|
|
1
1
|
# @osdk/client
|
|
2
2
|
|
|
3
|
+
## 2.3.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 322c5bc: Simulated release
|
|
8
|
+
- 43c5547: Add 'getMediaReference' method to Media
|
|
9
|
+
- bc0e186: Add new types mapping for internal creation workflow.
|
|
10
|
+
- 991dbd4: Async function metadata
|
|
11
|
+
- 266b756: Add consistency for async iter calls.
|
|
12
|
+
- 2a23cca: ObservableClient now adds to the fetch-user-agent
|
|
13
|
+
- 9839eab: Bumps conjure-lite
|
|
14
|
+
- 3736624: Ensure count operations return numbers
|
|
15
|
+
- 8d69555: Add hydrateObjectSetFromObjectRids util.
|
|
16
|
+
- f82cff2: Remove Calculated RDPs and Media
|
|
17
|
+
- 5a15cfd: Added fixed dependency to API for beta package.
|
|
18
|
+
- cd911a6: Properly handles lat,long strings in action arguments
|
|
19
|
+
- 2c800e5: Fix bug where we sent over longitude/latitude for geohash properties, when the backend actually expects latitude/longitude.
|
|
20
|
+
- cd911a6: ObservableClient can now do optimistic writes for deletes
|
|
21
|
+
- f8db93d: improve media upload (beta)
|
|
22
|
+
- 3b5ccaa: Fix orderBy argument on object load methods
|
|
23
|
+
- Updated dependencies [322c5bc]
|
|
24
|
+
- Updated dependencies [322c5bc]
|
|
25
|
+
- Updated dependencies [322c5bc]
|
|
26
|
+
- Updated dependencies [322c5bc]
|
|
27
|
+
- Updated dependencies [322c5bc]
|
|
28
|
+
- Updated dependencies [322c5bc]
|
|
29
|
+
- Updated dependencies [43c5547]
|
|
30
|
+
- Updated dependencies [43554b4]
|
|
31
|
+
- Updated dependencies [bc0e186]
|
|
32
|
+
- Updated dependencies [cc2ce5f]
|
|
33
|
+
- Updated dependencies [9839eab]
|
|
34
|
+
- Updated dependencies [e8c4aed]
|
|
35
|
+
- Updated dependencies [7d232fb]
|
|
36
|
+
- Updated dependencies [474f4ca]
|
|
37
|
+
- Updated dependencies [f82cff2]
|
|
38
|
+
- Updated dependencies [a6c01ff]
|
|
39
|
+
- Updated dependencies [0cc9cad]
|
|
40
|
+
- Updated dependencies [ef46ed6]
|
|
41
|
+
- Updated dependencies [12d599f]
|
|
42
|
+
- Updated dependencies [f8db93d]
|
|
43
|
+
- Updated dependencies [3408ea9]
|
|
44
|
+
- Updated dependencies [3b5ccaa]
|
|
45
|
+
- @osdk/api@2.3.0
|
|
46
|
+
- @osdk/client.unstable@2.3.0
|
|
47
|
+
- @osdk/generator-converters@2.3.0
|
|
48
|
+
- @osdk/shared.client.impl@1.3.0
|
|
49
|
+
- @osdk/shared.net.errors@2.3.0
|
|
50
|
+
- @osdk/shared.net.fetch@1.3.0
|
|
51
|
+
|
|
3
52
|
## 2.3.0-rc.11
|
|
4
53
|
|
|
5
54
|
### Patch Changes
|
|
@@ -125,6 +174,117 @@
|
|
|
125
174
|
- @osdk/client.unstable@2.3.0-beta.2
|
|
126
175
|
- @osdk/generator-converters@2.3.0-beta.2
|
|
127
176
|
|
|
177
|
+
## 2.2.0
|
|
178
|
+
|
|
179
|
+
### Patch Changes
|
|
180
|
+
|
|
181
|
+
- 322c5bc: Simulated release
|
|
182
|
+
- b61e9f5: Make Query Map Types Optional
|
|
183
|
+
- 7416ce4: Adds deleted objects and links returned from applyAction
|
|
184
|
+
- 1ba3871: Support $clone for interface objects
|
|
185
|
+
- 12843cb: Add ability to load all underlying properties of an interface.
|
|
186
|
+
- 18ba34f: Adds the ability to generate and execute functions at pinned versions
|
|
187
|
+
- cdd3154: Revert allowing explicitly passing undefined values to reset on actions
|
|
188
|
+
- 56aa502: Improves exposed APIs
|
|
189
|
+
- abe4897: Removes support for boolean primary keys
|
|
190
|
+
- 63b2e63: Update Platform SDK Dependencies
|
|
191
|
+
- cddfbf9: Adds default value option to group by
|
|
192
|
+
- 5a12181: Quick fix for geohash params.
|
|
193
|
+
- 2ce3659: Update underlying pagination size for async iter.
|
|
194
|
+
- 7416ce4: Update Platform SDK Dependencies
|
|
195
|
+
- 26c2d95: Add experimental function to load page of objects by rid.
|
|
196
|
+
- 430dee3: JSdoc for object properties are generated
|
|
197
|
+
- 397f906: Ensure count operations return numbers
|
|
198
|
+
- 488b51c: Add support for using aggregations and GeoJSON types from runtime derived properties
|
|
199
|
+
- fccd9ac: "Allow selecting derived properties"
|
|
200
|
+
- 5665b18: Remove selection RDPs from the API
|
|
201
|
+
- 761e69d: Added type safety to createMediaReference
|
|
202
|
+
- 889e84b: Release
|
|
203
|
+
- 62e5965: Removed unneeded lint statements.
|
|
204
|
+
- ed69666: Update conjure-lite to 0.7.1
|
|
205
|
+
- c92fe73: Add OsdkConfig utils to client/unstable
|
|
206
|
+
- 2517750: observeList should work for interfaces and have the fully loaded content
|
|
207
|
+
- 4183a55: Refactor OsdkBase to avoid breaks with type not being discoverable
|
|
208
|
+
- 1e16dcb: Exposes MinimalLogger and BrowserLogger via @osdk/client/internal
|
|
209
|
+
- 70b4464: Fix types for RDPs
|
|
210
|
+
- 2f6206c: Improvements to @osdk/react
|
|
211
|
+
- 81c0d8c: Client will now provide a default logger to console.error if none is provided
|
|
212
|
+
- 81c0d8c: ObservableClient now queues up object loads for bulk processing
|
|
213
|
+
- 791e655: Add support for geoshape and geohash action parameters.
|
|
214
|
+
- 317b555: Release
|
|
215
|
+
- 879b6c3: Include a more descriptive error message for multiple filters on a single property filter clause
|
|
216
|
+
- 63b2e63: Supports generating queries for entrySet function types
|
|
217
|
+
- 2517750: Provides efficient OrderByCanonicalizer
|
|
218
|
+
- 1e16dcb: Default logging is error level only
|
|
219
|
+
- f4370e3: Fixes error when using intersection, subtraction, or union object sets
|
|
220
|
+
- ea4e4b1: Fix attachments to be upload sequentially rather than in parallel.
|
|
221
|
+
- a146ce4: Cleanup RDP API
|
|
222
|
+
- cc380b5: Use the latest Platform APIs
|
|
223
|
+
- e873024: Fixes issues requiring msw and p-defer
|
|
224
|
+
- 88591f7: Small fixes for ObjectSpecifier
|
|
225
|
+
- 751e5b3: Use client as peer dep in functions package.
|
|
226
|
+
- 805df40: Fix interface action types.
|
|
227
|
+
- fe0cc43: Experimental react changes
|
|
228
|
+
- 2517750: Initial internal architecture document for ObservableClient
|
|
229
|
+
- 5467a0f: Fix orderBy argument on object load methods
|
|
230
|
+
- 2517750: subscribe in ObservableClient now uses Observer
|
|
231
|
+
- 63b2e63: Adds ObjectSpecifiers to generated OSDK objects
|
|
232
|
+
- Updated dependencies [322c5bc]
|
|
233
|
+
- Updated dependencies [322c5bc]
|
|
234
|
+
- Updated dependencies [322c5bc]
|
|
235
|
+
- Updated dependencies [322c5bc]
|
|
236
|
+
- Updated dependencies [322c5bc]
|
|
237
|
+
- Updated dependencies [322c5bc]
|
|
238
|
+
- Updated dependencies [b68adea]
|
|
239
|
+
- Updated dependencies [c6bee50]
|
|
240
|
+
- Updated dependencies [7416ce4]
|
|
241
|
+
- Updated dependencies [6eeb423]
|
|
242
|
+
- Updated dependencies [7170fd1]
|
|
243
|
+
- Updated dependencies [12843cb]
|
|
244
|
+
- Updated dependencies [ad93d55]
|
|
245
|
+
- Updated dependencies [a08bdfb]
|
|
246
|
+
- Updated dependencies [18ba34f]
|
|
247
|
+
- Updated dependencies [6abf078]
|
|
248
|
+
- Updated dependencies [f82767c]
|
|
249
|
+
- Updated dependencies [56aa502]
|
|
250
|
+
- Updated dependencies [0e874b1]
|
|
251
|
+
- Updated dependencies [abe4897]
|
|
252
|
+
- Updated dependencies [63b2e63]
|
|
253
|
+
- Updated dependencies [cddfbf9]
|
|
254
|
+
- Updated dependencies [7416ce4]
|
|
255
|
+
- Updated dependencies [23ea0e4]
|
|
256
|
+
- Updated dependencies [26c2d95]
|
|
257
|
+
- Updated dependencies [10da391]
|
|
258
|
+
- Updated dependencies [488b51c]
|
|
259
|
+
- Updated dependencies [71462e9]
|
|
260
|
+
- Updated dependencies [6ac8f0b]
|
|
261
|
+
- Updated dependencies [fccd9ac]
|
|
262
|
+
- Updated dependencies [5e8e839]
|
|
263
|
+
- Updated dependencies [5665b18]
|
|
264
|
+
- Updated dependencies [46cede4]
|
|
265
|
+
- Updated dependencies [761e69d]
|
|
266
|
+
- Updated dependencies [889e84b]
|
|
267
|
+
- Updated dependencies [a6e5f89]
|
|
268
|
+
- Updated dependencies [ed69666]
|
|
269
|
+
- Updated dependencies [4183a55]
|
|
270
|
+
- Updated dependencies [70b4464]
|
|
271
|
+
- Updated dependencies [395ae07]
|
|
272
|
+
- Updated dependencies [37f8e60]
|
|
273
|
+
- Updated dependencies [791e655]
|
|
274
|
+
- Updated dependencies [317b555]
|
|
275
|
+
- Updated dependencies [63b2e63]
|
|
276
|
+
- Updated dependencies [a146ce4]
|
|
277
|
+
- Updated dependencies [3d0ab11]
|
|
278
|
+
- Updated dependencies [805df40]
|
|
279
|
+
- Updated dependencies [5467a0f]
|
|
280
|
+
- Updated dependencies [63b2e63]
|
|
281
|
+
- @osdk/api@2.2.0
|
|
282
|
+
- @osdk/client.unstable@2.2.0
|
|
283
|
+
- @osdk/generator-converters@2.2.0
|
|
284
|
+
- @osdk/shared.client.impl@1.2.0
|
|
285
|
+
- @osdk/shared.net.errors@2.2.0
|
|
286
|
+
- @osdk/shared.net.fetch@1.2.0
|
|
287
|
+
|
|
128
288
|
## 2.2.0-beta.23
|
|
129
289
|
|
|
130
290
|
### Minor Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["isOk","PalantirApiError","ActionValidationError","createClient","createPlatformClient","createAttachmentUpload","extractDate","extractDateInLocalTime","extractDateInUTC"],"sources":["index.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 type {\n ActionDefinition,\n ActionEditResponse,\n ActionMetadata,\n ActionParam,\n ActionReturnTypeForOptions,\n ActionValidationResponse,\n ApplyActionOptions,\n ApplyBatchActionOptions,\n Attachment,\n CompileTimeMetadata,\n InterfaceDefinition,\n Logger,\n ObjectMetadata,\n ObjectSet,\n ObjectSpecifier,\n ObjectTypeDefinition,\n Osdk,\n OsdkObject,\n OsdkObjectPropertyType,\n PageResult,\n PropertyDef,\n PropertyKeys,\n PropertyValueWireToClient,\n QueryDefinition,\n QueryParam,\n QueryResult,\n Range,\n Result,\n SingleLinkAccessor,\n ThreeDimensionalAggregation,\n TwoDimensionalAggregation,\n VersionBound,\n WhereClause,\n} from \"@osdk/api\";\nexport { isOk } from \"@osdk/api\";\nexport { PalantirApiError } from \"@osdk/shared.net.errors\";\n\nexport { ActionValidationError } from \"./actions/ActionValidationError.js\";\nexport type { Client } from \"./Client.js\";\nexport { createClient } from \"./createClient.js\";\nexport { createPlatformClient } from \"./createPlatformClient.js\";\nexport type { PlatformClient } from \"./createPlatformClient.js\";\nexport { createAttachmentUpload } from \"./object/AttachmentUpload.js\";\nexport type { ResultOrError } from \"./ResultOrError.js\";\n\nexport {\n extractDate,\n extractDateInLocalTime,\n extractDateInUTC,\n} from \"./util/datetimeConverters.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;
|
|
1
|
+
{"version":3,"file":"index.js","names":["isOk","PalantirApiError","ActionValidationError","createClient","createPlatformClient","createAttachmentUpload","extractDate","extractDateInLocalTime","extractDateInUTC"],"sources":["index.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 type {\n ActionDefinition,\n ActionEditResponse,\n ActionMetadata,\n ActionParam,\n ActionReturnTypeForOptions,\n ActionValidationResponse,\n ApplyActionOptions,\n ApplyBatchActionOptions,\n Attachment,\n CompileTimeMetadata,\n InterfaceDefinition,\n Logger,\n ObjectMetadata,\n ObjectSet,\n ObjectSpecifier,\n ObjectTypeDefinition,\n Osdk,\n OsdkObject,\n OsdkObjectCreatePropertyType,\n OsdkObjectPropertyType,\n PageResult,\n PropertyDef,\n PropertyKeys,\n PropertyValueWireToClient,\n QueryDefinition,\n QueryParam,\n QueryResult,\n Range,\n Result,\n SingleLinkAccessor,\n ThreeDimensionalAggregation,\n TwoDimensionalAggregation,\n VersionBound,\n WhereClause,\n} from \"@osdk/api\";\nexport { isOk } from \"@osdk/api\";\nexport { PalantirApiError } from \"@osdk/shared.net.errors\";\n\nexport { ActionValidationError } from \"./actions/ActionValidationError.js\";\nexport type { Client } from \"./Client.js\";\nexport { createClient } from \"./createClient.js\";\nexport { createPlatformClient } from \"./createPlatformClient.js\";\nexport type { PlatformClient } from \"./createPlatformClient.js\";\nexport { createAttachmentUpload } from \"./object/AttachmentUpload.js\";\nexport type { ResultOrError } from \"./ResultOrError.js\";\n\nexport {\n extractDate,\n extractDateInLocalTime,\n extractDateInUTC,\n} from \"./util/datetimeConverters.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAsCA,SAASA,IAAI,QAAQ,WAAW;AAChC,SAASC,gBAAgB,QAAQ,yBAAyB;AAE1D,SAASC,qBAAqB,QAAQ,oCAAoC;AAE1E,SAASC,YAAY,QAAQ,mBAAmB;AAChD,SAASC,oBAAoB,QAAQ,2BAA2B;AAEhE,SAASC,sBAAsB,QAAQ,8BAA8B;AAGrE,SACEC,WAAW,EACXC,sBAAsB,EACtBC,gBAAgB,QACX,8BAA8B","ignoreList":[]}
|
|
@@ -14,6 +14,6 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
export const USER_AGENT = `osdk-client/${"2.3.0
|
|
18
|
-
export const OBSERVABLE_USER_AGENT = `osdk-observable-client/${"2.3.0
|
|
17
|
+
export const USER_AGENT = `osdk-client/${"2.3.0"}`;
|
|
18
|
+
export const OBSERVABLE_USER_AGENT = `osdk-observable-client/${"2.3.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 =\n `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 =\n `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,wBAA4C;AAC9E,OAAO,MAAMC,qBAA6B,GACxC,mCAAuD","ignoreList":[]}
|
|
@@ -1311,8 +1311,8 @@ var createStandardOntologyProviderFactory = (client) => {
|
|
|
1311
1311
|
};
|
|
1312
1312
|
|
|
1313
1313
|
// src/util/UserAgent.ts
|
|
1314
|
-
var USER_AGENT = `osdk-client/${"2.3.0
|
|
1315
|
-
var OBSERVABLE_USER_AGENT = `osdk-observable-client/${"2.3.0
|
|
1314
|
+
var USER_AGENT = `osdk-client/${"2.3.0"}`;
|
|
1315
|
+
var OBSERVABLE_USER_AGENT = `osdk-observable-client/${"2.3.0"}`;
|
|
1316
1316
|
|
|
1317
1317
|
// src/createMinimalClient.ts
|
|
1318
1318
|
function createMinimalClient(metadata, baseUrl, tokenProvider, options = {}, fetchFn = global.fetch, objectSetFactory = chunkQHPACIXZ_cjs.createObjectSet, createOntologyProviderFactory = createStandardOntologyProviderFactory) {
|
|
@@ -1794,5 +1794,5 @@ exports.UnderlyingOsdkObject = UnderlyingOsdkObject;
|
|
|
1794
1794
|
exports.createAttachmentUpload = createAttachmentUpload;
|
|
1795
1795
|
exports.createClient = createClient;
|
|
1796
1796
|
exports.createClientFromContext = createClientFromContext;
|
|
1797
|
-
//# sourceMappingURL=chunk-
|
|
1798
|
-
//# sourceMappingURL=chunk-
|
|
1797
|
+
//# sourceMappingURL=chunk-2MTGADU5.cjs.map
|
|
1798
|
+
//# sourceMappingURL=chunk-2MTGADU5.cjs.map
|