next-flow-interface 0.19.8 → 0.19.10

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +50 -41
  2. package/package.json +11 -1
package/dist/index.d.ts CHANGED
@@ -1480,46 +1480,51 @@ type NativeFocusEventSubscriber = (e: FocusEvent) => void;
1480
1480
  type NativeUIEventSubscriber = (e: UIEvent) => void;
1481
1481
  type NativeAnyEventSubscriber = (e: Event | null) => void;
1482
1482
 
1483
+ interface NativeEventSubscribeOption {
1484
+ self?: boolean;
1485
+ once?: boolean;
1486
+ capture?: boolean;
1487
+ }
1483
1488
  interface NativeEventServiceApi {
1484
- subscribeClick(subscriber: NativeMouseEventSubscriber): () => void;
1489
+ subscribeClick(subscriber: NativeMouseEventSubscriber, option?: NativeEventSubscribeOption): () => void;
1485
1490
  unsubscribeClick(subscriber: NativeMouseEventSubscriber): void;
1486
- subscribeContextMenu(subscriber: NativeMouseEventSubscriber): () => void;
1491
+ subscribeContextMenu(subscriber: NativeMouseEventSubscriber, option?: NativeEventSubscribeOption): () => void;
1487
1492
  unsubscribeContextMenu(subscriber: NativeMouseEventSubscriber): void;
1488
- subscribeDoubleClick(subscriber: NativeMouseEventSubscriber): () => void;
1493
+ subscribeDoubleClick(subscriber: NativeMouseEventSubscriber, option?: NativeEventSubscribeOption): () => void;
1489
1494
  unsubscribeDoubleClick(subscriber: NativeMouseEventSubscriber): void;
1490
- subscribeDrag(subscriber: NativeDragEventSubscriber): () => void;
1495
+ subscribeDrag(subscriber: NativeDragEventSubscriber, option?: NativeEventSubscribeOption): () => void;
1491
1496
  unsubscribeDrag(subscriber: NativeDragEventSubscriber): void;
1492
- subscribeDrop(subscriber: NativeDragEventSubscriber): () => void;
1497
+ subscribeDrop(subscriber: NativeDragEventSubscriber, option?: NativeEventSubscribeOption): () => void;
1493
1498
  unsubscribeDrop(subscriber: NativeDragEventSubscriber): void;
1494
- subscribeWheel(subscriber: NativeWheelEventSubscriber): () => void;
1499
+ subscribeWheel(subscriber: NativeWheelEventSubscriber, option?: NativeEventSubscribeOption): () => void;
1495
1500
  unsubscribeWheel(subscriber: NativeWheelEventSubscriber): void;
1496
- subscribePointerDown(subscriber: NativePointerEventSubscriber): () => void;
1501
+ subscribePointerDown(subscriber: NativePointerEventSubscriber, option?: NativeEventSubscribeOption): () => void;
1497
1502
  unsubscribePointerDown(subscriber: NativePointerEventSubscriber): void;
1498
- subscribePointerMove(subscriber: NativePointerEventSubscriber): () => void;
1503
+ subscribePointerMove(subscriber: NativePointerEventSubscriber, option?: NativeEventSubscribeOption): () => void;
1499
1504
  unsubscribePointerMove(subscriber: NativePointerEventSubscriber): void;
1500
- subscribePointerUp(subscriber: NativePointerEventSubscriber): () => void;
1505
+ subscribePointerUp(subscriber: NativePointerEventSubscriber, option?: NativeEventSubscribeOption): () => void;
1501
1506
  unsubscribePointerUp(subscriber: NativePointerEventSubscriber): void;
1502
- subscribePointerCancel(subscriber: NativePointerEventSubscriber): () => void;
1507
+ subscribePointerCancel(subscriber: NativePointerEventSubscriber, option?: NativeEventSubscribeOption): () => void;
1503
1508
  unsubscribePointerCancel(subscriber: NativePointerEventSubscriber): void;
1504
- subscribePointerEnter(subscriber: NativePointerEventSubscriber): () => void;
1509
+ subscribePointerEnter(subscriber: NativePointerEventSubscriber, option?: NativeEventSubscribeOption): () => void;
1505
1510
  unsubscribePointerEnter(subscriber: NativePointerEventSubscriber): void;
1506
- subscribePointerLeave(subscriber: NativePointerEventSubscriber): () => void;
1511
+ subscribePointerLeave(subscriber: NativePointerEventSubscriber, option?: NativeEventSubscribeOption): () => void;
1507
1512
  unsubscribePointerLeave(subscriber: NativePointerEventSubscriber): void;
1508
- subscribeKeyDown(subscriber: NativeKeyboardEventSubscriber): () => void;
1513
+ subscribeKeyDown(subscriber: NativeKeyboardEventSubscriber, option?: NativeEventSubscribeOption): () => void;
1509
1514
  unsubscribeKeyDown(subscriber: NativeKeyboardEventSubscriber): void;
1510
- subscribeKeyUp(subscriber: NativeKeyboardEventSubscriber): () => void;
1515
+ subscribeKeyUp(subscriber: NativeKeyboardEventSubscriber, option?: NativeEventSubscribeOption): () => void;
1511
1516
  unsubscribeKeyUp(subscriber: NativeKeyboardEventSubscriber): void;
1512
- subscribeKeyDownExceptInput(subscriber: NativeKeyboardEventSubscriber): () => void;
1517
+ subscribeKeyDownExceptInput(subscriber: NativeKeyboardEventSubscriber, option?: NativeEventSubscribeOption): () => void;
1513
1518
  unsubscribeKeyDownExceptInput(subscriber: NativeKeyboardEventSubscriber): void;
1514
- subscribeKeyUpExceptInput(subscriber: NativeKeyboardEventSubscriber): () => void;
1519
+ subscribeKeyUpExceptInput(subscriber: NativeKeyboardEventSubscriber, option?: NativeEventSubscribeOption): () => void;
1515
1520
  unsubscribeKeyUpExceptInput(subscriber: NativeKeyboardEventSubscriber): void;
1516
- subscribeFocus(subscriber: NativeFocusEventSubscriber): () => void;
1521
+ subscribeFocus(subscriber: NativeFocusEventSubscriber, option?: NativeEventSubscribeOption): () => void;
1517
1522
  unsubscribeFocus(subscriber: NativeFocusEventSubscriber): void;
1518
- subscribeBlur(subscriber: NativeFocusEventSubscriber): () => void;
1523
+ subscribeBlur(subscriber: NativeFocusEventSubscriber, option?: NativeEventSubscribeOption): () => void;
1519
1524
  unsubscribeBlur(subscriber: NativeFocusEventSubscriber): void;
1520
- subscribeScroll(subscriber: NativeUIEventSubscriber): () => void;
1525
+ subscribeScroll(subscriber: NativeUIEventSubscriber, option?: NativeEventSubscribeOption): () => void;
1521
1526
  unsubscribeScroll(subscriber: NativeUIEventSubscriber): void;
1522
- subscribeResize(subscriber: NativeAnyEventSubscriber): () => void;
1527
+ subscribeResize(subscriber: NativeAnyEventSubscriber, option?: NativeEventSubscribeOption): () => void;
1523
1528
  unsubscribeResize(subscriber: NativeAnyEventSubscriber): void;
1524
1529
  }
1525
1530
 
@@ -1528,6 +1533,25 @@ declare enum Locale {
1528
1533
  EN = "en"
1529
1534
  }
1530
1535
 
1536
+ type Translator = (key: string) => string;
1537
+ type NamespaceSubscriber = (namespaces: string[]) => void;
1538
+ type MessageLeaf = string;
1539
+ interface MessageTree {
1540
+ [key: string]: MessageTree | MessageLeaf;
1541
+ }
1542
+ interface InternationalizationServiceApi {
1543
+ ALL_SUPPORT: Locale[];
1544
+ DEFAULT_SUPPORT: Locale;
1545
+ locale: Locale;
1546
+ messages: MessageTree;
1547
+ load(messages: MessageTree): Promise<boolean>;
1548
+ getTranslator(namespace?: string): Translator;
1549
+ getTranslatorWithWait(namespace?: string): Promise<Translator>;
1550
+ subscribe(subscriber: NamespaceSubscriber): () => void;
1551
+ unsubscribe(subscriber: NamespaceSubscriber): void;
1552
+ wait(namespace: string | string[]): Promise<void>;
1553
+ }
1554
+
1531
1555
  declare enum PluginType {
1532
1556
  BUTTON = "BUTTON",
1533
1557
  SWITCH = "SWITCH",
@@ -1543,6 +1567,8 @@ interface BasePlugin {
1543
1567
  name: string;
1544
1568
  version: string;
1545
1569
  description: string;
1570
+ namespace: string;
1571
+ intl: Translator;
1546
1572
  type: PluginType;
1547
1573
  theme: ThemeColor;
1548
1574
  loadApi?: () => void;
@@ -1987,24 +2013,6 @@ interface LocalDataServiceApi {
1987
2013
  isLoaded(fid: string): boolean | undefined;
1988
2014
  }
1989
2015
 
1990
- type Translator = (key: string) => string;
1991
- type NamespaceSubscriber = (namespaces: string[]) => void;
1992
- type MessageLeaf = string;
1993
- interface MessageTree {
1994
- [key: string]: MessageTree | MessageLeaf;
1995
- }
1996
- interface InternationalizationServiceApi {
1997
- ALL_SUPPORT: Locale[];
1998
- DEFAULT_SUPPORT: Locale;
1999
- locale: Locale;
2000
- messages: MessageTree;
2001
- load(messages: MessageTree): Promise<boolean>;
2002
- getTranslator(namespace?: string, wait?: boolean): Promise<Translator>;
2003
- subscribe(subscriber: NamespaceSubscriber): () => void;
2004
- unsubscribe(subscriber: NamespaceSubscriber): void;
2005
- wait(namespace: string | string[]): Promise<void>;
2006
- }
2007
-
2008
2016
  declare enum MeetingStatus {
2009
2017
  PENDING = "PENDING",
2010
2018
  PROGRESSING = "PROGRESSING",
@@ -2893,8 +2901,9 @@ type MessageLoader = (locale: Locale) => Promise<MessageTree>;
2893
2901
  type MessageState = 'before' | 'show' | 'after';
2894
2902
 
2895
2903
  interface PluginConnectorApi {
2896
- install(plugin: BasePlugin, messages: MessageTree): void;
2897
- getNfpApi(): NfpApi;
2904
+ loadMessages(messages: MessageTree | MessageLoader): void;
2905
+ install(plugin: BasePlugin): void;
2906
+ readonly api: Readonly<NfpApi>;
2898
2907
  }
2899
2908
 
2900
2909
  interface RvNode {
@@ -3134,4 +3143,4 @@ declare const VectorUtils: {
3134
3143
  toArrayWithRound4: typeof toArrayWithRound4;
3135
3144
  };
3136
3145
 
3137
- export { acceptMime as AcceptMime, type AddLocalDataOptionInterface as AddLocalDataOption, type AnchorProps, type AntCheckboxProps, type AntColorProps, type AntEmptyProps, type AntNumberProps, type AntSelectProps, type AntSwitchProps, type AwarenessChangeSubscriber, type AwarenessChanges, type AwarenessServiceApi, type BasePlugin, type C3, type C4, type CameraConfigurationAnimationApi, type CameraLocationAnimationApi, ContextMenu, type ContextMenuController, type ContextMenuCreateOptions, type ContextMenuServiceApi, CryptoUtils, DataUtils, Dialog, DialogContentAlign, type DialogCreateOptions, type DialogPlugin, type DialogServiceApi, type DivProps, type DivPropsSimple, DomNotFoundError, type DrawerPlugin, type EasyPropertyAnimationApi, EnableLevel, type FileData, type FileProgressBarProps, FileUtils, type FirstLoadModelServiceApi, FirstLoadModelServiceEventType, FirstLoadModelServiceStatus, type FirstLoadModelServiceSubscriber, type FirstLoadServiceApi, FirstLoadServiceEventType, FirstLoadServiceStatus, type FirstLoadServiceSubscriber, type FlexGrowProps, FocusMode, type FogAnimationApi, type GroundAnimationApi, type HighLightInfo, type HistoryServiceApi, HistoryServiceEventType, type HistoryServiceStateSubscriber, type HistoryServiceSubscriber, type IconPlugin, IconPluginPosition, type IconViewProps, type InternationalizationProviderProps, type InternationalizationServiceApi, LabelInfo, LabelTheme, type LastSubscriber, type LightAnimationApi, type LocalData, type LocalDataServiceApi, LocalDataServiceEventType, type LocalDataServiceSubscriber, LocalDataStatus, LocalDataType, Locale, type MainPortalProps, type MaterialSymbolFunction, type MaterialSymbolOptions, type MaterialSymbolProps, MathUtils, type MeetingServiceApi, type MeetingState, MeetingStatus, MenuLine, type MenuLineCreateOptions, MenuLineType, Message, type MessageLoader, type MessageServiceApi, type MessageState, type MessageTree, type MessageType, type MixView, type NamespaceSubscriber, type NativeAnyEventSubscriber, type NativeDragEventSubscriber, type NativeEventServiceApi, NativeEventUtils, type NativeFocusEventSubscriber, type NativeKeyboardEventSubscriber, type NativeMouseEventSubscriber, type NativePointerEventSubscriber, type NativeUIEventSubscriber, type NativeWheelEventSubscriber, NetworkUtils, type NfpApi, type NodeMaterialChangeListener, type NodeMaterialInfo, type NodePair, NotFoundError, NumberUtils, type OssUploadInstance, OssUploadInstanceStatus, type OssUploadServiceApi, OssUploadServiceEventType, type OssUploadServiceSubscriber, type Page, PageMode, PageType, PageUtils, type PluginConfig, type PluginConnectorApi, type PluginContainerServiceApi, PluginEventType, type PluginInformation, type PluginServiceApi, type PluginServiceSubscriber, type PluginState, PluginType, type PluginViewProps, type ProgressBarProps, type ResourcePreviewProps, type ResourceServiceApi, type RsAudioServiceApi, type RsClickApi, type RsEnvironmentApi, type RsEnvironmentServiceApi, type RsLabelServiceApi, type RsLoopAnimationManagerApi, type RsMaterialServiceApi, type RsModel, type RsModelServiceApi, RsModelServiceEventType, type RsModelServiceSubscriber, RsModelStatus, type RsNodeMaterialManagerApi, type RsNodeServiceApi, type RsSelectionApi, type RsSelectionMaterialInfo, type RsSelectionNodeInfo, type RsSelectionServiceApi, type RsSelectionState, type RsSeparateServiceApi, type RsServiceApi, type RsTextureServiceApi, type RsdButtonProps, type RsdCheckableButtonProps, type RsdCheckboxProps, type RsdColorProps, type RsdFileSelectProps, type RsdInputProps, type RsdMentionsProps, type RsdNoneProps, type RsdNumberListProps, type RsdNumberProps, type RsdSelectProps, type RsdSwitchProps, type RsdTitleProps, RvAttachType, type RvAttributes, type RvAttributesServiceApi, type RvAudio, type RvAwareness, type RvAwarenessClick, type RvAwarenessDevice, type RvAwarenessUser, type RvAwarenessWindow, type RvBase, type RvBasicConfig, RvBasicType, type RvCamera, type RvCameraLocation, type RvCode, type RvCodeAttributeApi, type RvConfiguration, type RvEnvironment, type RvFile, type RvFileServiceApi, RvFileServiceEventType, type RvFileServiceSubscriber, RvFileType, type RvGlobal, type RvGlobalServiceApi, type RvHistory, type RvLabel, type RvLabelAttributeApi, type RvLocation, type RvLocationAttributeApi, type RvLoop, type RvLoopAttributeApi, type RvMaterial, type RvMaterialAttributeApi, type RvMaterialGeneral, type RvMaterialNode, type RvMaterialNodeInput, type RvMaterialPBR, type RvMaterialTexture, RvMaterialType, type RvMeeting, type RvMeetingCurrent, type RvMeetingServiceApi, type RvMeetingStatistic, type RvModel, RvModelOrigin, type RvModelServiceApi, type RvNative, type RvNativeAttributeApi, type RvNode, type RvNodeMaterialAnalyzerApi, type RvPlugin, type RvPluginConfig, type RvPluginDebug, RvPresetType, type RvResource, type RvResourceServiceApi, RvResourceServiceEventType, type RvResourceServiceSubscriber, RvResourceType, type RvSceneNode, type RvSeparate, type RvStep, type RvStepServiceApi, RvUtils, type RvVersion, type SceneServiceApi, type Screen, ScreenSize, type ScrollBarProps, type SelectedSubscriber, type ShadowAnimationApi, ShareMode, type SkyboxAnimationApi, type SpaceServiceApi, type SpanProps, type SpanPropsSimple, StaticClassInstantiationError, type Status, type StatusChangeSubscriber, type StatusServiceApi, type StepChangeSubscriber, type StepOptions, type SupportAnimationTarget, type SyncServiceApi, type TAttributesServiceApi, type TAttributesSubscriber, TChangeType, type TStepServiceApi, type TSubscriber, type TextureInfo, ThemeBackground, ThemeColor, type ThemeProviderProps, type ThemeServiceApi, ThemeShape, type ThemeState, TimeUtils, type Translator, type UploadButtonAndListProps, UrlUtils, type UseBase, type UseStepOptions, type UseTAttributes, type UseTStep, type UseTranslations, type UserAuth, type UserInfo, type UserServiceApi, type V2, type V3, type V4, VectorUtils, VersionPoint, type ViewPlugin, sleep, throttle };
3146
+ export { acceptMime as AcceptMime, type AddLocalDataOptionInterface as AddLocalDataOption, type AnchorProps, type AntCheckboxProps, type AntColorProps, type AntEmptyProps, type AntNumberProps, type AntSelectProps, type AntSwitchProps, type AwarenessChangeSubscriber, type AwarenessChanges, type AwarenessServiceApi, type BasePlugin, type C3, type C4, type CameraConfigurationAnimationApi, type CameraLocationAnimationApi, ContextMenu, type ContextMenuController, type ContextMenuCreateOptions, type ContextMenuServiceApi, CryptoUtils, DataUtils, Dialog, DialogContentAlign, type DialogCreateOptions, type DialogPlugin, type DialogServiceApi, type DivProps, type DivPropsSimple, DomNotFoundError, type DrawerPlugin, type EasyPropertyAnimationApi, EnableLevel, type FileData, type FileProgressBarProps, FileUtils, type FirstLoadModelServiceApi, FirstLoadModelServiceEventType, FirstLoadModelServiceStatus, type FirstLoadModelServiceSubscriber, type FirstLoadServiceApi, FirstLoadServiceEventType, FirstLoadServiceStatus, type FirstLoadServiceSubscriber, type FlexGrowProps, FocusMode, type FogAnimationApi, type GroundAnimationApi, type HighLightInfo, type HistoryServiceApi, HistoryServiceEventType, type HistoryServiceStateSubscriber, type HistoryServiceSubscriber, type IconPlugin, IconPluginPosition, type IconViewProps, type InternationalizationProviderProps, type InternationalizationServiceApi, LabelInfo, LabelTheme, type LastSubscriber, type LightAnimationApi, type LocalData, type LocalDataServiceApi, LocalDataServiceEventType, type LocalDataServiceSubscriber, LocalDataStatus, LocalDataType, Locale, type MainPortalProps, type MaterialSymbolFunction, type MaterialSymbolOptions, type MaterialSymbolProps, MathUtils, type MeetingServiceApi, type MeetingState, MeetingStatus, MenuLine, type MenuLineCreateOptions, MenuLineType, Message, type MessageLoader, type MessageServiceApi, type MessageState, type MessageTree, type MessageType, type MixView, type NamespaceSubscriber, type NativeAnyEventSubscriber, type NativeDragEventSubscriber, type NativeEventServiceApi, type NativeEventSubscribeOption, NativeEventUtils, type NativeFocusEventSubscriber, type NativeKeyboardEventSubscriber, type NativeMouseEventSubscriber, type NativePointerEventSubscriber, type NativeUIEventSubscriber, type NativeWheelEventSubscriber, NetworkUtils, type NfpApi, type NodeMaterialChangeListener, type NodeMaterialInfo, type NodePair, NotFoundError, NumberUtils, type OssUploadInstance, OssUploadInstanceStatus, type OssUploadServiceApi, OssUploadServiceEventType, type OssUploadServiceSubscriber, type Page, PageMode, PageType, PageUtils, type PluginConfig, type PluginConnectorApi, type PluginContainerServiceApi, PluginEventType, type PluginInformation, type PluginServiceApi, type PluginServiceSubscriber, type PluginState, PluginType, type PluginViewProps, type ProgressBarProps, type ResourcePreviewProps, type ResourceServiceApi, type RsAudioServiceApi, type RsClickApi, type RsEnvironmentApi, type RsEnvironmentServiceApi, type RsLabelServiceApi, type RsLoopAnimationManagerApi, type RsMaterialServiceApi, type RsModel, type RsModelServiceApi, RsModelServiceEventType, type RsModelServiceSubscriber, RsModelStatus, type RsNodeMaterialManagerApi, type RsNodeServiceApi, type RsSelectionApi, type RsSelectionMaterialInfo, type RsSelectionNodeInfo, type RsSelectionServiceApi, type RsSelectionState, type RsSeparateServiceApi, type RsServiceApi, type RsTextureServiceApi, type RsdButtonProps, type RsdCheckableButtonProps, type RsdCheckboxProps, type RsdColorProps, type RsdFileSelectProps, type RsdInputProps, type RsdMentionsProps, type RsdNoneProps, type RsdNumberListProps, type RsdNumberProps, type RsdSelectProps, type RsdSwitchProps, type RsdTitleProps, RvAttachType, type RvAttributes, type RvAttributesServiceApi, type RvAudio, type RvAwareness, type RvAwarenessClick, type RvAwarenessDevice, type RvAwarenessUser, type RvAwarenessWindow, type RvBase, type RvBasicConfig, RvBasicType, type RvCamera, type RvCameraLocation, type RvCode, type RvCodeAttributeApi, type RvConfiguration, type RvEnvironment, type RvFile, type RvFileServiceApi, RvFileServiceEventType, type RvFileServiceSubscriber, RvFileType, type RvGlobal, type RvGlobalServiceApi, type RvHistory, type RvLabel, type RvLabelAttributeApi, type RvLocation, type RvLocationAttributeApi, type RvLoop, type RvLoopAttributeApi, type RvMaterial, type RvMaterialAttributeApi, type RvMaterialGeneral, type RvMaterialNode, type RvMaterialNodeInput, type RvMaterialPBR, type RvMaterialTexture, RvMaterialType, type RvMeeting, type RvMeetingCurrent, type RvMeetingServiceApi, type RvMeetingStatistic, type RvModel, RvModelOrigin, type RvModelServiceApi, type RvNative, type RvNativeAttributeApi, type RvNode, type RvNodeMaterialAnalyzerApi, type RvPlugin, type RvPluginConfig, type RvPluginDebug, RvPresetType, type RvResource, type RvResourceServiceApi, RvResourceServiceEventType, type RvResourceServiceSubscriber, RvResourceType, type RvSceneNode, type RvSeparate, type RvStep, type RvStepServiceApi, RvUtils, type RvVersion, type SceneServiceApi, type Screen, ScreenSize, type ScrollBarProps, type SelectedSubscriber, type ShadowAnimationApi, ShareMode, type SkyboxAnimationApi, type SpaceServiceApi, type SpanProps, type SpanPropsSimple, StaticClassInstantiationError, type Status, type StatusChangeSubscriber, type StatusServiceApi, type StepChangeSubscriber, type StepOptions, type SupportAnimationTarget, type SyncServiceApi, type TAttributesServiceApi, type TAttributesSubscriber, TChangeType, type TStepServiceApi, type TSubscriber, type TextureInfo, ThemeBackground, ThemeColor, type ThemeProviderProps, type ThemeServiceApi, ThemeShape, type ThemeState, TimeUtils, type Translator, type UploadButtonAndListProps, UrlUtils, type UseBase, type UseStepOptions, type UseTAttributes, type UseTStep, type UseTranslations, type UserAuth, type UserInfo, type UserServiceApi, type V2, type V3, type V4, VectorUtils, VersionPoint, type ViewPlugin, sleep, throttle };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-flow-interface",
3
- "version": "0.19.8",
3
+ "version": "0.19.10",
4
4
  "description": "Interface package for NEXT FlOW. You can use this package to build your own plugin that can control anything.",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
@@ -34,6 +34,16 @@
34
34
  "Collaboration",
35
35
  "Interface"
36
36
  ],
37
+ "exports": {
38
+ ".": {
39
+ "types": "./dist/index.d.ts",
40
+ "import": "./dist/index.js"
41
+ },
42
+ "./instance": {
43
+ "types": "./dist/instance/index.d.ts",
44
+ "import": "./dist/instance/index.js"
45
+ }
46
+ },
37
47
  "files": [
38
48
  "dist/",
39
49
  "README.md",