mirror of
https://github.com/TryGhost/Ghost.git
synced 2023-12-13 21:00:40 +01:00
Update dependency @tryghost/bootstrap-socket to v0.2.0
- includes API changes
This commit is contained in:
parent
7b4565cd3e
commit
c577007afe
3 changed files with 8 additions and 8 deletions
|
@ -12,7 +12,7 @@ const errors = require('@tryghost/errors');
|
||||||
const {events, i18n} = require('./lib/common');
|
const {events, i18n} = require('./lib/common');
|
||||||
const logging = require('../shared/logging');
|
const logging = require('../shared/logging');
|
||||||
const moment = require('moment');
|
const moment = require('moment');
|
||||||
const connectToBootstrapSocket = require('@tryghost/bootstrap-socket');
|
const bootstrapSocket = require('@tryghost/bootstrap-socket');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ## GhostServer
|
* ## GhostServer
|
||||||
|
@ -276,7 +276,7 @@ module.exports.announceServerStart = function announceServerStart() {
|
||||||
|
|
||||||
// CASE: Ghost extension - bootstrap sockets
|
// CASE: Ghost extension - bootstrap sockets
|
||||||
if (socketAddress) {
|
if (socketAddress) {
|
||||||
return connectToBootstrapSocket(socketAddress, logging, message);
|
return bootstrapSocket.connectAndSend(socketAddress, logging, message);
|
||||||
}
|
}
|
||||||
|
|
||||||
return Promise.resolve();
|
return Promise.resolve();
|
||||||
|
@ -309,7 +309,7 @@ module.exports.announceServerStopped = function announceServerStopped(error) {
|
||||||
|
|
||||||
// CASE: Ghost extension - bootstrap sockets
|
// CASE: Ghost extension - bootstrap sockets
|
||||||
if (socketAddress) {
|
if (socketAddress) {
|
||||||
return connectToBootstrapSocket(socketAddress, logging, message);
|
return bootstrapSocket.connectAndSend(socketAddress, logging, message);
|
||||||
}
|
}
|
||||||
|
|
||||||
return Promise.resolve();
|
return Promise.resolve();
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
"@nexes/nql": "0.4.0",
|
"@nexes/nql": "0.4.0",
|
||||||
"@sentry/node": "5.20.1",
|
"@sentry/node": "5.20.1",
|
||||||
"@tryghost/adapter-manager": "0.1.8",
|
"@tryghost/adapter-manager": "0.1.8",
|
||||||
"@tryghost/bootstrap-socket": "0.1.0",
|
"@tryghost/bootstrap-socket": "0.2.0",
|
||||||
"@tryghost/errors": "0.2.1",
|
"@tryghost/errors": "0.2.1",
|
||||||
"@tryghost/helpers": "1.1.28",
|
"@tryghost/helpers": "1.1.28",
|
||||||
"@tryghost/image-transform": "1.0.1",
|
"@tryghost/image-transform": "1.0.1",
|
||||||
|
|
|
@ -367,10 +367,10 @@
|
||||||
dependencies:
|
dependencies:
|
||||||
"@tryghost/errors" "^0.2.1"
|
"@tryghost/errors" "^0.2.1"
|
||||||
|
|
||||||
"@tryghost/bootstrap-socket@0.1.0":
|
"@tryghost/bootstrap-socket@0.2.0":
|
||||||
version "0.1.0"
|
version "0.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/@tryghost/bootstrap-socket/-/bootstrap-socket-0.1.0.tgz#bd92bb4fe084a9f3b1c6801d23631710f4534d4e"
|
resolved "https://registry.yarnpkg.com/@tryghost/bootstrap-socket/-/bootstrap-socket-0.2.0.tgz#efc7291b346b633117d8d5e0fca7e52c6913a9f2"
|
||||||
integrity sha512-/fibvaj34co1uxMONJIIHYLqLamE0ClN57Z1YiBd10YlKDavxpwKoX0Pg7+Trk/UKfc7Owq2O+ZrCs0M/I1A8A==
|
integrity sha512-Ao9REMMiorIdEtVDkS0xdCnnvwQU9zd3bsz7521RCeDBT3pi5AbrFrV9LwG+XnCgw9NvbmTv0aidxpiEQV1aSQ==
|
||||||
|
|
||||||
"@tryghost/errors@0.2.1", "@tryghost/errors@^0.2.1":
|
"@tryghost/errors@0.2.1", "@tryghost/errors@^0.2.1":
|
||||||
version "0.2.1"
|
version "0.2.1"
|
||||||
|
|
Loading…
Reference in a new issue