@permaweb/libs 0.0.56 → 0.0.58
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/index.cjs +20 -19
- package/dist/index.esm.js +55 -54
- package/dist/index.js +20 -19
- package/dist/types/common/ao.d.ts +0 -6
- package/dist/types/helpers/types.d.ts +2 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/services/zones.d.ts +4 -0
- package/package.json +1 -1
|
@@ -22,9 +22,3 @@ export declare function handleProcessEval(deps: DependencyType, args: {
|
|
|
22
22
|
evalTags?: TagType[];
|
|
23
23
|
}): Promise<string | null>;
|
|
24
24
|
export declare function aoCreateProcessWith(deps: DependencyType): (args: ProcessCreateType, statusCB?: (status: any) => void) => Promise<string>;
|
|
25
|
-
export declare function aoCreateProcess(deps: DependencyType, args: ProcessCreateType, statusCB?: (status: any) => void): Promise<string>;
|
|
26
|
-
export declare function fetchProcessSrc(txId: string): Promise<string>;
|
|
27
|
-
export declare function waitForProcess(args: {
|
|
28
|
-
processId: string;
|
|
29
|
-
noRetryLimit?: boolean;
|
|
30
|
-
}): Promise<string | undefined>;
|
|
@@ -5,6 +5,7 @@ export type DependencyType = {
|
|
|
5
5
|
node?: {
|
|
6
6
|
url: string;
|
|
7
7
|
scheduler: string;
|
|
8
|
+
authority: string;
|
|
8
9
|
};
|
|
9
10
|
};
|
|
10
11
|
export type ProcessReadType = {
|
|
@@ -76,6 +77,7 @@ export type ProfileType = {
|
|
|
76
77
|
id: string;
|
|
77
78
|
quantity: string;
|
|
78
79
|
}[];
|
|
80
|
+
authorities?: string[];
|
|
79
81
|
} & any;
|
|
80
82
|
export type AssetCreateArgsType = {
|
|
81
83
|
name: string;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -28,6 +28,10 @@ declare function init(deps: Helpers.DependencyType): {
|
|
|
28
28
|
updateZoneVersion: (args: {
|
|
29
29
|
zoneId: string;
|
|
30
30
|
}) => Promise<string | null>;
|
|
31
|
+
updateZoneAuthorities: (args: {
|
|
32
|
+
zoneId: string;
|
|
33
|
+
authorityId: string;
|
|
34
|
+
}) => Promise<string | null>;
|
|
31
35
|
createProfile: (args: Helpers.ProfileArgsType, callback?: (status: any) => void) => Promise<string | null>;
|
|
32
36
|
updateProfile: (args: Helpers.ProfileArgsType, profileId: string, callback?: (status: any) => void) => Promise<string | null>;
|
|
33
37
|
updateProfileVersion: (args: {
|
|
@@ -22,4 +22,8 @@ export declare function joinZoneWith(deps: DependencyType): (args: {
|
|
|
22
22
|
export declare function updateZoneVersionWith(deps: DependencyType): (args: {
|
|
23
23
|
zoneId: string;
|
|
24
24
|
}) => Promise<string | null>;
|
|
25
|
+
export declare function updateZoneAuthoritiesWith(deps: DependencyType): (args: {
|
|
26
|
+
zoneId: string;
|
|
27
|
+
authorityId: string;
|
|
28
|
+
}) => Promise<string | null>;
|
|
25
29
|
export declare function getZoneWith(deps: DependencyType): (zoneId: string) => Promise<any | null>;
|