@capgo/cli 3.14.71 → 4.0.1

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/CHANGELOG.md CHANGED
@@ -2,6 +2,24 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [4.0.1](https://github.com/Cap-go/capgo-cli/compare/v4.0.0...v4.0.1) (2024-02-10)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * upload issue ([3dab88a](https://github.com/Cap-go/capgo-cli/commit/3dab88adab1072ce2a5976b2189828d754bdd45b))
11
+
12
+ ## [4.0.0](https://github.com/Cap-go/capgo-cli/compare/v3.14.71...v4.0.0) (2024-02-10)
13
+
14
+
15
+ ### ⚠ BREAKING CHANGES
16
+
17
+ * use node 20
18
+
19
+ ### Features
20
+
21
+ * use node 20 ([203a7da](https://github.com/Cap-go/capgo-cli/commit/203a7dad33693678551a6a0beccf7547289ba4d8))
22
+
5
23
  ### [3.14.71](https://github.com/Cap-go/capgo-cli/compare/v3.14.70...v3.14.71) (2024-02-10)
6
24
 
7
25
  ### [3.14.70](https://github.com/Cap-go/capgo-cli/compare/v3.14.69...v3.14.70) (2024-02-10)
package/dist/index.js CHANGED
@@ -61661,7 +61661,7 @@ var import_get_latest_version = __toESM(require_src3());
61661
61661
  // package.json
61662
61662
  var package_default = {
61663
61663
  name: "@capgo/cli",
61664
- version: "3.14.71",
61664
+ version: "4.0.1",
61665
61665
  description: "A CLI to upload to capgo servers",
61666
61666
  main: "dist/index.js",
61667
61667
  bin: {
@@ -62566,7 +62566,7 @@ async function uploadUrl(supabase, appId, bucketId) {
62566
62566
  bucket_id: bucketId
62567
62567
  };
62568
62568
  try {
62569
- const pathUploadLink = "private/upload_link";
62569
+ const pathUploadLink = "upload_link";
62570
62570
  const res = await supabase.functions.invoke(pathUploadLink, { body: JSON.stringify(data) });
62571
62571
  return res.data.url;
62572
62572
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/cli",
3
- "version": "3.14.71",
3
+ "version": "4.0.1",
4
4
  "description": "A CLI to upload to capgo servers",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
package/src/utils.ts CHANGED
@@ -404,7 +404,7 @@ export async function uploadUrl(supabase: SupabaseClient<Database>, appId: strin
404
404
  bucket_id: bucketId,
405
405
  }
406
406
  try {
407
- const pathUploadLink = 'private/upload_link'
407
+ const pathUploadLink = 'upload_link'
408
408
  // const pathUploadLink = 'private/upload_link' // TODO: switch to new endpoint when new backend released
409
409
  const res = await supabase.functions.invoke(pathUploadLink, { body: JSON.stringify(data) })
410
410
  return res.data.url