@apostlejs/flows 0.0.9 → 0.0.11

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.cts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { FlowMetadata, WaSDKGetFlowWebPreviewPageRequestQuery, FlowParameters, WhatsappFlowDecryptedWebhookBody, WhatsappFlowResponse } from '@apostlejs/whatsapp';
2
2
  import { z, ZodObject } from 'zod';
3
- import * as ajv from 'ajv';
4
3
 
5
4
  type AnyType = any;
6
5
  type DistributiveOmit<T, K extends keyof AnyType> = T extends AnyType ? Omit<T, K> : never;
@@ -1092,11 +1091,4 @@ declare const flowMediaInput: z.ZodArray<z.ZodObject<{
1092
1091
  }, z.core.$strip>>;
1093
1092
  type FlowMediaInput = z.infer<typeof flowMediaInput>;
1094
1093
 
1095
- declare function deployFlows(oldFlows: TypedFlowJson[], newFlows: TypedFlowJson[]): Promise<NativeFlowJSON[]>;
1096
-
1097
- declare const validateFlowJson: (nativeFlowJson: NativeFlowJSON) => Promise<{
1098
- valid: boolean;
1099
- errors: ajv.ErrorObject<string, Record<string, any>, unknown>[] | null | undefined;
1100
- }>;
1101
-
1102
- export { type AdapterFactoryFn, type DevFlowJson, type FlowController, type FlowControllerPool, type FlowDispatchableAction, type FlowHandlerBaseContext, type FlowHandlerContext, type FlowMediaInput, type NativeFlowJSON, type PickFlowComponent, type Store, type StoreAdapter, type TypedComponentData, type TypedFlowJson, type TypedFlowRouting, type TypedFlowScreen, type TypedFlowScreenComponent, type TypedFlowScreens, buildApiResponse, complete, componentData, components, condition, createDevFlowJson, createFlowContext, createFlowControllerPool, createNativeFlowJson, createStoreFactory, deployFlows, dispatchFlowPayload, dynamic_action, dynamic_navigate, dynamic_refresh, snippets as f, firstScreen, flow$1 as flow, flowController, flowMediaInput, form_payload, getFlowMetadata, getScreenMetadata, inline, navigate, parseUniqueId, screen, screenController, state, txt, uniqueId, validateFlowJson, zod_payload };
1094
+ export { type AdapterFactoryFn, type DevFlowJson, type FlowController, type FlowControllerPool, type FlowDispatchableAction, type FlowHandlerBaseContext, type FlowHandlerContext, type FlowMediaInput, type NativeFlowJSON, type PickFlowComponent, type Store, type StoreAdapter, type TypedComponentData, type TypedFlowJson, type TypedFlowRouting, type TypedFlowScreen, type TypedFlowScreenComponent, type TypedFlowScreens, buildApiResponse, complete, componentData, components, condition, createDevFlowJson, createFlowContext, createFlowControllerPool, createNativeFlowJson, createStoreFactory, dispatchFlowPayload, dynamic_action, dynamic_navigate, dynamic_refresh, snippets as f, firstScreen, flow$1 as flow, flowController, flowMediaInput, form_payload, getFlowMetadata, getScreenMetadata, inline, navigate, parseUniqueId, screen, screenController, state, txt, uniqueId, zod_payload };
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.0.9",
7
+ "version": "0.0.11",
8
8
  "type": "module",
9
9
  "files": [
10
10
  "dist"
@@ -23,7 +23,6 @@
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/node": "^22.9.1",
26
- "esbuild-plugin-copy": "2.1.1",
27
26
  "terser": "^5.39.0",
28
27
  "tsup": "8.4.0",
29
28
  "tsx": "^4.19.3",
@@ -33,7 +32,7 @@
33
32
  "dependencies": {
34
33
  "ajv": "8.17.1",
35
34
  "ajv-formats": "3.0.1",
36
- "@apostlejs/whatsapp": "0.0.9"
35
+ "@apostlejs/whatsapp": "0.0.10"
37
36
  },
38
37
  "peerDependencies": {
39
38
  "zod": "4.0.14"