@23blocks/block-forms 3.0.1 → 3.1.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.esm.js CHANGED
@@ -971,7 +971,7 @@ function createPublicFormsService(transport, _config) {
971
971
  return decodeOne(response, publicFormResponseMapper);
972
972
  },
973
973
  async draft (urlId, data) {
974
- const response = await transport.patch(`/${urlId}/forms/public`, {
974
+ const response = await transport.put(`/${urlId}/forms/public`, {
975
975
  form_draft: {
976
976
  data: data.data,
977
977
  payload: data.payload
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@23blocks/block-forms",
3
- "version": "3.0.1",
3
+ "version": "3.1.0",
4
4
  "description": "Forms block for 23blocks SDK - dynamic forms, schemas, submissions, and form management",
5
5
  "license": "MIT",
6
6
  "author": "23blocks <hello@23blocks.com>",