@permaweb/libs 0.0.37 → 0.0.38

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.
@@ -12,7 +12,6 @@ export declare const AO: {
12
12
  };
13
13
  };
14
14
  collectionRegistry: string;
15
- profileRegistry: string;
16
15
  };
17
16
  export declare const HB: {
18
17
  defaultRouter: string;
@@ -3,6 +3,12 @@ export type DependencyType = {
3
3
  signer?: any;
4
4
  arweave?: any;
5
5
  };
6
+ export type ProcessReadType = {
7
+ processId: string;
8
+ path: string;
9
+ fallbackAction: string;
10
+ node?: string;
11
+ };
6
12
  export type ProcessSpawnType = {
7
13
  module: string;
8
14
  scheduler: string;
@@ -74,6 +74,7 @@ declare function init(deps: Helpers.DependencyType): {
74
74
  getAggregatedGQLData: typeof Common.getAggregatedGQLData;
75
75
  createProcess: (args: Helpers.ProcessCreateType, statusCB?: (status: any) => void) => Promise<string>;
76
76
  readProcess: (args: Helpers.MessageSendType) => Promise<any>;
77
+ readState: (args: Helpers.ProcessReadType) => Promise<any>;
77
78
  sendMessage: (args: Helpers.MessageSendType) => Promise<string>;
78
79
  mapFromProcessCase: typeof Helpers.mapFromProcessCase;
79
80
  mapToProcessCase: typeof Helpers.mapToProcessCase;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@permaweb/libs",
3
- "version": "0.0.37",
3
+ "version": "0.0.38",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",