From d89c8a1734f8a3a78fc53778ee0807fa55ad98a0 Mon Sep 17 00:00:00 2001
From: Jan Dvorak
Date: Sun, 14 Feb 2021 14:22:54 +0100
Subject: [PATCH] Publish v1.1.0
---
accounts-line/.versions | 66 +++++++++++++++---------------
accounts-line/CHANGELOG.md | 4 ++
accounts-line/notice.js | 2 +-
accounts-line/package.js | 10 ++---
line-config-ui/.versions | 27 ++++++------
line-config-ui/CHANGELOG.md | 4 ++
line-config-ui/line_configure.html | 8 ++--
line-config-ui/package.js | 4 +-
line-oauth/.versions | 62 ++++++++++++++--------------
line-oauth/CHANGELOG.md | 4 ++
line-oauth/line_server.js | 3 +-
line-oauth/package.js | 6 +--
12 files changed, 107 insertions(+), 93 deletions(-)
diff --git a/accounts-line/.versions b/accounts-line/.versions
index a61b805..0a1c91d 100644
--- a/accounts-line/.versions
+++ b/accounts-line/.versions
@@ -1,58 +1,58 @@
-accounts-base@1.4.5
-accounts-oauth@1.1.16
+accounts-base@1.8.0
+accounts-oauth@1.2.0
allow-deny@1.1.0
-babel-compiler@7.4.2
-babel-runtime@1.4.0
+babel-compiler@7.6.0
+babel-runtime@1.5.0
base64@1.0.12
binary-heap@1.0.11
-boilerplate-generator@1.6.0
-callback-hook@1.2.0
+boilerplate-generator@1.7.1
+callback-hook@1.3.0
check@1.3.1
ddp@1.4.0
-ddp-client@2.3.3
+ddp-client@2.4.0
ddp-common@1.4.0
-ddp-rate-limiter@1.0.7
-ddp-server@2.3.0
+ddp-rate-limiter@1.0.9
+ddp-server@2.3.2
diff-sequence@1.1.1
-dynamic-import@0.5.1
-ecmascript@0.13.2
+dynamic-import@0.6.0
+ecmascript@0.15.0
ecmascript-runtime@0.7.0
-ecmascript-runtime-client@0.9.0
-ecmascript-runtime-server@0.8.0
+ecmascript-runtime-client@0.11.0
+ecmascript-runtime-server@0.10.0
ejson@1.1.1
fetch@0.1.1
geojson-utils@1.0.10
-http@1.4.2
id-map@1.1.0
-inter-process-messaging@0.1.0
+inter-process-messaging@0.1.1
localstorage@1.2.0
-logging@1.1.20
+logging@1.2.0
meteor@1.9.3
-minimongo@1.4.5
-modern-browsers@0.1.4
-modules@0.14.0
-modules-runtime@0.11.0
-mongo@1.7.0
-mongo-decimal@0.1.1
+minimongo@1.6.1
+modern-browsers@0.1.5
+modules@0.16.0
+modules-runtime@0.12.0
+mongo@1.10.1
+mongo-decimal@0.1.2
mongo-dev-server@1.1.0
mongo-id@1.0.7
-npm-mongo@3.2.0
-oauth@1.2.8
-oauth2@1.2.1
+npm-mongo@3.8.1
+oauth@1.3.2
+oauth2@1.3.0
ordered-dict@1.1.0
promise@0.11.2
-random@1.1.0
+random@1.2.0
rate-limit@1.0.9
+react-fast-refresh@0.1.0
reactive-var@1.0.11
-reload@1.3.0
+reload@1.3.1
retry@1.1.0
routepolicy@1.1.0
service-configuration@1.0.11
-socket-stream-client@0.2.2
-storyteller:accounts-line@1.0.1
-storyteller:line-oauth@1.0.1
+socket-stream-client@0.3.1
+storyteller:accounts-line@1.1.0
+storyteller:line-oauth@1.1.0
tracker@1.2.0
underscore@1.0.10
-url@1.2.0
-webapp@1.7.5
-webapp-hashing@1.0.9
+url@1.3.1
+webapp@1.10.0
+webapp-hashing@1.1.0
diff --git a/accounts-line/CHANGELOG.md b/accounts-line/CHANGELOG.md
index abd0063..8d64403 100755
--- a/accounts-line/CHANGELOG.md
+++ b/accounts-line/CHANGELOG.md
@@ -1,5 +1,9 @@
# Changelog
+## 1.0.2 - 2021-02-14
+* Fix link to package in notice
+* Bump minimum Meteor version to 1.9
+
## 1.0.1 - 2020-01-01
* Fix imports
* Update dependencies
diff --git a/accounts-line/notice.js b/accounts-line/notice.js
index a953f2a..37c6865 100644
--- a/accounts-line/notice.js
+++ b/accounts-line/notice.js
@@ -9,7 +9,7 @@ if (
"but didn't install the configuration UI for LINE\n" +
'OAuth. You can install it with:\n' +
'\n' +
- ' meteor add line-config-ui' +
+ ' meteor add storyteller:line-config-ui' +
'\n'
);
}
diff --git a/accounts-line/package.js b/accounts-line/package.js
index c1bc782..bf5fd18 100755
--- a/accounts-line/package.js
+++ b/accounts-line/package.js
@@ -1,22 +1,22 @@
Package.describe({
name: 'storyteller:accounts-line',
summary: 'Login service for LINE accounts',
- version: '1.0.1',
+ version: '1.1.0',
git: 'https://github.com/StorytellerCZ/meteor-accounts-line'
});
Package.onUse(api => {
- api.versionsFrom('1.8.3');
+ api.versionsFrom('1.9');
api.use('ecmascript');
api.use('accounts-base', ['client', 'server']);
// Export Accounts (etc) to packages using this one.
api.imply('accounts-base', ['client', 'server']);
api.use('accounts-oauth', ['client', 'server']);
- api.use('storyteller:line-oauth@1.0.1');
- api.imply('storyteller:line-oauth@1.0.1');
+ api.use('storyteller:line-oauth@1.1.0');
+ api.imply('storyteller:line-oauth@1.1.0');
// If users use accounts-ui but not facebook-config-ui, give them a tip.
- api.use(['accounts-ui', 'storyteller:line-config-ui@1.0.1'], ['client', 'server'], { weak: true });
+ api.use(['accounts-ui', 'storyteller:line-config-ui@1.1.0'], ['client', 'server'], { weak: true });
api.addFiles('notice.js');
api.addFiles('line.js');
diff --git a/line-config-ui/.versions b/line-config-ui/.versions
index 701b0f2..ed29581 100644
--- a/line-config-ui/.versions
+++ b/line-config-ui/.versions
@@ -1,37 +1,38 @@
-babel-compiler@7.4.2
-babel-runtime@1.4.0
+babel-compiler@7.6.0
+babel-runtime@1.5.0
base64@1.0.12
blaze@2.3.4
blaze-tools@1.0.10
-caching-compiler@1.2.1
+caching-compiler@1.2.2
caching-html-compiler@1.1.3
check@1.3.1
deps@1.0.12
diff-sequence@1.1.1
-dynamic-import@0.5.1
-ecmascript@0.13.2
+dynamic-import@0.6.0
+ecmascript@0.15.0
ecmascript-runtime@0.7.0
-ecmascript-runtime-client@0.9.0
-ecmascript-runtime-server@0.8.0
+ecmascript-runtime-client@0.11.0
+ecmascript-runtime-server@0.10.0
ejson@1.1.1
fetch@0.1.1
html-tools@1.0.11
htmljs@1.0.11
id-map@1.1.0
-inter-process-messaging@0.1.0
+inter-process-messaging@0.1.1
meteor@1.9.3
-modern-browsers@0.1.4
-modules@0.14.0
-modules-runtime@0.11.0
+modern-browsers@0.1.5
+modules@0.16.0
+modules-runtime@0.12.0
mongo-id@1.0.7
observe-sequence@1.0.16
ordered-dict@1.1.0
promise@0.11.2
-random@1.1.0
+random@1.2.0
+react-fast-refresh@0.1.0
reactive-var@1.0.11
spacebars@1.0.15
spacebars-compiler@1.1.3
-storyteller:line-config-ui@1.0.1
+storyteller:line-config-ui@1.1.0
templating@1.3.2
templating-compiler@1.3.3
templating-runtime@1.3.2
diff --git a/line-config-ui/CHANGELOG.md b/line-config-ui/CHANGELOG.md
index 359d76e..ee5f226 100755
--- a/line-config-ui/CHANGELOG.md
+++ b/line-config-ui/CHANGELOG.md
@@ -1,5 +1,9 @@
# Changelog
+## 1.1.0 - 2021-02-14
+* Bump minimum required Meteor version to 1.9
+* Updated setup instructions
+
## 1.0.1 - 2020-01-01
* Update dependencies
* Update minimum Meteor version to 1.8.3
diff --git a/line-config-ui/line_configure.html b/line-config-ui/line_configure.html
index 04d3eb4..4c09535 100644
--- a/line-config-ui/line_configure.html
+++ b/line-config-ui/line_configure.html
@@ -4,16 +4,16 @@
-
- Visit https://developers.line.me
+ Visit https://developers.line.biz
-
- Click on "Start using LINE Login"
+ Login with your LINE account
-
- Follow the setup steps.
+ Create a new provider
-
- Once setup go to App Settings.
+ Create a new channel
-
Set "Callback URL" to {{siteUrl}}_oauth/line.
diff --git a/line-config-ui/package.js b/line-config-ui/package.js
index 8a688ec..12e7e1d 100755
--- a/line-config-ui/package.js
+++ b/line-config-ui/package.js
@@ -1,12 +1,12 @@
Package.describe({
name: 'storyteller:line-config-ui',
summary: 'Blaze configuration templates for LINE OAuth.',
- version: '1.0.1',
+ version: '1.1.0',
git: 'https://github.com/StorytellerCZ/meteor-accounts-line'
});
Package.onUse(api => {
- api.versionsFrom('1.8.3');
+ api.versionsFrom('1.9');
api.use('ecmascript', 'client');
api.use('templating@1.3.2', 'client');
diff --git a/line-oauth/.versions b/line-oauth/.versions
index d9efed8..6787738 100644
--- a/line-oauth/.versions
+++ b/line-oauth/.versions
@@ -1,56 +1,56 @@
-accounts-base@1.4.5
+accounts-base@1.8.0
allow-deny@1.1.0
-babel-compiler@7.4.2
-babel-runtime@1.4.0
+babel-compiler@7.6.0
+babel-runtime@1.5.0
base64@1.0.12
binary-heap@1.0.11
-boilerplate-generator@1.6.0
-callback-hook@1.2.0
+boilerplate-generator@1.7.1
+callback-hook@1.3.0
check@1.3.1
ddp@1.4.0
-ddp-client@2.3.3
+ddp-client@2.4.0
ddp-common@1.4.0
-ddp-rate-limiter@1.0.7
-ddp-server@2.3.0
+ddp-rate-limiter@1.0.9
+ddp-server@2.3.2
diff-sequence@1.1.1
-dynamic-import@0.5.1
-ecmascript@0.13.2
+dynamic-import@0.6.0
+ecmascript@0.15.0
ecmascript-runtime@0.7.0
-ecmascript-runtime-client@0.9.0
-ecmascript-runtime-server@0.8.0
+ecmascript-runtime-client@0.11.0
+ecmascript-runtime-server@0.10.0
ejson@1.1.1
fetch@0.1.1
geojson-utils@1.0.10
-http@1.4.2
id-map@1.1.0
-inter-process-messaging@0.1.0
+inter-process-messaging@0.1.1
localstorage@1.2.0
-logging@1.1.20
+logging@1.2.0
meteor@1.9.3
-minimongo@1.4.5
-modern-browsers@0.1.4
-modules@0.14.0
-modules-runtime@0.11.0
-mongo@1.7.0
-mongo-decimal@0.1.1
+minimongo@1.6.1
+modern-browsers@0.1.5
+modules@0.16.0
+modules-runtime@0.12.0
+mongo@1.10.1
+mongo-decimal@0.1.2
mongo-dev-server@1.1.0
mongo-id@1.0.7
-npm-mongo@3.2.0
-oauth@1.2.8
-oauth2@1.2.1
+npm-mongo@3.8.1
+oauth@1.3.2
+oauth2@1.3.0
ordered-dict@1.1.0
promise@0.11.2
-random@1.1.0
+random@1.2.0
rate-limit@1.0.9
+react-fast-refresh@0.1.0
reactive-var@1.0.11
-reload@1.3.0
+reload@1.3.1
retry@1.1.0
routepolicy@1.1.0
service-configuration@1.0.11
-socket-stream-client@0.2.2
-storyteller:line-oauth@1.0.1
+socket-stream-client@0.3.1
+storyteller:line-oauth@1.1.0
tracker@1.2.0
underscore@1.0.10
-url@1.2.0
-webapp@1.7.5
-webapp-hashing@1.0.9
+url@1.3.1
+webapp@1.10.0
+webapp-hashing@1.1.0
diff --git a/line-oauth/CHANGELOG.md b/line-oauth/CHANGELOG.md
index 0fdf6f2..8fc44d0 100755
--- a/line-oauth/CHANGELOG.md
+++ b/line-oauth/CHANGELOG.md
@@ -1,5 +1,9 @@
# Changelog
+## 1.1.0
+* Bump minimum Meteor version to 1.9
+* Replace HTTP package with Fetch package
+
## 1.0.1 - 2020-01-01
* Update dependencies
* Update minimum Meteor version to 1.8.3
diff --git a/line-oauth/line_server.js b/line-oauth/line_server.js
index c0c2880..0cabb12 100644
--- a/line-oauth/line_server.js
+++ b/line-oauth/line_server.js
@@ -28,7 +28,8 @@ const getAccessToken = query => {
if (!config) throw new ServiceConfiguration.ConfigError();
let response;
try {
- response = HTTP.post('https://api.line.me/oauth2/v2.1/token?grant_type=authorization_code', {
+ response = fetch('https://api.line.me/oauth2/v2.1/token?grant_type=authorization_code', {
+ type: 'POST',
headers: { Accept: 'application/json' },
params: {
code: query.code,
diff --git a/line-oauth/package.js b/line-oauth/package.js
index 1841c51..c3b3846 100755
--- a/line-oauth/package.js
+++ b/line-oauth/package.js
@@ -1,7 +1,7 @@
Package.describe({
name: 'storyteller:line-oauth',
summary: 'LINE OAuth flow',
- version: '1.0.1',
+ version: '1.1.0',
git: 'https://github.com/StorytellerCZ/meteor-accounts-line'
});
@@ -10,11 +10,11 @@ Npm.depends({
});
Package.onUse(api => {
- api.versionsFrom('1.8.3');
+ api.versionsFrom('1.9');
api.use('ecmascript', ['client', 'server']);
api.use('oauth2', ['client', 'server']);
api.use('oauth', ['client', 'server']);
- api.use('http', ['server']);
+ api.use('fetch', ['server']);
api.use('random', 'client');
api.use('service-configuration', ['client', 'server']);