@moonbase.sh/api 0.1.114 → 0.1.115
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 +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -451,7 +451,7 @@ var TrialEndpoints = class {
|
|
|
451
451
|
}
|
|
452
452
|
async import(trial) {
|
|
453
453
|
const request = importTrialRequestSchema.parse(trial);
|
|
454
|
-
const response = await this.api.fetch(`/api/
|
|
454
|
+
const response = await this.api.fetch(`/api/trials/import`, "POST", request);
|
|
455
455
|
return trialSchema.parse(response.data);
|
|
456
456
|
}
|
|
457
457
|
};
|
package/dist/index.js
CHANGED
|
@@ -404,7 +404,7 @@ var TrialEndpoints = class {
|
|
|
404
404
|
}
|
|
405
405
|
async import(trial) {
|
|
406
406
|
const request = importTrialRequestSchema.parse(trial);
|
|
407
|
-
const response = await this.api.fetch(`/api/
|
|
407
|
+
const response = await this.api.fetch(`/api/trials/import`, "POST", request);
|
|
408
408
|
return trialSchema.parse(response.data);
|
|
409
409
|
}
|
|
410
410
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moonbase.sh/api",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.115",
|
|
5
5
|
"description": "Package to let you integrate backends with Moonbase.sh as payment and delivery provider",
|
|
6
6
|
"author": "Tobias Lønnerød Madsen <m@dsen.tv>",
|
|
7
7
|
"license": "MIT",
|