@flatfile/listener 0.0.5 → 0.0.7

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @flatfile/listener@0.0.5 build
2
+ > @flatfile/listener@0.0.7 build
3
3
  > tsup src/index.ts --format esm,cjs --dts
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -8,10 +8,10 @@
8
8
  CLI Target: es6
9
9
  ESM Build start
10
10
  CJS Build start
11
- ESM dist/index.mjs 632.72 KB
12
- ESM ⚡️ Build success in 352ms
13
- CJS dist/index.js 633.52 KB
14
- CJS ⚡️ Build success in 390ms
11
+ CJS dist/index.js 633.59 KB
12
+ CJS ⚡️ Build success in 327ms
13
+ ESM dist/index.mjs 632.79 KB
14
+ ESM ⚡️ Build success in 343ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 1657ms
16
+ DTS ⚡️ Build success in 1791ms
17
17
  DTS dist/index.d.ts 6.12 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @flatfile/listener
2
2
 
3
+ ## 0.0.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [72447b1]
8
+ - @flatfile/hooks@1.3.0
9
+
10
+ ## 0.0.6
11
+
12
+ ### Patch Changes
13
+
14
+ - 4039970: Adds 'x-disable-hooks': 'true' to event payload to x
15
+
3
16
  ## 0.0.5
4
17
 
5
18
  ### Patch Changes
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flatfile/listener",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "description": "A PubSub Listener for configuring and using Flatfile",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -28,7 +28,7 @@
28
28
  "typescript": "^4.7.4"
29
29
  },
30
30
  "dependencies": {
31
- "@flatfile/hooks": "1.2.4",
31
+ "@flatfile/hooks": "1.3.0",
32
32
  "@flatfile/orm": "0.1.0",
33
33
  "@flatfile/schema": "0.2.15",
34
34
  "case-anything": "^2.1.10",
@@ -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