Socket
Socket
Sign inDemoInstall

@machinat/create-app

Package Overview
Dependencies
8
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.0-beta.14 to 0.5.0-beta.20

5

lib/template/dotEnv.example.t.js

@@ -68,5 +68,8 @@ "use strict";

# Telegram bot token
# Bot token
TELEGRAM_BOT_TOKEN= 123456:AaBbCc12345...
# Bot name
TELEGRAM_BOT_NAME= my_bot
# Secret path string to protect webhook

@@ -73,0 +76,0 @@ TELEGRAM_SECRET_PATH= <random secret string>

1

lib/template/dotEnv.t.js

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

TELEGRAM_BOT_TOKEN=
TELEGRAM_BOT_NAME=
TELEGRAM_SECRET_PATH=${(0, _nanoid.nanoid)(32)}

@@ -46,0 +47,0 @@ `}${(0, _utils.when)(platforms.includes('line'))`

@@ -19,3 +19,4 @@ "use strict";

publicRuntimeConfig: {${(0, _utils.when)(platforms.includes('messenger'))`
messengerAppId: process.env.MESSENGER_APP_ID,`}${(0, _utils.when)(platforms.includes('line'))`
messengerAppId: process.env.MESSENGER_APP_ID,`}${(0, _utils.when)(platforms.includes('telegram'))`
telegramBotName: process.env.TELEGRAM_BOT_NAME,`}${(0, _utils.when)(platforms.includes('line'))`
lineLiffId: process.env.LINE_LIFF_ID,`}

@@ -22,0 +23,0 @@ }

@@ -31,3 +31,5 @@ "use strict";

}),`}${(0, _utils.when)(platforms.includes('telegram'))`
new TelegramClientAuthenticator(),`}${(0, _utils.when)(platforms.includes('line'))`
new TelegramClientAuthenticator({
botName: publicRuntimeConfig.telegramBotName,
}),`}${(0, _utils.when)(platforms.includes('line'))`
new LineClientAuthenticator({

@@ -34,0 +36,0 @@ liffId: publicRuntimeConfig.lineLiffId,

{
"name": "@machinat/create-app",
"version": "0.5.0-beta.14",
"version": "0.5.0-beta.20",
"author": "Patrick Liu <zeldalink0515@gmail.com> (https://github.com/lrills)",

@@ -38,3 +38,3 @@ "repository": {

},
"gitHead": "4a0f6775859c32a53bb59e7665f8d442c3f1e162"
"gitHead": "a78ea3656329270be2104f869f964f81a6f19a3b"
}

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc