@applite/js-sdk 0.0.14 → 0.0.16
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.d.mts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +10 -10
package/dist/index.mjs
CHANGED
|
@@ -550,8 +550,8 @@ var _TestimonyApi = class _TestimonyApi {
|
|
|
550
550
|
* Customer: Submit a new testimony (status will be PENDING)
|
|
551
551
|
*/
|
|
552
552
|
async submit(params) {
|
|
553
|
-
const { appApiKey, ...rest } = params;
|
|
554
|
-
return this.http.post(`/testimony/submit`, {
|
|
553
|
+
const { appId, appApiKey, ...rest } = params;
|
|
554
|
+
return this.http.post(`/app/${appId}/testimony/submit`, {
|
|
555
555
|
appApiKey,
|
|
556
556
|
...rest
|
|
557
557
|
});
|
|
@@ -560,7 +560,8 @@ var _TestimonyApi = class _TestimonyApi {
|
|
|
560
560
|
* Public: List approved testimonies
|
|
561
561
|
*/
|
|
562
562
|
async listPublic(params) {
|
|
563
|
-
|
|
563
|
+
const { appId, ...rest } = params;
|
|
564
|
+
return this.http.post(`/app/${appId}/testimony/public`, rest);
|
|
564
565
|
}
|
|
565
566
|
};
|
|
566
567
|
__name(_TestimonyApi, "TestimonyApi");
|