@aws-sdk/client-managedblockchain-query 3.758.0 → 3.774.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.
Files changed (2) hide show
  1. package/dist-cjs/index.js +44 -44
  2. package/package.json +7 -7
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  AccessDeniedException: () => AccessDeniedException,
25
25
  BatchGetTokenBalanceCommand: () => BatchGetTokenBalanceCommand,
26
26
  ConfirmationStatus: () => ConfirmationStatus,
@@ -57,7 +57,7 @@ __export(src_exports, {
57
57
  paginateListTransactionEvents: () => paginateListTransactionEvents,
58
58
  paginateListTransactions: () => paginateListTransactions
59
59
  });
60
- module.exports = __toCommonJS(src_exports);
60
+ module.exports = __toCommonJS(index_exports);
61
61
 
62
62
  // src/ManagedBlockchainQueryClient.ts
63
63
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -184,9 +184,9 @@ var ManagedBlockchainQueryClient = class extends import_smithy_client.Client {
184
184
  this.middlewareStack.use(
185
185
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
186
186
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultManagedBlockchainQueryHttpAuthSchemeParametersProvider,
187
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
187
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
188
188
  "aws.auth#sigv4": config.credentials
189
- })
189
+ }), "identityProviderConfigProvider")
190
190
  })
191
191
  );
192
192
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -543,7 +543,7 @@ var se_BatchGetTokenBalanceCommand = /* @__PURE__ */ __name(async (input, contex
543
543
  let body;
544
544
  body = JSON.stringify(
545
545
  (0, import_smithy_client.take)(input, {
546
- getTokenBalanceInputs: (_) => se_GetTokenBalanceInputList(_, context)
546
+ getTokenBalanceInputs: /* @__PURE__ */ __name((_) => se_GetTokenBalanceInputList(_, context), "getTokenBalanceInputs")
547
547
  })
548
548
  );
549
549
  b.m("POST").h(headers).b(body);
@@ -558,7 +558,7 @@ var se_GetAssetContractCommand = /* @__PURE__ */ __name(async (input, context) =
558
558
  let body;
559
559
  body = JSON.stringify(
560
560
  (0, import_smithy_client.take)(input, {
561
- contractIdentifier: (_) => (0, import_smithy_client._json)(_)
561
+ contractIdentifier: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "contractIdentifier")
562
562
  })
563
563
  );
564
564
  b.m("POST").h(headers).b(body);
@@ -573,9 +573,9 @@ var se_GetTokenBalanceCommand = /* @__PURE__ */ __name(async (input, context) =>
573
573
  let body;
574
574
  body = JSON.stringify(
575
575
  (0, import_smithy_client.take)(input, {
576
- atBlockchainInstant: (_) => se_BlockchainInstant(_, context),
577
- ownerIdentifier: (_) => (0, import_smithy_client._json)(_),
578
- tokenIdentifier: (_) => (0, import_smithy_client._json)(_)
576
+ atBlockchainInstant: /* @__PURE__ */ __name((_) => se_BlockchainInstant(_, context), "atBlockchainInstant"),
577
+ ownerIdentifier: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ownerIdentifier"),
578
+ tokenIdentifier: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tokenIdentifier")
579
579
  })
580
580
  );
581
581
  b.m("POST").h(headers).b(body);
@@ -607,7 +607,7 @@ var se_ListAssetContractsCommand = /* @__PURE__ */ __name(async (input, context)
607
607
  let body;
608
608
  body = JSON.stringify(
609
609
  (0, import_smithy_client.take)(input, {
610
- contractFilter: (_) => (0, import_smithy_client._json)(_),
610
+ contractFilter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "contractFilter"),
611
611
  maxResults: [],
612
612
  nextToken: []
613
613
  })
@@ -624,14 +624,14 @@ var se_ListFilteredTransactionEventsCommand = /* @__PURE__ */ __name(async (inpu
624
624
  let body;
625
625
  body = JSON.stringify(
626
626
  (0, import_smithy_client.take)(input, {
627
- addressIdentifierFilter: (_) => (0, import_smithy_client._json)(_),
628
- confirmationStatusFilter: (_) => (0, import_smithy_client._json)(_),
627
+ addressIdentifierFilter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "addressIdentifierFilter"),
628
+ confirmationStatusFilter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "confirmationStatusFilter"),
629
629
  maxResults: [],
630
630
  network: [],
631
631
  nextToken: [],
632
- sort: (_) => (0, import_smithy_client._json)(_),
633
- timeFilter: (_) => se_TimeFilter(_, context),
634
- voutFilter: (_) => (0, import_smithy_client._json)(_)
632
+ sort: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sort"),
633
+ timeFilter: /* @__PURE__ */ __name((_) => se_TimeFilter(_, context), "timeFilter"),
634
+ voutFilter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "voutFilter")
635
635
  })
636
636
  );
637
637
  b.m("POST").h(headers).b(body);
@@ -648,8 +648,8 @@ var se_ListTokenBalancesCommand = /* @__PURE__ */ __name(async (input, context)
648
648
  (0, import_smithy_client.take)(input, {
649
649
  maxResults: [],
650
650
  nextToken: [],
651
- ownerFilter: (_) => (0, import_smithy_client._json)(_),
652
- tokenFilter: (_) => (0, import_smithy_client._json)(_)
651
+ ownerFilter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ownerFilter"),
652
+ tokenFilter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tokenFilter")
653
653
  })
654
654
  );
655
655
  b.m("POST").h(headers).b(body);
@@ -684,13 +684,13 @@ var se_ListTransactionsCommand = /* @__PURE__ */ __name(async (input, context) =
684
684
  body = JSON.stringify(
685
685
  (0, import_smithy_client.take)(input, {
686
686
  address: [],
687
- confirmationStatusFilter: (_) => (0, import_smithy_client._json)(_),
688
- fromBlockchainInstant: (_) => se_BlockchainInstant(_, context),
687
+ confirmationStatusFilter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "confirmationStatusFilter"),
688
+ fromBlockchainInstant: /* @__PURE__ */ __name((_) => se_BlockchainInstant(_, context), "fromBlockchainInstant"),
689
689
  maxResults: [],
690
690
  network: [],
691
691
  nextToken: [],
692
- sort: (_) => (0, import_smithy_client._json)(_),
693
- toBlockchainInstant: (_) => se_BlockchainInstant(_, context)
692
+ sort: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sort"),
693
+ toBlockchainInstant: /* @__PURE__ */ __name((_) => se_BlockchainInstant(_, context), "toBlockchainInstant")
694
694
  })
695
695
  );
696
696
  b.m("POST").h(headers).b(body);
@@ -705,8 +705,8 @@ var de_BatchGetTokenBalanceCommand = /* @__PURE__ */ __name(async (output, conte
705
705
  });
706
706
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
707
707
  const doc = (0, import_smithy_client.take)(data, {
708
- errors: (_) => de_BatchGetTokenBalanceErrors(_, context),
709
- tokenBalances: (_) => de_BatchGetTokenBalanceOutputList(_, context)
708
+ errors: /* @__PURE__ */ __name((_) => de_BatchGetTokenBalanceErrors(_, context), "errors"),
709
+ tokenBalances: /* @__PURE__ */ __name((_) => de_BatchGetTokenBalanceOutputList(_, context), "tokenBalances")
710
710
  });
711
711
  Object.assign(contents, doc);
712
712
  return contents;
@@ -737,9 +737,9 @@ var de_GetTokenBalanceCommand = /* @__PURE__ */ __name(async (output, context) =
737
737
  });
738
738
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
739
739
  const doc = (0, import_smithy_client.take)(data, {
740
- atBlockchainInstant: (_) => de_BlockchainInstant(_, context),
740
+ atBlockchainInstant: /* @__PURE__ */ __name((_) => de_BlockchainInstant(_, context), "atBlockchainInstant"),
741
741
  balance: import_smithy_client.expectString,
742
- lastUpdatedTime: (_) => de_BlockchainInstant(_, context),
742
+ lastUpdatedTime: /* @__PURE__ */ __name((_) => de_BlockchainInstant(_, context), "lastUpdatedTime"),
743
743
  ownerIdentifier: import_smithy_client._json,
744
744
  tokenIdentifier: import_smithy_client._json
745
745
  });
@@ -755,7 +755,7 @@ var de_GetTransactionCommand = /* @__PURE__ */ __name(async (output, context) =>
755
755
  });
756
756
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
757
757
  const doc = (0, import_smithy_client.take)(data, {
758
- transaction: (_) => de_Transaction(_, context)
758
+ transaction: /* @__PURE__ */ __name((_) => de_Transaction(_, context), "transaction")
759
759
  });
760
760
  Object.assign(contents, doc);
761
761
  return contents;
@@ -784,7 +784,7 @@ var de_ListFilteredTransactionEventsCommand = /* @__PURE__ */ __name(async (outp
784
784
  });
785
785
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
786
786
  const doc = (0, import_smithy_client.take)(data, {
787
- events: (_) => de_TransactionEventList(_, context),
787
+ events: /* @__PURE__ */ __name((_) => de_TransactionEventList(_, context), "events"),
788
788
  nextToken: import_smithy_client.expectString
789
789
  });
790
790
  Object.assign(contents, doc);
@@ -800,7 +800,7 @@ var de_ListTokenBalancesCommand = /* @__PURE__ */ __name(async (output, context)
800
800
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
801
801
  const doc = (0, import_smithy_client.take)(data, {
802
802
  nextToken: import_smithy_client.expectString,
803
- tokenBalances: (_) => de_TokenBalanceList(_, context)
803
+ tokenBalances: /* @__PURE__ */ __name((_) => de_TokenBalanceList(_, context), "tokenBalances")
804
804
  });
805
805
  Object.assign(contents, doc);
806
806
  return contents;
@@ -814,7 +814,7 @@ var de_ListTransactionEventsCommand = /* @__PURE__ */ __name(async (output, cont
814
814
  });
815
815
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
816
816
  const doc = (0, import_smithy_client.take)(data, {
817
- events: (_) => de_TransactionEventList(_, context),
817
+ events: /* @__PURE__ */ __name((_) => de_TransactionEventList(_, context), "events"),
818
818
  nextToken: import_smithy_client.expectString
819
819
  });
820
820
  Object.assign(contents, doc);
@@ -830,7 +830,7 @@ var de_ListTransactionsCommand = /* @__PURE__ */ __name(async (output, context)
830
830
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
831
831
  const doc = (0, import_smithy_client.take)(data, {
832
832
  nextToken: import_smithy_client.expectString,
833
- transactions: (_) => de_TransactionOutputList(_, context)
833
+ transactions: /* @__PURE__ */ __name((_) => de_TransactionOutputList(_, context), "transactions")
834
834
  });
835
835
  Object.assign(contents, doc);
836
836
  return contents;
@@ -964,14 +964,14 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
964
964
  }, "de_ValidationExceptionRes");
965
965
  var se_BatchGetTokenBalanceInputItem = /* @__PURE__ */ __name((input, context) => {
966
966
  return (0, import_smithy_client.take)(input, {
967
- atBlockchainInstant: (_) => se_BlockchainInstant(_, context),
967
+ atBlockchainInstant: /* @__PURE__ */ __name((_) => se_BlockchainInstant(_, context), "atBlockchainInstant"),
968
968
  ownerIdentifier: import_smithy_client._json,
969
969
  tokenIdentifier: import_smithy_client._json
970
970
  });
971
971
  }, "se_BatchGetTokenBalanceInputItem");
972
972
  var se_BlockchainInstant = /* @__PURE__ */ __name((input, context) => {
973
973
  return (0, import_smithy_client.take)(input, {
974
- time: (_) => _.getTime() / 1e3
974
+ time: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "time")
975
975
  });
976
976
  }, "se_BlockchainInstant");
977
977
  var se_GetTokenBalanceInputList = /* @__PURE__ */ __name((input, context) => {
@@ -981,13 +981,13 @@ var se_GetTokenBalanceInputList = /* @__PURE__ */ __name((input, context) => {
981
981
  }, "se_GetTokenBalanceInputList");
982
982
  var se_TimeFilter = /* @__PURE__ */ __name((input, context) => {
983
983
  return (0, import_smithy_client.take)(input, {
984
- from: (_) => se_BlockchainInstant(_, context),
985
- to: (_) => se_BlockchainInstant(_, context)
984
+ from: /* @__PURE__ */ __name((_) => se_BlockchainInstant(_, context), "from"),
985
+ to: /* @__PURE__ */ __name((_) => se_BlockchainInstant(_, context), "to")
986
986
  });
987
987
  }, "se_TimeFilter");
988
988
  var de_BatchGetTokenBalanceErrorItem = /* @__PURE__ */ __name((output, context) => {
989
989
  return (0, import_smithy_client.take)(output, {
990
- atBlockchainInstant: (_) => de_BlockchainInstant(_, context),
990
+ atBlockchainInstant: /* @__PURE__ */ __name((_) => de_BlockchainInstant(_, context), "atBlockchainInstant"),
991
991
  errorCode: import_smithy_client.expectString,
992
992
  errorMessage: import_smithy_client.expectString,
993
993
  errorType: import_smithy_client.expectString,
@@ -1003,9 +1003,9 @@ var de_BatchGetTokenBalanceErrors = /* @__PURE__ */ __name((output, context) =>
1003
1003
  }, "de_BatchGetTokenBalanceErrors");
1004
1004
  var de_BatchGetTokenBalanceOutputItem = /* @__PURE__ */ __name((output, context) => {
1005
1005
  return (0, import_smithy_client.take)(output, {
1006
- atBlockchainInstant: (_) => de_BlockchainInstant(_, context),
1006
+ atBlockchainInstant: /* @__PURE__ */ __name((_) => de_BlockchainInstant(_, context), "atBlockchainInstant"),
1007
1007
  balance: import_smithy_client.expectString,
1008
- lastUpdatedTime: (_) => de_BlockchainInstant(_, context),
1008
+ lastUpdatedTime: /* @__PURE__ */ __name((_) => de_BlockchainInstant(_, context), "lastUpdatedTime"),
1009
1009
  ownerIdentifier: import_smithy_client._json,
1010
1010
  tokenIdentifier: import_smithy_client._json
1011
1011
  });
@@ -1018,14 +1018,14 @@ var de_BatchGetTokenBalanceOutputList = /* @__PURE__ */ __name((output, context)
1018
1018
  }, "de_BatchGetTokenBalanceOutputList");
1019
1019
  var de_BlockchainInstant = /* @__PURE__ */ __name((output, context) => {
1020
1020
  return (0, import_smithy_client.take)(output, {
1021
- time: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
1021
+ time: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "time")
1022
1022
  });
1023
1023
  }, "de_BlockchainInstant");
1024
1024
  var de_TokenBalance = /* @__PURE__ */ __name((output, context) => {
1025
1025
  return (0, import_smithy_client.take)(output, {
1026
- atBlockchainInstant: (_) => de_BlockchainInstant(_, context),
1026
+ atBlockchainInstant: /* @__PURE__ */ __name((_) => de_BlockchainInstant(_, context), "atBlockchainInstant"),
1027
1027
  balance: import_smithy_client.expectString,
1028
- lastUpdatedTime: (_) => de_BlockchainInstant(_, context),
1028
+ lastUpdatedTime: /* @__PURE__ */ __name((_) => de_BlockchainInstant(_, context), "lastUpdatedTime"),
1029
1029
  ownerIdentifier: import_smithy_client._json,
1030
1030
  tokenIdentifier: import_smithy_client._json
1031
1031
  });
@@ -1057,12 +1057,12 @@ var de_Transaction = /* @__PURE__ */ __name((output, context) => {
1057
1057
  transactionHash: import_smithy_client.expectString,
1058
1058
  transactionId: import_smithy_client.expectString,
1059
1059
  transactionIndex: import_smithy_client.expectLong,
1060
- transactionTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
1060
+ transactionTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "transactionTimestamp")
1061
1061
  });
1062
1062
  }, "de_Transaction");
1063
1063
  var de_TransactionEvent = /* @__PURE__ */ __name((output, context) => {
1064
1064
  return (0, import_smithy_client.take)(output, {
1065
- blockchainInstant: (_) => de_BlockchainInstant(_, context),
1065
+ blockchainInstant: /* @__PURE__ */ __name((_) => de_BlockchainInstant(_, context), "blockchainInstant"),
1066
1066
  confirmationStatus: import_smithy_client.expectString,
1067
1067
  contractAddress: import_smithy_client.expectString,
1068
1068
  eventType: import_smithy_client.expectString,
@@ -1092,7 +1092,7 @@ var de_TransactionOutputItem = /* @__PURE__ */ __name((output, context) => {
1092
1092
  network: import_smithy_client.expectString,
1093
1093
  transactionHash: import_smithy_client.expectString,
1094
1094
  transactionId: import_smithy_client.expectString,
1095
- transactionTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
1095
+ transactionTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "transactionTimestamp")
1096
1096
  });
1097
1097
  }, "de_TransactionOutputItem");
1098
1098
  var de_TransactionOutputList = /* @__PURE__ */ __name((output, context) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-managedblockchain-query",
3
3
  "description": "AWS SDK for JavaScript Managedblockchain Query Client for Node.js, Browser and React Native",
4
- "version": "3.758.0",
4
+ "version": "3.774.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-managedblockchain-query",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
25
- "@aws-sdk/middleware-host-header": "3.734.0",
23
+ "@aws-sdk/core": "3.774.0",
24
+ "@aws-sdk/credential-provider-node": "3.774.0",
25
+ "@aws-sdk/middleware-host-header": "3.774.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
28
- "@aws-sdk/middleware-user-agent": "3.758.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
+ "@aws-sdk/middleware-user-agent": "3.774.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",
31
31
  "@aws-sdk/util-endpoints": "3.743.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.734.0",
33
- "@aws-sdk/util-user-agent-node": "3.758.0",
33
+ "@aws-sdk/util-user-agent-node": "3.774.0",
34
34
  "@smithy/config-resolver": "^4.0.1",
35
35
  "@smithy/core": "^3.1.5",
36
36
  "@smithy/fetch-http-handler": "^5.0.1",