Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

@vonage/redact

Package Overview
Dependencies
Maintainers
43
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vonage/redact - npm Package Compare versions

Comparing version
1.11.1
to
1.12.0
+18
-2
dist/lib/enums/index.js

@@ -1,3 +0,19 @@

export * from './product';
export * from './type';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./product"), exports);
__exportStar(require("./type"), exports);
//# sourceMappingURL=index.js.map
+1
-1

@@ -1,1 +0,1 @@

{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC"}
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,yCAAuB"}

@@ -0,5 +1,8 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ProductType = void 0;
/**
* Enum representing different product types for redaction requests.
*/
export var ProductType;
var ProductType;
(function (ProductType) {

@@ -26,3 +29,3 @@ /**

ProductType["VerifySDK"] = "VerifySDK";
})(ProductType || (ProductType = {}));
})(ProductType || (exports.ProductType = ProductType = {}));
//# sourceMappingURL=product.js.map

@@ -1,1 +0,1 @@

{"version":3,"file":"product.js","sourceRoot":"","sources":["../../../lib/enums/product.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,WAyBX;AAzBD,WAAY,WAAW;IACrB;;OAEG;IACH,0BAAW,CAAA;IAEX;;OAEG;IACH,8BAAe,CAAA;IAEf;;OAEG;IACH,8CAA+B,CAAA;IAE/B;;OAEG;IACH,gCAAiB,CAAA;IAEjB;;OAEG;IACH,sCAAuB,CAAA;AACzB,CAAC,EAzBW,WAAW,KAAX,WAAW,QAyBtB"}
{"version":3,"file":"product.js","sourceRoot":"","sources":["../../../lib/enums/product.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,WAyBX;AAzBD,WAAY,WAAW;IACrB;;OAEG;IACH,0BAAW,CAAA;IAEX;;OAEG;IACH,8BAAe,CAAA;IAEf;;OAEG;IACH,8CAA+B,CAAA;IAE/B;;OAEG;IACH,gCAAiB,CAAA;IAEjB;;OAEG;IACH,sCAAuB,CAAA;AACzB,CAAC,EAzBW,WAAW,2BAAX,WAAW,QAyBtB"}

@@ -0,5 +1,8 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Type = void 0;
/**
* Enum representing different message types for redaction requests.
*/
export var Type;
var Type;
(function (Type) {

@@ -14,3 +17,3 @@ /**

Type["OUTBOUND"] = "Outbound";
})(Type || (Type = {}));
})(Type || (exports.Type = Type = {}));
//# sourceMappingURL=type.js.map

@@ -1,1 +0,1 @@

{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../lib/enums/type.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,IAUX;AAVD,WAAY,IAAI;IACd;;OAEG;IACH,2BAAmB,CAAA;IAEnB;;OAEG;IACH,6BAAqB,CAAA;AACvB,CAAC,EAVW,IAAI,KAAJ,IAAI,QAUf"}
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../lib/enums/type.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,IAUX;AAVD,WAAY,IAAI;IACd;;OAEG;IACH,2BAAmB,CAAA;IAEnB;;OAEG;IACH,6BAAqB,CAAA;AACvB,CAAC,EAVW,IAAI,oBAAJ,IAAI,QAUf"}

@@ -1,5 +0,21 @@

export * from './enums';
export * from './interfaces';
export * from './types';
export * from './redact';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./enums"), exports);
__exportStar(require("./interfaces"), exports);
__exportStar(require("./types"), exports);
__exportStar(require("./redact"), exports);
//# sourceMappingURL=index.js.map

@@ -1,1 +0,1 @@

{"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC"}
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,+CAA6B;AAC7B,0CAAwB;AACxB,2CAAyB"}

@@ -1,3 +0,19 @@

export * from './request';
export * from './response';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./request"), exports);
__exportStar(require("./response"), exports);
//# sourceMappingURL=index.js.map

@@ -1,1 +0,1 @@

{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC"}
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,6CAA2B"}

@@ -1,2 +0,18 @@

export * from './transactionRequest';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./transactionRequest"), exports);
//# sourceMappingURL=index.js.map

@@ -1,1 +0,1 @@

{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/interfaces/request/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/interfaces/request/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC"}

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=transactionRequest.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=errorResponse.js.map

@@ -1,2 +0,18 @@

export * from './errorResponse';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./errorResponse"), exports);
//# sourceMappingURL=index.js.map

@@ -1,1 +0,1 @@

{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/interfaces/response/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/interfaces/response/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC"}

@@ -1,10 +0,13 @@

import { Client, AuthenticationType } from '@vonage/server-client';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Redact = void 0;
const server_client_1 = require("@vonage/server-client");
/**
* Represents a client for the Redact API that extends the Vonage Client.
*/
export class Redact extends Client {
class Redact extends server_client_1.Client {
/**
* The authentication type used for Redact API requests.
*/
authType = AuthenticationType.BASIC;
authType = server_client_1.AuthenticationType.BASIC;
/**

@@ -22,2 +25,3 @@ * Redacts a specific message using the provided parameters.

}
exports.Redact = Redact;
//# sourceMappingURL=redact.js.map

@@ -1,1 +0,1 @@

{"version":3,"file":"redact.js","sourceRoot":"","sources":["../../lib/redact.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAGnE;;GAEG;AACH,MAAM,OAAO,MAAO,SAAQ,MAAM;IAChC;;SAEK;IACK,QAAQ,GAAG,kBAAkB,CAAC,KAAK,CAAC;IAE9C;;;;;;;SAOK;IACE,KAAK,CAAC,aAAa,CAAC,MAAyB;QAClD,MAAM,IAAI,CAAC,eAAe,CACxB,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,wBAAwB,EAC9C,MAAM,CACP,CAAC;IACJ,CAAC;CACF"}
{"version":3,"file":"redact.js","sourceRoot":"","sources":["../../lib/redact.ts"],"names":[],"mappings":";;;AAAA,yDAAmE;AAGnE;;GAEG;AACH,MAAa,MAAO,SAAQ,sBAAM;IAChC;;SAEK;IACK,QAAQ,GAAG,kCAAkB,CAAC,KAAK,CAAC;IAE9C;;;;;;;SAOK;IACE,KAAK,CAAC,aAAa,CAAC,MAAyB;QAClD,MAAM,IAAI,CAAC,eAAe,CACxB,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,wBAAwB,EAC9C,MAAM,CACP,CAAC;IACJ,CAAC;CACF;AApBD,wBAoBC"}

@@ -1,2 +0,18 @@

export * from './transactionParams';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./transactionParams"), exports);
//# sourceMappingURL=index.js.map

@@ -1,1 +0,1 @@

{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC"}

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=transactionParams.js.map
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@vonage/redact",
"version": "1.11.1",
"version": "1.12.0",
"description": "Delete data from the Vonage platform.",

@@ -25,3 +25,2 @@ "homepage": "https://github.com/vonage/vonage-node-sdk/tree/main/packages/redact#readme",

],
"type": "module",
"main": "dist/lib/index.js",

@@ -43,3 +42,3 @@ "types": "dist/lib/index.d.ts",

"dependencies": {
"@vonage/server-client": "^1.12.1"
"@vonage/server-client": "^1.13.0"
},

@@ -46,0 +45,0 @@ "publishConfig": {

Sorry, the diff of this file is not supported yet