@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.
@@ -19,18 +19,18 @@ export declare const NETWORKS: {
19
19
  [chainId in ChainId]?: NetworkData;
20
20
  };
21
21
  export declare const KVStoreKeys: {
22
- role: string;
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
- name: string;
33
- category: string;
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
- role: 'role',
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
- name: 'name',
126
- category: 'category',
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: 'Job Launcher',
130
- ExchangeOracle: 'Exchange Oracle',
131
- ReputationOracle: 'Reputation Oracle',
132
- RecordingOracle: 'Recording Oracle',
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@human-protocol/sdk",
3
3
  "description": "Human Protocol SDK",
4
- "version": "4.0.1",
4
+ "version": "4.0.2",
5
5
  "files": [
6
6
  "src",
7
7
  "dist"
package/src/constants.ts CHANGED
@@ -133,25 +133,25 @@ export const NETWORKS: {
133
133
  };
134
134
 
135
135
  export const KVStoreKeys = {
136
- role: 'role',
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
- name: 'name',
147
- category: 'category',
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: 'Job Launcher',
152
- ExchangeOracle: 'Exchange Oracle',
153
- ReputationOracle: 'Reputation Oracle',
154
- RecordingOracle: 'Recording Oracle',
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]';