@ecodev/natural 68.0.4 → 68.1.1

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.
@@ -11512,6 +11512,7 @@ const naturalProviders = [
11512
11512
  const cannotSignAGraphQLQueryThatIsUsingFormDataButThatIsMissingTheKeyOperations = atob('Q2Fubm90IHNpZ24gYSBHcmFwaFFMIHF1ZXJ5IHRoYXQgaXMgdXNpbmcgRm9ybURhdGEgYnV0IHRoYXQgaXMgbWlzc2luZyB0aGUga2V5IGBvcGVyYXRpb25zYA==');
11513
11513
  const graphqlQuerySignerRequiresANonEmptyKeyConfigureItInLocalPphpUnderSignedQueries = atob('Z3JhcGhxbFF1ZXJ5U2lnbmVyIHJlcXVpcmVzIGEgbm9uLWVtcHR5IGtleS4gQ29uZmlndXJlIGl0IGluIGxvY2FsLnBocCB1bmRlciBzaWduZWRRdWVyaWVzLg==');
11514
11514
  const xSignature = atob('WC1TaWduYXR1cmU=');
11515
+ const v1 = atob('djE=');
11515
11516
  function getOperations(req) {
11516
11517
  if (req.body instanceof FormData) {
11517
11518
  const operations = req.body.get('operations');
@@ -11556,7 +11557,7 @@ function graphqlQuerySigner(key) {
11556
11557
  hash: await hmacSha256(key, data.payload),
11557
11558
  };
11558
11559
  }), switchMap(data => {
11559
- const header = `v1.${data.timestamp}.${data.hash}`;
11560
+ const header = `${v1}.${data.timestamp}.${data.hash}`;
11560
11561
  const signedRequest = req.clone({
11561
11562
  headers: req.headers.set(xSignature, header),
11562
11563
  });