seatable-html-page-sdk 0.0.6 → 0.0.7
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.js +3 -4
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/es/apis/html-page-api.js +3 -4
- package/es/apis/html-page-api.js.map +1 -1
- package/lib/apis/html-page-api.js +3 -4
- package/lib/apis/html-page-api.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3899,11 +3899,10 @@
|
|
|
3899
3899
|
});
|
|
3900
3900
|
}
|
|
3901
3901
|
_sendPut(url, data) {
|
|
3902
|
-
return this.req.put(url, {
|
|
3902
|
+
return this.req.put(url, data, {
|
|
3903
3903
|
headers: {
|
|
3904
3904
|
'Content-Type': 'application/json'
|
|
3905
|
-
}
|
|
3906
|
-
data
|
|
3905
|
+
}
|
|
3907
3906
|
});
|
|
3908
3907
|
}
|
|
3909
3908
|
listRows(page_id, table_name, start, limit) {
|
|
@@ -3945,7 +3944,7 @@
|
|
|
3945
3944
|
table_name,
|
|
3946
3945
|
rows_data
|
|
3947
3946
|
};
|
|
3948
|
-
return this.
|
|
3947
|
+
return this._sendPut(url, data);
|
|
3949
3948
|
}
|
|
3950
3949
|
deleteRows(page_id, table_name, rows_ids) {
|
|
3951
3950
|
const url = `${this.server}api/v2.1/universal-apps/${this.appUuid}/html-page-rows/`;
|