@secrecy/lib 1.74.5 → 1.74.6

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.
@@ -32,10 +32,7 @@ export const downloadDataLinkSchema = z.union([
32
32
  export async function downloadDataFromLink(opts) {
33
33
  let dataUrl = opts.dataUrl ?? 'https://data.secrecy.tech/';
34
34
  dataUrl = dataUrl.endsWith('/') ? dataUrl : `${dataUrl}/`;
35
- const rawDataLink = await fetch(`${dataUrl}${opts.dataLinkSlug}/json`, {
36
- mode: 'no-cors',
37
- credentials: 'include',
38
- })
35
+ const rawDataLink = await fetch(`${dataUrl}${opts.dataLinkSlug}/json`)
39
36
  .then((res) => res.json())
40
37
  .catch((err) => {
41
38
  throw new Error(`Unable to fetch "${`${dataUrl}${opts.dataLinkSlug}/json"`}`, { cause: err });
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@secrecy/lib",
3
3
  "author": "Anonymize <anonymize@gmail.com>",
4
4
  "description": "Anonymize Secrecy Library",
5
- "version": "1.74.5",
5
+ "version": "1.74.6",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/anonymize-org/lib.git"