Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Commit

Permalink
chore: Bump concerto version to 0.82.6
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Roberts <code@rbrts.uk>
  • Loading branch information
mttrbrts committed Feb 4, 2020
1 parent f99b2bc commit 36cc2c6
Show file tree
Hide file tree
Showing 11 changed files with 720 additions and 164 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"packages": [
"packages/*"
],
"version": "0.71.8"
"version": "0.82.6"
}
8 changes: 4 additions & 4 deletions packages/concerto-ui-core/dist/formgenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
});
exports.default = void 0;

var _composerConcerto = require("composer-concerto");
var _concertoCore = require("@accordproject/concerto-core");

var _htmlformvisitor = _interopRequireDefault(require("./htmlformvisitor"));

Expand Down Expand Up @@ -47,7 +47,7 @@ class FormGenerator {
* @param {ModelManager} options.modelManager - An optional custom model manager
*/
constructor(options) {
this.modelManager = new _composerConcerto.ModelManager(); // TODO Refactor this to an option to make this independent of Cicero
this.modelManager = new _concertoCore.ModelManager(); // TODO Refactor this to an option to make this independent of Cicero

this.modelManager.addModelFile(`namespace org.accordproject.base
abstract asset Asset { }
Expand All @@ -62,8 +62,8 @@ class FormGenerator {
includeSampleData: 'empty',
updateExternalModels: false
}, options);
this.factory = new _composerConcerto.Factory(this.modelManager);
this.serializer = new _composerConcerto.Serializer(this.factory, this.modelManager);
this.factory = new _concertoCore.Factory(this.modelManager);
this.serializer = new _concertoCore.Serializer(this.factory, this.modelManager);
this.loaded = false;
}
/**
Expand Down
4 changes: 2 additions & 2 deletions packages/concerto-ui-core/dist/htmlformvisitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ const {
RelationshipDeclaration,
EnumDeclaration,
EnumValueDeclaration
} = require('composer-concerto');
} = require('@accordproject/concerto-core');

const util = require('util');

const Writer = require('composer-concerto').Writer;
const Writer = require('@accordproject/concerto-core').Writer;
/**
* Convert the contents of a ModelManager to TypeScript code.
* All generated code is placed into the 'main' package. Set a
Expand Down
Loading

0 comments on commit 36cc2c6

Please sign in to comment.