motia 0.7.2-beta.133 → 0.7.2-beta.134
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.
|
@@ -7,6 +7,7 @@ exports.startDeployment = void 0;
|
|
|
7
7
|
const axios_1 = __importDefault(require("axios"));
|
|
8
8
|
const endpoints_1 = require("./endpoints");
|
|
9
9
|
const startDeployment = async (request) => {
|
|
10
|
-
|
|
10
|
+
const response = await axios_1.default.post(endpoints_1.cloudEndpoints.startDeployment, request);
|
|
11
|
+
return response.data;
|
|
11
12
|
};
|
|
12
13
|
exports.startDeployment = startDeployment;
|
|
@@ -42,7 +42,7 @@ const deploy = async (input) => {
|
|
|
42
42
|
else {
|
|
43
43
|
context.log('deploy-progress', (message) => message
|
|
44
44
|
.tag('progress')
|
|
45
|
-
.append(`Deployment in progress... You can view the deployment at ${response
|
|
45
|
+
.append(`Deployment in progress... You can view the deployment at ${response?.deploymentUrl}`));
|
|
46
46
|
client.close();
|
|
47
47
|
}
|
|
48
48
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
2
|
import { cloudEndpoints } from './endpoints';
|
|
3
3
|
export const startDeployment = async (request) => {
|
|
4
|
-
|
|
4
|
+
const response = await axios.post(cloudEndpoints.startDeployment, request);
|
|
5
|
+
return response.data;
|
|
5
6
|
};
|
|
@@ -39,7 +39,7 @@ export const deploy = async (input) => {
|
|
|
39
39
|
else {
|
|
40
40
|
context.log('deploy-progress', (message) => message
|
|
41
41
|
.tag('progress')
|
|
42
|
-
.append(`Deployment in progress... You can view the deployment at ${response
|
|
42
|
+
.append(`Deployment in progress... You can view the deployment at ${response?.deploymentUrl}`));
|
|
43
43
|
client.close();
|
|
44
44
|
}
|
|
45
45
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "motia",
|
|
3
3
|
"description": "A Modern Unified Backend Framework for APIs, Events and Agents",
|
|
4
|
-
"version": "0.7.2-beta.
|
|
4
|
+
"version": "0.7.2-beta.134",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"python-ast": "^0.1.0",
|
|
47
47
|
"table": "^6.9.0",
|
|
48
48
|
"ts-node": "^10.9.2",
|
|
49
|
-
"@motiadev/
|
|
50
|
-
"@motiadev/
|
|
51
|
-
"@motiadev/
|
|
49
|
+
"@motiadev/workbench": "0.7.2-beta.134",
|
|
50
|
+
"@motiadev/stream-client-node": "0.7.2-beta.134",
|
|
51
|
+
"@motiadev/core": "0.7.2-beta.134"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@amplitude/analytics-types": "^2.9.2",
|