buckyos 0.7.187 → 0.7.189
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/cli/dist/cli.mjs +6 -3
- package/cli/dist/cli.mjs.map +1 -1
- package/cli/modules/pikg_protocol.ts +4 -1
- package/cli/version.ts +1 -1
- package/dist/{aiws_write-675664eb.mjs → aiws_write-7fcf5c76.mjs} +4 -1
- package/dist/aiws_write-7fcf5c76.mjs.map +1 -0
- package/dist/{aiws_write-b0333ca1.js → aiws_write-a6e7e68a.js} +2 -2
- package/dist/aiws_write-a6e7e68a.js.map +1 -0
- package/dist/browser.cjs +1 -1
- package/dist/browser.mjs +3 -3
- package/dist/{content_objid-39f4f273.mjs → content_objid-4eb9862a.mjs} +2 -2
- package/dist/{content_objid-39f4f273.mjs.map → content_objid-4eb9862a.mjs.map} +1 -1
- package/dist/{content_objid-252bd154.js → content_objid-6b7b4900.js} +2 -2
- package/dist/{content_objid-252bd154.js.map → content_objid-6b7b4900.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +3 -3
- package/dist/nfsp.cjs.map +1 -1
- package/dist/nfsp.d.ts +1 -0
- package/dist/nfsp.d.ts.map +1 -1
- package/dist/nfsp.mjs.map +1 -1
- package/dist/node.cjs +1 -1
- package/dist/node.mjs +2 -2
- package/dist/verify-hub-client.d.ts +1 -0
- package/dist/verify-hub-client.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/aiws_write-675664eb.mjs.map +0 -1
- package/dist/aiws_write-b0333ca1.js.map +0 -1
|
@@ -698,7 +698,10 @@ export function extToolsManifestErrors(value: unknown): string[] {
|
|
|
698
698
|
if (manifest.schema !== EXT_TOOLS_MANIFEST_SCHEMA) errors.push(`schema must be ${EXT_TOOLS_MANIFEST_SCHEMA}`)
|
|
699
699
|
if (typeof manifest.id !== 'string' || !EXT_TOOLS_ID.test(manifest.id)) errors.push('id must be lowercase letters, digits and -')
|
|
700
700
|
if (typeof manifest.version !== 'string' || !EXT_TOOLS_VERSION.test(manifest.version)) errors.push('version must be letters, digits and ._+-')
|
|
701
|
-
if (!Array.isArray(manifest.provides)
|
|
701
|
+
if (!Array.isArray(manifest.provides)) errors.push('provides must be a list')
|
|
702
|
+
else if (manifest.provides.length === 0 && !(Array.isArray(manifest.online) && manifest.online.length > 0)) {
|
|
703
|
+
errors.push('a package provides commands or declares online items')
|
|
704
|
+
}
|
|
702
705
|
const online = extToolsOnlineErrors(manifest)
|
|
703
706
|
errors.push(...online.errors)
|
|
704
707
|
const commands = new Set<string>()
|
package/cli/version.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by scripts/generate-cli-version.mjs. Do not edit.
|
|
2
|
-
export const PACKAGE_VERSION = '0.7.
|
|
2
|
+
export const PACKAGE_VERSION = '0.7.189'
|
|
3
3
|
export const TOOL_VERSION = PACKAGE_VERSION
|
|
4
4
|
export const SDK_VERSION = PACKAGE_VERSION
|
|
5
5
|
export const PROTOCOL_VERSION = '1'
|
|
@@ -507,6 +507,9 @@ class VerifyHubClient {
|
|
|
507
507
|
if (params.login_nonce !== void 0) {
|
|
508
508
|
payload.login_nonce = params.login_nonce;
|
|
509
509
|
}
|
|
510
|
+
if (params.expires_in_secs !== void 0) {
|
|
511
|
+
payload.expires_in_secs = params.expires_in_secs;
|
|
512
|
+
}
|
|
510
513
|
return this.rpcClient.call("sudo_by_password", payload);
|
|
511
514
|
}
|
|
512
515
|
async refreshToken(params) {
|
|
@@ -32268,4 +32271,4 @@ export {
|
|
|
32268
32271
|
NOTIFY_CHOICE_CONTROL_ID as y,
|
|
32269
32272
|
NOTIFY_TEXT_CONTROL_ID as z
|
|
32270
32273
|
};
|
|
32271
|
-
//# sourceMappingURL=aiws_write-
|
|
32274
|
+
//# sourceMappingURL=aiws_write-7fcf5c76.mjs.map
|