@beam3_dev/api_module 0.0.232 → 0.0.234
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/wb3Api.js +3 -8
- package/dist/wb3Api.js.map +1 -1
- package/dist/wb3Api.umd.cjs +1 -1
- package/dist/wb3Api.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/wb3Api.js
CHANGED
|
@@ -2049,7 +2049,7 @@ function pt(e, t, n = void 0, s = void 0) {
|
|
|
2049
2049
|
});
|
|
2050
2050
|
}
|
|
2051
2051
|
function lt(e, t = void 0, n = void 0) {
|
|
2052
|
-
const s = `${e.
|
|
2052
|
+
const s = `${e._3DSwym}/api/idea/get`;
|
|
2053
2053
|
if (e.idPost === "") {
|
|
2054
2054
|
const r = "☠️ idPost est vide, vous devez renseigner un identifiant de post";
|
|
2055
2055
|
throw new Error(`Erreur sur cette requête : ${s}`, { cause: r });
|
|
@@ -2094,7 +2094,7 @@ function ft(e, t, n) {
|
|
|
2094
2094
|
published: "1"
|
|
2095
2095
|
}
|
|
2096
2096
|
};
|
|
2097
|
-
console.log("body", i),
|
|
2097
|
+
console.log("body", i), w((r) => {
|
|
2098
2098
|
const o = {
|
|
2099
2099
|
method: "POST",
|
|
2100
2100
|
headers: {
|
|
@@ -2266,12 +2266,7 @@ function gt(e, t = void 0, n = void 0) {
|
|
|
2266
2266
|
}
|
|
2267
2267
|
});
|
|
2268
2268
|
} else
|
|
2269
|
-
n && n({
|
|
2270
|
-
status: "error",
|
|
2271
|
-
msg: "Credentials incomplet !",
|
|
2272
|
-
attend: "tenant, _3DSwym , _3DSwym_token, community_id, idea_id",
|
|
2273
|
-
credentials: e
|
|
2274
|
-
});
|
|
2269
|
+
n && n({ status: "error", msg: "Credentials incomplet !", attend: "tenant, _3DSwym , _3DSwym_token, community_id, idea_id", credentials: e });
|
|
2275
2270
|
}
|
|
2276
2271
|
function ht(e, t = void 0, n = void 0) {
|
|
2277
2272
|
const s = e._3DSwym + "/api/user/getcurrent/";
|