@human-protocol/sdk 4.0.1 → 4.0.2
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/constants.d.ts +8 -8
- package/dist/constants.js +12 -12
- package/package.json +1 -1
- package/src/constants.ts +12 -12
package/dist/constants.d.ts
CHANGED
|
@@ -19,18 +19,18 @@ export declare const NETWORKS: {
|
|
|
19
19
|
[chainId in ChainId]?: NetworkData;
|
|
20
20
|
};
|
|
21
21
|
export declare const KVStoreKeys: {
|
|
22
|
-
|
|
22
|
+
category: string;
|
|
23
23
|
fee: string;
|
|
24
|
+
jobTypes: string;
|
|
25
|
+
operatorName: string;
|
|
24
26
|
publicKey: string;
|
|
25
27
|
publicKeyHash: string;
|
|
26
|
-
webhookUrl: string;
|
|
27
|
-
website: string;
|
|
28
|
-
url: string;
|
|
29
|
-
jobTypes: string;
|
|
30
|
-
registrationNeeded: string;
|
|
31
28
|
registrationInstructions: string;
|
|
32
|
-
|
|
33
|
-
|
|
29
|
+
registrationNeeded: string;
|
|
30
|
+
role: string;
|
|
31
|
+
url: string;
|
|
32
|
+
website: string;
|
|
33
|
+
webhookUrl: string;
|
|
34
34
|
};
|
|
35
35
|
export declare const Role: {
|
|
36
36
|
JobLauncher: string;
|
package/dist/constants.js
CHANGED
|
@@ -112,24 +112,24 @@ exports.NETWORKS = {
|
|
|
112
112
|
},
|
|
113
113
|
};
|
|
114
114
|
exports.KVStoreKeys = {
|
|
115
|
-
|
|
115
|
+
category: 'category',
|
|
116
116
|
fee: 'fee',
|
|
117
|
+
jobTypes: 'job_types',
|
|
118
|
+
operatorName: 'name',
|
|
117
119
|
publicKey: 'public_key',
|
|
118
120
|
publicKeyHash: 'public_key_hash',
|
|
119
|
-
webhookUrl: 'webhook_url',
|
|
120
|
-
website: 'website',
|
|
121
|
-
url: 'url',
|
|
122
|
-
jobTypes: 'job_types',
|
|
123
|
-
registrationNeeded: 'registration_needed',
|
|
124
121
|
registrationInstructions: 'registration_instructions',
|
|
125
|
-
|
|
126
|
-
|
|
122
|
+
registrationNeeded: 'registration_needed',
|
|
123
|
+
role: 'role',
|
|
124
|
+
url: 'url',
|
|
125
|
+
website: 'website',
|
|
126
|
+
webhookUrl: 'webhook_url',
|
|
127
127
|
};
|
|
128
128
|
exports.Role = {
|
|
129
|
-
JobLauncher: '
|
|
130
|
-
ExchangeOracle: '
|
|
131
|
-
ReputationOracle: '
|
|
132
|
-
RecordingOracle: '
|
|
129
|
+
JobLauncher: 'job_launcher',
|
|
130
|
+
ExchangeOracle: 'exchange_oracle',
|
|
131
|
+
ReputationOracle: 'reputation_oracle',
|
|
132
|
+
RecordingOracle: 'recording_oracle',
|
|
133
133
|
};
|
|
134
134
|
exports.SUBGRAPH_API_KEY_PLACEHOLDER = '[SUBGRAPH_API_KEY]';
|
|
135
135
|
exports.ESCROW_BULK_PAYOUT_MAX_ITEMS = 99;
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED
|
@@ -133,25 +133,25 @@ export const NETWORKS: {
|
|
|
133
133
|
};
|
|
134
134
|
|
|
135
135
|
export const KVStoreKeys = {
|
|
136
|
-
|
|
136
|
+
category: 'category',
|
|
137
137
|
fee: 'fee',
|
|
138
|
+
jobTypes: 'job_types',
|
|
139
|
+
operatorName: 'name',
|
|
138
140
|
publicKey: 'public_key',
|
|
139
141
|
publicKeyHash: 'public_key_hash',
|
|
140
|
-
webhookUrl: 'webhook_url',
|
|
141
|
-
website: 'website',
|
|
142
|
-
url: 'url',
|
|
143
|
-
jobTypes: 'job_types',
|
|
144
|
-
registrationNeeded: 'registration_needed',
|
|
145
142
|
registrationInstructions: 'registration_instructions',
|
|
146
|
-
|
|
147
|
-
|
|
143
|
+
registrationNeeded: 'registration_needed',
|
|
144
|
+
role: 'role',
|
|
145
|
+
url: 'url',
|
|
146
|
+
website: 'website',
|
|
147
|
+
webhookUrl: 'webhook_url',
|
|
148
148
|
};
|
|
149
149
|
|
|
150
150
|
export const Role = {
|
|
151
|
-
JobLauncher: '
|
|
152
|
-
ExchangeOracle: '
|
|
153
|
-
ReputationOracle: '
|
|
154
|
-
RecordingOracle: '
|
|
151
|
+
JobLauncher: 'job_launcher',
|
|
152
|
+
ExchangeOracle: 'exchange_oracle',
|
|
153
|
+
ReputationOracle: 'reputation_oracle',
|
|
154
|
+
RecordingOracle: 'recording_oracle',
|
|
155
155
|
};
|
|
156
156
|
|
|
157
157
|
export const SUBGRAPH_API_KEY_PLACEHOLDER = '[SUBGRAPH_API_KEY]';
|