Skip to content

Commit

Permalink
Modified to reflect changes in dependency (#68)
Browse files Browse the repository at this point in the history
* Modified to reflect changes in dependency

* Modified package version more

* version stuff

* Version bump

* Version bump
  • Loading branch information
partiallyordered committed Jul 28, 2020
1 parent 9af96c8 commit 7a17587
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 28 deletions.
20 changes: 0 additions & 20 deletions init/onboard-central-ledger/onboard-dfsp.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ function log(message) {
}

log(`ENV: AUTH_BEARER_TOKEN:\t\t\t\t${process.env.AUTH_BEARER_TOKEN}`);
log(`ENV: BASE_CENTRAL_LEDGER_ADMIN:\t\t\t${process.env.BASE_CENTRAL_LEDGER_ADMIN}`);
log(`ENV: DFSP_CALLBACK_URL:\t\t\t\t${process.env.DFSP_CALLBACK_URL}`);
log(`ENV: DFSP_CURRENCY:\t\t\t\t\t${process.env.DFSP_CURRENCY}`);
log(`ENV: DFSP_NAME:\t\t\t\t\t${process.env.DFSP_NAME}`);
Expand All @@ -46,7 +45,6 @@ log(`ENV: SETTLEMENT_TRANSFER_POSITION_CHANGE_EMAIL:\t${process.env.SETTLEMENT_T

const amount = process.env.FUNDS_IN_PREPARE_AMOUNT;
const authToken = process.env.AUTH_BEARER_TOKEN;
const baseCentralLedgerAdmin = process.env.BASE_CENTRAL_LEDGER_ADMIN;
const dfspCallbackUrl = process.env.DFSP_CALLBACK_URL;
const dfspCurrency = process.env.DFSP_CURRENCY;
const dfspName = process.env.DFSP_NAME;
Expand All @@ -68,7 +66,6 @@ async function onboardDfsp() {
dfspCurrency,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand Down Expand Up @@ -99,7 +96,6 @@ async function onboardDfsp() {
initialPosition,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand Down Expand Up @@ -127,7 +123,6 @@ async function onboardDfsp() {
dfspName,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand All @@ -147,7 +142,6 @@ async function onboardDfsp() {
settlementAccountId,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (innerResponse.ok) {
Expand Down Expand Up @@ -180,7 +174,6 @@ async function onboardDfsp() {
dfspCallbackUrl,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand All @@ -202,7 +195,6 @@ async function onboardDfsp() {
dfspCallbackUrl,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand All @@ -224,7 +216,6 @@ async function onboardDfsp() {
dfspCallbackUrl,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand All @@ -246,7 +237,6 @@ async function onboardDfsp() {
dfspCallbackUrl,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand All @@ -268,7 +258,6 @@ async function onboardDfsp() {
dfspCallbackUrl,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand All @@ -290,7 +279,6 @@ async function onboardDfsp() {
dfspCallbackUrl,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand All @@ -312,7 +300,6 @@ async function onboardDfsp() {
dfspCallbackUrl,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand All @@ -334,7 +321,6 @@ async function onboardDfsp() {
dfspCallbackUrl,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand All @@ -356,7 +342,6 @@ async function onboardDfsp() {
dfspCallbackUrl,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand All @@ -378,7 +363,6 @@ async function onboardDfsp() {
dfspCallbackUrl,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand All @@ -400,7 +384,6 @@ async function onboardDfsp() {
dfspCallbackUrl,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand All @@ -422,7 +405,6 @@ async function onboardDfsp() {
email: ndcAdjustmentEmail,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand All @@ -444,7 +426,6 @@ async function onboardDfsp() {
email: settlementTransferPositionChangeEmail,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand All @@ -466,7 +447,6 @@ async function onboardDfsp() {
email: ndcThresholdBreachEmail,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand Down
8 changes: 4 additions & 4 deletions init/onboard-central-ledger/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions init/onboard-central-ledger/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "onboard-central-ledger",
"version": "11.0.0",
"version": "11.0.1",
"description": "",
"main": "onboard-dfsp.js",
"dependencies": {
"@mojaloop/finance-portal-lib": "0.0.18-snapshot",
"@mojaloop/finance-portal-lib": "0.0.19-snapshot",
"node-fetch": "^2.6.0",
"uuid": "^8.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mojaloop-simulator",
"version": "11.0.0",
"version": "11.0.1",
"description": "A canonical test example implementation of the parties, transfers and quotes resources of the Mojaloop API",
"license": "Apache-2.0",
"main": "index.js",
Expand Down

0 comments on commit 7a17587

Please sign in to comment.