New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@saleor/app-sdk

Package Overview
Dependencies
Maintainers
0
Versions
259
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@saleor/app-sdk - npm Package Compare versions

Comparing version 0.0.0-pr-20240722110816 to 0.0.0-pr-20240722113404

chunk-EEOYNJY6.mjs

8

APL/index.js

@@ -7,3 +7,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }

var _chunkBNBVL44Ljs = require('../chunk-BNBVL44L.js');
var _chunkXYWEO7DCjs = require('../chunk-XYWEO7DC.js');
require('../chunk-DE4A7PET.js');

@@ -287,3 +287,3 @@

};
this.tracer = _chunkBNBVL44Ljs.getOtelTracer.call(void 0, );
this.tracer = _chunkXYWEO7DCjs.getOtelTracer.call(void 0, );
this.cacheManager = (_a = config == null ? void 0 : config.experimental) == null ? void 0 : _a.cacheManager;

@@ -326,3 +326,3 @@ this.pageLimit = _nullishCoalesce(config.pageLimit, () => ( 1e3));

saleorApiUrl,
[_semanticconventions.SemanticAttributes.PEER_SERVICE]: _chunkBNBVL44Ljs.OTEL_APL_SERVICE_NAME
[_semanticconventions.SemanticAttributes.PEER_SERVICE]: _chunkXYWEO7DCjs.OTEL_APL_SERVICE_NAME
},

@@ -415,3 +415,3 @@ kind: _api.SpanKind.CLIENT

appId: authData.appId,
[_semanticconventions.SemanticAttributes.PEER_SERVICE]: _chunkBNBVL44Ljs.OTEL_APL_SERVICE_NAME
[_semanticconventions.SemanticAttributes.PEER_SERVICE]: _chunkXYWEO7DCjs.OTEL_APL_SERVICE_NAME
},

@@ -418,0 +418,0 @@ kind: _api.SpanKind.CLIENT

@@ -7,3 +7,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }

var _chunkBNBVL44Ljs = require('../../chunk-BNBVL44L.js');
var _chunkXYWEO7DCjs = require('../../chunk-XYWEO7DC.js');
require('../../chunk-DE4A7PET.js');

@@ -18,3 +18,3 @@

this.debug = _chunk3OYW6U6Kjs.createAPLDebug.call(void 0, "VercelKvApl");
this.tracer = _chunkBNBVL44Ljs.getOtelTracer.call(void 0, );
this.tracer = _chunkXYWEO7DCjs.getOtelTracer.call(void 0, );
this.hashCollectionKey = process.env.KV_STORAGE_NAMESPACE;

@@ -33,3 +33,3 @@ if (!this.envVariablesRequiredByKvExist()) {

saleorApiUrl,
[_semanticconventions.SemanticAttributes.PEER_SERVICE]: _chunkBNBVL44Ljs.OTEL_APL_SERVICE_NAME
[_semanticconventions.SemanticAttributes.PEER_SERVICE]: _chunkXYWEO7DCjs.OTEL_APL_SERVICE_NAME
},

@@ -71,3 +71,3 @@ kind: _api.SpanKind.CLIENT

appId: authData.appId,
[_semanticconventions.SemanticAttributes.PEER_SERVICE]: _chunkBNBVL44Ljs.OTEL_APL_SERVICE_NAME
[_semanticconventions.SemanticAttributes.PEER_SERVICE]: _chunkXYWEO7DCjs.OTEL_APL_SERVICE_NAME
},

@@ -104,3 +104,3 @@ kind: _api.SpanKind.CLIENT

saleorApiUrl,
[_semanticconventions.SemanticAttributes.PEER_SERVICE]: _chunkBNBVL44Ljs.OTEL_APL_SERVICE_NAME
[_semanticconventions.SemanticAttributes.PEER_SERVICE]: _chunkXYWEO7DCjs.OTEL_APL_SERVICE_NAME
},

@@ -107,0 +107,0 @@ kind: _api.SpanKind.CLIENT

@@ -10,3 +10,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }

var _chunkQTP5U4FOjs = require('../../chunk-QTP5U4FO.js');
var _chunkMGT7I4ZAjs = require('../../chunk-MGT7I4ZA.js');

@@ -25,3 +25,3 @@

var _chunkCXJ7Q35Ujs = require('../../chunk-CXJ7Q35U.js');
var _chunkPJPRQ7CGjs = require('../../chunk-PJPRQ7CG.js');

@@ -33,3 +33,3 @@

var _chunkBNBVL44Ljs = require('../../chunk-BNBVL44L.js');
var _chunkXYWEO7DCjs = require('../../chunk-XYWEO7DC.js');

@@ -48,3 +48,3 @@

var fetchRemoteJwks = async (saleorApiUrl) => {
const tracer = _chunkBNBVL44Ljs.getOtelTracer.call(void 0, );
const tracer = _chunkXYWEO7DCjs.getOtelTracer.call(void 0, );
return tracer.startActiveSpan(

@@ -54,3 +54,3 @@ "fetchRemoteJwks",

kind: _api.SpanKind.CLIENT,
attributes: { saleorApiUrl, [_semanticconventions.SemanticAttributes.PEER_SERVICE]: _chunkBNBVL44Ljs.OTEL_CORE_SERVICE_NAME }
attributes: { saleorApiUrl, [_semanticconventions.SemanticAttributes.PEER_SERVICE]: _chunkXYWEO7DCjs.OTEL_CORE_SERVICE_NAME }
},

@@ -297,4 +297,4 @@ async (span) => {

_middleware.withMethod.call(void 0, "POST"),
_chunkQTP5U4FOjs.withSaleorDomainPresent,
_chunkQTP5U4FOjs.withAuthTokenRequired,
_chunkMGT7I4ZAjs.withSaleorDomainPresent,
_chunkMGT7I4ZAjs.withAuthTokenRequired,
baseHandler

@@ -344,3 +344,3 @@ ]);

}) => {
const tracer = _chunkBNBVL44Ljs.getOtelTracer.call(void 0, );
const tracer = _chunkXYWEO7DCjs.getOtelTracer.call(void 0, );
return tracer.startActiveSpan(

@@ -474,3 +474,3 @@ "processSaleorProtectedHandler",

}) => {
const tracer = _chunkBNBVL44Ljs.getOtelTracer.call(void 0, );
const tracer = _chunkXYWEO7DCjs.getOtelTracer.call(void 0, );
return tracer.startActiveSpan(

@@ -551,3 +551,3 @@ "processSaleorWebhook",

}
await _chunkCXJ7Q35Ujs.verifySignatureWithJwks.call(void 0, authData.jwks, signature, rawBody);
await _chunkPJPRQ7CGjs.verifySignatureWithJwks.call(void 0, authData.jwks, signature, rawBody);
} catch (e4) {

@@ -562,3 +562,3 @@ debug6("Request signature check failed. Refresh the JWKS cache and check again");

debug6("Second attempt to validate the signature JWKS, using fresh tokens from the API");
await _chunkCXJ7Q35Ujs.verifySignatureWithJwks.call(void 0, newJwks, signature, rawBody);
await _chunkPJPRQ7CGjs.verifySignatureWithJwks.call(void 0, newJwks, signature, rawBody);
debug6("Verification successful - update JWKS in the AuthData");

@@ -565,0 +565,0 @@ await apl.set({ ...authData, jwks: newJwks });

@@ -12,6 +12,6 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true});

var _chunkQTP5U4FOjs = require('../chunk-QTP5U4FO.js');
var _chunkMGT7I4ZAjs = require('../chunk-MGT7I4ZA.js');
require('../chunk-7UF5OJ24.js');
require('../chunk-4IYERWR4.js');
require('../chunk-CXJ7Q35U.js');
require('../chunk-PJPRQ7CG.js');
require('../chunk-U3EWW7Z7.js');

@@ -30,2 +30,2 @@ require('../chunk-DE4A7PET.js');

exports.getSaleorAppFromRequest = _chunkQTP5U4FOjs.getSaleorAppFromRequest; exports.withAuthTokenRequired = _chunkQTP5U4FOjs.withAuthTokenRequired; exports.withBaseURL = _chunkQTP5U4FOjs.withBaseURL; exports.withJWTVerified = _chunkQTP5U4FOjs.withJWTVerified; exports.withRegisteredSaleorDomainHeader = _chunkQTP5U4FOjs.withRegisteredSaleorDomainHeader; exports.withReqResDebugging = _chunkQTP5U4FOjs.withReqResDebugging; exports.withSaleorApp = _chunkQTP5U4FOjs.withSaleorApp; exports.withSaleorDomainPresent = _chunkQTP5U4FOjs.withSaleorDomainPresent; exports.withSaleorEventMatch = _chunkQTP5U4FOjs.withSaleorEventMatch; exports.withWebhookSignatureVerified = _chunkQTP5U4FOjs.withWebhookSignatureVerified;
exports.getSaleorAppFromRequest = _chunkMGT7I4ZAjs.getSaleorAppFromRequest; exports.withAuthTokenRequired = _chunkMGT7I4ZAjs.withAuthTokenRequired; exports.withBaseURL = _chunkMGT7I4ZAjs.withBaseURL; exports.withJWTVerified = _chunkMGT7I4ZAjs.withJWTVerified; exports.withRegisteredSaleorDomainHeader = _chunkMGT7I4ZAjs.withRegisteredSaleorDomainHeader; exports.withReqResDebugging = _chunkMGT7I4ZAjs.withReqResDebugging; exports.withSaleorApp = _chunkMGT7I4ZAjs.withSaleorApp; exports.withSaleorDomainPresent = _chunkMGT7I4ZAjs.withSaleorDomainPresent; exports.withSaleorEventMatch = _chunkMGT7I4ZAjs.withSaleorEventMatch; exports.withWebhookSignatureVerified = _chunkMGT7I4ZAjs.withWebhookSignatureVerified;
{
"name": "@saleor/app-sdk",
"version": "0.0.0-pr-20240722110816",
"version": "0.0.0-pr-20240722113404",
"description": "SDK for building great Saleor Apps",

@@ -5,0 +5,0 @@ "author": "",

"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkCXJ7Q35Ujs = require('./chunk-CXJ7Q35U.js');
var _chunkPJPRQ7CGjs = require('./chunk-PJPRQ7CG.js');
require('./chunk-U3EWW7Z7.js');

@@ -10,2 +10,2 @@ require('./chunk-DE4A7PET.js');

exports.verifySignatureFromApiUrl = _chunkCXJ7Q35Ujs.verifySignatureFromApiUrl; exports.verifySignatureWithJwks = _chunkCXJ7Q35Ujs.verifySignatureWithJwks;
exports.verifySignatureFromApiUrl = _chunkPJPRQ7CGjs.verifySignatureFromApiUrl; exports.verifySignatureWithJwks = _chunkPJPRQ7CGjs.verifySignatureWithJwks;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc