{"_id":"@maxdigital/sdk.js","_rev":"32-4ee476ddd644eb334feac927a5e45294","name":"@maxdigital/sdk.js","dist-tags":{"latest":"0.2.2"},"versions":{"0.1.0":{"name":"@maxdigital/sdk.js","version":"0.1.0","description":"Javascript SDK for running Max apps on dealer sites","main":"index.js","scripts":{"build":"parcel build ./index.js --out-file sdk.js --target browser","test":"echo \"Error: no test specified\" && exit 1","prepublish":"npm run build"},"license":"ISC","dependencies":{"loadjs":"^3.5.4"},"devDependencies":{"@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","babel-eslint":"^10.0.1","cross-env":"^5.2.0","eslint":"^5.8.0","parcel-bundler":"^1.10.3"},"gitHead":"f39cc3ec6105365037960fa7637b06a2f5218d7b","_id":"@maxdigital/sdk.js@0.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.9.0","_npmUser":{"name":"ignigena","email":"albert@imor.tl"},"dist":{"integrity":"sha512-9VZIAZUl73/OnQn+UOohZY5ypHJolxhZwbu5BCcYZfqahG/idyJBDx14je7Dpzhok8P97b2zR7JZjZK0Zi2Iyw==","shasum":"18a0c3b26c8d1bee12ec6f1025c6da1623878544","tarball":"https://registry.npmjs.org/@maxdigital/sdk.js/-/sdk.js-0.1.0.tgz","fileCount":4,"unpackedSize":10261,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb3IGACRA9TVsSAnZWagAAKQgP/23nwSnkN6lLgVivIfrB\n04p5xe3U3wp0PpNacdOnqd+vTHAhAM9ywFMkcg/0pz5MDVSZJgOZzrwa8dP+\n0l092d+AY5xl425zh+ZUSUJqMzkOHd6nT/TEu6KZfUbWZ9CVfzPV9KMviFSi\nKtfADnEbtQgrM18w2XqK5vX0Wa1jLmqGX+0gcXDeOHLqS46So/R8638L8mGy\nw/utH9zJEzIJ9qJvrjLlxwOQCH8WxnHm9dSncnTWLm3CoqRF3N4Z0duGX01C\nP+d6BF31Pd8EXtv57hu3+L0XyPojrLxZ3KSh4A9LUq3Q/eLBghXVWBEKPMwj\nh0/Dkeo4/6iic26UvG4CE7IVXaJJDJUE6LPjSpsJ/+1fyGOC8dHGpqwVHZim\n/tOm4+15sk49DxEaPwXu04OAJ7Tu5ITMUcYWHIg1CSoduIRFcLF4kH9MiIiB\n1Ci7BcI7F5MxRCrtynhTsgwYeFfQaEZKQytGUnRiZZ9BvTTDV+SmXPw224p4\njPDGG++nPuCTMt7AjnnEak4FDF2BgY3JOQRvmbNE7Vws0Co/CHeTJzLru2at\n3ZCFZijH605cTAX4p6m8WRltx8tQCfOR0C/65Mdq6QW6QPOPKyaTKt/KqD/x\nW532xpq5xgu1hgGWlmBqQu2AJIpht8/XjKyUD7uAJE4ytXhDqnBSNAM67BFl\nviIc\r\n=RDsY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGRxQowrL4CCQjrEcrt6mLbmmhGE09dWg+ePXzxMmQkMAiAx0nKHIuhZHADQebVJglU6ns8hX0TT9V/MvdQvAtfBGw=="}]},"maintainers":[{"name":"cdunbar","email":"cdunbar@maxdigital.com"},{"name":"ignigena","email":"albert@imor.tl"},{"name":"max-digital-engineering","email":"engops@maxdigital.com"},{"name":"mikasaraus","email":"mmorales@maxdigital.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk.js_0.1.0_1541177727484_0.5505897093565704"},"_hasShrinkwrap":false},"0.2.0":{"name":"@maxdigital/sdk.js","version":"0.2.0","description":"Javascript SDK for running MAX apps on dealer sites","license":"ISC","main":"index.js","repository":{"type":"git","url":"git+https://bitbucket.org/max-digital/sdk.js.git"},"scripts":{"prepare":"npm run build","build":"parcel build ./index.js --out-file sdk.js --target browser","pretest":"npm run prepare","test":"jest","predeploy":"npm run prepare","deploy":"npm run deploy:${ENV:=beta}","deploy:alpha":"deploy -b alpha.maxapps.io -c ECLNV3RZHJ11Z ./dist","deploy:beta":"deploy -b beta.maxapps.io -c E3PK4SGOHDTDLR ./dist","deploy:prod":"deploy -b prod.maxapps.io -c E2R4Z0PL8OQGK3 -f '*.js' ./dist"},"dependencies":{"loadjs":"^3.5.5","promise-polyfill":"^8.1.0","unfetch":"^4.0.1"},"devDependencies":{"@babel/core":"^7.2.0","@babel/preset-env":"^7.2.0","@maxdigital/build":"^1.2.1","babel-eslint":"^10.0.1","cross-env":"^5.2.0","eslint":"^5.10.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jest":"^22.1.2","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","jest":"^23.6.0","parcel-bundler":"^1.10.3"},"gitHead":"ae2a2d94657d19930ede0bb6ff03baf5f4f27f67","homepage":"https://bitbucket.org/max-digital/sdk.js#readme","_id":"@maxdigital/sdk.js@0.2.0","_npmVersion":"6.4.1","_nodeVersion":"10.9.0","_npmUser":{"name":"ignigena","email":"albert@imor.tl"},"dist":{"integrity":"sha512-HJ09p6mESd1Ygy6FYU/IvQftxVrSqW/Ib3ZgcCmwU6xcUpuAI77LMQy9JVK3K3MYAKZO2ptuKmjZrQwgDOkMFw==","shasum":"b9065393224061ee22baaca0e6d1bea5208652a8","tarball":"https://registry.npmjs.org/@maxdigital/sdk.js/-/sdk.js-0.2.0.tgz","fileCount":6,"unpackedSize":19045,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcFEPZCRA9TVsSAnZWagAAzw0P/A+3WJcnHAlh8mzZm9X8\nuIKJ4qfPi8TqPmKefeptkOsokow9y5yuBqXE/72ngu7tKuDjSmQ4zgo9QXQJ\nK3CgppbEI5DuUQUTQQswsSol9c3dopRZ4/Ny4y1sf/wIo2fQ+vlUzD/m5tiq\nWMay/cSkeCmTsjrs7rUu80LaQtNiIS/vuDBFMU7wHpEN5ZZRTYmM8awfh46n\n5uRrSUzZPuOOaNpgRkap1dBQWTCTCqjtyOOqdfPNiJBDCH7U1wtrpNF60MU2\nB6y3ohZSXjTCXowhRsa1p+k3hobzpnfWn0JxiqfQl1H6n7AfEpGMuUEVE3pZ\nohSPDp/eyKQS2DiO7evJH6sAoMI0cWJCHZtdZiNyfv7XZ6M4UZ/4TMgXHXfZ\nK3kMTx/1DqoxxKajaNSc8mV1ouLa8h2pMBu12Zl3zoQg8rk06zs6lmZJUsmz\ni1uRDSdjsCnfdS5VvGYYqpeTqyxf4C03bbsiEEkoA6P4uOfF0vWAhoP3Cki0\nzZ/Oz+4Pvja0uiAUPAJyi/jhifjyuU/If8yh5TpJ3RvDGFxuOvY1Eo2S3VpH\n8fy2yGuByFwB/wCvpiq5SUG8IAG8gskhtfQIH47fWVVDhfqZr45RJjENTQG1\nmqSSOywGz90q7SwEkXhAmG2CTk8jo0X1mU3UZWxMyMSZLjZEPDwJjQjXrVT1\nolD5\r\n=Eylz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBTmIlVm6X/6mU14Mx3k5m/UI9QI0P18XeU8e95Bf+5hAiEA/CY2iIOgipLAKll9WG977+BFNC7BnlgZawH6I+L0oQg="}]},"maintainers":[{"email":"blake.vizzone@gmail.com","name":"bvizzone"},{"email":"cdunbar@maxdigital.com","name":"cdunbar"},{"email":"frattaro@gmail.com","name":"frattaro"},{"email":"albert@imor.tl","name":"ignigena"},{"email":"jchaiyakhom@maxdigital.com","name":"jchaiyakhom"},{"email":"engops@maxdigital.com","name":"max-digital-engineering"},{"email":"mmorales@maxdigital.com","name":"mikasaraus"},{"email":"mtessenholtz@maxdigital.com","name":"mtessnholtz"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk.js_0.2.0_1544831960829_0.49793303655401"},"_hasShrinkwrap":false},"0.2.1":{"name":"@maxdigital/sdk.js","version":"0.2.1","description":"Javascript SDK for running MAX apps on dealer sites","license":"ISC","main":"index.js","repository":{"type":"git","url":"git+https://bitbucket.org/max-digital/sdk.js.git"},"scripts":{"prepare":"npm run build","build":"parcel build ./index.js --out-file sdk.js --target browser","pretest":"npm run prepare","test":"jest","posttest":"eslint .","predeploy":"npm run prepare","deploy":"npm run deploy:${ENV:=beta}","deploy:alpha":"deploy -b alpha.maxapps.io -c ECLNV3RZHJ11Z ./dist","deploy:beta":"deploy -b beta.maxapps.io -c E3PK4SGOHDTDLR ./dist","deploy:prod":"deploy -b prod.maxapps.io -c E2R4Z0PL8OQGK3 -f '*.js' ./dist"},"dependencies":{"loadjs":"^3.5.5","promise-polyfill":"^8.1.0","unfetch":"^4.0.1"},"devDependencies":{"@babel/core":"^7.2.0","@babel/preset-env":"^7.2.0","@maxdigital/build":"^1.2.1","babel-eslint":"^10.0.1","cross-env":"^5.2.0","eslint":"^5.10.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jest":"^22.1.2","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","jest":"^23.6.0","parcel-bundler":"^1.10.3"},"gitHead":"344818cdf32cef89c82cc3eba9a884340c21fc5a","homepage":"https://bitbucket.org/max-digital/sdk.js#readme","_id":"@maxdigital/sdk.js@0.2.1","_npmVersion":"6.4.1","_nodeVersion":"10.9.0","_npmUser":{"name":"ignigena","email":"albert@imor.tl"},"dist":{"integrity":"sha512-0KRXKtGTykGLXLzU7sFdHsOgR076LMNJfGzWq87ZBPZ5nxBQ3xxC0lUI210tMnbRuG0ebdwKC42EMC5N3w+RzQ==","shasum":"6651926426716718a3bd827bcf16e69f3b588200","tarball":"https://registry.npmjs.org/@maxdigital/sdk.js/-/sdk.js-0.2.1.tgz","fileCount":6,"unpackedSize":19075,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcKnX7CRA9TVsSAnZWagAAop0P/jeFYfG5CISxbWSHStUm\nZ9uexTcc675XgUdYXHSLxr2iPlGWB2ZsWSKHhuR9LJ71uWAfXGQ31ep/JySk\nHSmlqe++JRVgaSs6K0L7t02DI7wykBQZ90ScsR/91o4lneRRc8VNOr6PRquF\n2gY1Hx09Pqu+x9qJDFS6IrY1J9trbyfngndqCcdusUotkv/4v++WNGJYx8Tv\nKTrtEXKZ3By4p0N8Vj8uYjMLU1Q5cnjbLi4wl9HNk9+Lh8+6xXm/fkrwIRBY\n3XpA5gTvth2VNFSJge1fba5YpAWn8djN3FOZxjnlRIkiPjjHoYJ4lW6/Bep+\nqtI3vyte1VTbhD4pJuwauIN3MVcAF21oVVagmgp6i/BM6LnyfaxmaC6IxMT0\nZk+DxC5UKdvh5VG29plpiu6ItncsQKj34AmD67Pp/h043kBjxRwbo4tB3HGp\nXhodxsp1yPFJrae9LNDzksYP7hiYZN5kp9WGVMadtU7D3ZqWu+dJowYUxZ8k\ngkytBOmYbtsAwVQBdwtt/4TDWrPvsMXv5yLPBGvAhPm5TuYSAyhZzkHUW9X7\nsJZOlRB5Q9iC3T4fYZAslCrv8aah9MlzHq3hMC4/xuhmVSABlB887U2339v3\nF4HTLmqiConfRbShmJehT7erALsST6SjoE1WCpSa/wMao6/m4DQCx0LoKuVg\nFYQC\r\n=sHSF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8lozyhJFKx7zQYXK2O1fCbFoo4YnfbeT+JxBBuNs8ugIhAJ5Oq1WQfk0PP0GLBtymptPbYY4YFRNh+nH+S6Z2nGsV"}]},"maintainers":[{"email":"blake.vizzone@gmail.com","name":"bvizzone"},{"email":"cdunbar@maxdigital.com","name":"cdunbar"},{"email":"frattaro@gmail.com","name":"frattaro"},{"email":"albert@imor.tl","name":"ignigena"},{"email":"jchaiyakhom@maxdigital.com","name":"jchaiyakhom"},{"email":"engops@maxdigital.com","name":"max-digital-engineering"},{"email":"mmorales@maxdigital.com","name":"mikasaraus"},{"email":"mtessenholtz@maxdigital.com","name":"mtessnholtz"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk.js_0.2.1_1546286586745_0.9472805895313114"},"_hasShrinkwrap":false},"0.2.2":{"name":"@maxdigital/sdk.js","version":"0.2.2","description":"Javascript SDK for running MAX apps on dealer sites","license":"ISC","main":"index.js","repository":{"type":"git","url":"git+https://bitbucket.org/max-digital/sdk.js.git"},"scripts":{"prepare":"npm run build","build":"parcel build ./index.js --out-file sdk.js --target browser","pretest":"npm run prepare","test":"jest","posttest":"eslint .","predeploy":"npm run prepare","deploy":"npm run deploy:${ENV:=beta}","deploy:alpha":"deploy -b alpha.maxapps.io -c ECLNV3RZHJ11Z ./dist","deploy:beta":"deploy -b beta.maxapps.io -c E3PK4SGOHDTDLR ./dist","deploy:prod":"deploy -b prod.maxapps.io -c E2R4Z0PL8OQGK3 -f '*.js' ./dist"},"dependencies":{"loadjs":"^3.5.5","promise-polyfill":"^8.1.0","unfetch":"^4.0.1"},"devDependencies":{"@babel/core":"^7.2.0","@babel/preset-env":"^7.2.0","@maxdigital/build":"^1.2.1","babel-eslint":"^10.0.1","cross-env":"^5.2.0","eslint":"^5.10.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jest":"^22.1.2","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","jest":"^23.6.0","parcel-bundler":"^1.10.3"},"gitHead":"58f6217bde759a383b5f22b377b8071e33251a16","homepage":"https://bitbucket.org/max-digital/sdk.js#readme","_id":"@maxdigital/sdk.js@0.2.2","_npmVersion":"6.5.0","_nodeVersion":"10.10.0","_npmUser":{"name":"bvizzone","email":"blake.vizzone@gmail.com"},"dist":{"integrity":"sha512-gQeMOU0PBtnnHbZaPM31X76C27yPcSHS/4EknGSENETAwCqjBJ/f+zukL3rttqRFe989ojE74mDVpXqUSDAu4w==","shasum":"c2498c6b67b92e8a673020bcf1eb5dc82515b21f","tarball":"https://registry.npmjs.org/@maxdigital/sdk.js/-/sdk.js-0.2.2.tgz","fileCount":5,"unpackedSize":19029,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcQgtbCRA9TVsSAnZWagAA9CUP/3/Whzrxd6qgoy/Rm1ak\nOCzE/qtC/k5FOqidR/s52kimRb093aTzYYAzIWhDKUgQ6iOQ6jSd/mvYkQzc\nwSyU2aL2teEtcMWGT9C/jP80LIcgKqrvSNveYvpDl5VNyhfiPdRdRl3+QvI6\n9h1yheH83yySLbNgoElcvdIaQ97NPkUknYPYVWKfqpgQFa+jysJqQ342BS5Y\nvSECi26OT+fAiA7NqybyxDalM3DCwqizO3NUhAb24ZVLkymwbl4MdD2B3S+N\nHW9kJDEb6jCtHyVh2w+6Uta7HDasIXxkm6WSQ5DJBCa5NLnpu8Oljf9AOpya\nMhYg/URLHgl7GtglRdgMF2KFc360jIhPbBJq6jh6+omwXA4eVfEMRU/ICOtJ\ndVzsw0GPb/+waxfKawP7ZjSZcYgLnMMLziNsYpznPiSz7PDCD7Y3SZK12T7S\n8Ocz6AVrOixwbxgJ7QvENTnr/ynUswVRC/xYbj0gSuw2vhpyXqMc97auxj3v\nlQfD7d9+PshwSuw/tk9zQDvwIf2bw2HuDz925zcOY5jg7jdOXFR8uCgYXr4M\nl0bSmj9nan/HuPz3x1q+x97Jq58TvTCPrrdmXPfR0Ghind0EH6q9n18DZwyj\neS9S8dLT1osWmR6bEzDDmDLLO6Mujf6l05J4hieHfKKGEldYGYLl7mFz7/5e\nBpfX\r\n=dJO1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDI8BwO3fRKkWuIcEKmma4s0weCqDjOD55JdKGxN0Sg8QIhAO+pGXvYrMC8dQuqxRgXea3Ougmud9slntYvS5P+ZmbJ"}]},"maintainers":[{"email":"blake.vizzone@gmail.com","name":"bvizzone"},{"email":"cdunbar@maxdigital.com","name":"cdunbar"},{"email":"frattaro@gmail.com","name":"frattaro"},{"email":"albert@imor.tl","name":"ignigena"},{"email":"jchaiyakhom@maxdigital.com","name":"jchaiyakhom"},{"email":"engops@maxdigital.com","name":"max-digital-engineering"},{"email":"mflores@maxdigital.com","name":"mflores_md"},{"email":"mmorales@maxdigital.com","name":"mikasaraus"},{"email":"mtessenholtz@maxdigital.com","name":"mtessnholtz"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk.js_0.2.2_1547832155134_0.9314229876151567"},"_hasShrinkwrap":false}},"time":{"created":"2018-11-02T16:55:27.329Z","0.1.0":"2018-11-02T16:55:27.627Z","modified":"2022-04-06T04:09:51.412Z","0.2.0":"2018-12-14T23:59:20.954Z","0.2.1":"2018-12-31T20:03:06.859Z","0.2.2":"2019-01-18T17:22:35.279Z"},"maintainers":[{"email":"albert@imor.tl","name":"ignigena"}],"description":"Javascript SDK for running MAX apps on dealer sites","license":"ISC","readme":"### Installation\n\nThe following embed code can be used on your website:\n\n```\n<script>\n(function(m,a,x,s,d,k){m.MaxApps=m.MaxApps||{};d=a.createElement(x);d.async=1;\nd.src=s;k=a.getElementsByTagName(x)[0];k.parentNode.insertBefore(d,k)})\n(window,document,'script','https://maxapps.io/sdk.js');\n</script>\n```\n\n### Configuration\n\nIf configuration is provided on page load (most common), the embed code will automatically boot and load all configured plugins. At minimum, a list of widgets to use must be supplied. A valid dealer ID is optional.\n\n```\n<script>\n(function(m,a,x,s,d,k){m.MaxApps=m.MaxApps||{};d=a.createElement(x);d.async=1;\nd.src=s;k=a.getElementsByTagName(x)[0];k.parentNode.insertBefore(d,k)})\n(window,document,'script','https://maxapps.io/sdk.js');\n</script>\n<script>\n  MaxApps.dealerId = '0C1B63CA-F1A7-E011-BBB1-001B219B7C2C'\n  MaxApps.use = ['tradeInTool']\n</script>\n```\n\nFor more advanced setups, such as use on a SPA, the widget may be booted manually with the necessary configuration. This can be done with the standard embed code from above or by importing as an NPM module to be used in your build system:\n\n```\nimport maxapps from '@maxdigital/sdk.js'\n\nmaxapps.boot('0C1B63CA-F1A7-E011-BBB1-001B219B7C2C', {\n  use: ['tradeInTool']\n  tradeInTool: {\n    selector: 'custom-selector'\n  }\n})\n```\n\n\n### Writing Plugins\n\nNon-core plugin exist outside of this project as standalone apps. Plugins can extend core functionality, require other plugins, or exist as an entirely standalone application.\n\n#### Naming\n\nA unique name should be used for each plugin. This key is used to load the plugin, namespace it within the SDK, and provide a unique configuration key. Plugin names should always be lowerCamelCase.\n\n#### Creating\n\nThe entry point for the plugin will be executed when the SDK is booted. If a module bundler such as Webpack is not used, take care not to pollute the global namespace since the SDK may be used on a variety of different sites with existing JS libraries.\n\nEach plugin should register itself with an install function upon loading. This will make the module active in the SDK. For most simple use-cases, the following function can be used in the entry point:\n\n```\nwindow.maxsdk.plugin('tradeInTool', function (config, require) {\n\n  // `config` includes an object if a configuration key has been provided by the\n  // user when registering the SDK. It should be treated as optional.\n\n  // `require` allows the plugin to declare a dependency on other plugins or\n  // load external fonts or stylesheets. If you are using a bundler such as\n  // webpack it is better to use this for any local dependencies.\n\n});\n```\n\nRemember, the name you use when registering the plugin should also match the filename of the entry point. This will also be used for namespacing the module, in the above example `maxsdk.app.tradeInTool` will contain the install function and any user provided configuration at the `tradeInTool` key will be included in the first parameter.\n\nFor more advanced use cases, such as when a plugin is meant to be used as a dependency, or if it just needs to expose functions after installation, an object may be provided instead:\n\n```\nwindow.maxsdk.plugin('tradeInTool', {\n  get vin() {\n    // Functions, properties, etc. are all exposed at `maxsdk.app.tradeInTool`\n    // Another plugin can call this via `maxsdk.app.tradeInTool.vin`\n  },\n  install: function (config, require) {\n    // This is invoked same as the above example!\n  }\n};\n```\n\n#### Deploying\n\nAll plugins should be published to the MaxApps SDK endpoint, under the `/apps` directory. When deployed, the filename of the entry point should match the name of the plugin along with a `.latest.js` suffix. This will be extended in the future with the ability to lock plugins to a semantic version number or tag. Additional files required (ex. module splitting, stylesheets, etc.) should either use the same plugin name prefix or be written to a folder matching the plugin name inside of `/apps`. It is recommended that all lazy-loaded requirements include a hash for caching purposes.\n","readmeFilename":"README.md","homepage":"https://bitbucket.org/max-digital/sdk.js#readme","repository":{"type":"git","url":"git+https://bitbucket.org/max-digital/sdk.js.git"}}