woodsportal-client-sdk 4.0.9-dev.4 → 4.0.9-dev.6

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 (35) hide show
  1. package/dist/adapters/angular/index.d.ts +1 -1
  2. package/dist/adapters/angular/index.js +3 -3
  3. package/dist/adapters/native/index.js +4 -4
  4. package/dist/adapters/react/index.d.ts +1 -1
  5. package/dist/adapters/react/index.js +4 -4
  6. package/dist/adapters/vue/index.d.ts +1 -1
  7. package/dist/adapters/vue/index.js +3 -3
  8. package/dist/{cache-purge-h90c5Dpm.d.ts → cache-purge-CokkqLSk.d.ts} +8 -1
  9. package/dist/{chunk-FZMDGSOP.js → chunk-5IW5BVYE.js} +3 -3
  10. package/dist/{chunk-FZMDGSOP.js.map → chunk-5IW5BVYE.js.map} +1 -1
  11. package/dist/{chunk-FCXVZLKO.js → chunk-7ELN5B4I.js} +3 -3
  12. package/dist/{chunk-FCXVZLKO.js.map → chunk-7ELN5B4I.js.map} +1 -1
  13. package/dist/{chunk-OXPA3PYS.js → chunk-DRFN5GTH.js} +6 -5
  14. package/dist/chunk-DRFN5GTH.js.map +1 -0
  15. package/dist/{chunk-2ZDMREF4.js → chunk-H2F6UNSO.js} +4 -4
  16. package/dist/{chunk-2ZDMREF4.js.map → chunk-H2F6UNSO.js.map} +1 -1
  17. package/dist/{chunk-5IQC6UHI.js → chunk-HYWNZBUF.js} +4 -4
  18. package/dist/{chunk-5IQC6UHI.js.map → chunk-HYWNZBUF.js.map} +1 -1
  19. package/dist/{chunk-DZF5LIXW.js → chunk-KJPSGJL3.js} +52 -90
  20. package/dist/chunk-KJPSGJL3.js.map +1 -0
  21. package/dist/{chunk-UR6J7NHR.js → chunk-KT6KT233.js} +20 -12
  22. package/dist/chunk-KT6KT233.js.map +1 -0
  23. package/dist/{chunk-JHJGYIPC.js → chunk-WK5EEKZU.js} +4 -4
  24. package/dist/{chunk-JHJGYIPC.js.map → chunk-WK5EEKZU.js.map} +1 -1
  25. package/dist/{cross-tab-session-AH27QKXW.js → cross-tab-session-BKG6E7RD.js} +5 -5
  26. package/dist/{cross-tab-session-AH27QKXW.js.map → cross-tab-session-BKG6E7RD.js.map} +1 -1
  27. package/dist/entries/auth.js +4 -4
  28. package/dist/entries/crm.d.ts +4 -3
  29. package/dist/entries/crm.js +6 -6
  30. package/dist/index.d.ts +6 -4
  31. package/dist/index.js +10 -10
  32. package/package.json +1 -1
  33. package/dist/chunk-DZF5LIXW.js.map +0 -1
  34. package/dist/chunk-OXPA3PYS.js.map +0 -1
  35. package/dist/chunk-UR6J7NHR.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/main/adapters/shared/createAdapterHooks.ts"],"names":["actions"],"mappings":";;;;AAmCO,SAAS,mBAAmB,gBAAA,EAAqC;AACpE,EAAA,OAAO;AAAA,IACH,QAAA,EAAU,gBAAA,CAAkD,UAAA,EAAYA,QAAY,CAAA;AAAA,IACpF,UAAA,EAAY,gBAAA,CAAsD,YAAA,EAAc,cAAc,CAAA;AAAA,IAC9F,qBAAA,EAAuB,gBAAA,CAAiB,gBAAA,EAAkBA,OAAkB,CAAA;AAAA,IAC5E,OAAA,EAAS,gBAAA,CAAgD,SAAA,EAAWA,QAAW,CAAA;AAAA,IAC/E,QAAA,EAAU,gBAAA,CAAkD,UAAA,EAAYA,QAAY,CAAA;AAAA,IACpF,OAAA,EAAS,gBAAA,CAAgD,SAAA,EAAWA,QAAW,CAAA;AAAA,IAC/E,OAAA,EAAS,gBAAA,CAAgD,SAAA,EAAWA,QAAW,CAAA;AAAA,IAC/E,WAAA,EAAa,gBAAA,CAAwD,aAAA,EAAeA,QAAe,CAAA;AAAA,IACnG,OAAA,EAAS,gBAAA,CAAgD,SAAA,EAAWA,QAAW;AAAA,GACnF;AACJ","file":"chunk-2ZDMREF4.js","sourcesContent":["import type { SubscribableStore } from './bindStoreWithActions'\nimport {\n tableStore,\n tableActions,\n type TableState,\n tableUiStore,\n tableUiActions,\n type TableUiState,\n multiObjectStore,\n multiObjectActions,\n noteStore,\n noteActions,\n type NoteState,\n emailStore,\n emailActions,\n type EmailState,\n userStore,\n userActions,\n type UserState,\n syncStore,\n syncActions,\n type SyncState,\n uploaderStore,\n uploaderActions,\n type UploaderState,\n fileStore,\n fileActions,\n type FileState\n} from './stores'\n\ntype ComposableFactory = <TState extends object, TActions extends object>(\n store: SubscribableStore<TState>,\n actions: TActions\n) => () => TState & TActions\n\nexport function createAdapterHooks(createComposable: ComposableFactory) {\n return {\n useTable: createComposable<TableState, typeof tableActions>(tableStore, tableActions),\n useTableUi: createComposable<TableUiState, typeof tableUiActions>(tableUiStore, tableUiActions),\n useMultiObjectActions: createComposable(multiObjectStore, multiObjectActions),\n useNote: createComposable<NoteState, typeof noteActions>(noteStore, noteActions),\n useEmail: createComposable<EmailState, typeof emailActions>(emailStore, emailActions),\n useUser: createComposable<UserState, typeof userActions>(userStore, userActions),\n useSync: createComposable<SyncState, typeof syncActions>(syncStore, syncActions),\n useUploader: createComposable<UploaderState, typeof uploaderActions>(uploaderStore, uploaderActions),\n useFile: createComposable<FileState, typeof fileActions>(fileStore, fileActions)\n }\n}\n"]}
1
+ {"version":3,"sources":["../src/main/adapters/shared/createAdapterHooks.ts"],"names":["actions"],"mappings":";;;;AAmCO,SAAS,mBAAmB,gBAAA,EAAqC;AACpE,EAAA,OAAO;AAAA,IACH,QAAA,EAAU,gBAAA,CAAkD,UAAA,EAAYA,QAAY,CAAA;AAAA,IACpF,UAAA,EAAY,gBAAA,CAAsD,YAAA,EAAc,cAAc,CAAA;AAAA,IAC9F,qBAAA,EAAuB,gBAAA,CAAiB,gBAAA,EAAkBA,OAAkB,CAAA;AAAA,IAC5E,OAAA,EAAS,gBAAA,CAAgD,SAAA,EAAWA,QAAW,CAAA;AAAA,IAC/E,QAAA,EAAU,gBAAA,CAAkD,UAAA,EAAYA,QAAY,CAAA;AAAA,IACpF,OAAA,EAAS,gBAAA,CAAgD,SAAA,EAAWA,QAAW,CAAA;AAAA,IAC/E,OAAA,EAAS,gBAAA,CAAgD,SAAA,EAAWA,QAAW,CAAA;AAAA,IAC/E,WAAA,EAAa,gBAAA,CAAwD,aAAA,EAAeA,QAAe,CAAA;AAAA,IACnG,OAAA,EAAS,gBAAA,CAAgD,SAAA,EAAWA,QAAW;AAAA,GACnF;AACJ","file":"chunk-H2F6UNSO.js","sourcesContent":["import type { SubscribableStore } from './bindStoreWithActions'\nimport {\n tableStore,\n tableActions,\n type TableState,\n tableUiStore,\n tableUiActions,\n type TableUiState,\n multiObjectStore,\n multiObjectActions,\n noteStore,\n noteActions,\n type NoteState,\n emailStore,\n emailActions,\n type EmailState,\n userStore,\n userActions,\n type UserState,\n syncStore,\n syncActions,\n type SyncState,\n uploaderStore,\n uploaderActions,\n type UploaderState,\n fileStore,\n fileActions,\n type FileState\n} from './stores'\n\ntype ComposableFactory = <TState extends object, TActions extends object>(\n store: SubscribableStore<TState>,\n actions: TActions\n) => () => TState & TActions\n\nexport function createAdapterHooks(createComposable: ComposableFactory) {\n return {\n useTable: createComposable<TableState, typeof tableActions>(tableStore, tableActions),\n useTableUi: createComposable<TableUiState, typeof tableUiActions>(tableUiStore, tableUiActions),\n useMultiObjectActions: createComposable(multiObjectStore, multiObjectActions),\n useNote: createComposable<NoteState, typeof noteActions>(noteStore, noteActions),\n useEmail: createComposable<EmailState, typeof emailActions>(emailStore, emailActions),\n useUser: createComposable<UserState, typeof userActions>(userStore, userActions),\n useSync: createComposable<SyncState, typeof syncActions>(syncStore, syncActions),\n useUploader: createComposable<UploaderState, typeof uploaderActions>(uploaderStore, uploaderActions),\n useFile: createComposable<FileState, typeof fileActions>(fileStore, fileActions)\n }\n}\n"]}
@@ -1,5 +1,5 @@
1
- import { getAuthRefreshToken, createMutation, Client } from './chunk-DZF5LIXW.js';
2
- import { tokenFromPayload, actions6 } from './chunk-OXPA3PYS.js';
1
+ import { getAuthRefreshToken, createMutation, Client } from './chunk-KJPSGJL3.js';
2
+ import { tokenFromPayload, actions6 } from './chunk-DRFN5GTH.js';
3
3
  import { hasRefreshSession, isAccessTokenExpired, hydrateSessionRefreshState, clearSessionRefreshExhaustedState, resetSessionAuthState, isRefreshInFlight, isSessionRefreshExhausted, didLastRefreshFail, hasValidAccessToken, isExpiresAccessToken, isAuthenticateApp, isAuthenticated, clearAccessToken, setAccessToken, getAccessToken, refreshSession, getRefreshToken, classifyHttpError, clearRefreshToken, storeMfaPendingAccessToken, logger, setPortal, setSubscriptionType, setRefreshToken, setLoggedInDetails, setConfig, clearMfaPendingAccessToken } from './chunk-TH2E4MXG.js';
4
4
  import { isCookieExpired, clearClientAuthCookies } from './chunk-KPHAQNS2.js';
5
5
  import { parseApiErrorPayload } from './chunk-COHBSTHF.js';
@@ -1301,5 +1301,5 @@ function isExpectedApiError(error) {
1301
1301
  }
1302
1302
 
1303
1303
  export { API_ERROR_CATEGORY_FALLBACK, API_ERROR_DISPLAY_CONFIG, WOODSPORTAL_API_ACTIVE_ERROR_CODES, authApi, buildErrorDescription, getApiErrorFromUnknown, hasAuthenticatedAccess, hasValidAccess, isExpectedApiError, isFullyAuthenticated, isMfaPendingSession, recoverMfaGateOnBoot, resolveApiContentState, resolveApiErrorDisplay, resolveAuthRouteAction };
1304
- //# sourceMappingURL=chunk-5IQC6UHI.js.map
1305
- //# sourceMappingURL=chunk-5IQC6UHI.js.map
1304
+ //# sourceMappingURL=chunk-HYWNZBUF.js.map
1305
+ //# sourceMappingURL=chunk-HYWNZBUF.js.map