nestjs-telegram
Advanced tools
Comparing version 1.1.2 to 1.1.3
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (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" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(require("./telegram.module")); | ||
__export(require("./telegram.service")); | ||
__exportStar(require("./interfaces"), exports); | ||
__exportStar(require("./telegram.module"), exports); | ||
__exportStar(require("./telegram.service"), exports); | ||
//# sourceMappingURL=index.js.map |
export * from './telegram-module-options.interface'; | ||
export * from './telegramTypes.interface'; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (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" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./telegram-module-options.interface"), exports); | ||
__exportStar(require("./telegramTypes.interface"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -362,3 +362,3 @@ /// <reference types="node" /> | ||
export interface TelegramEncryptedPassportElement { | ||
type: 'personal_details' | 'passport' | 'driver_license' | 'identity_card' | 'internal_passport' | 'address' | 'utility_bill' | 'bank_statement' | 'rental_agreement' | 'passport_registration' | 'temporary_registration' | '[hone_number' | 'email'; | ||
type: 'personal_details' | 'passport' | 'driver_license' | 'identity_card' | 'internal_passport' | 'address' | 'utility_bill' | 'bank_statement' | 'rental_agreement' | 'passport_registration' | 'temporary_registration' | 'phone_number' | 'email'; | ||
data?: string; | ||
@@ -365,0 +365,0 @@ phone_number?: string; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TelegramException = void 0; | ||
const common_1 = require("@nestjs/common"); | ||
@@ -4,0 +5,0 @@ class TelegramException extends common_1.BadRequestException { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TELEGRAM_MODULE_OPTIONS = void 0; | ||
exports.TELEGRAM_MODULE_OPTIONS = 'TELEGRAM_MODULE_OPTIONS'; | ||
//# sourceMappingURL=telegram.constants.js.map |
@@ -9,6 +9,7 @@ "use strict"; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } | ||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
@@ -19,2 +20,3 @@ }); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TelegramModule = void 0; | ||
const common_1 = require("@nestjs/common"); | ||
@@ -21,0 +23,0 @@ const telegram_constants_1 = require("./telegram.constants"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.createTelegramProvider = void 0; | ||
const telegram_constants_1 = require("./telegram.constants"); | ||
@@ -4,0 +5,0 @@ function createTelegramProvider(options) { |
@@ -15,2 +15,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TelegramService = void 0; | ||
const common_1 = require("@nestjs/common"); | ||
@@ -17,0 +18,0 @@ const operators_1 = require("rxjs/operators"); |
{ | ||
"name": "nestjs-telegram", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "A NestJS Module for Telegram Bots", | ||
@@ -43,21 +43,21 @@ "author": { | ||
"devDependencies": { | ||
"@commitlint/cli": "^8.0.0", | ||
"@commitlint/config-conventional": "^8.0.0", | ||
"@commitlint/cli": "^9.1.1", | ||
"@commitlint/config-conventional": "^9.1.1", | ||
"@nestjs/testing": "^6.0.0", | ||
"@types/express": "^4.16.0", | ||
"@types/jest": "^24.0.15", | ||
"@types/node": "^12.6.2", | ||
"@types/jest": "^26.0.4", | ||
"@types/node": "^14.0.23", | ||
"@types/supertest": "^2.0.7", | ||
"coveralls": "^3.0.5", | ||
"husky": "^3.0.0", | ||
"jest": "^24.8.0", | ||
"husky": "^4.2.5", | ||
"jest": "^25.2.3", | ||
"npm-check": "^5.9.0", | ||
"prettier": "^1.18.2", | ||
"rimraf": "^2.6.3", | ||
"prettier": "^2.0.5", | ||
"rimraf": "^3.0.2", | ||
"supertest": "^4.0.2", | ||
"ts-jest": "24.0.2", | ||
"ts-jest": "25.5.1", | ||
"ts-node": "^8.3.0", | ||
"tsc-watch": "^2.2.1", | ||
"tsconfig-paths": "3.8.0", | ||
"tslint": "^5.18.0", | ||
"tsc-watch": "^4.2.9", | ||
"tsconfig-paths": "3.9.0", | ||
"tslint": "^6.1.2", | ||
"tslint-config-prettier": "^1.18.0", | ||
@@ -64,0 +64,0 @@ "typescript": "^3.5.3" |
@@ -60,3 +60,3 @@ <p align="center"> | ||
testBot(): Observable<Telegram.User> { | ||
testBot(): Observable<TelegramUser> { | ||
return this.telegram.getMe(); | ||
@@ -63,0 +63,0 @@ } |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
69305
33
1283
1