Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@microsoft/ocsdk

Package Overview
Dependencies
Maintainers
5
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/ocsdk - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4-main.097f56a

lib/Utils/endpointsCreators.d.ts

6

CHANGELOG.md
# Changelog
All notable changes to this project will be documented in this file.
## [Unreleased]
### Added
- `livechatconnector/v3/getchattoken` endpoint
- `livechatconnector/v3/auth/getchattoken` endpoint
- Stop retry when the error is related to out of office hours.
## [0.3.3] - 2023-01-09

@@ -5,0 +11,0 @@ ### Fix

2

lib/Common/Constants.d.ts

@@ -15,2 +15,4 @@ import { ChannelId } from "./Enums";

static readonly tooManyRequestsStatusCode = 429;
static readonly badRequestStatusCode = 400;
static readonly outOfOfficeErrorCode = 705;
static readonly sensitiveProperties: string[];

@@ -17,0 +19,0 @@ static readonly transactionid = "transaction-id";

4

lib/Common/Constants.js

@@ -33,2 +33,4 @@ "use strict";

(0, _defineProperty2["default"])(Constants, "tooManyRequestsStatusCode", 429);
(0, _defineProperty2["default"])(Constants, "badRequestStatusCode", 400);
(0, _defineProperty2["default"])(Constants, "outOfOfficeErrorCode", 705);
(0, _defineProperty2["default"])(Constants, "sensitiveProperties", ["AuthenticatedUserToken"]);

@@ -39,2 +41,2 @@ (0, _defineProperty2["default"])(Constants, "transactionid", "transaction-id");

(0, _defineProperty2["default"])(Constants, "axiosTimeoutErrorCode", "ECONNABORTED");
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9Db21tb24vQ29uc3RhbnRzLnRzIl0sIm5hbWVzIjpbIkNvbnN0YW50cyIsIkNoYW5uZWxJZCIsIkxDVyJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7OztBQUFBOztJQUVxQkEsUzs7Oz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= 3
}

@@ -89,0 +90,0 @@ export declare enum SDKError {

@@ -120,2 +120,3 @@ "use strict";

LiveChatVersion[LiveChatVersion["V2"] = 2] = "V2";
LiveChatVersion[LiveChatVersion["V3"] = 3] = "V3";
})(LiveChatVersion || (exports.LiveChatVersion = LiveChatVersion = {}));

@@ -130,2 +131,2 @@

})(SDKError || (exports.SDKError = SDKError = {}));
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9Db21tb24vRW51bXMudHMiXSwibmFtZXMiOlsiQnJvd3NlclZlbmRvciIsIkJyb3dzZXIiLCJEZXZpY2VUeXBlIiwiT3BlcmF0aW5nU3lzdGVtIiwiQ2hhbm5lbElkIiwiT0NTREtUZWxlbWV0cnlFdmVudCIsIkxpdmVDaGF0VmVyc2lvbiIsIlNES0Vycm9yIl0sIm1hcHBpbmdzIjoiOzs7Ozs7SUFBWUEsYTs7O1dBQUFBLGE7QUFBQUEsRUFBQUEsYTtBQUFBQSxFQUFBQSxhO0FBQUFBLEVBQUFBLGE7QUFBQUEsRUFBQUEsYTtBQUFBQSxFQUFBQSxhO0FBQUFBLEVBQUFBLGE7QUFBQUEsRUFBQUEsYTtBQUFBQSxFQUFBQSxhO0dBQUFBLGEsNkJBQUFBLGE7O0lBV0FDLE87OztXQUFBQSxPO0FBQUFBLEVBQUFBLE8sQ0FBQUEsTztBQUFBQSxFQUFBQSxPLENBQUFBLE87QUFBQUEsRUFBQUEsTyxDQUFBQSxPO0FBQUFBLEVBQUFBLE8sQ0FBQUEsTztBQUFBQSxFQUFBQSxPLENBQUFBLE87QUFBQUEsRUFBQUEsTyxDQUFBQSxPO0dBQUFBLE8sdUJBQUFBLE87O0lBU0FDLFU7OztXQUFBQSxVO0FBQUFBLEVBQUFBLFU7QUFBQUEsRUFBQUEsVTtBQUFBQSxFQUFBQSxVO0dBQUFBLFUsMEJBQUFBLFU7O0lBTUFDLGU7OztXQUFBQSxl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VUQUdFTlRBVkFJTEFCSUxJVFlGQUlMRUQgPSBcIkdldEFnZW50QXZhaWxhYmlsaXR5RmFpbGVkXCIsXG4gIFNFTkRUWVBJTkdJTkRJQ0FUT1JGQUlMRUQgPSBcIlNlbmRUeXBpbmdJbmRpY2F0b3JGYWlsZWRcIixcbiAgU0VORFRZUElOR0lORElDQVRPUlNVQ0NFRURFRCA9IFwiU2VuZFR5cGluZ0luZGljYXRvclN1Y2NlZWRlZFwiXG59XG5cbmV4cG9ydCBlbnVtIExpdmVDaGF0VmVyc2lvbiB7XG4gIC8vIElDMyBsaXZlIGNoYXRcbiAgVjEgPSAxLFxuXG4gIC8vIEFDUyBsaXZlIGNoYXRcbiAgVjIgPSAyLFxuXG4gIFYzID0gM1xufVxuXG5leHBvcnQgZW51bSBTREtFcnJvciB7XG4gIENsaWVudEhUVFBUaW1lb3V0RXJyb3JOYW1lID0gXCJDbGllbnRIVFRQVGltZW91dEVycm9yXCIsXG4gIENsaWVudEhUVFBUaW1lb3V0RXJyb3JNZXNzYWdlID0gXCJTZXJ2ZXIgdG9vayB0b28gbG9uZyB0byByZXNwb25kXCJcbn1cbiJdfQ==

@@ -7,4 +7,6 @@ export default class OmnichannelEndpoints {

static readonly LiveChatv2GetChatTokenPath = "livechatconnector/v2/getchattoken";
static readonly LiveChatv3GetChatTokenPath = "livechatconnector/v3/getchattoken";
static readonly LiveChatAuthGetChatTokenPath = "livechatconnector/auth/getchattoken";
static readonly LiveChatv2AuthGetChatTokenPath = "livechatconnector/v2/auth/getchattoken";
static readonly LiveChatv3AuthGetChatTokenPath = "livechatconnector/v3/auth/getchattoken";
static readonly LiveChatSessionClosePath = "livechatconnector/sessionclose";

@@ -11,0 +13,0 @@ static readonly LiveChatAuthSessionClosePath = "livechatconnector/auth/sessionclose";

@@ -24,4 +24,6 @@ "use strict";

(0, _defineProperty2["default"])(OmnichannelEndpoints, "LiveChatv2GetChatTokenPath", "livechatconnector/v2/getchattoken");
(0, _defineProperty2["default"])(OmnichannelEndpoints, "LiveChatv3GetChatTokenPath", "livechatconnector/v3/getchattoken");
(0, _defineProperty2["default"])(OmnichannelEndpoints, "LiveChatAuthGetChatTokenPath", "livechatconnector/auth/getchattoken");
(0, _defineProperty2["default"])(OmnichannelEndpoints, "LiveChatv2AuthGetChatTokenPath", "livechatconnector/v2/auth/getchattoken");
(0, _defineProperty2["default"])(OmnichannelEndpoints, "LiveChatv3AuthGetChatTokenPath", "livechatconnector/v3/auth/getchattoken");
(0, _defineProperty2["default"])(OmnichannelEndpoints, "LiveChatSessionClosePath", "livechatconnector/sessionclose");

@@ -49,2 +51,2 @@ (0, _defineProperty2["default"])(OmnichannelEndpoints, "LiveChatAuthSessionClosePath", "livechatconnector/auth/sessionclose");

(0, _defineProperty2["default"])(OmnichannelEndpoints, "SendTypingIndicatorPath", "inbound/typingindicator/livechat/sendtypingindicator");
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9Db21tb24vT21uaWNoYW5uZWxFbmRwb2ludHMudHMiXSwibmFtZXMiOlsiT21uaWNoYW5uZWxFbmRwb2ludHMiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7SUFBcUJBLG9COzs7OztpQ0FBQUEsb0Isd0JBQ3lCLDBCO2lDQUR6QkEsb0IsNkJBRThCLCtCO2lDQUY5QkEsb0IsaUNBR2tDLG9DO2lDQUhsQ0Esb0IsOEJBSStCLGdDO2lDQUovQkEsb0IsZ0NBS2lDLG1DO2lDQUxqQ0Esb0Isa0NBTW1DLHFDO2lDQU5uQ0Esb0Isb0NBT3FDLHdDO2lDQVByQ0Esb0IsOEJBUStCLGdDO2lDQVIvQkEsb0Isa0NBU21DLHFDO2lDQVRuQ0Esb0IsZ0NBVWlDLHVCO2lDQVZqQ0Esb0Isb0NBV3FDLDRCO2lDQVhyQ0Esb0IscUNBWXNDLG1DO2lDQVp0Q0Esb0IseUNBYTBDLHdDO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YmlsaXR5UGF0aCA9IFwibGl2ZWNoYXRjb25uZWN0b3IvcmVjb25uZWN0XCI7XG4gIHB1YmxpYyBzdGF0aWMgcmVhZG9ubHkgTGl2ZUNoYXRWYWxpZGF0ZUF1dGhDaGF0TWFwUmVjb3JkUGF0aCA9IFwibGl2ZWNoYXRjb25uZWN0b3IvYXV0aC92YWxpZGF0ZWF1dGhjaGF0bWFwcmVjb3JkXCI7XG4gIHB1YmxpYyBzdGF0aWMgcmVhZG9ubHkgR2V0QWdlbnRBdmFpbGFiaWxpdHlQYXRoID0gXCJsaXZlY2hhdGNvbm5lY3Rvci9hdXRoL2dldGFnZW50YXZhaWxhYmlsaXR5XCJcbiAgcHVibGljIHN0YXRpYyByZWFkb25seSBTZW5kVHlwaW5nSW5kaWNhdG9yUGF0aCA9IFwiaW5ib3VuZC90eXBpbmdpbmRpY2F0b3IvbGl2ZWNoYXQvc2VuZHR5cGluZ2luZGljYXRvclwiO1xufVxuIl19

@@ -10,2 +10,7 @@ export default interface IAxiosRetryOptions {

retryOn429?: boolean | true;
/**
*
* Function to handle logic and evaluate if retry should continue based on response results.
*/
shouldRetry?(response?: any, axiosRetryOptions?: IAxiosRetryOptions): boolean;
}

@@ -33,4 +33,15 @@ "use strict";

var onSuccess = undefined; // Method to intercepts responses outside range of 2xx
var onSuccess = undefined; // define default behaviour for 429 retries in case the handler was not included by the caller.
if (!axiosRetryOptions.shouldRetry) {
axiosRetryOptions.shouldRetry = function (response) {
if (response && response.status && response.status === _Constants["default"].tooManyRequestsStatusCode && axiosRetryOptions.retryOn429 === false) {
return false;
}
return true;
};
} // Method to intercepts responses outside range of 2xx
var onError = function onError(error) {

@@ -42,6 +53,6 @@ var config = error.config,

return Promise.reject(error);
} // Stop retry on 429 if set
} // Evaluates if execution should stop according to the conditions defined in the handler
if (response && response.status === _Constants["default"].tooManyRequestsStatusCode && axiosRetryOptions.retryOn429 === false) {
if (axiosRetryOptions.shouldRetry && !axiosRetryOptions.shouldRetry(response)) {
return Promise.reject(error);

@@ -70,2 +81,2 @@ } // Retry request if below threshold

exports["default"] = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9VdGlscy9heGlvc1JldHJ5LnRzIl0sIm5hbWVzIjpbImF4aW9zUmV0cnkiLCJheGlvcyIsImF4aW9zUmV0cnlPcHRpb25zIiwicmV0cnlJbnRlcnZhbCIsInJldHJ5T240MjkiLCJ1bmRlZmluZWQiLCJyZXRyaWVzIiwiY3VycmVudFRyeSIsIm9uU3VjY2VzcyIsIm9uRXJyb3IiLCJlcnJvciIsImNvbmZpZyIsInJlc3BvbnNlIiwiUHJvbWlzZSIsInJlamVjdCIsInN0YXR1cyIsIkNvbnN0YW50cyIsInRvb01hbnlSZXF1ZXN0c1N0YXR1c0NvZGUiLCJzaG91bGRSZXRyeSIsInJlc29sdmUiLCJ0aGVuIiwiaW50ZXJjZXB0b3JzIiwidXNlIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7QUFDQTs7QUFFQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxJQUFNQSxVQUFVLEdBQUcsU0FBYkEsVUFBYSxDQUFDQyxLQUFELEVBQXVCQyxpQkFBdkIsRUFBaUU7QUFBRTtBQUNwRixNQUFNQyxhQUFhLEdBQUcsSUFBdEIsQ0FEa0YsQ0FDdEQ7QUFFNUI7O0FBQ0EsTUFBSUQsaUJBQWlCLENBQUNFLFVBQWxCLEtBQWlDQyxTQUFqQyxJQUE4Q0gsaUJBQWlCLENBQUNFLFVBQWxCLEtBQWlDLElBQW5GLEVBQXlGO0FBQ3ZGRixJQUFBQSxpQkFBaUIsQ0FBQ0UsVUFBbEIsR0FBK0IsSUFBL0I7QUFDRDs7QUFFRCxNQUFRRSxPQUFSLEdBQW9CSixpQkFBcEIsQ0FBUUksT0FBUjtBQUVBLE1BQUlDLFVBQVUsR0FBRyxDQU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ZXRyeVxuICAgIGlmICghY29uZmlnKSB7XG4gICAgICByZXR1cm4gUHJvbWlzZS5yZWplY3QoZXJyb3IpO1xuICAgIH1cblxuICAgIC8vIEV2YWx1YXRlcyBpZiBleGVjdXRpb24gc2hvdWxkIHN0b3AgYWNjb3JkaW5nIHRvIHRoZSBjb25kaXRpb25zIGRlZmluZWQgaW4gdGhlIGhhbmRsZXJcbiAgICBpZiAoYXhpb3NSZXRyeU9wdGlvbnMuc2hvdWxkUmV0cnkgJiYgIWF4aW9zUmV0cnlPcHRpb25zLnNob3VsZFJldHJ5KHJlc3BvbnNlKSkge1xuICAgICAgcmV0dXJuIFByb21pc2UucmVqZWN0KGVycm9yKTtcbiAgICB9XG4gICAgLy8gUmV0cnkgcmVxdWVzdCBpZiBiZWxvdyB0aHJlc2hvbGRcbiAgICBjb25zdCBzaG91bGRSZXRyeSA9IGN1cnJlbnRUcnkgPCByZXRyaWVzO1xuXG4gICAgaWYgKHNob3VsZFJldHJ5KSB7XG4gICAgICBjdXJyZW50VHJ5Kys7XG4gICAgICByZXR1cm4gbmV3IFByb21pc2UoKHJlc29sdmUpID0+IHNsZWVwKHJldHJ5SW50ZXJ2YWwgYXMgbnVtYmVyIHwgMTAwMCkudGhlbigoKSA9PiByZXNvbHZlKGF4aW9zKGNvbmZpZykpKSk7XG4gICAgfVxuICAgIHJldHVybiBQcm9taXNlLnJlamVjdChlcnJvcik7XG4gIH07XG5cbiAgYXhpb3MuaW50ZXJjZXB0b3JzLnJlc3BvbnNlLnVzZShvblN1Y2Nlc3MsIG9uRXJyb3IpOyAvLyBJbnRlcmNlcHQgcmVzcG9uc2UgYmVmb3JlIHJldHVybmluZ1xufTtcbmV4cG9ydCBkZWZhdWx0IGF4aW9zUmV0cnk7Il19

@@ -26,12 +26,14 @@ "use strict";

value: function stripCustomContextDataValues(customContextData) {
var _Object$keys;
// eslint-disable-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
(_Object$keys = Object.keys(customContextData)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.forEach(function (contextKey) {
var _customContextData$;
if (customContextData) {
var _Object$keys;
if ((_customContextData$ = customContextData["".concat(contextKey)]) !== null && _customContextData$ !== void 0 && _customContextData$.value) {
customContextData["".concat(contextKey)].value = _Constants["default"].hiddenContentPlaceholder;
}
});
(_Object$keys = Object.keys(customContextData)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.forEach(function (contextKey) {
var _customContextData$;
if ((_customContextData$ = customContextData["".concat(contextKey)]) !== null && _customContextData$ !== void 0 && _customContextData$.value) {
customContextData["".concat(contextKey)].value = _Constants["default"].hiddenContentPlaceholder;
}
});
}
}

@@ -42,7 +44,9 @@ }, {

// eslint-disable-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
Object.keys(preChatResponse).forEach(function (responseKey) {
if (preChatResponse["".concat(responseKey)] && responseKey !== 'Type') {
preChatResponse["".concat(responseKey)] = _Constants["default"].hiddenContentPlaceholder;
}
});
if (preChatResponse) {
Object.keys(preChatResponse).forEach(function (responseKey) {
if (preChatResponse["".concat(responseKey)] && responseKey !== 'Type') {
preChatResponse["".concat(responseKey)] = _Constants["default"].hiddenContentPlaceholder;
}
});
}
}

@@ -53,8 +57,10 @@ }, {

// eslint-disable-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
if (Object.keys(data).includes('longitude')) {
data['longitude'] = _Constants["default"].hiddenContentPlaceholder;
}
if (data) {
if (Object.keys(data).includes('longitude')) {
data['longitude'] = _Constants["default"].hiddenContentPlaceholder;
}
if (Object.keys(data).includes('latitude')) {
data['latitude'] = _Constants["default"].hiddenContentPlaceholder;
if (Object.keys(data).includes('latitude')) {
data['latitude'] = _Constants["default"].hiddenContentPlaceholder;
}
}

@@ -118,2 +124,2 @@ }

exports.LoggingSanitizer = LoggingSanitizer;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3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ICAgICAgICAgIGlmIChrZXkgPT09ICdkYXRhJykge1xuICAgICAgICAgICAgbGV0IGRhdGE7XG4gICAgICAgICAgICBpZiAodHlwZW9mIGVycm9yT2JqZWN0W2tleV0gPT09ICdzdHJpbmcnKSB7IC8vIGVzbGludC1kaXNhYmxlLWxpbmUgc2VjdXJpdHkvZGV0ZWN0LW9iamVjdC1pbmplY3Rpb25cbiAgICAgICAgICAgICAgdHJ5IHtcbiAgICAgICAgICAgICAgICBkYXRhID0gSlNPTi5wYXJzZShlcnJvck9iamVjdFtrZXldKTsgLy8gZXNsaW50LWRpc2FibGUtbGluZSBzZWN1cml0eS9kZXRlY3Qtb2JqZWN0LWluamVjdGlvblxuICAgICAgICAgICAgICB9IGNhdGNoIHtcbiAgICAgICAgICAgICAgICBkYXRhID0gdW5kZWZpbmVkO1xuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGlmIChkYXRhKSB7XG4gICAgICAgICAgICAgIGlmIChPYmplY3Qua2V5cyhkYXRhKS5pbmNsdWRlcygncHJlQ2hhdFJlc3BvbnNlJykpIHtcbiAgICAgICAgICAgICAgICBMb2dnaW5nU2FuaXRpemVyLnN0cmlwUHJlQ2hhdFJlc3BvbnNlKGRhdGEucHJlQ2hhdFJlc3BvbnNlKTtcbiAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgIGlmIChPYmplY3Qua2V5cyhkYXRhKS5pbmNsdWRlcygnY3VzdG9tQ29udGV4dERhdGEnKSkge1xuICAgICAgICAgICAgICAgIExvZ2dpbmdTYW5pdGl6ZXIuc3RyaXBDdXN0b21Db250ZXh0RGF0YVZhbHVlcyhkYXRhLmN1c3RvbUNvbnRleHREYXRhKTtcbiAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgIExvZ2dpbmdTYW5pdGl6ZXIuc3RyaXBHZW9sb2NhdGlvbihkYXRhKTtcbiAgICAgICAgICAgICAgZXJyb3JPYmplY3Rba2V5XSA9IEpTT04uc3RyaW5naWZ5KGRhdGEpOyAvLyBlc2xpbnQtZGlzYWJsZS1saW5lIHNlY3VyaXR5L2RldGVjdC1vYmplY3QtaW5qZWN0aW9uXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgaWYgKGVycm9yT2JqZWN0W2Ake2tleX1gXSAhPT0gbnVsbCAmJiB0eXBlb2YgZXJyb3JPYmplY3RbYCR7a2V5fWBdID09PSAnb2JqZWN0Jykge1xuICAgICAgICAgICAgLy8gY2hlY2sgc2Vuc2l0aXZlIHByb3BlcnRpZXMgaW4gbmVzdGVkIGVycm9yIG9iamVjdFxuICAgICAgICAgICAgdGhpcy5zdHJpcEVycm9yU2Vuc2l0aXZlUHJvcGVydGllcyhlcnJvck9iamVjdFtgJHtrZXl9YF0pO1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgIH1cbiAgICAgIH0pO1xuICAgIH1cbiAgfVxufSJdfQ==
{
"name": "@microsoft/ocsdk",
"version": "0.3.3",
"version": "0.3.4-main.097f56a",
"description": "Microsoft Omnichannel SDK",

@@ -5,0 +5,0 @@ "files": [

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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 too big to display

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