Skip to content

Commit

Permalink
Publish v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
StorytellerCZ committed Feb 14, 2021
1 parent 6a09277 commit d89c8a1
Show file tree
Hide file tree
Showing 12 changed files with 107 additions and 93 deletions.
66 changes: 33 additions & 33 deletions accounts-line/.versions
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions accounts-line/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion accounts-line/notice.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
);
}
10 changes: 5 additions & 5 deletions accounts-line/package.js
Original file line number Diff line number Diff line change
@@ -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');
Expand Down
27 changes: 14 additions & 13 deletions line-config-ui/.versions
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 4 additions & 0 deletions line-config-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions line-config-ui/line_configure.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
</p>
<ol>
<li>
Visit <a href="https://developers.line.me" target="_blank">https://developers.line.me</a>
Visit <a href="https://developers.line.biz" target="_blank">https://developers.line.biz</a>
</li>
<li>
Click on "Start using LINE Login"
Login with your LINE account
</li>
<li>
Follow the setup steps.
Create a new provider
</li>
<li>
Once setup go to App Settings.
Create a new channel
</li>
<li>
Set "Callback URL" to <span class="url">{{siteUrl}}_oauth/line</span>.
Expand Down
4 changes: 2 additions & 2 deletions line-config-ui/package.js
Original file line number Diff line number Diff line change
@@ -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');

Expand Down
62 changes: 31 additions & 31 deletions line-oauth/.versions
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions line-oauth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion line-oauth/line_server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 3 additions & 3 deletions line-oauth/package.js
Original file line number Diff line number Diff line change
@@ -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'
});

Expand All @@ -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']);

Expand Down

0 comments on commit d89c8a1

Please sign in to comment.