@xyo-network/os-runtime 6.0.4 → 6.1.0
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/{types → neutral}/Caller.d.ts +2 -5
- package/dist/{types → neutral}/Caller.d.ts.map +1 -1
- package/dist/{types → neutral}/DappCallerBase.d.ts +4 -4
- package/dist/{types → neutral}/OsCallerBase.d.ts +5 -5
- package/dist/{types → neutral}/XyOs.d.ts +2 -2
- package/dist/{types → neutral}/XyOs.d.ts.map +1 -1
- package/dist/{types → neutral}/XyOsDapp.d.ts +2 -2
- package/dist/{types → neutral}/XyOsDapp.d.ts.map +1 -1
- package/dist/{types → neutral}/access/RunningAccessDappCache.d.ts +1 -1
- package/dist/{types → neutral}/access/interfaces/registered-names/helpers/AccessNodeQueries.d.ts +2 -2
- package/dist/{types → neutral}/access/interfaces/registered-names/helpers/AccessNodeQueries.d.ts.map +1 -1
- package/dist/{types → neutral}/access/interfaces/registered-names/helpers/resource/AbstractXnsCaller.d.ts +3 -3
- package/dist/{types → neutral}/adapter/Network.d.ts +1 -1
- package/dist/{types → neutral}/adapter/Network.d.ts.map +1 -1
- package/dist/{types → neutral}/adapter/Settings.d.ts +1 -1
- package/dist/{types → neutral}/adapter/Settings.d.ts.map +1 -1
- package/dist/{types → neutral}/classes/settings/CallerBase.d.ts +2 -2
- package/dist/{types → neutral}/classes/settings/badge/Caller.d.ts +1 -1
- package/dist/{types → neutral}/dapp/context/creator/DefaultPayloads/DappAccessPayloads.d.ts +1 -1
- package/dist/{types → neutral}/dapp/context/creator/DefaultPayloads/NodeInfoPayload.d.ts.map +1 -1
- package/dist/{types → neutral}/event/bus/EventBus.d.ts +1 -1
- package/dist/{types → neutral}/event/bus/EventBus.d.ts.map +1 -1
- package/dist/neutral/index.mjs +3 -3
- package/dist/neutral/index.mjs.map +1 -1
- package/dist/{types → neutral}/intent/Caller.d.ts +1 -1
- package/dist/{types → neutral}/lib/isPayload.d.ts +1 -1
- package/dist/{types → neutral}/lib/isPayload.d.ts.map +1 -1
- package/dist/{types → neutral}/manifest/index.d.ts.map +1 -1
- package/dist/{types → neutral}/manifests/index.d.ts.map +1 -1
- package/dist/neutral/signer/Signer.spec.d.ts +2 -0
- package/dist/neutral/signer/Signer.spec.d.ts.map +1 -0
- package/dist/neutral/spec/boot.spec.d.ts +2 -0
- package/dist/neutral/spec/boot.spec.d.ts.map +1 -0
- package/dist/{types → neutral}/stack/OsPubSubNetworkStack.d.ts +2 -2
- package/dist/{types → neutral}/stack/OsPubSubNetworkStack.d.ts.map +1 -1
- package/dist/node/Caller.d.ts +70 -0
- package/dist/node/Caller.d.ts.map +1 -0
- package/dist/node/DappCallerBase.d.ts +23 -0
- package/dist/node/DappCallerBase.d.ts.map +1 -0
- package/dist/node/DefaultsQueries.d.ts +8 -0
- package/dist/node/DefaultsQueries.d.ts.map +1 -0
- package/dist/node/OsCallerBase.d.ts +16 -0
- package/dist/node/OsCallerBase.d.ts.map +1 -0
- package/dist/node/PubSubBridgeCaller.d.ts +11 -0
- package/dist/node/PubSubBridgeCaller.d.ts.map +1 -0
- package/dist/node/RunningDappCache.d.ts +12 -0
- package/dist/node/RunningDappCache.d.ts.map +1 -0
- package/dist/node/XyOs.d.ts +50 -0
- package/dist/node/XyOs.d.ts.map +1 -0
- package/dist/node/XyOsBase.d.ts +52 -0
- package/dist/node/XyOsBase.d.ts.map +1 -0
- package/dist/node/XyOsDapp.d.ts +32 -0
- package/dist/node/XyOsDapp.d.ts.map +1 -0
- package/dist/node/access/Caller.d.ts +23 -0
- package/dist/node/access/Caller.d.ts.map +1 -0
- package/dist/node/access/Queries.d.ts +8 -0
- package/dist/node/access/Queries.d.ts.map +1 -0
- package/dist/node/access/Resource.d.ts +23 -0
- package/dist/node/access/Resource.d.ts.map +1 -0
- package/dist/node/access/RunningAccessDappCache.d.ts +12 -0
- package/dist/node/access/RunningAccessDappCache.d.ts.map +1 -0
- package/dist/node/access/index.d.ts +5 -0
- package/dist/node/access/index.d.ts.map +1 -0
- package/dist/node/access/interfaces/index.d.ts +2 -0
- package/dist/node/access/interfaces/index.d.ts.map +1 -0
- package/dist/node/access/interfaces/registered-names/helpers/AccessNodeQueries.d.ts +16 -0
- package/dist/node/access/interfaces/registered-names/helpers/AccessNodeQueries.d.ts.map +1 -0
- package/dist/node/access/interfaces/registered-names/helpers/index.d.ts +3 -0
- package/dist/node/access/interfaces/registered-names/helpers/index.d.ts.map +1 -0
- package/dist/node/access/interfaces/registered-names/helpers/resource/AbstractXnsCaller.d.ts +21 -0
- package/dist/node/access/interfaces/registered-names/helpers/resource/AbstractXnsCaller.d.ts.map +1 -0
- package/dist/node/access/interfaces/registered-names/helpers/resource/RegistrationsResource.d.ts +22 -0
- package/dist/node/access/interfaces/registered-names/helpers/resource/RegistrationsResource.d.ts.map +1 -0
- package/dist/node/access/interfaces/registered-names/helpers/resource/RegistrationsResourceQueries.d.ts +9 -0
- package/dist/node/access/interfaces/registered-names/helpers/resource/RegistrationsResourceQueries.d.ts.map +1 -0
- package/dist/node/access/interfaces/registered-names/helpers/resource/index.d.ts +4 -0
- package/dist/node/access/interfaces/registered-names/helpers/resource/index.d.ts.map +1 -0
- package/dist/node/access/interfaces/registered-names/index.d.ts +2 -0
- package/dist/node/access/interfaces/registered-names/index.d.ts.map +1 -0
- package/dist/node/adapter/Base.d.ts +17 -0
- package/dist/node/adapter/Base.d.ts.map +1 -0
- package/dist/node/adapter/Network.d.ts +15 -0
- package/dist/node/adapter/Network.d.ts.map +1 -0
- package/dist/node/adapter/Settings.d.ts +14 -0
- package/dist/node/adapter/Settings.d.ts.map +1 -0
- package/dist/node/adapter/index.d.ts +3 -0
- package/dist/node/adapter/index.d.ts.map +1 -0
- package/dist/node/adapters/OsPubSubBridgeNetwork.d.ts +3 -0
- package/dist/node/adapters/OsPubSubBridgeNetwork.d.ts.map +1 -0
- package/dist/node/adapters/OsSettings.d.ts +3 -0
- package/dist/node/adapters/OsSettings.d.ts.map +1 -0
- package/dist/node/adapters/OsXyoPublicNetwork.d.ts +3 -0
- package/dist/node/adapters/OsXyoPublicNetwork.d.ts.map +1 -0
- package/dist/node/adapters/index.d.ts +4 -0
- package/dist/node/adapters/index.d.ts.map +1 -0
- package/dist/node/classes/dapp/DefaultsResource.d.ts +26 -0
- package/dist/node/classes/dapp/DefaultsResource.d.ts.map +1 -0
- package/dist/node/classes/dapp/index.d.ts +2 -0
- package/dist/node/classes/dapp/index.d.ts.map +1 -0
- package/dist/node/classes/index.d.ts +5 -0
- package/dist/node/classes/index.d.ts.map +1 -0
- package/dist/node/classes/lib/DappCreatorParams.d.ts +16 -0
- package/dist/node/classes/lib/DappCreatorParams.d.ts.map +1 -0
- package/dist/node/classes/lib/Insertable.d.ts +12 -0
- package/dist/node/classes/lib/Insertable.d.ts.map +1 -0
- package/dist/node/classes/lib/index.d.ts +3 -0
- package/dist/node/classes/lib/index.d.ts.map +1 -0
- package/dist/node/classes/menu/Caller.d.ts +15 -0
- package/dist/node/classes/menu/Caller.d.ts.map +1 -0
- package/dist/node/classes/menu/Queries.d.ts +10 -0
- package/dist/node/classes/menu/Queries.d.ts.map +1 -0
- package/dist/node/classes/menu/Resource.d.ts +46 -0
- package/dist/node/classes/menu/Resource.d.ts.map +1 -0
- package/dist/node/classes/menu/index.d.ts +3 -0
- package/dist/node/classes/menu/index.d.ts.map +1 -0
- package/dist/node/classes/settings/Caller.d.ts +21 -0
- package/dist/node/classes/settings/Caller.d.ts.map +1 -0
- package/dist/node/classes/settings/CallerBase.d.ts +8 -0
- package/dist/node/classes/settings/CallerBase.d.ts.map +1 -0
- package/dist/node/classes/settings/Resource.d.ts +30 -0
- package/dist/node/classes/settings/Resource.d.ts.map +1 -0
- package/dist/node/classes/settings/SettingsQueries.d.ts +10 -0
- package/dist/node/classes/settings/SettingsQueries.d.ts.map +1 -0
- package/dist/node/classes/settings/badge/Caller.d.ts +13 -0
- package/dist/node/classes/settings/badge/Caller.d.ts.map +1 -0
- package/dist/node/classes/settings/badge/Queries.d.ts +7 -0
- package/dist/node/classes/settings/badge/Queries.d.ts.map +1 -0
- package/dist/node/classes/settings/badge/Resource.d.ts +23 -0
- package/dist/node/classes/settings/badge/Resource.d.ts.map +1 -0
- package/dist/node/classes/settings/badge/index.d.ts +3 -0
- package/dist/node/classes/settings/badge/index.d.ts.map +1 -0
- package/dist/node/classes/settings/index.d.ts +6 -0
- package/dist/node/classes/settings/index.d.ts.map +1 -0
- package/dist/node/dapp/context/creator/Creator.d.ts +23 -0
- package/dist/node/dapp/context/creator/Creator.d.ts.map +1 -0
- package/dist/node/dapp/context/creator/DefaultPayloads/DappAccessPayloads.d.ts +8 -0
- package/dist/node/dapp/context/creator/DefaultPayloads/DappAccessPayloads.d.ts.map +1 -0
- package/dist/node/dapp/context/creator/DefaultPayloads/DefaultPayloads.d.ts +10 -0
- package/dist/node/dapp/context/creator/DefaultPayloads/DefaultPayloads.d.ts.map +1 -0
- package/dist/node/dapp/context/creator/DefaultPayloads/NodeInfoPayload.d.ts +8 -0
- package/dist/node/dapp/context/creator/DefaultPayloads/NodeInfoPayload.d.ts.map +1 -0
- package/dist/node/dapp/context/creator/DefaultPayloads/index.d.ts +2 -0
- package/dist/node/dapp/context/creator/DefaultPayloads/index.d.ts.map +1 -0
- package/dist/node/dapp/context/creator/ExternalModulePermissions/ExternalModulePermissions.d.ts +15 -0
- package/dist/node/dapp/context/creator/ExternalModulePermissions/ExternalModulePermissions.d.ts.map +1 -0
- package/dist/node/dapp/context/creator/ExternalModulePermissions/index.d.ts +2 -0
- package/dist/node/dapp/context/creator/ExternalModulePermissions/index.d.ts.map +1 -0
- package/dist/node/dapp/context/creator/createDappContext.d.ts +3 -0
- package/dist/node/dapp/context/creator/createDappContext.d.ts.map +1 -0
- package/dist/node/dapp/context/creator/index.d.ts +4 -0
- package/dist/node/dapp/context/creator/index.d.ts.map +1 -0
- package/dist/node/dapp/context/index.d.ts +2 -0
- package/dist/node/dapp/context/index.d.ts.map +1 -0
- package/dist/node/dapp/index.d.ts +2 -0
- package/dist/node/dapp/index.d.ts.map +1 -0
- package/dist/node/event/bus/Connection.d.ts +17 -0
- package/dist/node/event/bus/Connection.d.ts.map +1 -0
- package/dist/node/event/bus/EventBus.d.ts +24 -0
- package/dist/node/event/bus/EventBus.d.ts.map +1 -0
- package/dist/node/event/bus/PubSubConnection.d.ts +12 -0
- package/dist/node/event/bus/PubSubConnection.d.ts.map +1 -0
- package/dist/node/event/bus/index.d.ts +4 -0
- package/dist/node/event/bus/index.d.ts.map +1 -0
- package/dist/node/event/connections/DappAccessRequest.d.ts +4 -0
- package/dist/node/event/connections/DappAccessRequest.d.ts.map +1 -0
- package/dist/node/event/connections/DappsReady.d.ts +3 -0
- package/dist/node/event/connections/DappsReady.d.ts.map +1 -0
- package/dist/node/event/connections/ExposeDappRequest.d.ts +4 -0
- package/dist/node/event/connections/ExposeDappRequest.d.ts.map +1 -0
- package/dist/node/event/connections/OsPubSubNetworkReady.d.ts +4 -0
- package/dist/node/event/connections/OsPubSubNetworkReady.d.ts.map +1 -0
- package/dist/node/event/connections/OsSettingsReady.d.ts +4 -0
- package/dist/node/event/connections/OsSettingsReady.d.ts.map +1 -0
- package/dist/node/event/connections/OsXyoPublicReady.d.ts +4 -0
- package/dist/node/event/connections/OsXyoPublicReady.d.ts.map +1 -0
- package/dist/node/event/connections/index.d.ts +7 -0
- package/dist/node/event/connections/index.d.ts.map +1 -0
- package/dist/node/event/index.d.ts +3 -0
- package/dist/node/event/index.d.ts.map +1 -0
- package/dist/node/helpers/index.d.ts +2 -0
- package/dist/node/helpers/index.d.ts.map +1 -0
- package/dist/node/helpers/monitor/XyOsMonitor.d.ts +14 -0
- package/dist/node/helpers/monitor/XyOsMonitor.d.ts.map +1 -0
- package/dist/node/helpers/monitor/index.d.ts +3 -0
- package/dist/node/helpers/monitor/index.d.ts.map +1 -0
- package/dist/node/helpers/monitor/types.d.ts +7 -0
- package/dist/node/helpers/monitor/types.d.ts.map +1 -0
- package/dist/node/index.d.ts +30 -0
- package/dist/node/index.d.ts.map +1 -0
- package/dist/node/index.mjs +3 -3
- package/dist/node/index.mjs.map +1 -1
- package/dist/node/initializer/DappInitializer.d.ts +18 -0
- package/dist/node/initializer/DappInitializer.d.ts.map +1 -0
- package/dist/node/initializer/index.d.ts +2 -0
- package/dist/node/initializer/index.d.ts.map +1 -0
- package/dist/node/intent/Caller.d.ts +23 -0
- package/dist/node/intent/Caller.d.ts.map +1 -0
- package/dist/node/intent/Resource.d.ts +23 -0
- package/dist/node/intent/Resource.d.ts.map +1 -0
- package/dist/node/intent/index.d.ts +3 -0
- package/dist/node/intent/index.d.ts.map +1 -0
- package/dist/node/lib/ExternalStore.d.ts +7 -0
- package/dist/node/lib/ExternalStore.d.ts.map +1 -0
- package/dist/node/lib/Listener.d.ts +2 -0
- package/dist/node/lib/Listener.d.ts.map +1 -0
- package/dist/node/lib/ModuleAccountPaths.d.ts +3 -0
- package/dist/node/lib/ModuleAccountPaths.d.ts.map +1 -0
- package/dist/node/lib/ModuleNames.d.ts +3 -0
- package/dist/node/lib/ModuleNames.d.ts.map +1 -0
- package/dist/node/lib/NameTransforms.d.ts +11 -0
- package/dist/node/lib/NameTransforms.d.ts.map +1 -0
- package/dist/node/lib/PayloadStore.d.ts +38 -0
- package/dist/node/lib/PayloadStore.d.ts.map +1 -0
- package/dist/node/lib/ResourceStores.d.ts +7 -0
- package/dist/node/lib/ResourceStores.d.ts.map +1 -0
- package/dist/node/lib/index.d.ts +12 -0
- package/dist/node/lib/index.d.ts.map +1 -0
- package/dist/node/lib/initializeXns.d.ts +3 -0
- package/dist/node/lib/initializeXns.d.ts.map +1 -0
- package/dist/node/lib/isEqual.d.ts +2 -0
- package/dist/node/lib/isEqual.d.ts.map +1 -0
- package/dist/node/lib/isPayload.d.ts +6 -0
- package/dist/node/lib/isPayload.d.ts.map +1 -0
- package/dist/node/lib/tokenPlacesSplit.d.ts +3 -0
- package/dist/node/lib/tokenPlacesSplit.d.ts.map +1 -0
- package/dist/node/loadOsNode.d.ts +5 -0
- package/dist/node/loadOsNode.d.ts.map +1 -0
- package/dist/node/manifest/index.d.ts +3 -0
- package/dist/node/manifest/index.d.ts.map +1 -0
- package/dist/node/manifest/manifestReplacementTokens.d.ts +4 -0
- package/dist/node/manifest/manifestReplacementTokens.d.ts.map +1 -0
- package/dist/node/manifests/index.d.ts +2 -0
- package/dist/node/manifests/index.d.ts.map +1 -0
- package/dist/node/models/access/ValidDappAccessInterfaces.d.ts +5 -0
- package/dist/node/models/access/ValidDappAccessInterfaces.d.ts.map +1 -0
- package/dist/node/models/access/index.d.ts +2 -0
- package/dist/node/models/access/index.d.ts.map +1 -0
- package/dist/node/models/index.d.ts +2 -0
- package/dist/node/models/index.d.ts.map +1 -0
- package/dist/node/profileModuleEvents.d.ts +11 -0
- package/dist/node/profileModuleEvents.d.ts.map +1 -0
- package/dist/node/registration/DappRegistrationService.d.ts +37 -0
- package/dist/node/registration/DappRegistrationService.d.ts.map +1 -0
- package/dist/node/registration/DappRegistry.d.ts +28 -0
- package/dist/node/registration/DappRegistry.d.ts.map +1 -0
- package/dist/node/registration/ValidateDappAccessDiviner/Config.d.ts +19 -0
- package/dist/node/registration/ValidateDappAccessDiviner/Config.d.ts.map +1 -0
- package/dist/node/registration/ValidateDappAccessDiviner/Diviner.d.ts +7 -0
- package/dist/node/registration/ValidateDappAccessDiviner/Diviner.d.ts.map +1 -0
- package/dist/node/registration/ValidateDappAccessDiviner/index.d.ts +3 -0
- package/dist/node/registration/ValidateDappAccessDiviner/index.d.ts.map +1 -0
- package/dist/node/registration/index.d.ts +3 -0
- package/dist/node/registration/index.d.ts.map +1 -0
- package/dist/node/scripts/xyos/command/config.d.ts +3 -0
- package/dist/node/scripts/xyos/command/config.d.ts.map +1 -0
- package/dist/node/scripts/xyos/command/create.d.ts +3 -0
- package/dist/node/scripts/xyos/command/create.d.ts.map +1 -0
- package/dist/node/scripts/xyos/command/index.d.ts +6 -0
- package/dist/node/scripts/xyos/command/index.d.ts.map +1 -0
- package/dist/node/scripts/xyos/command/manifest.d.ts +3 -0
- package/dist/node/scripts/xyos/command/manifest.d.ts.map +1 -0
- package/dist/node/scripts/xyos/command/start.d.ts +3 -0
- package/dist/node/scripts/xyos/command/start.d.ts.map +1 -0
- package/dist/node/scripts/xyos/index.d.ts +2 -0
- package/dist/node/scripts/xyos/index.d.ts.map +1 -0
- package/dist/node/scripts/xyos/index.mjs +2 -2
- package/dist/node/scripts/xyos/index.mjs.map +1 -1
- package/dist/node/scripts/xyos/lib/createFromTemplate.d.ts +7 -0
- package/dist/node/scripts/xyos/lib/createFromTemplate.d.ts.map +1 -0
- package/dist/node/scripts/xyos/lib/headless.d.ts +8 -0
- package/dist/node/scripts/xyos/lib/headless.d.ts.map +1 -0
- package/dist/node/scripts/xyos/lib/index.d.ts +3 -0
- package/dist/node/scripts/xyos/lib/index.d.ts.map +1 -0
- package/dist/node/signer/Signer.spec.d.ts +2 -0
- package/dist/node/signer/Signer.spec.d.ts.map +1 -0
- package/dist/node/signer/Signers.d.ts +17 -0
- package/dist/node/signer/Signers.d.ts.map +1 -0
- package/dist/node/signer/index.d.ts +2 -0
- package/dist/node/signer/index.d.ts.map +1 -0
- package/dist/node/spec/boot.spec.d.ts +2 -0
- package/dist/node/spec/boot.spec.d.ts.map +1 -0
- package/dist/node/stack/Base.d.ts +41 -0
- package/dist/node/stack/Base.d.ts.map +1 -0
- package/dist/node/stack/Manager.d.ts +23 -0
- package/dist/node/stack/Manager.d.ts.map +1 -0
- package/dist/node/stack/Map.d.ts +3 -0
- package/dist/node/stack/Map.d.ts.map +1 -0
- package/dist/node/stack/OsPubSubNetworkStack.d.ts +14 -0
- package/dist/node/stack/OsPubSubNetworkStack.d.ts.map +1 -0
- package/dist/node/stack/OsSettingsStack.d.ts +9 -0
- package/dist/node/stack/OsSettingsStack.d.ts.map +1 -0
- package/dist/node/stack/XyoPublicNetworkStack.d.ts +9 -0
- package/dist/node/stack/XyoPublicNetworkStack.d.ts.map +1 -0
- package/dist/node/stack/index.d.ts +7 -0
- package/dist/node/stack/index.d.ts.map +1 -0
- package/dist/node/system/ManageSystemDapps.d.ts +33 -0
- package/dist/node/system/ManageSystemDapps.d.ts.map +1 -0
- package/dist/node/system/Queries.d.ts +9 -0
- package/dist/node/system/Queries.d.ts.map +1 -0
- package/dist/node/system/index.d.ts +2 -0
- package/dist/node/system/index.d.ts.map +1 -0
- package/dist/node/utils/buildWalletSeedPhrasePayload.d.ts +30 -0
- package/dist/node/utils/buildWalletSeedPhrasePayload.d.ts.map +1 -0
- package/dist/node/utils/getApiDomain.d.ts +3 -0
- package/dist/node/utils/getApiDomain.d.ts.map +1 -0
- package/dist/node/utils/index.d.ts +4 -0
- package/dist/node/utils/index.d.ts.map +1 -0
- package/dist/node/utils/renameObjKey.d.ts +7 -0
- package/dist/node/utils/renameObjKey.d.ts.map +1 -0
- package/dist/node/wallet/DappSeedPhraseRepository.d.ts +16 -0
- package/dist/node/wallet/DappSeedPhraseRepository.d.ts.map +1 -0
- package/dist/node/wallet/SeedPhraseRepository.d.ts +29 -0
- package/dist/node/wallet/SeedPhraseRepository.d.ts.map +1 -0
- package/dist/node/wallet/index.d.ts +3 -0
- package/dist/node/wallet/index.d.ts.map +1 -0
- package/package.json +46 -45
- package/src/DappCallerBase.ts +2 -2
- package/src/access/interfaces/registered-names/helpers/resource/RegistrationsResourceQueries.ts +1 -1
- package/src/dapp/context/creator/DefaultPayloads/NodeInfoPayload.ts +2 -1
- package/src/manifest/index.ts +1 -1
- package/src/manifests/index.ts +1 -1
- package/xy.config.ts +3 -2
- /package/dist/{types → neutral}/DappCallerBase.d.ts.map +0 -0
- /package/dist/{types → neutral}/DefaultsQueries.d.ts +0 -0
- /package/dist/{types → neutral}/DefaultsQueries.d.ts.map +0 -0
- /package/dist/{types → neutral}/OsCallerBase.d.ts.map +0 -0
- /package/dist/{types → neutral}/PubSubBridgeCaller.d.ts +0 -0
- /package/dist/{types → neutral}/PubSubBridgeCaller.d.ts.map +0 -0
- /package/dist/{types → neutral}/RunningDappCache.d.ts +0 -0
- /package/dist/{types → neutral}/RunningDappCache.d.ts.map +0 -0
- /package/dist/{types → neutral}/XyOsBase.d.ts +0 -0
- /package/dist/{types → neutral}/XyOsBase.d.ts.map +0 -0
- /package/dist/{types → neutral}/access/Caller.d.ts +0 -0
- /package/dist/{types → neutral}/access/Caller.d.ts.map +0 -0
- /package/dist/{types → neutral}/access/Queries.d.ts +0 -0
- /package/dist/{types → neutral}/access/Queries.d.ts.map +0 -0
- /package/dist/{types → neutral}/access/Resource.d.ts +0 -0
- /package/dist/{types → neutral}/access/Resource.d.ts.map +0 -0
- /package/dist/{types → neutral}/access/RunningAccessDappCache.d.ts.map +0 -0
- /package/dist/{types → neutral}/access/index.d.ts +0 -0
- /package/dist/{types → neutral}/access/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/access/interfaces/index.d.ts +0 -0
- /package/dist/{types → neutral}/access/interfaces/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/access/interfaces/registered-names/helpers/index.d.ts +0 -0
- /package/dist/{types → neutral}/access/interfaces/registered-names/helpers/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/access/interfaces/registered-names/helpers/resource/AbstractXnsCaller.d.ts.map +0 -0
- /package/dist/{types → neutral}/access/interfaces/registered-names/helpers/resource/RegistrationsResource.d.ts +0 -0
- /package/dist/{types → neutral}/access/interfaces/registered-names/helpers/resource/RegistrationsResource.d.ts.map +0 -0
- /package/dist/{types → neutral}/access/interfaces/registered-names/helpers/resource/RegistrationsResourceQueries.d.ts +0 -0
- /package/dist/{types → neutral}/access/interfaces/registered-names/helpers/resource/RegistrationsResourceQueries.d.ts.map +0 -0
- /package/dist/{types → neutral}/access/interfaces/registered-names/helpers/resource/index.d.ts +0 -0
- /package/dist/{types → neutral}/access/interfaces/registered-names/helpers/resource/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/access/interfaces/registered-names/index.d.ts +0 -0
- /package/dist/{types → neutral}/access/interfaces/registered-names/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/adapter/Base.d.ts +0 -0
- /package/dist/{types → neutral}/adapter/Base.d.ts.map +0 -0
- /package/dist/{types → neutral}/adapter/index.d.ts +0 -0
- /package/dist/{types → neutral}/adapter/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/adapters/OsPubSubBridgeNetwork.d.ts +0 -0
- /package/dist/{types → neutral}/adapters/OsPubSubBridgeNetwork.d.ts.map +0 -0
- /package/dist/{types → neutral}/adapters/OsSettings.d.ts +0 -0
- /package/dist/{types → neutral}/adapters/OsSettings.d.ts.map +0 -0
- /package/dist/{types → neutral}/adapters/OsXyoPublicNetwork.d.ts +0 -0
- /package/dist/{types → neutral}/adapters/OsXyoPublicNetwork.d.ts.map +0 -0
- /package/dist/{types → neutral}/adapters/index.d.ts +0 -0
- /package/dist/{types → neutral}/adapters/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/classes/dapp/DefaultsResource.d.ts +0 -0
- /package/dist/{types → neutral}/classes/dapp/DefaultsResource.d.ts.map +0 -0
- /package/dist/{types → neutral}/classes/dapp/index.d.ts +0 -0
- /package/dist/{types → neutral}/classes/dapp/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/classes/index.d.ts +0 -0
- /package/dist/{types → neutral}/classes/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/classes/lib/DappCreatorParams.d.ts +0 -0
- /package/dist/{types → neutral}/classes/lib/DappCreatorParams.d.ts.map +0 -0
- /package/dist/{types → neutral}/classes/lib/Insertable.d.ts +0 -0
- /package/dist/{types → neutral}/classes/lib/Insertable.d.ts.map +0 -0
- /package/dist/{types → neutral}/classes/lib/index.d.ts +0 -0
- /package/dist/{types → neutral}/classes/lib/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/classes/menu/Caller.d.ts +0 -0
- /package/dist/{types → neutral}/classes/menu/Caller.d.ts.map +0 -0
- /package/dist/{types → neutral}/classes/menu/Queries.d.ts +0 -0
- /package/dist/{types → neutral}/classes/menu/Queries.d.ts.map +0 -0
- /package/dist/{types → neutral}/classes/menu/Resource.d.ts +0 -0
- /package/dist/{types → neutral}/classes/menu/Resource.d.ts.map +0 -0
- /package/dist/{types → neutral}/classes/menu/index.d.ts +0 -0
- /package/dist/{types → neutral}/classes/menu/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/classes/settings/Caller.d.ts +0 -0
- /package/dist/{types → neutral}/classes/settings/Caller.d.ts.map +0 -0
- /package/dist/{types → neutral}/classes/settings/CallerBase.d.ts.map +0 -0
- /package/dist/{types → neutral}/classes/settings/Resource.d.ts +0 -0
- /package/dist/{types → neutral}/classes/settings/Resource.d.ts.map +0 -0
- /package/dist/{types → neutral}/classes/settings/SettingsQueries.d.ts +0 -0
- /package/dist/{types → neutral}/classes/settings/SettingsQueries.d.ts.map +0 -0
- /package/dist/{types → neutral}/classes/settings/badge/Caller.d.ts.map +0 -0
- /package/dist/{types → neutral}/classes/settings/badge/Queries.d.ts +0 -0
- /package/dist/{types → neutral}/classes/settings/badge/Queries.d.ts.map +0 -0
- /package/dist/{types → neutral}/classes/settings/badge/Resource.d.ts +0 -0
- /package/dist/{types → neutral}/classes/settings/badge/Resource.d.ts.map +0 -0
- /package/dist/{types → neutral}/classes/settings/badge/index.d.ts +0 -0
- /package/dist/{types → neutral}/classes/settings/badge/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/classes/settings/index.d.ts +0 -0
- /package/dist/{types → neutral}/classes/settings/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/dapp/context/creator/Creator.d.ts +0 -0
- /package/dist/{types → neutral}/dapp/context/creator/Creator.d.ts.map +0 -0
- /package/dist/{types → neutral}/dapp/context/creator/DefaultPayloads/DappAccessPayloads.d.ts.map +0 -0
- /package/dist/{types → neutral}/dapp/context/creator/DefaultPayloads/DefaultPayloads.d.ts +0 -0
- /package/dist/{types → neutral}/dapp/context/creator/DefaultPayloads/DefaultPayloads.d.ts.map +0 -0
- /package/dist/{types → neutral}/dapp/context/creator/DefaultPayloads/NodeInfoPayload.d.ts +0 -0
- /package/dist/{types → neutral}/dapp/context/creator/DefaultPayloads/index.d.ts +0 -0
- /package/dist/{types → neutral}/dapp/context/creator/DefaultPayloads/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/dapp/context/creator/ExternalModulePermissions/ExternalModulePermissions.d.ts +0 -0
- /package/dist/{types → neutral}/dapp/context/creator/ExternalModulePermissions/ExternalModulePermissions.d.ts.map +0 -0
- /package/dist/{types → neutral}/dapp/context/creator/ExternalModulePermissions/index.d.ts +0 -0
- /package/dist/{types → neutral}/dapp/context/creator/ExternalModulePermissions/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/dapp/context/creator/createDappContext.d.ts +0 -0
- /package/dist/{types → neutral}/dapp/context/creator/createDappContext.d.ts.map +0 -0
- /package/dist/{types → neutral}/dapp/context/creator/index.d.ts +0 -0
- /package/dist/{types → neutral}/dapp/context/creator/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/dapp/context/index.d.ts +0 -0
- /package/dist/{types → neutral}/dapp/context/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/dapp/index.d.ts +0 -0
- /package/dist/{types → neutral}/dapp/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/event/bus/Connection.d.ts +0 -0
- /package/dist/{types → neutral}/event/bus/Connection.d.ts.map +0 -0
- /package/dist/{types → neutral}/event/bus/PubSubConnection.d.ts +0 -0
- /package/dist/{types → neutral}/event/bus/PubSubConnection.d.ts.map +0 -0
- /package/dist/{types → neutral}/event/bus/index.d.ts +0 -0
- /package/dist/{types → neutral}/event/bus/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/event/connections/DappAccessRequest.d.ts +0 -0
- /package/dist/{types → neutral}/event/connections/DappAccessRequest.d.ts.map +0 -0
- /package/dist/{types → neutral}/event/connections/DappsReady.d.ts +0 -0
- /package/dist/{types → neutral}/event/connections/DappsReady.d.ts.map +0 -0
- /package/dist/{types → neutral}/event/connections/ExposeDappRequest.d.ts +0 -0
- /package/dist/{types → neutral}/event/connections/ExposeDappRequest.d.ts.map +0 -0
- /package/dist/{types → neutral}/event/connections/OsPubSubNetworkReady.d.ts +0 -0
- /package/dist/{types → neutral}/event/connections/OsPubSubNetworkReady.d.ts.map +0 -0
- /package/dist/{types → neutral}/event/connections/OsSettingsReady.d.ts +0 -0
- /package/dist/{types → neutral}/event/connections/OsSettingsReady.d.ts.map +0 -0
- /package/dist/{types → neutral}/event/connections/OsXyoPublicReady.d.ts +0 -0
- /package/dist/{types → neutral}/event/connections/OsXyoPublicReady.d.ts.map +0 -0
- /package/dist/{types → neutral}/event/connections/index.d.ts +0 -0
- /package/dist/{types → neutral}/event/connections/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/event/index.d.ts +0 -0
- /package/dist/{types → neutral}/event/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/helpers/index.d.ts +0 -0
- /package/dist/{types → neutral}/helpers/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/helpers/monitor/XyOsMonitor.d.ts +0 -0
- /package/dist/{types → neutral}/helpers/monitor/XyOsMonitor.d.ts.map +0 -0
- /package/dist/{types → neutral}/helpers/monitor/index.d.ts +0 -0
- /package/dist/{types → neutral}/helpers/monitor/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/helpers/monitor/types.d.ts +0 -0
- /package/dist/{types → neutral}/helpers/monitor/types.d.ts.map +0 -0
- /package/dist/{types → neutral}/index.d.ts +0 -0
- /package/dist/{types → neutral}/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/initializer/DappInitializer.d.ts +0 -0
- /package/dist/{types → neutral}/initializer/DappInitializer.d.ts.map +0 -0
- /package/dist/{types → neutral}/initializer/index.d.ts +0 -0
- /package/dist/{types → neutral}/initializer/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/intent/Caller.d.ts.map +0 -0
- /package/dist/{types → neutral}/intent/Resource.d.ts +0 -0
- /package/dist/{types → neutral}/intent/Resource.d.ts.map +0 -0
- /package/dist/{types → neutral}/intent/index.d.ts +0 -0
- /package/dist/{types → neutral}/intent/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/lib/ExternalStore.d.ts +0 -0
- /package/dist/{types → neutral}/lib/ExternalStore.d.ts.map +0 -0
- /package/dist/{types → neutral}/lib/Listener.d.ts +0 -0
- /package/dist/{types → neutral}/lib/Listener.d.ts.map +0 -0
- /package/dist/{types → neutral}/lib/ModuleAccountPaths.d.ts +0 -0
- /package/dist/{types → neutral}/lib/ModuleAccountPaths.d.ts.map +0 -0
- /package/dist/{types → neutral}/lib/ModuleNames.d.ts +0 -0
- /package/dist/{types → neutral}/lib/ModuleNames.d.ts.map +0 -0
- /package/dist/{types → neutral}/lib/NameTransforms.d.ts +0 -0
- /package/dist/{types → neutral}/lib/NameTransforms.d.ts.map +0 -0
- /package/dist/{types → neutral}/lib/PayloadStore.d.ts +0 -0
- /package/dist/{types → neutral}/lib/PayloadStore.d.ts.map +0 -0
- /package/dist/{types → neutral}/lib/ResourceStores.d.ts +0 -0
- /package/dist/{types → neutral}/lib/ResourceStores.d.ts.map +0 -0
- /package/dist/{types → neutral}/lib/index.d.ts +0 -0
- /package/dist/{types → neutral}/lib/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/lib/initializeXns.d.ts +0 -0
- /package/dist/{types → neutral}/lib/initializeXns.d.ts.map +0 -0
- /package/dist/{types → neutral}/lib/isEqual.d.ts +0 -0
- /package/dist/{types → neutral}/lib/isEqual.d.ts.map +0 -0
- /package/dist/{types → neutral}/lib/tokenPlacesSplit.d.ts +0 -0
- /package/dist/{types → neutral}/lib/tokenPlacesSplit.d.ts.map +0 -0
- /package/dist/{types → neutral}/loadOsNode.d.ts +0 -0
- /package/dist/{types → neutral}/loadOsNode.d.ts.map +0 -0
- /package/dist/{types → neutral}/manifest/index.d.ts +0 -0
- /package/dist/{types → neutral}/manifest/manifestReplacementTokens.d.ts +0 -0
- /package/dist/{types → neutral}/manifest/manifestReplacementTokens.d.ts.map +0 -0
- /package/dist/{types → neutral}/manifests/index.d.ts +0 -0
- /package/dist/{types → neutral}/models/access/ValidDappAccessInterfaces.d.ts +0 -0
- /package/dist/{types → neutral}/models/access/ValidDappAccessInterfaces.d.ts.map +0 -0
- /package/dist/{types → neutral}/models/access/index.d.ts +0 -0
- /package/dist/{types → neutral}/models/access/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/models/index.d.ts +0 -0
- /package/dist/{types → neutral}/models/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/profileModuleEvents.d.ts +0 -0
- /package/dist/{types → neutral}/profileModuleEvents.d.ts.map +0 -0
- /package/dist/{types → neutral}/registration/DappRegistrationService.d.ts +0 -0
- /package/dist/{types → neutral}/registration/DappRegistrationService.d.ts.map +0 -0
- /package/dist/{types → neutral}/registration/DappRegistry.d.ts +0 -0
- /package/dist/{types → neutral}/registration/DappRegistry.d.ts.map +0 -0
- /package/dist/{types → neutral}/registration/ValidateDappAccessDiviner/Config.d.ts +0 -0
- /package/dist/{types → neutral}/registration/ValidateDappAccessDiviner/Config.d.ts.map +0 -0
- /package/dist/{types → neutral}/registration/ValidateDappAccessDiviner/Diviner.d.ts +0 -0
- /package/dist/{types → neutral}/registration/ValidateDappAccessDiviner/Diviner.d.ts.map +0 -0
- /package/dist/{types → neutral}/registration/ValidateDappAccessDiviner/index.d.ts +0 -0
- /package/dist/{types → neutral}/registration/ValidateDappAccessDiviner/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/registration/index.d.ts +0 -0
- /package/dist/{types → neutral}/registration/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/scripts/xyos/command/config.d.ts +0 -0
- /package/dist/{types → neutral}/scripts/xyos/command/config.d.ts.map +0 -0
- /package/dist/{types → neutral}/scripts/xyos/command/create.d.ts +0 -0
- /package/dist/{types → neutral}/scripts/xyos/command/create.d.ts.map +0 -0
- /package/dist/{types → neutral}/scripts/xyos/command/index.d.ts +0 -0
- /package/dist/{types → neutral}/scripts/xyos/command/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/scripts/xyos/command/manifest.d.ts +0 -0
- /package/dist/{types → neutral}/scripts/xyos/command/manifest.d.ts.map +0 -0
- /package/dist/{types → neutral}/scripts/xyos/command/start.d.ts +0 -0
- /package/dist/{types → neutral}/scripts/xyos/command/start.d.ts.map +0 -0
- /package/dist/{types → neutral}/scripts/xyos/index.d.ts +0 -0
- /package/dist/{types → neutral}/scripts/xyos/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/scripts/xyos/lib/createFromTemplate.d.ts +0 -0
- /package/dist/{types → neutral}/scripts/xyos/lib/createFromTemplate.d.ts.map +0 -0
- /package/dist/{types → neutral}/scripts/xyos/lib/headless.d.ts +0 -0
- /package/dist/{types → neutral}/scripts/xyos/lib/headless.d.ts.map +0 -0
- /package/dist/{types → neutral}/scripts/xyos/lib/index.d.ts +0 -0
- /package/dist/{types → neutral}/scripts/xyos/lib/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/signer/Signers.d.ts +0 -0
- /package/dist/{types → neutral}/signer/Signers.d.ts.map +0 -0
- /package/dist/{types → neutral}/signer/index.d.ts +0 -0
- /package/dist/{types → neutral}/signer/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/stack/Base.d.ts +0 -0
- /package/dist/{types → neutral}/stack/Base.d.ts.map +0 -0
- /package/dist/{types → neutral}/stack/Manager.d.ts +0 -0
- /package/dist/{types → neutral}/stack/Manager.d.ts.map +0 -0
- /package/dist/{types → neutral}/stack/Map.d.ts +0 -0
- /package/dist/{types → neutral}/stack/Map.d.ts.map +0 -0
- /package/dist/{types → neutral}/stack/OsSettingsStack.d.ts +0 -0
- /package/dist/{types → neutral}/stack/OsSettingsStack.d.ts.map +0 -0
- /package/dist/{types → neutral}/stack/XyoPublicNetworkStack.d.ts +0 -0
- /package/dist/{types → neutral}/stack/XyoPublicNetworkStack.d.ts.map +0 -0
- /package/dist/{types → neutral}/stack/index.d.ts +0 -0
- /package/dist/{types → neutral}/stack/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/system/ManageSystemDapps.d.ts +0 -0
- /package/dist/{types → neutral}/system/ManageSystemDapps.d.ts.map +0 -0
- /package/dist/{types → neutral}/system/Queries.d.ts +0 -0
- /package/dist/{types → neutral}/system/Queries.d.ts.map +0 -0
- /package/dist/{types → neutral}/system/index.d.ts +0 -0
- /package/dist/{types → neutral}/system/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/utils/buildWalletSeedPhrasePayload.d.ts +0 -0
- /package/dist/{types → neutral}/utils/buildWalletSeedPhrasePayload.d.ts.map +0 -0
- /package/dist/{types → neutral}/utils/getApiDomain.d.ts +0 -0
- /package/dist/{types → neutral}/utils/getApiDomain.d.ts.map +0 -0
- /package/dist/{types → neutral}/utils/index.d.ts +0 -0
- /package/dist/{types → neutral}/utils/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/utils/renameObjKey.d.ts +0 -0
- /package/dist/{types → neutral}/utils/renameObjKey.d.ts.map +0 -0
- /package/dist/{types → neutral}/wallet/DappSeedPhraseRepository.d.ts +0 -0
- /package/dist/{types → neutral}/wallet/DappSeedPhraseRepository.d.ts.map +0 -0
- /package/dist/{types → neutral}/wallet/SeedPhraseRepository.d.ts +0 -0
- /package/dist/{types → neutral}/wallet/SeedPhraseRepository.d.ts.map +0 -0
- /package/dist/{types → neutral}/wallet/index.d.ts +0 -0
- /package/dist/{types → neutral}/wallet/index.d.ts.map +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type TemplateName = 'react' | 'headless' | 'dapp' | 'diviner' | 'witness';
|
|
2
|
+
export interface CreateFromTemplateParams {
|
|
3
|
+
target?: string;
|
|
4
|
+
template?: TemplateName;
|
|
5
|
+
}
|
|
6
|
+
export declare const createFromTemplate: ({ target, template }: CreateFromTemplateParams) => Promise<void>;
|
|
7
|
+
//# sourceMappingURL=createFromTemplate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createFromTemplate.d.ts","sourceRoot":"","sources":["../../../../../src/scripts/xyos/lib/createFromTemplate.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,UAAU,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAA;AAEhF,MAAM,WAAW,wBAAwB;IACvC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,YAAY,CAAA;CACxB;AAED,eAAO,MAAM,kBAAkB,GAAU,sBAAsB,wBAAwB,kBAGtF,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { NativeKernelDrivers } from '@xyo-network/kernel-model';
|
|
2
|
+
export interface HeadlessParams {
|
|
3
|
+
config?: string;
|
|
4
|
+
kernelDrivers?: NativeKernelDrivers[];
|
|
5
|
+
manifest?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const headless: ({ manifest, config, kernelDrivers, }?: HeadlessParams) => Promise<void>;
|
|
8
|
+
//# sourceMappingURL=headless.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"headless.d.ts","sourceRoot":"","sources":["../../../../../src/scripts/xyos/lib/headless.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AAyBpE,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,aAAa,CAAC,EAAE,mBAAmB,EAAE,CAAA;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,eAAO,MAAM,QAAQ,GAAU,uCAE5B,cAAmB,kBA8BrB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/scripts/xyos/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,eAAe,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Signer.spec.d.ts","sourceRoot":"","sources":["../../../src/signer/Signer.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type AccountInstance } from '@xyo-network/account-model';
|
|
2
|
+
import type { SignerAccounts, SignersExternal, WalletKindSignerPaths } from '@xyo-network/os-model';
|
|
3
|
+
import type { WalletKind, WalletSeedPhraseStore } from '@xyo-network/storage-model';
|
|
4
|
+
export declare class Signers implements SignersExternal {
|
|
5
|
+
private _paths;
|
|
6
|
+
private _signerAccounts;
|
|
7
|
+
private _walletStore;
|
|
8
|
+
constructor(paths: WalletKindSignerPaths, walletStore: WalletSeedPhraseStore);
|
|
9
|
+
private get paths();
|
|
10
|
+
private get signerAccounts();
|
|
11
|
+
private get walletStore();
|
|
12
|
+
getSigner(walletKind: WalletKind, signer: string): AccountInstance | undefined;
|
|
13
|
+
getWalletKindSigner(walletKind: WalletKind): SignerAccounts | undefined;
|
|
14
|
+
initialize(): Promise<void>;
|
|
15
|
+
private initializeSigners;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=Signers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Signers.d.ts","sourceRoot":"","sources":["../../../src/signer/Signers.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,KAAK,EACV,cAAc,EAAE,eAAe,EAAE,qBAAqB,EACvD,MAAM,uBAAuB,CAAA;AAC9B,OAAO,KAAK,EACV,UAAU,EACV,qBAAqB,EACtB,MAAM,4BAA4B,CAAA;AAGnC,qBAAa,OAAQ,YAAW,eAAe;IAC7C,OAAO,CAAC,MAAM,CAAuB;IACrC,OAAO,CAAC,eAAe,CAAiC;IACxD,OAAO,CAAC,YAAY,CAAuB;gBAE/B,KAAK,EAAE,qBAAqB,EAAE,WAAW,EAAE,qBAAqB;IAM5E,OAAO,KAAK,KAAK,GAEhB;IAED,OAAO,KAAK,cAAc,GAEzB;IAED,OAAO,KAAK,WAAW,GAEtB;IAED,SAAS,CAAC,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS;IAI9E,mBAAmB,CAAC,UAAU,EAAE,UAAU,GAAG,cAAc,GAAG,SAAS;IAIjE,UAAU;YAQF,iBAAiB;CAuBhC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/signer/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"boot.spec.d.ts","sourceRoot":"","sources":["../../../src/spec/boot.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { BaseParams } from '@xylabs/base';
|
|
2
|
+
import { BaseEmitter } from '@xylabs/events';
|
|
3
|
+
import type { ModuleIdentifier } from '@xyo-network/module-model';
|
|
4
|
+
import type { AttachableNodeInstance } from '@xyo-network/node-model';
|
|
5
|
+
import type { AdapterSetCreator, NodeAdapter, StackBaseEvents, StackInitializer, XyOsContext } from '@xyo-network/os-model';
|
|
6
|
+
/**
|
|
7
|
+
* Stack Base Class
|
|
8
|
+
*
|
|
9
|
+
* Listens for changes in adapter connections, update the stack node, and emits events when the stack is ready
|
|
10
|
+
*/
|
|
11
|
+
export declare class StackBase extends BaseEmitter<BaseParams, StackBaseEvents> implements StackInitializer {
|
|
12
|
+
initialized: boolean;
|
|
13
|
+
private _adapterSet;
|
|
14
|
+
private _context;
|
|
15
|
+
private _stack;
|
|
16
|
+
private _stackNodeModuleId;
|
|
17
|
+
private initializedNodes;
|
|
18
|
+
private listeners;
|
|
19
|
+
constructor(context: XyOsContext, adapterSet: AdapterSetCreator, stackNodeModuleId: ModuleIdentifier);
|
|
20
|
+
get adapterSet(): NodeAdapter[];
|
|
21
|
+
get context(): XyOsContext;
|
|
22
|
+
get stack(): AttachableNodeInstance;
|
|
23
|
+
get stackNodeModuleId(): ModuleIdentifier;
|
|
24
|
+
initialize(): void;
|
|
25
|
+
/**
|
|
26
|
+
* Stops the stack
|
|
27
|
+
*/
|
|
28
|
+
stop(): void;
|
|
29
|
+
/**
|
|
30
|
+
* Adds a node to the stack. Idempotent to avoid adding the
|
|
31
|
+
* same node multiple times
|
|
32
|
+
* @param node The node to add to the stack
|
|
33
|
+
* @returns
|
|
34
|
+
*/
|
|
35
|
+
private addNodeToStackNode;
|
|
36
|
+
private assignStack;
|
|
37
|
+
private getStackNode;
|
|
38
|
+
private handleDriverReady;
|
|
39
|
+
private updateInitializationState;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=Base.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Base.d.ts","sourceRoot":"","sources":["../../../src/stack/Base.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAG5C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAEjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAA;AAErE,OAAO,KAAK,EACV,iBAAiB,EAAE,WAAW,EAAyB,eAAe,EAAE,gBAAgB,EAAE,WAAW,EACtG,MAAM,uBAAuB,CAAA;AAE9B;;;;GAIG;AACH,qBAAa,SAAU,SAAQ,WAAW,CAAC,UAAU,EAAE,eAAe,CAAE,YAAW,gBAAgB;IAEjG,WAAW,UAAQ;IAGnB,OAAO,CAAC,WAAW,CAAe;IAElC,OAAO,CAAC,QAAQ,CAAa;IAG7B,OAAO,CAAC,MAAM,CAAoC;IAGlD,OAAO,CAAC,kBAAkB,CAAkB;IAG5C,OAAO,CAAC,gBAAgB,CAA+B;IAIvD,OAAO,CAAC,SAAS,CAKT;gBAEI,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,gBAAgB;IAOpG,IAAI,UAAU,IAAI,WAAW,EAAE,CAE9B;IAED,IAAI,OAAO,IAAI,WAAW,CAEzB;IAED,IAAI,KAAK,IAAI,sBAAsB,CAElC;IAED,IAAI,iBAAiB,IAAI,gBAAgB,CAExC;IAED,UAAU;IA2BV;;OAEG;IACH,IAAI;IASJ;;;;;OAKG;YACW,kBAAkB;IAahC,OAAO,CAAC,WAAW;YAQL,YAAY;YAKZ,iBAAiB;YAcjB,yBAAyB;CAYxC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { AdapterSetCreator, XyOsContext } from '@xyo-network/os-model';
|
|
2
|
+
import type { StackBase } from './Base.ts';
|
|
3
|
+
export interface StackConstructor {
|
|
4
|
+
new (context: XyOsContext, adapters: AdapterSetCreator): StackBase;
|
|
5
|
+
}
|
|
6
|
+
export interface UninitializedStackSet {
|
|
7
|
+
adapters: AdapterSetCreator;
|
|
8
|
+
stack: StackConstructor;
|
|
9
|
+
}
|
|
10
|
+
export interface UninitializedStackMap {
|
|
11
|
+
[key: string]: UninitializedStackSet;
|
|
12
|
+
}
|
|
13
|
+
export declare class StackManager {
|
|
14
|
+
private initializedStacksMap;
|
|
15
|
+
private stackMap;
|
|
16
|
+
constructor(stackMap: UninitializedStackMap);
|
|
17
|
+
get stacks(): string[];
|
|
18
|
+
private get initializedStacks();
|
|
19
|
+
getStack<TStack = StackBase>(key: string): TStack | undefined;
|
|
20
|
+
initialize(context: XyOsContext): void;
|
|
21
|
+
stop(): void;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=Manager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Manager.d.ts","sourceRoot":"","sources":["../../../src/stack/Manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EAAoB,WAAW,EACjD,MAAM,uBAAuB,CAAA;AAE9B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAE1C,MAAM,WAAW,gBAAgB;IAAG,KAAK,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,iBAAiB,GAAG,SAAS,CAAA;CAAE;AAExG,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,KAAK,EAAE,gBAAgB,CAAA;CACxB;AAED,MAAM,WAAW,qBAAqB;IAAG,CAAC,GAAG,EAAE,MAAM,GAAG,qBAAqB,CAAA;CAAE;AAE/E,qBAAa,YAAY;IACvB,OAAO,CAAC,oBAAoB,CAA2C;IACvE,OAAO,CAAC,QAAQ,CAAuB;gBAE3B,QAAQ,EAAE,qBAAqB;IAI3C,IAAI,MAAM,aAET;IAED,OAAO,KAAK,iBAAiB,GAE5B;IAED,QAAQ,CAAC,MAAM,GAAG,SAAS,EAAE,GAAG,EAAE,MAAM,GACO,MAAM,GAAG,SAAS;IAGjE,UAAU,CAAC,OAAO,EAAE,WAAW;IAU/B,IAAI;CAKL"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Map.d.ts","sourceRoot":"","sources":["../../../src/stack/Map.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAA;AAKzD,eAAO,MAAM,UAAU,EAAE,qBAaxB,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { NodeInstance } from '@xyo-network/node-model';
|
|
2
|
+
import type { AdapterSetCreator, XyOsContext } from '@xyo-network/os-model';
|
|
3
|
+
import { StackBase } from './Base.ts';
|
|
4
|
+
export declare class OsPubSubNetworkStack extends StackBase {
|
|
5
|
+
protected _exposedNode: NodeInstance | undefined;
|
|
6
|
+
protected _exposedNodeOuter: NodeInstance | undefined;
|
|
7
|
+
private busConnection;
|
|
8
|
+
constructor(context: XyOsContext, adapters: AdapterSetCreator);
|
|
9
|
+
get exposedNode(): NodeInstance<import("@xyo-network/node-model").NodeParams<import("@xyo-network/module-model").AnyConfigSchema<import("@xyo-network/node-model").NodeConfig>>, import("@xyo-network/node-model").NodeModuleEventData> | undefined;
|
|
10
|
+
get exposedNodeOuter(): NodeInstance<import("@xyo-network/node-model").NodeParams<import("@xyo-network/module-model").AnyConfigSchema<import("@xyo-network/node-model").NodeConfig>>, import("@xyo-network/node-model").NodeModuleEventData> | undefined;
|
|
11
|
+
initialize(): void;
|
|
12
|
+
stop(): void;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=OsPubSubNetworkStack.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OsPubSubNetworkStack.d.ts","sourceRoot":"","sources":["../../../src/stack/OsPubSubNetworkStack.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAE3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAM3E,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAErC,qBAAa,oBAAqB,SAAQ,SAAS;IACjD,SAAS,CAAC,YAAY,EAAE,YAAY,GAAG,SAAS,CAAA;IAChD,SAAS,CAAC,iBAAiB,EAAE,YAAY,GAAG,SAAS,CAAA;IAErD,OAAO,CAAC,aAAa,CAA6D;gBAEtE,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,iBAAiB;IAI7D,IAAI,WAAW,qOAEd;IAED,IAAI,gBAAgB,qOAEnB;IAEQ,UAAU;IAgCV,IAAI;CAQd"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { AdapterSetCreator, XyOsContext } from '@xyo-network/os-model';
|
|
2
|
+
import { StackBase } from './Base.ts';
|
|
3
|
+
export declare class OsSettingsStack extends StackBase {
|
|
4
|
+
private busConnection;
|
|
5
|
+
constructor(context: XyOsContext, adapters: AdapterSetCreator);
|
|
6
|
+
initialize(): void;
|
|
7
|
+
stop(): void;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=OsSettingsStack.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OsSettingsStack.d.ts","sourceRoot":"","sources":["../../../src/stack/OsSettingsStack.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAI3E,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAErC,qBAAa,eAAgB,SAAQ,SAAS;IAC5C,OAAO,CAAC,aAAa,CAAwD;gBAEjE,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,iBAAiB;IAIpD,UAAU;IAOV,IAAI;CAGd"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { AdapterSetCreator, XyOsContext } from '@xyo-network/os-model';
|
|
2
|
+
import { StackBase } from './Base.ts';
|
|
3
|
+
export declare class XyoPublicNetworkStack extends StackBase {
|
|
4
|
+
private busConnection;
|
|
5
|
+
constructor(context: XyOsContext, adapters: AdapterSetCreator);
|
|
6
|
+
initialize(): void;
|
|
7
|
+
stop(): void;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=XyoPublicNetworkStack.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"XyoPublicNetworkStack.d.ts","sourceRoot":"","sources":["../../../src/stack/XyoPublicNetworkStack.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAK3E,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAErC,qBAAa,qBAAsB,SAAQ,SAAS;IAClD,OAAO,CAAC,aAAa,CAAgE;gBAEzE,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,iBAAiB;IAIpD,UAAU;IAcV,IAAI;CAGd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/stack/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,2BAA2B,CAAA;AACzC,cAAc,sBAAsB,CAAA;AACpC,cAAc,4BAA4B,CAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { ModuleFactoryLocator } from '@xyo-network/module-factory-locator';
|
|
2
|
+
import type { DappConfig, DappIcon, DappParams, DappSet, PayloadWithVersion, XyOsContext } from '@xyo-network/os-model';
|
|
3
|
+
import { OsCallerBase } from '../OsCallerBase.ts';
|
|
4
|
+
export type ErrorListener = (failedPayloads: DappConfig[]) => void;
|
|
5
|
+
export type DappSetsAndPayloads = {
|
|
6
|
+
dappPayloads: (DappConfig | DappIcon)[];
|
|
7
|
+
dappSets: DappSet[];
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Manage the installation of system dapps from payloads and return the built sets
|
|
11
|
+
*/
|
|
12
|
+
export declare class ManageSystemDapps extends OsCallerBase {
|
|
13
|
+
private defaultSystemNames;
|
|
14
|
+
private defaultSystemDapps;
|
|
15
|
+
private defaultSystemDappParams;
|
|
16
|
+
private locator?;
|
|
17
|
+
private developmentMode?;
|
|
18
|
+
private onErrorCallbacks;
|
|
19
|
+
constructor(context: XyOsContext, defaultSystemNames: string[], defaultSystemDapps: PayloadWithVersion[], defaultSystemDappParams: Record<string, DappParams>, locator?: ModuleFactoryLocator | undefined, developmentMode?: boolean | undefined);
|
|
20
|
+
/**
|
|
21
|
+
* Add a callback to listen for errors throwing during system dapp registration
|
|
22
|
+
* @param {ErrorListener} errorListener
|
|
23
|
+
*/
|
|
24
|
+
addErrorListener(errorListener: ErrorListener): void;
|
|
25
|
+
/**
|
|
26
|
+
* Installs the dapps into the OS and builds the appropriate DappSet
|
|
27
|
+
*/
|
|
28
|
+
install(): Promise<DappSet[]>;
|
|
29
|
+
private freshInstall;
|
|
30
|
+
private insertPayloads;
|
|
31
|
+
private latestSets;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=ManageSystemDapps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ManageSystemDapps.d.ts","sourceRoot":"","sources":["../../../src/system/ManageSystemDapps.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAA;AAC/E,OAAO,KAAK,EACV,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAC3E,MAAM,uBAAuB,CAAA;AAK9B,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAGjD,MAAM,MAAM,aAAa,GAAG,CAAC,cAAc,EAAE,UAAU,EAAE,KAAK,IAAI,CAAA;AAClE,MAAM,MAAM,mBAAmB,GAAG;IAChC,YAAY,EAAE,CAAC,UAAU,GAAG,QAAQ,CAAC,EAAE,CAAA;IACvC,QAAQ,EAAE,OAAO,EAAE,CAAA;CACpB,CAAA;AAED;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,YAAY;IAK/C,OAAO,CAAC,kBAAkB;IAC1B,OAAO,CAAC,kBAAkB;IAC1B,OAAO,CAAC,uBAAuB;IAC/B,OAAO,CAAC,OAAO,CAAC;IAChB,OAAO,CAAC,eAAe,CAAC;IAR1B,OAAO,CAAC,gBAAgB,CAAsB;gBAG5C,OAAO,EAAE,WAAW,EACZ,kBAAkB,EAAE,MAAM,EAAE,EAC5B,kBAAkB,EAAE,kBAAkB,EAAE,EACxC,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,EACnD,OAAO,CAAC,EAAE,oBAAoB,YAAA,EAC9B,eAAe,CAAC,EAAE,OAAO,YAAA;IAKnC;;;OAGG;IACH,gBAAgB,CAAC,aAAa,EAAE,aAAa;IAI7C;;OAEG;IACG,OAAO,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;YAKrB,YAAY;YAIZ,cAAc;YA6Bd,UAAU;CAmDzB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { DivinerInstance } from '@xyo-network/diviner-model';
|
|
2
|
+
import type { DappConfig, DappIcon, DappId, DappWidgetConfig, UnregisteredDappAccess } from '@xyo-network/os-model';
|
|
3
|
+
export declare const SystemDappQueries: {
|
|
4
|
+
getDappAccess(diviner: DivinerInstance, name: string, version: string): Promise<UnregisteredDappAccess[]>;
|
|
5
|
+
getLatestConfig(diviner: DivinerInstance, name: string): Promise<DappConfig>;
|
|
6
|
+
getLatestIcon(diviner: DivinerInstance, name: string, version: string): Promise<DappIcon>;
|
|
7
|
+
getWidgetConfigs(diviner: DivinerInstance, name: DappId, version: string): Promise<DappWidgetConfig[]>;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=Queries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Queries.d.ts","sourceRoot":"","sources":["../../../src/system/Queries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAEjE,OAAO,KAAK,EACV,UAAU,EACV,QAAQ,EACR,MAAM,EACN,gBAAgB,EAChB,sBAAsB,EACvB,MAAM,uBAAuB,CAAA;AAS9B,eAAO,MAAM,iBAAiB;2BACC,eAAe,QAAQ,MAAM,WAAW,MAAM;6BAU5C,eAAe,QAAQ,MAAM;2BAW/B,eAAe,QAAQ,MAAM,WAAW,MAAM;8BAW3C,eAAe,QAAQ,MAAM,WAAW,MAAM,GAAG,OAAO,CAAC,gBAAgB,EAAE,CAAC;CAkB7G,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/system/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { Hash } from '@xylabs/hex';
|
|
2
|
+
import type { WalletSeedPhrase } from '@xyo-network/os-model';
|
|
3
|
+
/**
|
|
4
|
+
* The label for the user wallet
|
|
5
|
+
*/
|
|
6
|
+
export declare const userWalletLabel = "userWallet";
|
|
7
|
+
/**
|
|
8
|
+
* The valid wallet labels
|
|
9
|
+
*/
|
|
10
|
+
export type WalletLabel = typeof userWalletLabel;
|
|
11
|
+
/**
|
|
12
|
+
* Builds a WalletSeedPhrase payload from the supplied mnemonic seed phrase and label
|
|
13
|
+
* @param mnemonic The mnemonic seed phrase
|
|
14
|
+
* @param $label The wallet label
|
|
15
|
+
* @returns A WalletSeedPhrase payload and its root hash
|
|
16
|
+
*/
|
|
17
|
+
export declare const buildWalletSeedPhrasePayload: (mnemonic: string, $label: WalletLabel) => Promise<{
|
|
18
|
+
payload: WalletSeedPhrase;
|
|
19
|
+
rootHash: Hash;
|
|
20
|
+
}>;
|
|
21
|
+
/**
|
|
22
|
+
* Builds a user WalletSeedPhrase payload from the supplied mnemonic seed phrase and label
|
|
23
|
+
* @param mnemonic The mnemonic seed phrase
|
|
24
|
+
* @returns A user WalletSeedPhrase payload and its root hash
|
|
25
|
+
*/
|
|
26
|
+
export declare const buildUserWalletSeedPhrasePayload: (mnemonic: string) => Promise<{
|
|
27
|
+
payload: WalletSeedPhrase;
|
|
28
|
+
rootHash: Hash;
|
|
29
|
+
}>;
|
|
30
|
+
//# sourceMappingURL=buildWalletSeedPhrasePayload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildWalletSeedPhrasePayload.d.ts","sourceRoot":"","sources":["../../../src/utils/buildWalletSeedPhrasePayload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAO7D;;GAEG;AACH,eAAO,MAAM,eAAe,eAAe,CAAA;AAE3C;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,eAAe,CAAA;AAEhD;;;;;GAKG;AACH,eAAO,MAAM,4BAA4B,GAAU,UAAU,MAAM,EAAE,QAAQ,WAAW,KAAG,OAAO,CAAC;IACjG,OAAO,EAAE,gBAAgB,CAAA;IACzB,QAAQ,EAAE,IAAI,CAAA;CACf,CAWA,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,GAAI,UAAU,MAAM,KAAG,OAAO,CAAC;IAC1E,OAAO,EAAE,gBAAgB,CAAA;IACzB,QAAQ,EAAE,IAAI,CAAA;CACf,CAEA,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getApiDomain.d.ts","sourceRoot":"","sources":["../../../src/utils/getApiDomain.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,YAAY,GAAI,OAAO,WAAW,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,EAAE,WAAW,MAAM,GAAG,SAAS,WAWpG,CAAA;AAED,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAA;AACjD,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Renames a key on an existing object by returning a new one with the same insertion order
|
|
3
|
+
*
|
|
4
|
+
* inspired by - https://stackoverflow.com/a/48110891/2803259
|
|
5
|
+
*/
|
|
6
|
+
export declare const renameObjKey: <T extends Record<string, unknown> = Record<string, unknown>>(oldObj: T, oldKey: keyof T, newKey: string) => T;
|
|
7
|
+
//# sourceMappingURL=renameObjKey.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renameObjKey.d.ts","sourceRoot":"","sources":["../../../src/utils/renameObjKey.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,YAAY,GAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,QAAQ,CAAC,EAAE,QAAQ,MAAM,CAAC,EAAE,QAAQ,MAAM,KAejH,CAClB,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { DappId, WalletId, XyOsContext } from '@xyo-network/os-model';
|
|
2
|
+
import { OsCallerBase } from '../OsCallerBase.ts';
|
|
3
|
+
import type { SeedPhraseRepository } from './SeedPhraseRepository.ts';
|
|
4
|
+
export declare class DappSeedPhraseRepository extends OsCallerBase implements SeedPhraseRepository {
|
|
5
|
+
protected readonly allowedNames: string[];
|
|
6
|
+
private dappIdRepository;
|
|
7
|
+
private walletIdRepository;
|
|
8
|
+
constructor(xyOs: XyOsContext, allowedNames: string[]);
|
|
9
|
+
add(dappId: DappId): Promise<string>;
|
|
10
|
+
findOrCreate(dappName: string): Promise<WalletId>;
|
|
11
|
+
request(walletId: WalletId): Promise<string | undefined>;
|
|
12
|
+
private checkDappId;
|
|
13
|
+
private checkWalletId;
|
|
14
|
+
private newPhrase;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=DappSeedPhraseRepository.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DappSeedPhraseRepository.d.ts","sourceRoot":"","sources":["../../../src/wallet/DappSeedPhraseRepository.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,MAAM,EAAwB,QAAQ,EAAE,WAAW,EACpD,MAAM,uBAAuB,CAAA;AAK9B,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,KAAK,EAAgB,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AAEnF,qBAAa,wBAAyB,SAAQ,YAAa,YAAW,oBAAoB;IAQtF,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE;IAN3C,OAAO,CAAC,gBAAgB,CAAgD;IAExE,OAAO,CAAC,kBAAkB,CAA4C;gBAGpE,IAAI,EAAE,WAAW,EACE,YAAY,EAAE,MAAM,EAAE;IAKrC,GAAG,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAgBpC,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC;IAoBjD,OAAO,CAAC,QAAQ,EAAE,QAAQ;YAIlB,WAAW;YAcX,aAAa;IAc3B,OAAO,CAAC,SAAS;CAGlB"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { WalletId } from '@xyo-network/os-model';
|
|
2
|
+
/** Convenience Types for Entities in the Repository */
|
|
3
|
+
export type SeedPhraseId = string;
|
|
4
|
+
export type SeedPhrase = string;
|
|
5
|
+
/**
|
|
6
|
+
* A repository for storing wallet seed phrases and requesting them by walletIds (i.e. UUIDs)
|
|
7
|
+
*/
|
|
8
|
+
export interface SeedPhraseRepository {
|
|
9
|
+
/**
|
|
10
|
+
* Add a seed phrase for a given SeedPhraseId
|
|
11
|
+
* @param {SeedPhraseId} id
|
|
12
|
+
* @returns Promise
|
|
13
|
+
*/
|
|
14
|
+
add(id: SeedPhraseId): Promise<string>;
|
|
15
|
+
/**
|
|
16
|
+
* For a given DappId, find its wallet or create a new wallet and return its walletId
|
|
17
|
+
* @param {SeedPhraseId} dappName
|
|
18
|
+
* @returns Promise
|
|
19
|
+
*/
|
|
20
|
+
findOrCreate(dappName: SeedPhraseId): Promise<WalletId>;
|
|
21
|
+
/**
|
|
22
|
+
* Request a seed phrase by supplying a walletId. Note: In the future, the OS might require verification along side the walletId
|
|
23
|
+
*
|
|
24
|
+
* @param {WalletId} walletId
|
|
25
|
+
* @returns DappWalletSeedPhrase
|
|
26
|
+
*/
|
|
27
|
+
request(walletId: WalletId): Promise<SeedPhrase | undefined>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=SeedPhraseRepository.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SeedPhraseRepository.d.ts","sourceRoot":"","sources":["../../../src/wallet/SeedPhraseRepository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAErD,uDAAuD;AACvD,MAAM,MAAM,YAAY,GAAG,MAAM,CAAA;AACjC,MAAM,MAAM,UAAU,GAAG,MAAM,CAAA;AAE/B;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;;OAIG;IACH,GAAG,CAAC,EAAE,EAAE,YAAY,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAEtC;;;;OAIG;IACH,YAAY,CAAC,QAAQ,EAAE,YAAY,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;IAEvD;;;;;OAKG;IACH,OAAO,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,UAAU,GAAG,SAAS,CAAC,CAAA;CAC7D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/wallet/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAA;AAC7C,cAAc,2BAA2B,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/os-runtime",
|
|
3
|
-
"version": "6.0
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -22,54 +22,55 @@
|
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
24
24
|
"node": {
|
|
25
|
-
"types": "./dist/
|
|
25
|
+
"types": "./dist/node/index.d.ts",
|
|
26
26
|
"default": "./dist/node/index.mjs"
|
|
27
27
|
},
|
|
28
|
-
"types": "./dist/
|
|
28
|
+
"types": "./dist/neutral/index.d.ts",
|
|
29
29
|
"default": "./dist/neutral/index.mjs"
|
|
30
30
|
},
|
|
31
31
|
"./package.json": "./package.json"
|
|
32
32
|
},
|
|
33
|
-
"
|
|
33
|
+
"module": "./dist/neutral/index.mjs",
|
|
34
|
+
"types": "dist/neutral/index.d.ts",
|
|
34
35
|
"bin": {
|
|
35
36
|
"xyos": "./scripts/xyos.mjs"
|
|
36
37
|
},
|
|
37
38
|
"dependencies": {
|
|
38
|
-
"@xylabs/array": "^4.
|
|
39
|
-
"@xylabs/assert": "^4.
|
|
40
|
-
"@xylabs/base": "^4.
|
|
41
|
-
"@xylabs/events": "^4.
|
|
42
|
-
"@xylabs/forget": "^4.
|
|
43
|
-
"@xylabs/hex": "^4.
|
|
44
|
-
"@xylabs/object": "^4.
|
|
45
|
-
"@xylabs/promise": "^4.
|
|
46
|
-
"@xyo-network/account-model": "^4.
|
|
47
|
-
"@xyo-network/archivist": "^4.
|
|
48
|
-
"@xyo-network/archivist-indexeddb": "^4.
|
|
49
|
-
"@xyo-network/archivist-memory": "^4.
|
|
50
|
-
"@xyo-network/archivist-model": "^4.
|
|
51
|
-
"@xyo-network/bios": "^6.0
|
|
52
|
-
"@xyo-network/bridge-model": "^4.
|
|
53
|
-
"@xyo-network/diviner-abstract": "^4.
|
|
54
|
-
"@xyo-network/diviner-model": "^4.
|
|
55
|
-
"@xyo-network/diviner-payload-generic": "^4.
|
|
56
|
-
"@xyo-network/diviner-payload-indexeddb": "^4.
|
|
57
|
-
"@xyo-network/diviner-payload-model": "^4.
|
|
58
|
-
"@xyo-network/diviner-temporal-indexing-model": "^4.
|
|
59
|
-
"@xyo-network/kernel": "^6.0
|
|
60
|
-
"@xyo-network/kernel-model": "^6.0
|
|
61
|
-
"@xyo-network/manifest": "^4.
|
|
62
|
-
"@xyo-network/manifest-wrapper": "^4.
|
|
63
|
-
"@xyo-network/module-factory-locator": "^4.
|
|
64
|
-
"@xyo-network/module-model": "^4.
|
|
65
|
-
"@xyo-network/module-resolver": "^4.
|
|
66
|
-
"@xyo-network/node-model": "^4.
|
|
67
|
-
"@xyo-network/os-model": "^6.0
|
|
68
|
-
"@xyo-network/payload-builder": "^4.
|
|
69
|
-
"@xyo-network/payload-model": "^4.
|
|
70
|
-
"@xyo-network/storage-model": "^6.0
|
|
71
|
-
"@xyo-network/wallet": "^4.
|
|
72
|
-
"@xyo-network/wallet-model": "^4.
|
|
39
|
+
"@xylabs/array": "^4.15.1",
|
|
40
|
+
"@xylabs/assert": "^4.15.1",
|
|
41
|
+
"@xylabs/base": "^4.15.1",
|
|
42
|
+
"@xylabs/events": "^4.15.1",
|
|
43
|
+
"@xylabs/forget": "^4.15.1",
|
|
44
|
+
"@xylabs/hex": "^4.15.1",
|
|
45
|
+
"@xylabs/object": "^4.15.1",
|
|
46
|
+
"@xylabs/promise": "^4.15.1",
|
|
47
|
+
"@xyo-network/account-model": "^4.3.0",
|
|
48
|
+
"@xyo-network/archivist": "^4.3.0",
|
|
49
|
+
"@xyo-network/archivist-indexeddb": "^4.3.0",
|
|
50
|
+
"@xyo-network/archivist-memory": "^4.3.0",
|
|
51
|
+
"@xyo-network/archivist-model": "^4.3.0",
|
|
52
|
+
"@xyo-network/bios": "^6.1.0",
|
|
53
|
+
"@xyo-network/bridge-model": "^4.3.0",
|
|
54
|
+
"@xyo-network/diviner-abstract": "^4.3.0",
|
|
55
|
+
"@xyo-network/diviner-model": "^4.3.0",
|
|
56
|
+
"@xyo-network/diviner-payload-generic": "^4.3.0",
|
|
57
|
+
"@xyo-network/diviner-payload-indexeddb": "^4.3.0",
|
|
58
|
+
"@xyo-network/diviner-payload-model": "^4.3.0",
|
|
59
|
+
"@xyo-network/diviner-temporal-indexing-model": "^4.3.0",
|
|
60
|
+
"@xyo-network/kernel": "^6.1.0",
|
|
61
|
+
"@xyo-network/kernel-model": "^6.1.0",
|
|
62
|
+
"@xyo-network/manifest": "^4.3.0",
|
|
63
|
+
"@xyo-network/manifest-wrapper": "^4.3.0",
|
|
64
|
+
"@xyo-network/module-factory-locator": "^4.3.0",
|
|
65
|
+
"@xyo-network/module-model": "^4.3.0",
|
|
66
|
+
"@xyo-network/module-resolver": "^4.3.0",
|
|
67
|
+
"@xyo-network/node-model": "^4.3.0",
|
|
68
|
+
"@xyo-network/os-model": "^6.1.0",
|
|
69
|
+
"@xyo-network/payload-builder": "^4.3.0",
|
|
70
|
+
"@xyo-network/payload-model": "^4.3.0",
|
|
71
|
+
"@xyo-network/storage-model": "^6.1.0",
|
|
72
|
+
"@xyo-network/wallet": "^4.3.0",
|
|
73
|
+
"@xyo-network/wallet-model": "^4.3.0",
|
|
73
74
|
"async-mutex": "^0.5.0",
|
|
74
75
|
"chalk": "^5.4.1",
|
|
75
76
|
"cosmiconfig": "^9.0.0",
|
|
@@ -81,16 +82,16 @@
|
|
|
81
82
|
"yargs": "^18.0.0"
|
|
82
83
|
},
|
|
83
84
|
"devDependencies": {
|
|
84
|
-
"@types/node": "^24.0
|
|
85
|
+
"@types/node": "^24.1.0",
|
|
85
86
|
"@types/semver": "^7.7.0",
|
|
86
87
|
"@types/terminal-kit": "^2.5.7",
|
|
87
88
|
"@types/uuid": "^10.0.0",
|
|
88
89
|
"@types/yargs": "^17.0.33",
|
|
89
|
-
"@xylabs/ts-scripts-yarn3": "^
|
|
90
|
-
"@xylabs/tsconfig": "^
|
|
91
|
-
"@xyo-network/archivist-memory": "^4.
|
|
92
|
-
"@xyo-network/bios-model": "^6.0
|
|
93
|
-
"@xyo-network/bios-nodejs": "^6.0
|
|
90
|
+
"@xylabs/ts-scripts-yarn3": "^7.0.1",
|
|
91
|
+
"@xylabs/tsconfig": "^7.0.1",
|
|
92
|
+
"@xyo-network/archivist-memory": "^4.3.0",
|
|
93
|
+
"@xyo-network/bios-model": "^6.1.0",
|
|
94
|
+
"@xyo-network/bios-nodejs": "^6.1.0",
|
|
94
95
|
"typescript": "^5.8.3",
|
|
95
96
|
"vitest": "^3.2.4"
|
|
96
97
|
},
|
package/src/DappCallerBase.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { assertEx } from '@xylabs/assert'
|
|
2
|
-
import {
|
|
2
|
+
import { toSafeJsonString } from '@xylabs/object'
|
|
3
3
|
import { asArchivistInstance } from '@xyo-network/archivist-model'
|
|
4
4
|
import { asDivinerInstance } from '@xyo-network/diviner-model'
|
|
5
5
|
import type { XyOsContext } from '@xyo-network/os-model'
|
|
@@ -17,7 +17,7 @@ export class DappCallerBase {
|
|
|
17
17
|
async getDappArchivist() {
|
|
18
18
|
const mod = assertEx(
|
|
19
19
|
await this.context.root.resolve(DappArchivistModuleName),
|
|
20
|
-
() => `${DappArchivistModuleName} not found [${
|
|
20
|
+
() => `${DappArchivistModuleName} not found [${toSafeJsonString(this.context.root.publicChildren())}]`,
|
|
21
21
|
)
|
|
22
22
|
return asArchivistInstance(mod, () => `${DappArchivistModuleName} is not an archivist`, { required: true })
|
|
23
23
|
}
|
package/src/access/interfaces/registered-names/helpers/resource/RegistrationsResourceQueries.ts
CHANGED
|
@@ -18,6 +18,6 @@ export const XnsRegistrationsResourceQueries = {
|
|
|
18
18
|
},
|
|
19
19
|
|
|
20
20
|
getRecentRegistrations: async (archivist: ArchivistInstance) => {
|
|
21
|
-
return (await archivist.all()).
|
|
21
|
+
return (await archivist.all()).toReversed() as WithStorageMeta<TemporalIndexRegistrationResults>[]
|
|
22
22
|
},
|
|
23
23
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Address } from '@xylabs/hex'
|
|
1
2
|
import type {
|
|
2
3
|
DappName, NodeOsInfo, XyOsContext,
|
|
3
4
|
} from '@xyo-network/os-model'
|
|
@@ -21,7 +22,7 @@ export class NodeInfoPayload implements DefaultPayloadsInsertable {
|
|
|
21
22
|
|
|
22
23
|
await Promise.resolve()
|
|
23
24
|
const nodeOsInfo: NodeOsInfo = {
|
|
24
|
-
publicAddress: exposedNode?.address ?? '',
|
|
25
|
+
publicAddress: exposedNode?.address ?? '' as Address,
|
|
25
26
|
schema: NodeOsInfoSchema,
|
|
26
27
|
}
|
|
27
28
|
return [nodeOsInfo]
|
package/src/manifest/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './manifestReplacementTokens.ts'
|
|
2
|
-
export { default as osNodeManifest } from './os-node.manifest.json'
|
|
2
|
+
export { default as osNodeManifest } from './os-node.manifest.json' with { type: 'json' }
|
package/src/manifests/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as DappWindowManifest } from './dapp-window.manifest.json'
|
|
1
|
+
export { default as DappWindowManifest } from './dapp-window.manifest.json' with { type: 'json' }
|
package/xy.config.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
|
|
2
2
|
const config: XyTsupConfig = {
|
|
3
3
|
compile: {
|
|
4
|
+
entryMode: 'custom',
|
|
4
5
|
browser: {},
|
|
5
|
-
node: { src: { entry: ['
|
|
6
|
-
neutral: { src:
|
|
6
|
+
node: { src: { entry: ['index.ts', 'scripts/xyos/index.ts'] } },
|
|
7
|
+
neutral: { src: { entry: ['index.ts'] } },
|
|
7
8
|
},
|
|
8
9
|
}
|
|
9
10
|
|