@snapshot-labs/snapshot.js 0.4.94 → 0.4.95

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.d.ts CHANGED
@@ -235,30 +235,8 @@ declare const _default: {
235
235
  required: string[];
236
236
  additionalProperties: boolean;
237
237
  };
238
- delegationPortal: {
239
- delegationType: {
240
- type: string;
241
- title: string;
242
- description: string;
243
- anyOf: {
244
- const: string;
245
- title: string;
246
- }[];
247
- };
248
- delegationContract: {
249
- type: string;
250
- format: string;
251
- title: string;
252
- description: string;
253
- examples: string[];
254
- };
255
- delegationApi: {
256
- type: string;
257
- format: string;
258
- title: string;
259
- description: string;
260
- examples: string[];
261
- };
238
+ delegation: {
239
+ type: string;
262
240
  };
263
241
  allowAlias: {
264
242
  type: string;
@@ -231,30 +231,8 @@ declare const _default: {
231
231
  required: string[];
232
232
  additionalProperties: boolean;
233
233
  };
234
- delegationPortal: {
235
- delegationType: {
236
- type: string;
237
- title: string;
238
- description: string;
239
- anyOf: {
240
- const: string;
241
- title: string;
242
- }[];
243
- };
244
- delegationContract: {
245
- type: string;
246
- format: string;
247
- title: string;
248
- description: string;
249
- examples: string[];
250
- };
251
- delegationApi: {
252
- type: string;
253
- format: string;
254
- title: string;
255
- description: string;
256
- examples: string[];
257
- };
234
+ delegation: {
235
+ type: string;
258
236
  };
259
237
  allowAlias: {
260
238
  type: string;
@@ -751,36 +751,8 @@ var definitions = {
751
751
  ],
752
752
  additionalProperties: false
753
753
  },
754
- delegationPortal: {
755
- delegationType: {
756
- type: "string",
757
- title: "Delegation type",
758
- description: "Specify the type of delegation that you are using",
759
- anyOf: [
760
- {
761
- "const": "compound-governor",
762
- title: "Compound governor"
763
- }
764
- ]
765
- },
766
- delegationContract: {
767
- type: "string",
768
- format: "address",
769
- title: "Contract address",
770
- description: "The address of your delegation contract",
771
- examples: [
772
- "0x3901D0fDe202aF1427216b79f5243f8A022d68cf"
773
- ]
774
- },
775
- delegationApi: {
776
- type: "string",
777
- format: "uri",
778
- title: "Delegation API",
779
- description: "The URL of your delegation API (e.g a subgraph)",
780
- examples: [
781
- "https://api.thegraph.com/subgraphs/name/arr00/uniswap-governance-v2"
782
- ]
783
- }
754
+ delegation: {
755
+ type: "boolean"
784
756
  },
785
757
  allowAlias: {
786
758
  type: "boolean"
@@ -742,36 +742,8 @@ var definitions = {
742
742
  ],
743
743
  additionalProperties: false
744
744
  },
745
- delegationPortal: {
746
- delegationType: {
747
- type: "string",
748
- title: "Delegation type",
749
- description: "Specify the type of delegation that you are using",
750
- anyOf: [
751
- {
752
- "const": "compound-governor",
753
- title: "Compound governor"
754
- }
755
- ]
756
- },
757
- delegationContract: {
758
- type: "string",
759
- format: "address",
760
- title: "Contract address",
761
- description: "The address of your delegation contract",
762
- examples: [
763
- "0x3901D0fDe202aF1427216b79f5243f8A022d68cf"
764
- ]
765
- },
766
- delegationApi: {
767
- type: "string",
768
- format: "uri",
769
- title: "Delegation API",
770
- description: "The URL of your delegation API (e.g a subgraph)",
771
- examples: [
772
- "https://api.thegraph.com/subgraphs/name/arr00/uniswap-governance-v2"
773
- ]
774
- }
745
+ delegation: {
746
+ type: "boolean"
775
747
  },
776
748
  allowAlias: {
777
749
  type: "boolean"