sporades 0.6.5 → 0.6.6
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/CHANGES.md +2 -2
- package/bin/sporades-host-helper.js +1 -1
- package/bin/sporades.js +9 -3
- package/dist/cli/cli-version.d.ts +1 -1
- package/dist/cli/cli-version.js +1 -1
- package/dist/templates/client-runtime-template.d.ts.map +1 -1
- package/dist/templates/client-runtime-template.js +8 -2
- package/dist/templates/client-runtime-template.js.map +1 -1
- package/package.json +1 -1
package/CHANGES.md
CHANGED
|
@@ -391,7 +391,7 @@ function writeEnvelope(result, failed = false) {
|
|
|
391
391
|
}
|
|
392
392
|
|
|
393
393
|
// src/cli/cli-version.ts
|
|
394
|
-
var CLI_VERSION = "0.6.
|
|
394
|
+
var CLI_VERSION = "0.6.6";
|
|
395
395
|
|
|
396
396
|
// src/cli/schedule-inspection-envelope.ts
|
|
397
397
|
function sanitizeScheduleInspectionEnvelope(envelope, invalid) {
|
package/bin/sporades.js
CHANGED
|
@@ -1034,10 +1034,16 @@ function createConnection() {
|
|
|
1034
1034
|
return request("mutation.run", { mutation: name, args });
|
|
1035
1035
|
},
|
|
1036
1036
|
getPreferences() {
|
|
1037
|
-
return request("preferences.get")
|
|
1037
|
+
return request("preferences.get").then((result) => {
|
|
1038
|
+
if (result.error) throw structuredError(result.error);
|
|
1039
|
+
return result.data.preferences;
|
|
1040
|
+
});
|
|
1038
1041
|
},
|
|
1039
1042
|
updatePreferences(patch) {
|
|
1040
|
-
return request("preferences.update", { patch })
|
|
1043
|
+
return request("preferences.update", { patch }).then((result) => {
|
|
1044
|
+
if (result.error) throw structuredError(result.error);
|
|
1045
|
+
return result.data.preferences;
|
|
1046
|
+
});
|
|
1041
1047
|
},
|
|
1042
1048
|
journeyEnable(options = {}) {
|
|
1043
1049
|
return request("journey.enable", { options }).then((result) => {
|
|
@@ -21906,7 +21912,7 @@ jobs:
|
|
|
21906
21912
|
}
|
|
21907
21913
|
|
|
21908
21914
|
// src/cli/cli-version.ts
|
|
21909
|
-
var CLI_VERSION = "0.6.
|
|
21915
|
+
var CLI_VERSION = "0.6.6";
|
|
21910
21916
|
|
|
21911
21917
|
// src/cli/sporades.ts
|
|
21912
21918
|
var SUPPORTED_TEMPLATES = new Set(CLIENT_TEMPLATES);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const CLI_VERSION = "0.6.
|
|
1
|
+
export declare const CLI_VERSION = "0.6.6";
|
|
2
2
|
//# sourceMappingURL=cli-version.d.ts.map
|
package/dist/cli/cli-version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-runtime-template.d.ts","sourceRoot":"","sources":["../../src/templates/client-runtime-template.ts"],"names":[],"mappings":"AAAA,wBAAgB,yBAAyB,CAAC,OAAO,GAAE;IAAE,UAAU,CAAC,EAAE,OAAO,CAAA;CAAO,
|
|
1
|
+
{"version":3,"file":"client-runtime-template.d.ts","sourceRoot":"","sources":["../../src/templates/client-runtime-template.ts"],"names":[],"mappings":"AAAA,wBAAgB,yBAAyB,CAAC,OAAO,GAAE;IAAE,UAAU,CAAC,EAAE,OAAO,CAAA;CAAO,UAqnC/E"}
|
|
@@ -1011,10 +1011,16 @@ function createConnection() {
|
|
|
1011
1011
|
return request("mutation.run", { mutation: name, args });
|
|
1012
1012
|
},
|
|
1013
1013
|
getPreferences() {
|
|
1014
|
-
return request("preferences.get")
|
|
1014
|
+
return request("preferences.get").then((result) => {
|
|
1015
|
+
if (result.error) throw structuredError(result.error);
|
|
1016
|
+
return result.data.preferences;
|
|
1017
|
+
});
|
|
1015
1018
|
},
|
|
1016
1019
|
updatePreferences(patch) {
|
|
1017
|
-
return request("preferences.update", { patch })
|
|
1020
|
+
return request("preferences.update", { patch }).then((result) => {
|
|
1021
|
+
if (result.error) throw structuredError(result.error);
|
|
1022
|
+
return result.data.preferences;
|
|
1023
|
+
});
|
|
1018
1024
|
},
|
|
1019
1025
|
journeyEnable(options = {}) {
|
|
1020
1026
|
return request("journey.enable", { options }).then((result) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-runtime-template.js","sourceRoot":"","sources":["../../src/templates/client-runtime-template.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,yBAAyB,CAAC,UAAoC,EAAE;IAC9E,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAmjBL,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,mCAAmC,CAAC,CAAC,CAAC,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA8BzD,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,mCAAmC,CAAC,CAAC,CAAC,EAAE;;;;;;;;;;;;;;;;;;QAkB7D,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;;;;;;;;;;QAUrB,CAAC,CAAC,CAAC,EAAE
|
|
1
|
+
{"version":3,"file":"client-runtime-template.js","sourceRoot":"","sources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