@xiashe/sdk 0.1.50 → 0.1.52
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/index.mjs +3 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -24,7 +24,7 @@ export { createRuntimeHttpRecovery } from './runtimeHttpRecovery.mjs';
|
|
|
24
24
|
|
|
25
25
|
export { safeOutput as redactCredentials } from './outputSafety.mjs';
|
|
26
26
|
|
|
27
|
-
export const VERSION = '0.1.
|
|
27
|
+
export const VERSION = '0.1.52';
|
|
28
28
|
export { probeRuntimeGateway, runtimeSetupTemplate } from './runtimeSetup.mjs';
|
|
29
29
|
|
|
30
30
|
export const DEFAULTS = {
|
|
@@ -511,9 +511,9 @@ export class XiasheClient {
|
|
|
511
511
|
}
|
|
512
512
|
}
|
|
513
513
|
|
|
514
|
-
async resolveSkillNumber(number) {
|
|
514
|
+
async resolveSkillNumber(number, { account = false } = {}) {
|
|
515
515
|
this.assertNumbersEnvironment();
|
|
516
|
-
return this.mutation(api.skillNumbers.resolve, { number: String(number) });
|
|
516
|
+
return this.mutation(api.skillNumbers.resolve, { number: String(number), ...(account ? { account: this.authArgs({}) } : {}) });
|
|
517
517
|
}
|
|
518
518
|
async skillNumberAnalytics(number) {
|
|
519
519
|
this.assertNumbersEnvironment();
|