diff --git a/package.json b/package.json index 2a6a8c248..d535bbcc6 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "version": "json -f package.json -I -e \"this.repository.sha = '$(git log -n1 --pretty=format:%H)'\"" }, "dependencies": { + "@vernier/godirect": "^1.0.3", "arraybuffer-loader": "^1.0.6", "atob": "2.1.2", "btoa": "1.2.1", diff --git a/src/extensions/scratch3_gdx_for/index.js b/src/extensions/scratch3_gdx_for/index.js index ec29cb713..bf73bdf61 100644 --- a/src/extensions/scratch3_gdx_for/index.js +++ b/src/extensions/scratch3_gdx_for/index.js @@ -6,7 +6,7 @@ const formatMessage = require('format-message'); const BLE = require('../../io/ble'); const Base64Util = require('../../util/base64-util'); //const ScratchLinkProxy = require('./scratch-link-proxy'); -const createDevice = require('@vernier/godirect/src/godirect').default.createDevice; +const createDevice = require('@vernier/godirect').default.createDevice; /** * Icon png to be displayed at the left edge of each extension block, encoded as a data URI.