@semiont/graph 0.5.27 → 0.5.29

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.
Files changed (57) hide show
  1. package/README.md +1 -1
  2. package/dist/{chunk-GPJBZ6EG.js → chunk-2FPUYYXX.js} +9 -1
  3. package/dist/chunk-2FPUYYXX.js.map +1 -0
  4. package/dist/{chunk-Y62BMZ25.js → chunk-52FQCX5M.js} +18 -6
  5. package/dist/chunk-52FQCX5M.js.map +1 -0
  6. package/dist/{chunk-NYHKKGBV.js → chunk-MO34K2LQ.js} +32 -19
  7. package/dist/chunk-MO34K2LQ.js.map +1 -0
  8. package/dist/{chunk-7BYJ5YHD.js → chunk-SFMOIR7Y.js} +10 -10
  9. package/dist/{chunk-7BYJ5YHD.js.map → chunk-SFMOIR7Y.js.map} +1 -1
  10. package/dist/{chunk-YYVVWLB2.js → chunk-TKWHSSPF.js} +35 -16
  11. package/dist/chunk-TKWHSSPF.js.map +1 -0
  12. package/dist/{chunk-RRZDPP7Z.js → chunk-X77CPJUJ.js} +2 -2
  13. package/dist/{chunk-UKT6IXAM.js → chunk-XTHXGGIJ.js} +3 -3
  14. package/dist/{chunk-RBRHTAJN.js → chunk-ZPM4D2XD.js} +14 -5
  15. package/dist/chunk-ZPM4D2XD.js.map +1 -0
  16. package/dist/{dist-es-7CR3IHJD.js → dist-es-DYVW35LB.js} +13 -13
  17. package/dist/{dist-es-2ZN6SLSG.js → dist-es-F44WH2AS.js} +25 -25
  18. package/dist/dist-es-F44WH2AS.js.map +1 -0
  19. package/dist/{dist-es-M72B762W.js → dist-es-FTEZAK7G.js} +5 -5
  20. package/dist/{dist-es-NGG7JHEH.js → dist-es-FV5JDCUX.js} +4 -4
  21. package/dist/{dist-es-ILOZ33QI.js → dist-es-ISXX5KU4.js} +5 -5
  22. package/dist/{dist-es-V3UQXKNJ.js → dist-es-RTE7BVXX.js} +5 -5
  23. package/dist/{dist-es-LN4LZWKV.js → dist-es-V7467ELV.js} +3 -3
  24. package/dist/{dist-es-RZ3HNVJG.js → dist-es-WEW6PTSK.js} +15 -11
  25. package/dist/dist-es-WEW6PTSK.js.map +1 -0
  26. package/dist/{dist-es-J63OY2RR.js → dist-es-Z4NFJDXO.js} +5 -5
  27. package/dist/{event-streams-2HBIXE6X.js → event-streams-UU2VASBU.js} +36 -27
  28. package/dist/event-streams-UU2VASBU.js.map +1 -0
  29. package/dist/index.d.ts +3 -6
  30. package/dist/index.js +250 -359
  31. package/dist/index.js.map +1 -1
  32. package/dist/{loadSso-JTXSMWFI.js → loadSso-2Y2JSLM2.js} +8 -8
  33. package/dist/{signin-BM6IHIKX.js → signin-3VN2CNSY.js} +8 -8
  34. package/dist/{sso-oidc-IBGZ52NP.js → sso-oidc-76COL3D2.js} +8 -8
  35. package/dist/{sts-44HZWQDH.js → sts-BLFDXC4J.js} +8 -8
  36. package/package.json +10 -10
  37. package/dist/chunk-GPJBZ6EG.js.map +0 -1
  38. package/dist/chunk-NYHKKGBV.js.map +0 -1
  39. package/dist/chunk-RBRHTAJN.js.map +0 -1
  40. package/dist/chunk-Y62BMZ25.js.map +0 -1
  41. package/dist/chunk-YYVVWLB2.js.map +0 -1
  42. package/dist/dist-es-2ZN6SLSG.js.map +0 -1
  43. package/dist/dist-es-RZ3HNVJG.js.map +0 -1
  44. package/dist/event-streams-2HBIXE6X.js.map +0 -1
  45. /package/dist/{chunk-RRZDPP7Z.js.map → chunk-X77CPJUJ.js.map} +0 -0
  46. /package/dist/{chunk-UKT6IXAM.js.map → chunk-XTHXGGIJ.js.map} +0 -0
  47. /package/dist/{dist-es-7CR3IHJD.js.map → dist-es-DYVW35LB.js.map} +0 -0
  48. /package/dist/{dist-es-M72B762W.js.map → dist-es-FTEZAK7G.js.map} +0 -0
  49. /package/dist/{dist-es-NGG7JHEH.js.map → dist-es-FV5JDCUX.js.map} +0 -0
  50. /package/dist/{dist-es-ILOZ33QI.js.map → dist-es-ISXX5KU4.js.map} +0 -0
  51. /package/dist/{dist-es-V3UQXKNJ.js.map → dist-es-RTE7BVXX.js.map} +0 -0
  52. /package/dist/{dist-es-LN4LZWKV.js.map → dist-es-V7467ELV.js.map} +0 -0
  53. /package/dist/{dist-es-J63OY2RR.js.map → dist-es-Z4NFJDXO.js.map} +0 -0
  54. /package/dist/{loadSso-JTXSMWFI.js.map → loadSso-2Y2JSLM2.js.map} +0 -0
  55. /package/dist/{signin-BM6IHIKX.js.map → signin-3VN2CNSY.js.map} +0 -0
  56. /package/dist/{sso-oidc-IBGZ52NP.js.map → sso-oidc-76COL3D2.js.map} +0 -0
  57. /package/dist/{sts-44HZWQDH.js.map → sts-BLFDXC4J.js.map} +0 -0
@@ -6,7 +6,7 @@ import {
6
6
  memoizeIdentityProvider,
7
7
  normalizeProvider as normalizeProvider2,
8
8
  setCredentialFeature
9
- } from "./chunk-RBRHTAJN.js";
9
+ } from "./chunk-ZPM4D2XD.js";
10
10
  import {
11
11
  FromStringShapeDeserializer,
12
12
  HttpBindingProtocol,
@@ -21,7 +21,7 @@ import {
21
21
  escapeUri,
22
22
  extendedEncodeURIComponent,
23
23
  loadConfig
24
- } from "./chunk-YYVVWLB2.js";
24
+ } from "./chunk-TKWHSSPF.js";
25
25
  import {
26
26
  HttpRequest,
27
27
  HttpResponse,
@@ -35,6 +35,7 @@ import {
35
35
  fromHex,
36
36
  fromUtf8,
37
37
  generateIdempotencyToken,
38
+ hasOwn,
38
39
  isArrayBuffer,
39
40
  normalizeProvider,
40
41
  parseEpochTimestamp,
@@ -44,7 +45,7 @@ import {
44
45
  toHex,
45
46
  toUint8Array,
46
47
  toUtf8
47
- } from "./chunk-GPJBZ6EG.js";
48
+ } from "./chunk-2FPUYYXX.js";
48
49
 
49
50
  // ../../node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js
50
51
  var getDateHeader = (response) => HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : void 0;
@@ -238,7 +239,9 @@ var NODE_SIGV4A_CONFIG_OPTIONS = {
238
239
  var HeaderFormatter = class {
239
240
  format(headers) {
240
241
  const chunks = [];
241
- for (const headerName of Object.keys(headers)) {
242
+ for (const headerName in headers) {
243
+ if (!hasOwn(headers, headerName))
244
+ continue;
242
245
  const bytes = fromUtf8(headerName);
243
246
  chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
244
247
  }
@@ -253,27 +256,27 @@ var HeaderFormatter = class {
253
256
  formatHeaderValue(header) {
254
257
  switch (header.type) {
255
258
  case "boolean":
256
- return Uint8Array.from([header.value ? HEADER_VALUE_TYPE.boolTrue : HEADER_VALUE_TYPE.boolFalse]);
259
+ return Uint8Array.from([header.value ? 0 : 1]);
257
260
  case "byte":
258
- return Uint8Array.from([HEADER_VALUE_TYPE.byte, header.value]);
261
+ return Uint8Array.from([2, header.value]);
259
262
  case "short":
260
263
  const shortView = new DataView(new ArrayBuffer(3));
261
- shortView.setUint8(0, HEADER_VALUE_TYPE.short);
264
+ shortView.setUint8(0, 3);
262
265
  shortView.setInt16(1, header.value, false);
263
266
  return new Uint8Array(shortView.buffer);
264
267
  case "integer":
265
268
  const intView = new DataView(new ArrayBuffer(5));
266
- intView.setUint8(0, HEADER_VALUE_TYPE.integer);
269
+ intView.setUint8(0, 4);
267
270
  intView.setInt32(1, header.value, false);
268
271
  return new Uint8Array(intView.buffer);
269
272
  case "long":
270
273
  const longBytes = new Uint8Array(9);
271
- longBytes[0] = HEADER_VALUE_TYPE.long;
274
+ longBytes[0] = 5;
272
275
  longBytes.set(header.value.bytes, 1);
273
276
  return longBytes;
274
277
  case "binary":
275
278
  const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
276
- binView.setUint8(0, HEADER_VALUE_TYPE.byteArray);
279
+ binView.setUint8(0, 6);
277
280
  binView.setUint16(1, header.value.byteLength, false);
278
281
  const binBytes = new Uint8Array(binView.buffer);
279
282
  binBytes.set(header.value, 3);
@@ -281,14 +284,14 @@ var HeaderFormatter = class {
281
284
  case "string":
282
285
  const utf8Bytes = fromUtf8(header.value);
283
286
  const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
284
- strView.setUint8(0, HEADER_VALUE_TYPE.string);
287
+ strView.setUint8(0, 7);
285
288
  strView.setUint16(1, utf8Bytes.byteLength, false);
286
289
  const strBytes = new Uint8Array(strView.buffer);
287
290
  strBytes.set(utf8Bytes, 3);
288
291
  return strBytes;
289
292
  case "timestamp":
290
293
  const tsBytes = new Uint8Array(9);
291
- tsBytes[0] = HEADER_VALUE_TYPE.timestamp;
294
+ tsBytes[0] = 8;
292
295
  tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);
293
296
  return tsBytes;
294
297
  case "uuid":
@@ -296,7 +299,7 @@ var HeaderFormatter = class {
296
299
  throw new Error(`Invalid UUID received: ${header.value}`);
297
300
  }
298
301
  const uuidBytes = new Uint8Array(17);
299
- uuidBytes[0] = HEADER_VALUE_TYPE.uuid;
302
+ uuidBytes[0] = 9;
300
303
  uuidBytes.set(fromHex(header.value.replace(/-/g, "")), 1);
301
304
  return uuidBytes;
302
305
  }
@@ -405,7 +408,9 @@ var MAX_PRESIGNED_TTL = 60 * 60 * 24 * 7;
405
408
  var getCanonicalQuery = ({ query = {} }) => {
406
409
  const keys = [];
407
410
  const serialized = {};
408
- for (const key of Object.keys(query)) {
411
+ for (const key in query) {
412
+ if (!hasOwn(query, key))
413
+ continue;
409
414
  if (key.toLowerCase() === SIGNATURE_HEADER) {
410
415
  continue;
411
416
  }
@@ -554,7 +559,9 @@ var getCanonicalHeaders = ({ headers }, unsignableHeaders, signableHeaders) => {
554
559
 
555
560
  // ../../node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js
556
561
  var getPayloadHash = async ({ headers, body }, hashConstructor) => {
557
- for (const headerName of Object.keys(headers)) {
562
+ for (const headerName in headers) {
563
+ if (!hasOwn(headers, headerName))
564
+ continue;
558
565
  if (headerName.toLowerCase() === SHA256_HEADER) {
559
566
  return headers[headerName];
560
567
  }
@@ -572,7 +579,9 @@ var getPayloadHash = async ({ headers, body }, hashConstructor) => {
572
579
  // ../../node_modules/@smithy/signature-v4/dist-es/headerUtil.js
573
580
  var hasHeader = (soughtHeader, headers) => {
574
581
  soughtHeader = soughtHeader.toLowerCase();
575
- for (const headerName of Object.keys(headers)) {
582
+ for (const headerName in headers) {
583
+ if (!hasOwn(headers, headerName))
584
+ continue;
576
585
  if (soughtHeader === headerName.toLowerCase()) {
577
586
  return true;
578
587
  }
@@ -583,7 +592,9 @@ var hasHeader = (soughtHeader, headers) => {
583
592
  // ../../node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js
584
593
  var moveHeadersToQuery = (request, options = {}) => {
585
594
  const { headers, query = {} } = HttpRequest.clone(request);
586
- for (const name of Object.keys(headers)) {
595
+ for (const name in headers) {
596
+ if (!hasOwn(headers, name))
597
+ continue;
587
598
  const lname = name.toLowerCase();
588
599
  if (lname.slice(0, 6) === "x-amz-" && !options.unhoistableHeaders?.has(lname) || options.hoistableHeaders?.has(lname)) {
589
600
  query[name] = headers[name];
@@ -600,7 +611,9 @@ var moveHeadersToQuery = (request, options = {}) => {
600
611
  // ../../node_modules/@smithy/signature-v4/dist-es/prepareRequest.js
601
612
  var prepareRequest = (request) => {
602
613
  request = HttpRequest.clone(request);
603
- for (const headerName of Object.keys(request.headers)) {
614
+ for (const headerName in request.headers) {
615
+ if (!hasOwn(request.headers, headerName))
616
+ continue;
604
617
  if (GENERATED_HEADERS.indexOf(headerName.toLowerCase()) > -1) {
605
618
  delete request.headers[headerName];
606
619
  }
@@ -2893,4 +2906,4 @@ export {
2893
2906
  AwsRestJsonProtocol,
2894
2907
  AwsQueryProtocol
2895
2908
  };
2896
- //# sourceMappingURL=chunk-NYHKKGBV.js.map
2909
+ //# sourceMappingURL=chunk-MO34K2LQ.js.map