@xyo-network/os-runtime 4.0.2 → 4.0.4
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/neutral/Caller.d.ts +49 -0
- package/dist/neutral/Caller.d.ts.map +1 -1
- package/dist/neutral/DappCallerBase.d.ts +9 -0
- package/dist/neutral/DappCallerBase.d.ts.map +1 -1
- package/dist/neutral/XyOsBase.d.ts +1 -1
- package/dist/neutral/XyOsBase.d.ts.map +1 -1
- package/dist/neutral/XyOsDapp.d.ts +7 -0
- package/dist/neutral/XyOsDapp.d.ts.map +1 -1
- package/dist/neutral/access-interfaces/registered-names/helpers/resource/AbstractXnsCaller.d.ts +9 -0
- package/dist/neutral/access-interfaces/registered-names/helpers/resource/AbstractXnsCaller.d.ts.map +1 -1
- package/dist/neutral/adapter/Base.d.ts +1 -1
- package/dist/neutral/adapter/Base.d.ts.map +1 -1
- package/dist/neutral/adapter/Network.d.ts +3 -0
- package/dist/neutral/adapter/Network.d.ts.map +1 -1
- package/dist/neutral/adapter/Settings.d.ts +3 -0
- package/dist/neutral/adapter/Settings.d.ts.map +1 -1
- package/dist/neutral/classes/cache/RunningAccessDappCache.d.ts +3 -0
- package/dist/neutral/classes/cache/RunningAccessDappCache.d.ts.map +1 -1
- package/dist/neutral/classes/cache/RunningDappCache.d.ts +3 -0
- package/dist/neutral/classes/cache/RunningDappCache.d.ts.map +1 -1
- package/dist/neutral/classes/dapp/DefaultsResource.d.ts +3 -0
- package/dist/neutral/classes/dapp/DefaultsResource.d.ts.map +1 -1
- package/dist/neutral/classes/dapp/access/Caller.d.ts +7 -0
- package/dist/neutral/classes/dapp/access/Caller.d.ts.map +1 -1
- package/dist/neutral/classes/menu/Caller.d.ts +5 -0
- package/dist/neutral/classes/menu/Caller.d.ts.map +1 -1
- package/dist/neutral/classes/menu/Resource.d.ts +13 -0
- package/dist/neutral/classes/menu/Resource.d.ts.map +1 -1
- package/dist/neutral/classes/registration/DappRegistrationService.d.ts +4 -0
- package/dist/neutral/classes/registration/DappRegistrationService.d.ts.map +1 -1
- package/dist/neutral/classes/registration/DappRegistry.d.ts +14 -0
- package/dist/neutral/classes/registration/DappRegistry.d.ts.map +1 -1
- package/dist/neutral/classes/settings/Caller.d.ts +11 -0
- package/dist/neutral/classes/settings/Caller.d.ts.map +1 -1
- package/dist/neutral/classes/settings/Resource.d.ts +3 -0
- package/dist/neutral/classes/settings/Resource.d.ts.map +1 -1
- package/dist/neutral/classes/settings/badge/Caller.d.ts +6 -0
- package/dist/neutral/classes/settings/badge/Caller.d.ts.map +1 -1
- package/dist/neutral/classes/settings/badge/Resource.d.ts +3 -0
- package/dist/neutral/classes/settings/badge/Resource.d.ts.map +1 -1
- package/dist/neutral/classes/system/ManageSystemDapps.d.ts +10 -0
- package/dist/neutral/classes/system/ManageSystemDapps.d.ts.map +1 -1
- package/dist/neutral/event/bus/Connection.d.ts +5 -1
- package/dist/neutral/event/bus/Connection.d.ts.map +1 -1
- package/dist/neutral/event/bus/EventBus.d.ts +9 -0
- package/dist/neutral/event/bus/EventBus.d.ts.map +1 -1
- package/dist/neutral/event/bus/PubSubConnection.d.ts +4 -0
- package/dist/neutral/event/bus/PubSubConnection.d.ts.map +1 -1
- package/dist/neutral/index.mjs +4 -4
- package/dist/neutral/index.mjs.map +1 -1
- package/dist/neutral/intent/Caller.d.ts +9 -0
- package/dist/neutral/intent/Caller.d.ts.map +1 -1
- package/dist/neutral/lib/PayloadStore.d.ts +14 -0
- package/dist/neutral/lib/PayloadStore.d.ts.map +1 -1
- package/dist/neutral/stack/Base.d.ts +15 -1
- package/dist/neutral/stack/Base.d.ts.map +1 -1
- package/dist/neutral/utils/buildWalletSeedPhrasePayload.d.ts +17 -0
- package/dist/neutral/utils/buildWalletSeedPhrasePayload.d.ts.map +1 -1
- package/dist/neutral/utils/renameObjKey.d.ts +5 -0
- package/dist/neutral/utils/renameObjKey.d.ts.map +1 -1
- package/dist/neutral/wallet/SeedPhraseRepository.d.ts +20 -0
- package/dist/neutral/wallet/SeedPhraseRepository.d.ts.map +1 -1
- package/dist/node/Caller.d.ts +49 -0
- package/dist/node/Caller.d.ts.map +1 -1
- package/dist/node/DappCallerBase.d.ts +9 -0
- package/dist/node/DappCallerBase.d.ts.map +1 -1
- package/dist/node/XyOsBase.d.ts +1 -1
- package/dist/node/XyOsBase.d.ts.map +1 -1
- package/dist/node/XyOsDapp.d.ts +7 -0
- package/dist/node/XyOsDapp.d.ts.map +1 -1
- package/dist/node/access-interfaces/registered-names/helpers/resource/AbstractXnsCaller.d.ts +9 -0
- package/dist/node/access-interfaces/registered-names/helpers/resource/AbstractXnsCaller.d.ts.map +1 -1
- package/dist/node/adapter/Base.d.ts +1 -1
- package/dist/node/adapter/Base.d.ts.map +1 -1
- package/dist/node/adapter/Network.d.ts +3 -0
- package/dist/node/adapter/Network.d.ts.map +1 -1
- package/dist/node/adapter/Settings.d.ts +3 -0
- package/dist/node/adapter/Settings.d.ts.map +1 -1
- package/dist/node/classes/cache/RunningAccessDappCache.d.ts +3 -0
- package/dist/node/classes/cache/RunningAccessDappCache.d.ts.map +1 -1
- package/dist/node/classes/cache/RunningDappCache.d.ts +3 -0
- package/dist/node/classes/cache/RunningDappCache.d.ts.map +1 -1
- package/dist/node/classes/dapp/DefaultsResource.d.ts +3 -0
- package/dist/node/classes/dapp/DefaultsResource.d.ts.map +1 -1
- package/dist/node/classes/dapp/access/Caller.d.ts +7 -0
- package/dist/node/classes/dapp/access/Caller.d.ts.map +1 -1
- package/dist/node/classes/menu/Caller.d.ts +5 -0
- package/dist/node/classes/menu/Caller.d.ts.map +1 -1
- package/dist/node/classes/menu/Resource.d.ts +13 -0
- package/dist/node/classes/menu/Resource.d.ts.map +1 -1
- package/dist/node/classes/registration/DappRegistrationService.d.ts +4 -0
- package/dist/node/classes/registration/DappRegistrationService.d.ts.map +1 -1
- package/dist/node/classes/registration/DappRegistry.d.ts +14 -0
- package/dist/node/classes/registration/DappRegistry.d.ts.map +1 -1
- package/dist/node/classes/settings/Caller.d.ts +11 -0
- package/dist/node/classes/settings/Caller.d.ts.map +1 -1
- package/dist/node/classes/settings/Resource.d.ts +3 -0
- package/dist/node/classes/settings/Resource.d.ts.map +1 -1
- package/dist/node/classes/settings/badge/Caller.d.ts +6 -0
- package/dist/node/classes/settings/badge/Caller.d.ts.map +1 -1
- package/dist/node/classes/settings/badge/Resource.d.ts +3 -0
- package/dist/node/classes/settings/badge/Resource.d.ts.map +1 -1
- package/dist/node/classes/system/ManageSystemDapps.d.ts +10 -0
- package/dist/node/classes/system/ManageSystemDapps.d.ts.map +1 -1
- package/dist/node/event/bus/Connection.d.ts +5 -1
- package/dist/node/event/bus/Connection.d.ts.map +1 -1
- package/dist/node/event/bus/EventBus.d.ts +9 -0
- package/dist/node/event/bus/EventBus.d.ts.map +1 -1
- package/dist/node/event/bus/PubSubConnection.d.ts +4 -0
- package/dist/node/event/bus/PubSubConnection.d.ts.map +1 -1
- package/dist/node/index.mjs +4 -4
- package/dist/node/index.mjs.map +1 -1
- package/dist/node/intent/Caller.d.ts +9 -0
- package/dist/node/intent/Caller.d.ts.map +1 -1
- package/dist/node/lib/PayloadStore.d.ts +14 -0
- package/dist/node/lib/PayloadStore.d.ts.map +1 -1
- package/dist/node/scripts/xyos/command/index.mjs +4 -4
- package/dist/node/scripts/xyos/command/index.mjs.map +1 -1
- package/dist/node/scripts/xyos/index.mjs +4 -4
- package/dist/node/scripts/xyos/index.mjs.map +1 -1
- package/dist/node/scripts/xyos/lib/index.mjs +4 -4
- package/dist/node/scripts/xyos/lib/index.mjs.map +1 -1
- package/dist/node/stack/Base.d.ts +15 -1
- package/dist/node/stack/Base.d.ts.map +1 -1
- package/dist/node/utils/buildWalletSeedPhrasePayload.d.ts +17 -0
- package/dist/node/utils/buildWalletSeedPhrasePayload.d.ts.map +1 -1
- package/dist/node/utils/renameObjKey.d.ts +5 -0
- package/dist/node/utils/renameObjKey.d.ts.map +1 -1
- package/dist/node/wallet/SeedPhraseRepository.d.ts +20 -0
- package/dist/node/wallet/SeedPhraseRepository.d.ts.map +1 -1
- package/package.json +41 -41
- package/src/XyOsBase.ts +1 -1
- package/src/adapter/Base.ts +1 -1
- package/src/event/bus/Connection.ts +1 -1
- package/src/stack/Base.ts +1 -1
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import type { BaseParams } from '@xylabs/object';
|
|
2
|
-
import { BaseEmitter } from '@xyo-network/module-
|
|
2
|
+
import { BaseEmitter } from '@xyo-network/module-event-emitter';
|
|
3
3
|
import type { ModuleIdentifier } from '@xyo-network/module-model';
|
|
4
4
|
import type { AttachableNodeInstance } from '@xyo-network/node-model';
|
|
5
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
|
+
*/
|
|
6
11
|
export declare class StackBase extends BaseEmitter<BaseParams, StackBaseEvents> implements StackInitializer {
|
|
7
12
|
initialized: boolean;
|
|
8
13
|
private _adapterSet;
|
|
@@ -17,7 +22,16 @@ export declare class StackBase extends BaseEmitter<BaseParams, StackBaseEvents>
|
|
|
17
22
|
get stack(): AttachableNodeInstance;
|
|
18
23
|
get stackNodeModuleId(): ModuleIdentifier;
|
|
19
24
|
initialize(): void;
|
|
25
|
+
/**
|
|
26
|
+
* Stops the stack
|
|
27
|
+
*/
|
|
20
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
|
+
*/
|
|
21
35
|
private addNodeToStackNode;
|
|
22
36
|
private assignStack;
|
|
23
37
|
private getStackNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Base.d.ts","sourceRoot":"","sources":["../../../src/stack/Base.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAEhD,OAAO,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Base.d.ts","sourceRoot":"","sources":["../../../src/stack/Base.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAEhD,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAA;AAC/D,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"}
|
|
@@ -1,11 +1,28 @@
|
|
|
1
1
|
import type { Hash } from '@xylabs/hex';
|
|
2
2
|
import type { WalletSeedPhrase } from '@xyo-network/os-model';
|
|
3
|
+
/**
|
|
4
|
+
* The label for the user wallet
|
|
5
|
+
*/
|
|
3
6
|
export declare const userWalletLabel = "userWallet";
|
|
7
|
+
/**
|
|
8
|
+
* The valid wallet labels
|
|
9
|
+
*/
|
|
4
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
|
+
*/
|
|
5
17
|
export declare const buildWalletSeedPhrasePayload: (mnemonic: string, label: WalletLabel) => Promise<{
|
|
6
18
|
payload: WalletSeedPhrase;
|
|
7
19
|
rootHash: Hash;
|
|
8
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
|
+
*/
|
|
9
26
|
export declare const buildUserWalletSeedPhrasePayload: (mnemonic: string) => Promise<{
|
|
10
27
|
payload: WalletSeedPhrase;
|
|
11
28
|
rootHash: Hash;
|
|
@@ -1 +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;
|
|
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,aAAoB,MAAM,SAAS,WAAW,KAAG,OAAO,CAAC;IAChG,OAAO,EAAE,gBAAgB,CAAA;IACzB,QAAQ,EAAE,IAAI,CAAA;CACf,CAaA,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,aAAc,MAAM,KAAG,OAAO,CAAC;IAC1E,OAAO,EAAE,gBAAgB,CAAA;IACzB,QAAQ,EAAE,IAAI,CAAA;CACf,CAEA,CAAA"}
|
|
@@ -1,2 +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
|
+
*/
|
|
1
6
|
export declare const renameObjKey: <T extends Record<string, unknown> = Record<string, unknown>>(oldObj: T, oldKey: keyof T, newKey: string) => T;
|
|
2
7
|
//# sourceMappingURL=renameObjKey.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renameObjKey.d.ts","sourceRoot":"","sources":["../../../src/utils/renameObjKey.ts"],"names":[],"mappings":"
|
|
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,oCAAoC,CAAC,UAAU,MAAM,CAAC,UAAU,MAAM,KAejH,CAClB,CAAA"}
|
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
import type { WalletId } from '@xyo-network/os-model';
|
|
2
|
+
/** Convenience Types for Entities in the Repository */
|
|
2
3
|
export type SeedPhraseId = string;
|
|
3
4
|
export type SeedPhrase = string;
|
|
5
|
+
/**
|
|
6
|
+
* A repository for storing wallet seed phrases and requesting them by walletIds (i.e. UUIDs)
|
|
7
|
+
*/
|
|
4
8
|
export interface SeedPhraseRepository {
|
|
9
|
+
/**
|
|
10
|
+
* Add a seed phrase for a given SeedPhraseId
|
|
11
|
+
* @param {SeedPhraseId} id
|
|
12
|
+
* @returns Promise
|
|
13
|
+
*/
|
|
5
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
|
+
*/
|
|
6
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
|
+
*/
|
|
7
27
|
request(walletId: WalletId): Promise<SeedPhrase | undefined>;
|
|
8
28
|
}
|
|
9
29
|
//# sourceMappingURL=SeedPhraseRepository.d.ts.map
|
|
@@ -1 +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;
|
|
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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/os-runtime",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.4",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -36,44 +36,44 @@
|
|
|
36
36
|
"xyos": "./dist/node/scripts/xyos/index.mjs"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@xylabs/assert": "^4.
|
|
40
|
-
"@xylabs/forget": "^4.
|
|
41
|
-
"@xylabs/hex": "^4.
|
|
42
|
-
"@xylabs/lodash": "^4.
|
|
43
|
-
"@xylabs/object": "^4.
|
|
44
|
-
"@xylabs/promise": "^4.
|
|
45
|
-
"@xyo-network/account": "^3.
|
|
46
|
-
"@xyo-network/archivist": "^3.
|
|
47
|
-
"@xyo-network/archivist-indexeddb": "^3.
|
|
48
|
-
"@xyo-network/archivist-model": "^3.
|
|
49
|
-
"@xyo-network/bios": "^4.0.
|
|
50
|
-
"@xyo-network/bridge-model": "^3.
|
|
51
|
-
"@xyo-network/diviner-abstract": "^3.
|
|
52
|
-
"@xyo-network/diviner-model": "^3.
|
|
53
|
-
"@xyo-network/diviner-payload-generic": "^3.
|
|
54
|
-
"@xyo-network/diviner-payload-indexeddb": "^3.
|
|
55
|
-
"@xyo-network/diviner-payload-model": "^3.
|
|
56
|
-
"@xyo-network/diviner-temporal-indexing-model": "^3.
|
|
57
|
-
"@xyo-network/kernel": "^4.0.
|
|
58
|
-
"@xyo-network/kernel-model": "^4.0.
|
|
59
|
-
"@xyo-network/manifest": "^3.
|
|
60
|
-
"@xyo-network/manifest-wrapper": "^3.
|
|
61
|
-
"@xyo-network/module-
|
|
62
|
-
"@xyo-network/module-events": "^3.
|
|
63
|
-
"@xyo-network/module-factory-locator": "^3.
|
|
64
|
-
"@xyo-network/module-model": "^3.
|
|
65
|
-
"@xyo-network/module-resolver": "^3.
|
|
66
|
-
"@xyo-network/node-model": "^3.
|
|
67
|
-
"@xyo-network/os-model": "^4.0.
|
|
68
|
-
"@xyo-network/payload-builder": "^3.
|
|
69
|
-
"@xyo-network/payload-model": "^3.
|
|
70
|
-
"@xyo-network/storage-model": "^4.0.
|
|
71
|
-
"@xyo-network/wallet-model": "^3.
|
|
39
|
+
"@xylabs/assert": "^4.3.2",
|
|
40
|
+
"@xylabs/forget": "^4.3.2",
|
|
41
|
+
"@xylabs/hex": "^4.3.2",
|
|
42
|
+
"@xylabs/lodash": "^4.3.2",
|
|
43
|
+
"@xylabs/object": "^4.3.2",
|
|
44
|
+
"@xylabs/promise": "^4.3.2",
|
|
45
|
+
"@xyo-network/account": "^3.3.1",
|
|
46
|
+
"@xyo-network/archivist": "^3.3.1",
|
|
47
|
+
"@xyo-network/archivist-indexeddb": "^3.3.1",
|
|
48
|
+
"@xyo-network/archivist-model": "^3.3.1",
|
|
49
|
+
"@xyo-network/bios": "^4.0.4",
|
|
50
|
+
"@xyo-network/bridge-model": "^3.3.1",
|
|
51
|
+
"@xyo-network/diviner-abstract": "^3.3.1",
|
|
52
|
+
"@xyo-network/diviner-model": "^3.3.1",
|
|
53
|
+
"@xyo-network/diviner-payload-generic": "^3.3.1",
|
|
54
|
+
"@xyo-network/diviner-payload-indexeddb": "^3.3.1",
|
|
55
|
+
"@xyo-network/diviner-payload-model": "^3.3.1",
|
|
56
|
+
"@xyo-network/diviner-temporal-indexing-model": "^3.3.1",
|
|
57
|
+
"@xyo-network/kernel": "^4.0.4",
|
|
58
|
+
"@xyo-network/kernel-model": "^4.0.4",
|
|
59
|
+
"@xyo-network/manifest": "^3.3.1",
|
|
60
|
+
"@xyo-network/manifest-wrapper": "^3.3.1",
|
|
61
|
+
"@xyo-network/module-event-emitter": "^3.3.1",
|
|
62
|
+
"@xyo-network/module-events": "^3.3.1",
|
|
63
|
+
"@xyo-network/module-factory-locator": "^3.3.1",
|
|
64
|
+
"@xyo-network/module-model": "^3.3.1",
|
|
65
|
+
"@xyo-network/module-resolver": "^3.3.1",
|
|
66
|
+
"@xyo-network/node-model": "^3.3.1",
|
|
67
|
+
"@xyo-network/os-model": "^4.0.4",
|
|
68
|
+
"@xyo-network/payload-builder": "^3.3.1",
|
|
69
|
+
"@xyo-network/payload-model": "^3.3.1",
|
|
70
|
+
"@xyo-network/storage-model": "^4.0.4",
|
|
71
|
+
"@xyo-network/wallet-model": "^3.3.1",
|
|
72
72
|
"async-mutex": "^0.5.0",
|
|
73
73
|
"chalk": "^5.3.0",
|
|
74
74
|
"cosmiconfig": "^9.0.0",
|
|
75
|
-
"cosmiconfig-typescript-loader": "^
|
|
76
|
-
"ethers": "^6.13.
|
|
75
|
+
"cosmiconfig-typescript-loader": "^6.0.0",
|
|
76
|
+
"ethers": "^6.13.4",
|
|
77
77
|
"semver": "^7.6.3",
|
|
78
78
|
"terminal-kit": "^3.1.1",
|
|
79
79
|
"typescript": "^5.6.3",
|
|
@@ -85,11 +85,11 @@
|
|
|
85
85
|
"@types/terminal-kit": "^2.5.6",
|
|
86
86
|
"@types/uuid": "^10.0.0",
|
|
87
87
|
"@types/yargs": "^17.0.33",
|
|
88
|
-
"@xylabs/ts-scripts-yarn3": "^4.
|
|
89
|
-
"@xylabs/tsconfig": "^4.
|
|
90
|
-
"@xyo-network/bios-model": "^4.0.
|
|
91
|
-
"@xyo-network/bios-nodejs": "^4.0.
|
|
92
|
-
"vitest": "^2.1.
|
|
88
|
+
"@xylabs/ts-scripts-yarn3": "^4.2.3",
|
|
89
|
+
"@xylabs/tsconfig": "^4.2.3",
|
|
90
|
+
"@xyo-network/bios-model": "^4.0.4",
|
|
91
|
+
"@xyo-network/bios-nodejs": "^4.0.4",
|
|
92
|
+
"vitest": "^2.1.3"
|
|
93
93
|
},
|
|
94
94
|
"publishConfig": {
|
|
95
95
|
"access": "public"
|
package/src/XyOsBase.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { Promisable } from '@xylabs/promise'
|
|
|
4
4
|
import type { WalletInstance } from '@xyo-network/account'
|
|
5
5
|
import type { KernelExternal } from '@xyo-network/kernel-model'
|
|
6
6
|
import type { PackageManifest } from '@xyo-network/manifest'
|
|
7
|
-
import { BaseEmitter } from '@xyo-network/module-
|
|
7
|
+
import { BaseEmitter } from '@xyo-network/module-event-emitter'
|
|
8
8
|
import { ModuleFactoryLocator } from '@xyo-network/module-factory-locator'
|
|
9
9
|
import type { NodeInstance } from '@xyo-network/node-model'
|
|
10
10
|
import type {
|
package/src/adapter/Base.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { BaseParams } from '@xylabs/object'
|
|
|
4
4
|
import type { ArchivistModuleEventData } from '@xyo-network/archivist'
|
|
5
5
|
import { asArchivistInstance } from '@xyo-network/archivist'
|
|
6
6
|
import type { KernelExternal } from '@xyo-network/kernel-model'
|
|
7
|
-
import { BaseEmitter } from '@xyo-network/module-
|
|
7
|
+
import { BaseEmitter } from '@xyo-network/module-event-emitter'
|
|
8
8
|
import { asAttachableNodeInstance } from '@xyo-network/node-model'
|
|
9
9
|
import type { NodeAdapter, NodeAdapterBaseEvents } from '@xyo-network/os-model'
|
|
10
10
|
import type { Payload, WithMeta } from '@xyo-network/payload-model'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { assertEx } from '@xylabs/assert'
|
|
2
2
|
import type { BaseParams } from '@xylabs/object'
|
|
3
|
-
import { BaseEmitter } from '@xyo-network/module-
|
|
3
|
+
import { BaseEmitter } from '@xyo-network/module-event-emitter'
|
|
4
4
|
import type { EventData } from '@xyo-network/module-events'
|
|
5
5
|
import type {
|
|
6
6
|
EventBusConnectionInterface, EventBusConnectionRequest, EventBusConnectionType,
|
package/src/stack/Base.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { assertEx } from '@xylabs/assert'
|
|
|
2
2
|
import { forget } from '@xylabs/forget'
|
|
3
3
|
import type { BaseParams } from '@xylabs/object'
|
|
4
4
|
import type { Promisable } from '@xylabs/promise'
|
|
5
|
-
import { BaseEmitter } from '@xyo-network/module-
|
|
5
|
+
import { BaseEmitter } from '@xyo-network/module-event-emitter'
|
|
6
6
|
import type { ModuleIdentifier } from '@xyo-network/module-model'
|
|
7
7
|
import { isModuleInstance } from '@xyo-network/module-model'
|
|
8
8
|
import type { AttachableNodeInstance } from '@xyo-network/node-model'
|