@webdock/sdk 1.0.5968 → 1.0.59689

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.mjs CHANGED
@@ -1827,7 +1827,7 @@ const {
1827
1827
  formToJSON: uo,
1828
1828
  getAdapter: lo,
1829
1829
  mergeConfig: fo
1830
- } = D, ss = "1.0.5968";
1830
+ } = D, ss = "1.0.59689";
1831
1831
  async function P(r) {
1832
1832
  var e, t, n;
1833
1833
  try {
@@ -1901,6 +1901,25 @@ class is {
1901
1901
  }
1902
1902
  );
1903
1903
  }
1904
+ update({
1905
+ id: e,
1906
+ name: t,
1907
+ filename: n,
1908
+ content: s
1909
+ }) {
1910
+ return P(
1911
+ {
1912
+ token: this.parent.string_token,
1913
+ endpoint: `/account/scripts/${e}`,
1914
+ method: "PATCH",
1915
+ body: {
1916
+ name: t,
1917
+ filename: n,
1918
+ content: s
1919
+ }
1920
+ }
1921
+ );
1922
+ }
1904
1923
  create({ content: e, filename: t, name: n }) {
1905
1924
  return P(
1906
1925
  {
@@ -2114,25 +2133,6 @@ class fs {
2114
2133
  method: "GET"
2115
2134
  });
2116
2135
  }
2117
- update({
2118
- id: e,
2119
- name: t,
2120
- filename: n,
2121
- content: s
2122
- }) {
2123
- return P(
2124
- {
2125
- token: this.parent.string_token,
2126
- endpoint: `/account/scripts/${e}`,
2127
- method: "PATCH",
2128
- body: {
2129
- name: t,
2130
- filename: n,
2131
- content: s
2132
- }
2133
- }
2134
- );
2135
- }
2136
2136
  }
2137
2137
  class ps {
2138
2138
  constructor(e) {