@plasmicpkgs/fetch 0.0.4 → 0.0.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.
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +30 -4
- package/dist/index.esm.js.map +2 -2
- package/dist/index.js +30 -4
- package/dist/index.js.map +2 -2
- package/package.json +8 -6
package/dist/index.d.ts
CHANGED
package/dist/index.esm.js
CHANGED
|
@@ -21,6 +21,14 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21
21
|
|
|
22
22
|
// src/index.ts
|
|
23
23
|
import registerFunction from "@plasmicapp/host/registerFunction";
|
|
24
|
+
var HttpError = class extends Error {
|
|
25
|
+
constructor(statusText, info, status) {
|
|
26
|
+
super(statusText);
|
|
27
|
+
this.info = info;
|
|
28
|
+
this.status = status;
|
|
29
|
+
this.name = "HttpError";
|
|
30
|
+
}
|
|
31
|
+
};
|
|
24
32
|
function base64StringToBuffer(bstr) {
|
|
25
33
|
try {
|
|
26
34
|
bstr = atob(bstr);
|
|
@@ -53,17 +61,35 @@ function maybeParseJSON(json) {
|
|
|
53
61
|
}
|
|
54
62
|
function wrappedFetch(url, method, headers, body) {
|
|
55
63
|
return __async(this, null, function* () {
|
|
64
|
+
if (!url) {
|
|
65
|
+
throw new Error("Please specify a URL to fetch");
|
|
66
|
+
}
|
|
67
|
+
if (!headers) {
|
|
68
|
+
headers = {};
|
|
69
|
+
}
|
|
70
|
+
const headerNamesLowercase = new Set(
|
|
71
|
+
Object.keys(headers).map((headerName) => headerName.toLowerCase())
|
|
72
|
+
);
|
|
73
|
+
if (!headerNamesLowercase.has("accept")) {
|
|
74
|
+
headers["Accept"] = "application/json";
|
|
75
|
+
}
|
|
76
|
+
if (body && !headerNamesLowercase.has("content-type")) {
|
|
77
|
+
headers["Content-Type"] = "application/json";
|
|
78
|
+
}
|
|
56
79
|
const response = yield fetch(url, {
|
|
57
80
|
method,
|
|
58
81
|
headers,
|
|
59
82
|
body: bodyToFetchBody(body)
|
|
60
83
|
});
|
|
61
|
-
const
|
|
62
|
-
const
|
|
84
|
+
const text = yield response.text();
|
|
85
|
+
const maybeJson = maybeParseJSON(text);
|
|
86
|
+
if (!response.ok) {
|
|
87
|
+
throw new HttpError(response.statusText, maybeJson, response.status);
|
|
88
|
+
}
|
|
63
89
|
return {
|
|
64
|
-
statusCode,
|
|
90
|
+
statusCode: response.status,
|
|
65
91
|
headers: Object.fromEntries(response.headers.entries()),
|
|
66
|
-
|
|
92
|
+
body: maybeJson
|
|
67
93
|
};
|
|
68
94
|
});
|
|
69
95
|
}
|
package/dist/index.esm.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["import registerFunction, {\n CustomFunctionMeta,\n} from \"@plasmicapp/host/registerFunction\";\n\ntype Registerable = {\n registerFunction: typeof registerFunction;\n};\n\n// Some functions were extracted from platform/wab/src/wab/server/data-sources/http-fetcher.ts\
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,sBAEA;
|
|
4
|
+
"sourcesContent": ["import registerFunction, {\n CustomFunctionMeta,\n} from \"@plasmicapp/host/registerFunction\";\n\ntype Registerable = {\n registerFunction: typeof registerFunction;\n};\n\nclass HttpError extends Error {\n constructor(\n statusText: string,\n readonly info: unknown,\n readonly status: number\n ) {\n super(statusText);\n this.name = \"HttpError\";\n }\n}\n\n// Some functions were extracted from platform/wab/src/wab/server/data-sources/http-fetcher.ts\ntype HTTPMethod = \"GET\" | \"POST\" | \"PUT\" | \"DELETE\";\n\nfunction base64StringToBuffer(bstr: string) {\n try {\n bstr = atob(bstr);\n } catch (e) {\n throw new Error(\"Invalid base64 for binary type\");\n }\n const uint8Array = new Uint8Array(bstr.length);\n for (let i = 0; i < bstr.length; i++) {\n uint8Array[i] = bstr.charCodeAt(i);\n }\n return uint8Array.buffer;\n}\n\nfunction bodyToFetchBody(body?: string | object) {\n if (body == null) {\n return undefined;\n } else if (typeof body === \"object\") {\n return JSON.stringify(body);\n } else if (body.startsWith(\"@binary\")) {\n return base64StringToBuffer(body.slice(\"@binary\".length));\n } else {\n return body;\n }\n}\n\nfunction maybeParseJSON(json: string) {\n try {\n return JSON.parse(json);\n } catch (e) {\n return json;\n }\n}\n\n// Don't override the global fetch\nasync function wrappedFetch(\n url: string,\n method: HTTPMethod,\n headers: Record<string, string>,\n body?: string | object\n) {\n if (!url) {\n throw new Error(\"Please specify a URL to fetch\");\n }\n\n // Add default headers unless specified\n if (!headers) {\n headers = {};\n }\n const headerNamesLowercase = new Set(\n Object.keys(headers).map((headerName) => headerName.toLowerCase())\n );\n if (!headerNamesLowercase.has(\"accept\")) {\n headers[\"Accept\"] = \"application/json\";\n }\n if (body && !headerNamesLowercase.has(\"content-type\")) {\n headers[\"Content-Type\"] = \"application/json\";\n }\n\n const response = await fetch(url, {\n method,\n headers,\n body: bodyToFetchBody(body),\n });\n\n const text = await response.text();\n const maybeJson = maybeParseJSON(text);\n\n // @see https://swr.vercel.app/docs/error-handling\n // If the status code is not in the range 200-299,\n // we still try to parse and throw it.\n if (!response.ok) {\n throw new HttpError(response.statusText, maybeJson, response.status);\n }\n\n return {\n statusCode: response.status,\n headers: Object.fromEntries(response.headers.entries()),\n body: maybeJson,\n };\n}\n\nexport { wrappedFetch as fetch };\n\nconst registerFetchParams: CustomFunctionMeta<typeof wrappedFetch> = {\n name: \"fetch\",\n importPath: \"@plasmicpkgs/fetch\",\n params: [\n {\n name: \"url\",\n type: \"string\",\n },\n {\n name: \"method\",\n type: \"choice\",\n options: [\"GET\", \"POST\", \"PUT\", \"DELETE\"],\n },\n {\n name: \"headers\",\n type: \"object\",\n },\n {\n name: \"body\",\n type: \"object\",\n },\n ],\n};\n\nexport function registerFetch(loader?: Registerable) {\n if (loader) {\n loader.registerFunction(wrappedFetch, registerFetchParams);\n } else {\n registerFunction(wrappedFetch, regist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,IAAI;AAAA,IACtB;AACA,QAAI,QAAQ,CAAC,qBAAqB,IAAI,cAAc,GAAG;AACrD,cAAQ,cAAc,IAAI;AAAA,IAC5B;AAEA,UAAM,WAAW,MAAM,MAAM,KAAK;AAAA,MAChC;AAAA,MACA;AAAA,MACA,MAAM,gBAAgB,IAAI;AAAA,IAC5B,CAAC;AAED,UAAM,OAAO,MAAM,SAAS,KAAK;AACjC,UAAM,YAAY,eAAe,IAAI;AAKrC,QAAI,CAAC,SAAS,IAAI;AAChB,YAAM,IAAI,UAAU,SAAS,YAAY,WAAW,SAAS,MAAM;AAAA,IACrE;AAEA,WAAO;AAAA,MACL,YAAY,SAAS;AAAA,MACrB,SAAS,OAAO,YAAY,SAAS,QAAQ,QAAQ,CAAC;AAAA,MACtD,MAAM;AAAA,IACR;AAAA,EACF;AAAA;AAIA,IAAM,sBAA+D;AAAA,EACnE,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,QAAQ;AAAA,IACN;AAAA,MACE,MAAM;AAAA,MACN,MAAM;AAAA,IACR;AAAA,IACA;AAAA,MACE,MAAM;AAAA,MACN,MAAM;AAAA,MACN,SAAS,CAAC,OAAO,QAAQ,OAAO,QAAQ;AAAA,IAC1C;AAAA,IACA;AAAA,MACE,MAAM;AAAA,MACN,MAAM;AAAA,IACR;AAAA,IACA;AAAA,MACE,MAAM;AAAA,MACN,MAAM;AAAA,IACR;AAAA,EACF;AACF;AAEO,SAAS,cAAc,QAAuB;AACnD,MAAI,QAAQ;AACV,WAAO,iBAAiB,cAAc,mBAAmB;AAAA,EAC3D,OAAO;AACL,qBAAiB,cAAc,mBAAmB;AAAA,EACpD;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/index.js
CHANGED
|
@@ -55,6 +55,14 @@ __export(src_exports, {
|
|
|
55
55
|
});
|
|
56
56
|
module.exports = __toCommonJS(src_exports);
|
|
57
57
|
var import_registerFunction = __toESM(require("@plasmicapp/host/registerFunction"));
|
|
58
|
+
var HttpError = class extends Error {
|
|
59
|
+
constructor(statusText, info, status) {
|
|
60
|
+
super(statusText);
|
|
61
|
+
this.info = info;
|
|
62
|
+
this.status = status;
|
|
63
|
+
this.name = "HttpError";
|
|
64
|
+
}
|
|
65
|
+
};
|
|
58
66
|
function base64StringToBuffer(bstr) {
|
|
59
67
|
try {
|
|
60
68
|
bstr = atob(bstr);
|
|
@@ -87,17 +95,35 @@ function maybeParseJSON(json) {
|
|
|
87
95
|
}
|
|
88
96
|
function wrappedFetch(url, method, headers, body) {
|
|
89
97
|
return __async(this, null, function* () {
|
|
98
|
+
if (!url) {
|
|
99
|
+
throw new Error("Please specify a URL to fetch");
|
|
100
|
+
}
|
|
101
|
+
if (!headers) {
|
|
102
|
+
headers = {};
|
|
103
|
+
}
|
|
104
|
+
const headerNamesLowercase = new Set(
|
|
105
|
+
Object.keys(headers).map((headerName) => headerName.toLowerCase())
|
|
106
|
+
);
|
|
107
|
+
if (!headerNamesLowercase.has("accept")) {
|
|
108
|
+
headers["Accept"] = "application/json";
|
|
109
|
+
}
|
|
110
|
+
if (body && !headerNamesLowercase.has("content-type")) {
|
|
111
|
+
headers["Content-Type"] = "application/json";
|
|
112
|
+
}
|
|
90
113
|
const response = yield fetch(url, {
|
|
91
114
|
method,
|
|
92
115
|
headers,
|
|
93
116
|
body: bodyToFetchBody(body)
|
|
94
117
|
});
|
|
95
|
-
const
|
|
96
|
-
const
|
|
118
|
+
const text = yield response.text();
|
|
119
|
+
const maybeJson = maybeParseJSON(text);
|
|
120
|
+
if (!response.ok) {
|
|
121
|
+
throw new HttpError(response.statusText, maybeJson, response.status);
|
|
122
|
+
}
|
|
97
123
|
return {
|
|
98
|
-
statusCode,
|
|
124
|
+
statusCode: response.status,
|
|
99
125
|
headers: Object.fromEntries(response.headers.entries()),
|
|
100
|
-
|
|
126
|
+
body: maybeJson
|
|
101
127
|
};
|
|
102
128
|
});
|
|
103
129
|
}
|
package/dist/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["import registerFunction, {\n CustomFunctionMeta,\n} from \"@plasmicapp/host/registerFunction\";\n\ntype Registerable = {\n registerFunction: typeof registerFunction;\n};\n\n// Some functions were extracted from platform/wab/src/wab/server/data-sources/http-fetcher.ts\
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,8BAEO;
|
|
4
|
+
"sourcesContent": ["import registerFunction, {\n CustomFunctionMeta,\n} from \"@plasmicapp/host/registerFunction\";\n\ntype Registerable = {\n registerFunction: typeof registerFunction;\n};\n\nclass HttpError extends Error {\n constructor(\n statusText: string,\n readonly info: unknown,\n readonly status: number\n ) {\n super(statusText);\n this.name = \"HttpError\";\n }\n}\n\n// Some functions were extracted from platform/wab/src/wab/server/data-sources/http-fetcher.ts\ntype HTTPMethod = \"GET\" | \"POST\" | \"PUT\" | \"DELETE\";\n\nfunction base64StringToBuffer(bstr: string) {\n try {\n bstr = atob(bstr);\n } catch (e) {\n throw new Error(\"Invalid base64 for binary type\");\n }\n const uint8Array = new Uint8Array(bstr.length);\n for (let i = 0; i < bstr.length; i++) {\n uint8Array[i] = bstr.charCodeAt(i);\n }\n return uint8Array.buffer;\n}\n\nfunction bodyToFetchBody(body?: string | object) {\n if (body == null) {\n return undefined;\n } else if (typeof body === \"object\") {\n return JSON.stringify(body);\n } else if (body.startsWith(\"@binary\")) {\n return base64StringToBuffer(body.slice(\"@binary\".length));\n } else {\n return body;\n }\n}\n\nfunction maybeParseJSON(json: string) {\n try {\n return JSON.parse(json);\n } catch (e) {\n return json;\n }\n}\n\n// Don't override the global fetch\nasync function wrappedFetch(\n url: string,\n method: HTTPMethod,\n headers: Record<string, string>,\n body?: string | object\n) {\n if (!url) {\n throw new Error(\"Please specify a URL to fetch\");\n }\n\n // Add default headers unless specified\n if (!headers) {\n headers = {};\n }\n const headerNamesLowercase = new Set(\n Object.keys(headers).map((headerName) => headerName.toLowerCase())\n );\n if (!headerNamesLowercase.has(\"accept\")) {\n headers[\"Accept\"] = \"application/json\";\n }\n if (body && !headerNamesLowercase.has(\"content-type\")) {\n headers[\"Content-Type\"] = \"application/json\";\n }\n\n const response = await fetch(url, {\n method,\n headers,\n body: bodyToFetchBody(body),\n });\n\n const text = await response.text();\n const maybeJson = maybeParseJSON(text);\n\n // @see https://swr.vercel.app/docs/error-handling\n // If the status code is not in the range 200-299,\n // we still try to parse and throw it.\n if (!response.ok) {\n throw new HttpError(response.statusText, maybeJson, response.status);\n }\n\n return {\n statusCode: response.status,\n headers: Object.fromEntries(response.headers.entries()),\n body: maybeJson,\n };\n}\n\nexport { wrappedFetch as fetch };\n\nconst registerFetchParams: CustomFunctionMeta<typeof wrappedFetch> = {\n name: \"fetch\",\n importPath: \"@plasmicpkgs/fetch\",\n params: [\n {\n name: \"url\",\n type: \"string\",\n },\n {\n name: \"method\",\n type: \"choice\",\n options: [\"GET\", \"POST\", \"PUT\", \"DELETE\"],\n },\n {\n name: \"headers\",\n type: \"object\",\n },\n {\n name: \"body\",\n type: \"object\",\n },\n ],\n};\n\nexport function registerFetch(loader?: Registerable) {\n if (loader) {\n loader.registerFunction(wrappedFetch, registerFetchParams);\n } else {\n registerFunction(wrappedFetch, registerFetchParams);\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,8BAEO;AAMP,IAAM,YAAN,cAAwB,MAAM;AAAA,EAC5B,YACE,YACS,MACA,QACT;AACA,UAAM,UAAU;AAHP;AACA;AAGT,SAAK,OAAO;AAAA,EACd;AACF;AAKA,SAAS,qBAAqB,MAAc;AAC1C,MAAI;AACF,WAAO,KAAK,IAAI;AAAA,EAClB,SAAS,G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AI,CAAC,SAAS,IAAI;AAChB,YAAM,IAAI,UAAU,SAAS,YAAY,WAAW,SAAS,MAAM;AAAA,IACrE;AAEA,WAAO;AAAA,MACL,YAAY,SAAS;AAAA,MACrB,SAAS,OAAO,YAAY,SAAS,QAAQ,QAAQ,CAAC;AAAA,MACtD,MAAM;AAAA,IACR;AAAA,EACF;AAAA;AAIA,IAAM,sBAA+D;AAAA,EACnE,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,QAAQ;AAAA,IACN;AAAA,MACE,MAAM;AAAA,MACN,MAAM;AAAA,IACR;AAAA,IACA;AAAA,MACE,MAAM;AAAA,MACN,MAAM;AAAA,MACN,SAAS,CAAC,OAAO,QAAQ,OAAO,QAAQ;AAAA,IAC1C;AAAA,IACA;AAAA,MACE,MAAM;AAAA,MACN,MAAM;AAAA,IACR;AAAA,IACA;AAAA,MACE,MAAM;AAAA,MACN,MAAM;AAAA,IACR;AAAA,EACF;AACF;AAEO,SAAS,cAAc,QAAuB;AACnD,MAAI,QAAQ;AACV,WAAO,iBAAiB,cAAc,mBAAmB;AAAA,EAC3D,OAAO;AACL,gCAAAA,SAAiB,cAAc,mBAAmB;AAAA,EACpD;AACF;",
|
|
6
6
|
"names": ["registerFunction"]
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasmicpkgs/fetch",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "Plasmic registration call for fetch function",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/plasmicapp/plasmic.git",
|
|
8
|
+
"directory": "plasmicpkgs/fetch"
|
|
9
|
+
},
|
|
5
10
|
"main": "./dist/index.js",
|
|
6
11
|
"types": "./dist/index.d.ts",
|
|
7
12
|
"module": "./dist/index.esm.js",
|
|
@@ -22,15 +27,12 @@
|
|
|
22
27
|
"prepublishOnly": "npm run build",
|
|
23
28
|
"postpublish": "bash ../../scripts/publish-api-doc-model.sh"
|
|
24
29
|
},
|
|
25
|
-
"license": "ISC",
|
|
26
30
|
"devDependencies": {
|
|
31
|
+
"@plasmicapp/host": "1.0.217",
|
|
27
32
|
"typescript": "^5.7.3"
|
|
28
33
|
},
|
|
29
34
|
"peerDependencies": {
|
|
30
35
|
"@plasmicapp/host": "^1.0.211"
|
|
31
36
|
},
|
|
32
|
-
"
|
|
33
|
-
"access": "public"
|
|
34
|
-
},
|
|
35
|
-
"gitHead": "3a42fbf1505e2f4e51f0a4d93cb4de16617bba84"
|
|
37
|
+
"gitHead": "3ca2cc1765db2722ee22e4e0ed1e91a48b2a49de"
|
|
36
38
|
}
|