@colijnit/transactionapi 1.1.15 → 1.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -242,7 +242,7 @@ var Transaction = (function () {
242
242
  });
243
243
  };
244
244
  Transaction.createConnector = function (options) {
245
- if (options.username && options.password) {
245
+ if ((options.username && options.password) || options.session) {
246
246
  return new TransactionAuth();
247
247
  }
248
248
  return new TransactionPublic();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/transactionapi",
3
- "version": "1.1.15",
3
+ "version": "1.1.16",
4
4
  "scripts": {
5
5
  "build": "grunt clean && tsc",
6
6
  "browserify": "browserify build/connector.js --s colijn -o dist/out-tsc/bundle.js",
@@ -25,7 +25,7 @@
25
25
  "reflect-metadata": "^0.1.12",
26
26
  "rxjs": "~6.5.4",
27
27
  "rxjs-compat": "^6.6.3",
28
- "@colijnit/ioneconnector": "2.0.4"
28
+ "@colijnit/ioneconnector": "file:C:/Develop/workspaces/develop/JavaScript/connectorApi/colijnit-ioneconnector-2.0.6.tgz"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/jest": "^24.0.13",