mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-01-03 12:34:08 +00:00
19 lines
366 B
JavaScript
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);
|