@flatfile/listener 0.0.2 → 0.0.4
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 +7 -7
- package/CHANGELOG.md +15 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +327 -27
- package/dist/index.mjs +327 -27
- package/package.json +6 -7
- package/src/events/authenticated.client.ts +19 -0
- package/src/events/flatfile.event.ts +6 -13
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @flatfile/listener@0.0.
|
|
2
|
+
> @flatfile/listener@0.0.4 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
|
-
[
|
|
12
|
-
[
|
|
13
|
-
[
|
|
14
|
-
[
|
|
11
|
+
[32mCJS[39m [1mdist/index.js [22m[32m626.25 KB[39m
|
|
12
|
+
[32mCJS[39m ⚡️ Build success in 316ms
|
|
13
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m625.45 KB[39m
|
|
14
|
+
[32mESM[39m ⚡️ Build success in 368ms
|
|
15
15
|
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
17
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m6.
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 1836ms
|
|
17
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m6.12 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @flatfile/listener
|
|
2
2
|
|
|
3
|
+
## 0.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8ed4e8c: Bumps API version and adds support for record metadata to @flatfile/hooks.
|
|
8
|
+
- Updated dependencies [8ed4e8c]
|
|
9
|
+
- @flatfile/schema@0.2.14
|
|
10
|
+
- @flatfile/hooks@1.2.4
|
|
11
|
+
|
|
12
|
+
## 0.0.3
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- c946831: Updates to use the dataUrl for getting records
|
|
17
|
+
|
|
3
18
|
## 0.0.2
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ import { DefaultApi, Event } from '@flatfile/api';
|
|
|
3
3
|
declare class AuthenticatedClient {
|
|
4
4
|
private _api?;
|
|
5
5
|
get api(): DefaultApi;
|
|
6
|
+
private _fetch?;
|
|
7
|
+
fetch(url: string): any;
|
|
6
8
|
}
|
|
7
9
|
|
|
8
10
|
declare class FlatfileEvent extends AuthenticatedClient {
|
|
@@ -24,6 +26,7 @@ declare class FlatfileEvent extends AuthenticatedClient {
|
|
|
24
26
|
readonly topic: string;
|
|
25
27
|
readonly domain: string;
|
|
26
28
|
readonly target: string;
|
|
29
|
+
readonly action: string;
|
|
27
30
|
readonly context: any;
|
|
28
31
|
readonly payload: any;
|
|
29
32
|
constructor(src: Event);
|