@flatfile/listener 0.0.5 → 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/.turbo/turbo-build.log +6 -6
- package/CHANGELOG.md +6 -0
- package/dist/index.js +5 -3
- package/dist/index.mjs +5 -3
- package/package.json +1 -1
- package/src/events/authenticated.client.ts +2 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @flatfile/listener@0.0.
|
|
2
|
+
> @flatfile/listener@0.0.6 build
|
|
3
3
|
> tsup src/index.ts --format esm,cjs --dts
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
[34mCLI[39m Target: es6
|
|
9
9
|
[34mESM[39m Build start
|
|
10
10
|
[34mCJS[39m Build start
|
|
11
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m632.
|
|
12
|
-
[32mESM[39m ⚡️ Build success in
|
|
13
|
-
[32mCJS[39m [1mdist/index.js [22m[32m633.
|
|
14
|
-
[32mCJS[39m ⚡️ Build success in
|
|
11
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m632.79 KB[39m
|
|
12
|
+
[32mESM[39m ⚡️ Build success in 316ms
|
|
13
|
+
[32mCJS[39m [1mdist/index.js [22m[32m633.59 KB[39m
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 327ms
|
|
15
15
|
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 1631ms
|
|
17
17
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m6.12 KB[39m
|
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -1858,7 +1858,7 @@ __export(src_exports, {
|
|
|
1858
1858
|
});
|
|
1859
1859
|
module.exports = __toCommonJS(src_exports);
|
|
1860
1860
|
|
|
1861
|
-
// node_modules/@flatfile/api/src/index.mjs
|
|
1861
|
+
// ../../node_modules/@flatfile/api/src/index.mjs
|
|
1862
1862
|
var BASE_PATH = "https://api.x.flatfile.com/v1".replace(/\/+$/, "");
|
|
1863
1863
|
var Configuration = class {
|
|
1864
1864
|
constructor(configuration = {}) {
|
|
@@ -9217,7 +9217,8 @@ var AuthenticatedClient = class {
|
|
|
9217
9217
|
fetchApi: lib_default,
|
|
9218
9218
|
accessToken: process.env.FLATFILE_BEARER_TOKEN,
|
|
9219
9219
|
headers: {
|
|
9220
|
-
Authorization: `Bearer ${process.env.FLATFILE_BEARER_TOKEN || "..."}
|
|
9220
|
+
Authorization: `Bearer ${process.env.FLATFILE_BEARER_TOKEN || "..."}`,
|
|
9221
|
+
"x-disable-hooks": "true"
|
|
9221
9222
|
}
|
|
9222
9223
|
});
|
|
9223
9224
|
return new DefaultApi(ClientConfig);
|
|
@@ -9228,7 +9229,8 @@ var AuthenticatedClient = class {
|
|
|
9228
9229
|
return this._fetch;
|
|
9229
9230
|
}
|
|
9230
9231
|
const headers = {
|
|
9231
|
-
Authorization: (_a = `Bearer ${process.env.FLATFILE_BEARER_TOKEN}`) != null ? _a : `Bearer
|
|
9232
|
+
Authorization: (_a = `Bearer ${process.env.FLATFILE_BEARER_TOKEN}`) != null ? _a : `Bearer ...`,
|
|
9233
|
+
"x-disable-hooks": "true"
|
|
9232
9234
|
};
|
|
9233
9235
|
const fetchUrl = FLATFILE_API_URL + "/" + url;
|
|
9234
9236
|
return lib_default(fetchUrl, {
|
package/dist/index.mjs
CHANGED
|
@@ -1847,7 +1847,7 @@ var require_public_api = __commonJS({
|
|
|
1847
1847
|
}
|
|
1848
1848
|
});
|
|
1849
1849
|
|
|
1850
|
-
// node_modules/@flatfile/api/src/index.mjs
|
|
1850
|
+
// ../../node_modules/@flatfile/api/src/index.mjs
|
|
1851
1851
|
var BASE_PATH = "https://api.x.flatfile.com/v1".replace(/\/+$/, "");
|
|
1852
1852
|
var Configuration = class {
|
|
1853
1853
|
constructor(configuration = {}) {
|
|
@@ -9206,7 +9206,8 @@ var AuthenticatedClient = class {
|
|
|
9206
9206
|
fetchApi: lib_default,
|
|
9207
9207
|
accessToken: process.env.FLATFILE_BEARER_TOKEN,
|
|
9208
9208
|
headers: {
|
|
9209
|
-
Authorization: `Bearer ${process.env.FLATFILE_BEARER_TOKEN || "..."}
|
|
9209
|
+
Authorization: `Bearer ${process.env.FLATFILE_BEARER_TOKEN || "..."}`,
|
|
9210
|
+
"x-disable-hooks": "true"
|
|
9210
9211
|
}
|
|
9211
9212
|
});
|
|
9212
9213
|
return new DefaultApi(ClientConfig);
|
|
@@ -9217,7 +9218,8 @@ var AuthenticatedClient = class {
|
|
|
9217
9218
|
return this._fetch;
|
|
9218
9219
|
}
|
|
9219
9220
|
const headers = {
|
|
9220
|
-
Authorization: (_a = `Bearer ${process.env.FLATFILE_BEARER_TOKEN}`) != null ? _a : `Bearer
|
|
9221
|
+
Authorization: (_a = `Bearer ${process.env.FLATFILE_BEARER_TOKEN}`) != null ? _a : `Bearer ...`,
|
|
9222
|
+
"x-disable-hooks": "true"
|
|
9221
9223
|
};
|
|
9222
9224
|
const fetchUrl = FLATFILE_API_URL + "/" + url;
|
|
9223
9225
|
return lib_default(fetchUrl, {
|
package/package.json
CHANGED
|
@@ -19,6 +19,7 @@ export class AuthenticatedClient {
|
|
|
19
19
|
accessToken: process.env.FLATFILE_BEARER_TOKEN,
|
|
20
20
|
headers: {
|
|
21
21
|
Authorization: `Bearer ${process.env.FLATFILE_BEARER_TOKEN || '...'}`,
|
|
22
|
+
'x-disable-hooks': 'true'
|
|
22
23
|
},
|
|
23
24
|
})
|
|
24
25
|
return new DefaultApi(ClientConfig)
|
|
@@ -33,6 +34,7 @@ export class AuthenticatedClient {
|
|
|
33
34
|
const headers = {
|
|
34
35
|
Authorization:
|
|
35
36
|
`Bearer ${process.env.FLATFILE_BEARER_TOKEN}` ?? `Bearer ...`,
|
|
37
|
+
'x-disable-hooks': 'true'
|
|
36
38
|
}
|
|
37
39
|
const fetchUrl = FLATFILE_API_URL + '/' + url
|
|
38
40
|
|