balena-cli/build/resin-sdk.js
2017-01-25 19:25:12 +01:00

19 lines
366 B
JavaScript

(function() {
var getSdk, opts, settings;
getSdk = require('resin-sdk');
settings = require('resin-settings-client');
opts = {
apiUrl: settings.get('apiUrl'),
imageMakerUrl: settings.get('imageMakerUrl'),
dataDirectory: settings.get('dataDirectory'),
apiVersion: 'v2',
retries: 2
};
module.exports = getSdk(opts);
}).call(this);