@flatfile/listener 0.0.1 → 0.0.3
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 +14 -0
- package/dist/index.d.ts +4 -8
- package/dist/index.js +2817 -5018
- package/dist/index.mjs +2807 -4980
- package/package.json +5 -7
- package/src/Client.spec.ts +8 -2
- package/src/event-drivers/index.ts +1 -1
- package/src/events/authenticated.client.ts +20 -2
- package/src/events/flatfile.event.ts +5 -12
- package/src/index.ts +1 -2
- package/src/plugins/index.ts +1 -1
- package/src/plugins/useConfigure.ts +66 -66
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @flatfile/listener@0.0.
|
|
2
|
+
> @flatfile/listener@0.0.3 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
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m393.96 KB[39m
|
|
12
|
+
[32mESM[39m ⚡️ Build success in 187ms
|
|
13
|
+
[32mCJS[39m [1mdist/index.js [22m[32m394.76 KB[39m
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 197ms
|
|
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 1693ms
|
|
17
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m6.12 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @flatfile/listener
|
|
2
2
|
|
|
3
|
+
## 0.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c946831: Updates to use the dataUrl for getting records
|
|
8
|
+
|
|
9
|
+
## 0.0.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 2e25be3: Update packages with updated @flatfile/api
|
|
14
|
+
- Updated dependencies [2e25be3]
|
|
15
|
+
- @flatfile/schema@0.2.13
|
|
16
|
+
|
|
3
17
|
## 0.0.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { DefaultApi, Event } from '@flatfile/api';
|
|
2
|
-
import { Agent } from '@flatfile/configure';
|
|
3
2
|
|
|
4
3
|
declare class AuthenticatedClient {
|
|
5
4
|
private _api?;
|
|
6
5
|
get api(): DefaultApi;
|
|
6
|
+
private _fetch?;
|
|
7
|
+
fetch(url: string): any;
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
declare class FlatfileEvent extends AuthenticatedClient {
|
|
@@ -25,6 +26,7 @@ declare class FlatfileEvent extends AuthenticatedClient {
|
|
|
25
26
|
readonly topic: string;
|
|
26
27
|
readonly domain: string;
|
|
27
28
|
readonly target: string;
|
|
29
|
+
readonly action: string;
|
|
28
30
|
readonly context: any;
|
|
29
31
|
readonly payload: any;
|
|
30
32
|
constructor(src: Event);
|
|
@@ -221,10 +223,4 @@ declare class FlatfileVirtualMachine extends EventDriver {
|
|
|
221
223
|
handle(event: FlatfileEvent): void;
|
|
222
224
|
}
|
|
223
225
|
|
|
224
|
-
|
|
225
|
-
environmentId?: string;
|
|
226
|
-
createSpaces?: boolean;
|
|
227
|
-
};
|
|
228
|
-
declare const useConfigure: (agent: Agent, options?: IConfigureOptions) => (client: Client) => Promise<void>;
|
|
229
|
-
|
|
230
|
-
export { Arrayable, AuthenticatedClient, Client, EventCallback, EventFilter, EventHandler, FlatfileEvent, FlatfileVirtualMachine, PollingEventDriver, useConfigure };
|
|
226
|
+
export { Arrayable, AuthenticatedClient, Client, EventCallback, EventFilter, EventHandler, FlatfileEvent, FlatfileVirtualMachine, PollingEventDriver };
|