@aiam/ciba 0.8.9 → 0.9.0
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.
- package/ciba.mjs +2 -2
- package/package.json +1 -1
package/ciba.mjs
CHANGED
|
@@ -656,7 +656,7 @@ const tokenCmd = defineCommand({
|
|
|
656
656
|
...outputArgs,
|
|
657
657
|
},
|
|
658
658
|
async run({ args }) {
|
|
659
|
-
const tokenScript = join(
|
|
659
|
+
const tokenScript = join(_pkgDir, "token.mjs");
|
|
660
660
|
const argv = [tokenScript];
|
|
661
661
|
if (args.resource) argv.push('--resource', args.resource);
|
|
662
662
|
if (args.json) argv.push('--json');
|
|
@@ -677,7 +677,7 @@ const refreshCmd = defineCommand({
|
|
|
677
677
|
async run({ args }) {
|
|
678
678
|
// refresh writes to device-doc requests and returns immediately.
|
|
679
679
|
// token.mjs will pick up the new token when it arrives.
|
|
680
|
-
const tokenScript = join(
|
|
680
|
+
const tokenScript = join(_pkgDir, "token.mjs");
|
|
681
681
|
const argv = [tokenScript, '--refresh'];
|
|
682
682
|
if (args.resource) argv.push('--resource', args.resource);
|
|
683
683
|
if (args.json) argv.push('--json');
|
package/package.json
CHANGED