Skip to content
Snippets Groups Projects
Commit 76f2d38b authored by Alexey Lunin's avatar Alexey Lunin
Browse files

remove not used packages in native

parent df3d2254
No related tags found
No related merge requests found
...@@ -9,4 +9,3 @@ export { default as QrCodeDataService } from "./services/QrCodeDataService"; ...@@ -9,4 +9,3 @@ export { default as QrCodeDataService } from "./services/QrCodeDataService";
export { default as IPFSService } from "./services/IPFSService"; export { default as IPFSService } from "./services/IPFSService";
export { default as CryptoService } from "./services/CryptoService"; export { default as CryptoService } from "./services/CryptoService";
export { default as VerificationError } from "./services/VerificationService/VerificationError"; export { default as VerificationError } from "./services/VerificationService/VerificationError";
export { default as QrCodeTemplate } from "./utils/qrCodeTemplateUtils";
...@@ -13,7 +13,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { ...@@ -13,7 +13,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod }; return (mod && mod.__esModule) ? mod : { "default": mod };
}; };
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.QrCodeTemplate = exports.VerificationError = exports.CryptoService = exports.IPFSService = exports.QrCodeDataService = exports.CommonUtils = exports.StatusesService = exports.VerificationService = exports.CloudflareService = exports.getMerkleTreeRootHash = void 0; exports.VerificationError = exports.CryptoService = exports.IPFSService = exports.QrCodeDataService = exports.CommonUtils = exports.StatusesService = exports.VerificationService = exports.CloudflareService = exports.getMerkleTreeRootHash = void 0;
__exportStar(require("./types"), exports); __exportStar(require("./types"), exports);
__exportStar(require("./utils/common"), exports); __exportStar(require("./utils/common"), exports);
var getMerkleTreeRootHash_1 = require("./utils/getMerkleTreeRootHash"); var getMerkleTreeRootHash_1 = require("./utils/getMerkleTreeRootHash");
...@@ -34,5 +34,3 @@ var CryptoService_1 = require("./services/CryptoService"); ...@@ -34,5 +34,3 @@ var CryptoService_1 = require("./services/CryptoService");
Object.defineProperty(exports, "CryptoService", { enumerable: true, get: function () { return __importDefault(CryptoService_1).default; } }); Object.defineProperty(exports, "CryptoService", { enumerable: true, get: function () { return __importDefault(CryptoService_1).default; } });
var VerificationError_1 = require("./services/VerificationService/VerificationError"); var VerificationError_1 = require("./services/VerificationService/VerificationError");
Object.defineProperty(exports, "VerificationError", { enumerable: true, get: function () { return __importDefault(VerificationError_1).default; } }); Object.defineProperty(exports, "VerificationError", { enumerable: true, get: function () { return __importDefault(VerificationError_1).default; } });
var qrCodeTemplateUtils_1 = require("./utils/qrCodeTemplateUtils");
Object.defineProperty(exports, "QrCodeTemplate", { enumerable: true, get: function () { return __importDefault(qrCodeTemplateUtils_1).default; } });
import { Buffer } from 'buffer'; import { Buffer } from "buffer";
declare const getMerkleTreeRootHash: (leaves: Buffer[]) => Promise<Buffer>; declare const getMerkleTreeRootHash: (leaves: Buffer[]) => Promise<Buffer>;
export default getMerkleTreeRootHash; export default getMerkleTreeRootHash;
interface TemplateOptions {
src: string;
placeholderSize: number;
}
/**
* https://www.qrcode.com/en/about/error_correction.html#:~:text=QR%20Code%20has%20error%20correction,of%20data%20QR%20Code%20size.
*/
declare type CorrectionLevels = "L" | "M" | "Q" | "H";
interface QrCodeOptions {
width?: number;
height?: number;
logoSrc?: string;
logoWidth?: number;
logoHeight?: number;
correctionLevel?: CorrectionLevels;
}
declare const _default: {
putQrCodeOnChromakeyTemplate: (qrCodeImageBase64: string, templateImageBase64: string, placeholderWidth: number, placeholderHeight: number, scale?: number) => Promise<string>;
generateQrCode: (text: string, qrCodeOptions?: QrCodeOptions, templateOptions?: TemplateOptions) => Promise<string>;
};
export default _default;
This diff is collapsed.
...@@ -38,14 +38,10 @@ ...@@ -38,14 +38,10 @@
"dependencies": { "dependencies": {
"axios": "^0.20.0", "axios": "^0.20.0",
"buffer": "^6.0.3", "buffer": "^6.0.3",
"canvas": "^2.8.0",
"easyqrcodejs": "^4.3.1",
"easyqrcodejs-nodejs": "^4.4.2",
"eventemitter2": "^6.4.3", "eventemitter2": "^6.4.3",
"fflate": "^0.7.3", "fflate": "^0.7.3",
"google-protobuf": "^3.13.0", "google-protobuf": "^3.13.0",
"js-md5": "^0.7.3", "js-md5": "^0.7.3",
"penpal": "^5.3.0",
"protobufjs": "^6.10.1", "protobufjs": "^6.10.1",
"url-parse": "^1.4.7" "url-parse": "^1.4.7"
}, },
......
...@@ -9,4 +9,3 @@ export { default as QrCodeDataService } from "./services/QrCodeDataService"; ...@@ -9,4 +9,3 @@ export { default as QrCodeDataService } from "./services/QrCodeDataService";
export { default as IPFSService } from "./services/IPFSService"; export { default as IPFSService } from "./services/IPFSService";
export { default as CryptoService } from "./services/CryptoService"; export { default as CryptoService } from "./services/CryptoService";
export { default as VerificationError } from "./services/VerificationService/VerificationError"; export { default as VerificationError } from "./services/VerificationService/VerificationError";
export { default as QrCodeTemplate } from "./utils/qrCodeTemplateUtils";
This diff is collapsed.
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment