microboard-temp 0.5.125 → 0.5.126

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.
@@ -40868,7 +40868,7 @@ class Frame2 extends BaseItem {
40868
40868
  }
40869
40869
  // src/api/MediaHelpers.ts
40870
40870
  var uploadSvgDirectly = async (blob, accessToken, boardId, baseUrl) => {
40871
- const response = await fetch(`${baseUrl || ""}/api/v1/media/svg/${boardId}`, {
40871
+ const response = await fetch(`${baseUrl || ""}/svg/${boardId}`, {
40872
40872
  method: "POST",
40873
40873
  headers: {
40874
40874
  "Content-Type": "image/svg+xml",
@@ -40887,7 +40887,7 @@ var uploadSvgDirectly = async (blob, accessToken, boardId, baseUrl) => {
40887
40887
  return data.url;
40888
40888
  };
40889
40889
  var uploadWithPresignedUrl = async (blob, accessToken, boardId, type, baseUrl) => {
40890
- const generateUrlResponse = await fetch(`${baseUrl || ""}/api/v1/media/upload`, {
40890
+ const generateUrlResponse = await fetch(`${baseUrl || ""}/media/upload`, {
40891
40891
  method: "POST",
40892
40892
  headers: {
40893
40893
  "Content-Type": "application/json",
package/dist/cjs/index.js CHANGED
@@ -40868,7 +40868,7 @@ class Frame2 extends BaseItem {
40868
40868
  }
40869
40869
  // src/api/MediaHelpers.ts
40870
40870
  var uploadSvgDirectly = async (blob, accessToken, boardId, baseUrl) => {
40871
- const response = await fetch(`${baseUrl || ""}/api/v1/media/svg/${boardId}`, {
40871
+ const response = await fetch(`${baseUrl || ""}/svg/${boardId}`, {
40872
40872
  method: "POST",
40873
40873
  headers: {
40874
40874
  "Content-Type": "image/svg+xml",
@@ -40887,7 +40887,7 @@ var uploadSvgDirectly = async (blob, accessToken, boardId, baseUrl) => {
40887
40887
  return data.url;
40888
40888
  };
40889
40889
  var uploadWithPresignedUrl = async (blob, accessToken, boardId, type, baseUrl) => {
40890
- const generateUrlResponse = await fetch(`${baseUrl || ""}/api/v1/media/upload`, {
40890
+ const generateUrlResponse = await fetch(`${baseUrl || ""}/media/upload`, {
40891
40891
  method: "POST",
40892
40892
  headers: {
40893
40893
  "Content-Type": "application/json",
package/dist/cjs/node.js CHANGED
@@ -43341,7 +43341,7 @@ class Frame2 extends BaseItem {
43341
43341
  }
43342
43342
  // src/api/MediaHelpers.ts
43343
43343
  var uploadSvgDirectly = async (blob, accessToken, boardId, baseUrl) => {
43344
- const response = await fetch(`${baseUrl || ""}/api/v1/media/svg/${boardId}`, {
43344
+ const response = await fetch(`${baseUrl || ""}/svg/${boardId}`, {
43345
43345
  method: "POST",
43346
43346
  headers: {
43347
43347
  "Content-Type": "image/svg+xml",
@@ -43360,7 +43360,7 @@ var uploadSvgDirectly = async (blob, accessToken, boardId, baseUrl) => {
43360
43360
  return data.url;
43361
43361
  };
43362
43362
  var uploadWithPresignedUrl = async (blob, accessToken, boardId, type, baseUrl) => {
43363
- const generateUrlResponse = await fetch(`${baseUrl || ""}/api/v1/media/upload`, {
43363
+ const generateUrlResponse = await fetch(`${baseUrl || ""}/media/upload`, {
43364
43364
  method: "POST",
43365
43365
  headers: {
43366
43366
  "Content-Type": "application/json",
@@ -40714,7 +40714,7 @@ class Frame2 extends BaseItem {
40714
40714
  }
40715
40715
  // src/api/MediaHelpers.ts
40716
40716
  var uploadSvgDirectly = async (blob, accessToken, boardId, baseUrl) => {
40717
- const response = await fetch(`${baseUrl || ""}/api/v1/media/svg/${boardId}`, {
40717
+ const response = await fetch(`${baseUrl || ""}/svg/${boardId}`, {
40718
40718
  method: "POST",
40719
40719
  headers: {
40720
40720
  "Content-Type": "image/svg+xml",
@@ -40733,7 +40733,7 @@ var uploadSvgDirectly = async (blob, accessToken, boardId, baseUrl) => {
40733
40733
  return data.url;
40734
40734
  };
40735
40735
  var uploadWithPresignedUrl = async (blob, accessToken, boardId, type, baseUrl) => {
40736
- const generateUrlResponse = await fetch(`${baseUrl || ""}/api/v1/media/upload`, {
40736
+ const generateUrlResponse = await fetch(`${baseUrl || ""}/media/upload`, {
40737
40737
  method: "POST",
40738
40738
  headers: {
40739
40739
  "Content-Type": "application/json",
package/dist/esm/index.js CHANGED
@@ -40707,7 +40707,7 @@ class Frame2 extends BaseItem {
40707
40707
  }
40708
40708
  // src/api/MediaHelpers.ts
40709
40709
  var uploadSvgDirectly = async (blob, accessToken, boardId, baseUrl) => {
40710
- const response = await fetch(`${baseUrl || ""}/api/v1/media/svg/${boardId}`, {
40710
+ const response = await fetch(`${baseUrl || ""}/svg/${boardId}`, {
40711
40711
  method: "POST",
40712
40712
  headers: {
40713
40713
  "Content-Type": "image/svg+xml",
@@ -40726,7 +40726,7 @@ var uploadSvgDirectly = async (blob, accessToken, boardId, baseUrl) => {
40726
40726
  return data.url;
40727
40727
  };
40728
40728
  var uploadWithPresignedUrl = async (blob, accessToken, boardId, type, baseUrl) => {
40729
- const generateUrlResponse = await fetch(`${baseUrl || ""}/api/v1/media/upload`, {
40729
+ const generateUrlResponse = await fetch(`${baseUrl || ""}/media/upload`, {
40730
40730
  method: "POST",
40731
40731
  headers: {
40732
40732
  "Content-Type": "application/json",
package/dist/esm/node.js CHANGED
@@ -43175,7 +43175,7 @@ class Frame2 extends BaseItem {
43175
43175
  }
43176
43176
  // src/api/MediaHelpers.ts
43177
43177
  var uploadSvgDirectly = async (blob, accessToken, boardId, baseUrl) => {
43178
- const response = await fetch(`${baseUrl || ""}/api/v1/media/svg/${boardId}`, {
43178
+ const response = await fetch(`${baseUrl || ""}/svg/${boardId}`, {
43179
43179
  method: "POST",
43180
43180
  headers: {
43181
43181
  "Content-Type": "image/svg+xml",
@@ -43194,7 +43194,7 @@ var uploadSvgDirectly = async (blob, accessToken, boardId, baseUrl) => {
43194
43194
  return data.url;
43195
43195
  };
43196
43196
  var uploadWithPresignedUrl = async (blob, accessToken, boardId, type, baseUrl) => {
43197
- const generateUrlResponse = await fetch(`${baseUrl || ""}/api/v1/media/upload`, {
43197
+ const generateUrlResponse = await fetch(`${baseUrl || ""}/media/upload`, {
43198
43198
  method: "POST",
43199
43199
  headers: {
43200
43200
  "Content-Type": "application/json",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.5.125",
3
+ "version": "0.5.126",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",