@aurabase/functions 0.6.1 → 0.7.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/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -105,7 +105,7 @@ var FunctionsService = class extends core.BaseService {
|
|
|
105
105
|
error: new core.AuraError(0, {
|
|
106
106
|
error: {
|
|
107
107
|
code: "invalid_body",
|
|
108
|
-
message: `
|
|
108
|
+
message: `The invocation body must be JSON-serializable (object, array, string, number, boolean): a ${badBody} would be sent empty or mangled. Encode it (for example as base64) or go through Storage.`
|
|
109
109
|
}
|
|
110
110
|
})
|
|
111
111
|
};
|
|
@@ -172,7 +172,7 @@ var FunctionsService = class extends core.BaseService {
|
|
|
172
172
|
error: new core.AuraError(0, {
|
|
173
173
|
error: {
|
|
174
174
|
code: "invalid_response",
|
|
175
|
-
message: `
|
|
175
|
+
message: `The function returned binary content (HTTP ${invokeStatus}) that JSON mode cannot carry: use responseType 'blob' or 'arrayBuffer'.`
|
|
176
176
|
}
|
|
177
177
|
})
|
|
178
178
|
};
|
package/dist/index.js
CHANGED
|
@@ -103,7 +103,7 @@ var FunctionsService = class extends BaseService {
|
|
|
103
103
|
error: new AuraError(0, {
|
|
104
104
|
error: {
|
|
105
105
|
code: "invalid_body",
|
|
106
|
-
message: `
|
|
106
|
+
message: `The invocation body must be JSON-serializable (object, array, string, number, boolean): a ${badBody} would be sent empty or mangled. Encode it (for example as base64) or go through Storage.`
|
|
107
107
|
}
|
|
108
108
|
})
|
|
109
109
|
};
|
|
@@ -170,7 +170,7 @@ var FunctionsService = class extends BaseService {
|
|
|
170
170
|
error: new AuraError(0, {
|
|
171
171
|
error: {
|
|
172
172
|
code: "invalid_response",
|
|
173
|
-
message: `
|
|
173
|
+
message: `The function returned binary content (HTTP ${invokeStatus}) that JSON mode cannot carry: use responseType 'blob' or 'arrayBuffer'.`
|
|
174
174
|
}
|
|
175
175
|
})
|
|
176
176
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aurabase/functions",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Service edge functions du SDK Aurabase (invoke, jobs asynchrones, cron)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"author": "Aurabase",
|
|
32
32
|
"repository": {
|
|
33
33
|
"type": "git",
|
|
34
|
-
"url": "git+https://github.com/
|
|
34
|
+
"url": "git+https://github.com/Aurabase-cloud/Aurabase.git",
|
|
35
35
|
"directory": "aurabase-js/packages/functions"
|
|
36
36
|
},
|
|
37
37
|
"homepage": "https://aurabase.cloud",
|
|
38
38
|
"bugs": {
|
|
39
|
-
"url": "https://github.com/
|
|
39
|
+
"url": "https://github.com/Aurabase-cloud/Aurabase/issues"
|
|
40
40
|
},
|
|
41
41
|
"keywords": [
|
|
42
42
|
"aurabase",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"functions"
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@aurabase/core": "0.
|
|
48
|
+
"@aurabase/core": "0.7.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/node": "20.14.15",
|