@sablier/indexers 1.1.0 → 1.2.0

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.
Files changed (46) hide show
  1. package/README.md +9 -9
  2. package/dist/experimental.d.ts +1 -1
  3. package/dist/experimental.d.ts.map +1 -1
  4. package/dist/experimental.js +2 -2
  5. package/dist/experimental.js.map +1 -1
  6. package/dist/gql/airdrops/envio/graphql.d.ts +619 -1614
  7. package/dist/gql/airdrops/envio/graphql.d.ts.map +1 -1
  8. package/dist/gql/airdrops/envio/graphql.js +16 -157
  9. package/dist/gql/airdrops/envio/graphql.js.map +1 -1
  10. package/dist/gql/airdrops/graph/graphql.d.ts +27 -0
  11. package/dist/gql/airdrops/graph/graphql.d.ts.map +1 -1
  12. package/dist/gql/airdrops/graph/graphql.js +7 -0
  13. package/dist/gql/airdrops/graph/graphql.js.map +1 -1
  14. package/dist/gql/flow/envio/graphql.d.ts +639 -1540
  15. package/dist/gql/flow/envio/graphql.d.ts.map +1 -1
  16. package/dist/gql/flow/envio/graphql.js +31 -155
  17. package/dist/gql/flow/envio/graphql.js.map +1 -1
  18. package/dist/gql/flow/graph/graphql.d.ts +216 -0
  19. package/dist/gql/flow/graph/graphql.d.ts.map +1 -1
  20. package/dist/gql/flow/graph/graphql.js +18 -1
  21. package/dist/gql/flow/graph/graphql.js.map +1 -1
  22. package/dist/gql/lockup/envio/graphql.d.ts +636 -1551
  23. package/dist/gql/lockup/envio/graphql.d.ts.map +1 -1
  24. package/dist/gql/lockup/envio/graphql.js +31 -158
  25. package/dist/gql/lockup/envio/graphql.js.map +1 -1
  26. package/dist/gql/lockup/graph/graphql.d.ts +216 -0
  27. package/dist/gql/lockup/graph/graphql.d.ts.map +1 -1
  28. package/dist/gql/lockup/graph/graphql.js +18 -1
  29. package/dist/gql/lockup/graph/graphql.js.map +1 -1
  30. package/dist/indexers/envio.d.ts +1 -1
  31. package/dist/indexers/envio.d.ts.map +1 -1
  32. package/dist/indexers/envio.js +0 -3
  33. package/dist/indexers/envio.js.map +1 -1
  34. package/dist/indexers/graph.d.ts +1 -1
  35. package/dist/indexers/graph.d.ts.map +1 -1
  36. package/dist/indexers/graph.js +8 -18
  37. package/dist/indexers/graph.js.map +1 -1
  38. package/dist/queries/airdrops/envio.d.ts.map +1 -1
  39. package/dist/queries/airdrops/graph.d.ts.map +1 -1
  40. package/dist/queries/flow/envio.d.ts.map +1 -1
  41. package/dist/queries/flow/graph.d.ts.map +1 -1
  42. package/dist/queries/lockup/envio.d.ts.map +1 -1
  43. package/dist/queries/lockup/graph.d.ts.map +1 -1
  44. package/dist/types.d.ts +1 -0
  45. package/dist/types.d.ts.map +1 -1
  46. package/package.json +14 -6
package/README.md CHANGED
@@ -41,14 +41,14 @@ Each subgraph has a version label used to track changes made to the subgraph. Th
41
41
  v{PROTOCOL_VERSION}--v{SUBGRAPH_VERSION}
42
42
  ```
43
43
 
44
- Here's an example for how to set the version label if the current version label is `v2.0--v1.0.0`:
44
+ Here's an example for how to set the next version label if the current version label is `v2.0--v1.0.0`:
45
45
 
46
- | Change | New Version Label |
47
- | -------------------- | --------------------- |
48
- | Hot fix | `v2.0--v1.0.1` |
49
- | New addresses | `v2.0--v1.1.0` |
50
- | Staging | `v2.1--v1.0.0-beta.0` |
51
- | New protocol release | `v2.1--v1.0.0` |
46
+ | Change | New Version Label |
47
+ | ---------------------------- | --------------------- |
48
+ | Hot fix | `v2.0--v1.0.1` |
49
+ | New addresses or features | `v2.0--v1.1.0` |
50
+ | Staging new protocol release | `v2.1--v1.0.0-beta.0` |
51
+ | New protocol release | `v2.1--v1.0.0` |
52
52
 
53
53
  For a full list of protocol versions, see the [Sablier SDK](https://github.com/sablier-labs/sdk) (run the
54
54
  `print-versions` command).
@@ -71,11 +71,11 @@ Then, do the same for the other protocols.
71
71
 
72
72
  ## Contributing 🤝
73
73
 
74
- We welcome contributions! [Open an issue](https://github.com/sablier-labs/indexers/ issues/new),
74
+ We welcome contributions! [Open an issue](https://github.com/sablier-labs/indexers/issues/new),
75
75
  [start a discussion](https://github.com/sablier-labs/indexers/discussions/new), or submit a PR.
76
76
 
77
77
  Read our [CONTRIBUTING](./CONTRIBUTING.md) guide to get started. Join our [Discord server][discord] for questions and
78
- feedback. Join our [Discord server][discord] for questions and feedback.
78
+ feedback.
79
79
 
80
80
  ## License 📄
81
81
 
@@ -1,4 +1,4 @@
1
- import type { Indexer } from ".";
1
+ import type { Indexer } from "./types";
2
2
  export declare function getExperimentalURL(opts: {
3
3
  protocol: Indexer.Protocol;
4
4
  vendor: Indexer.Vendor;
@@ -1 +1 @@
1
- {"version":3,"file":"experimental.d.ts","sourceRoot":"","sources":["../src/experimental.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,GAAG,CAAC;AAMjC,wBAAgB,kBAAkB,CAAC,IAAI,EAAE;IAAE,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC;IAAC,MAAM,EAAE,OAAO,CAAC,MAAM,CAAA;CAAE,GAAG,MAAM,CAgBvG"}
1
+ {"version":3,"file":"experimental.d.ts","sourceRoot":"","sources":["../src/experimental.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAKvC,wBAAgB,kBAAkB,CAAC,IAAI,EAAE;IAAE,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC;IAAC,MAAM,EAAE,OAAO,CAAC,MAAM,CAAA;CAAE,GAAG,MAAM,CAgBvG"}
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getExperimentalURL = getExperimentalURL;
4
4
  const chains_1 = require("sablier/dist/chains");
5
- const _1 = require(".");
5
+ const getters_1 = require("./indexers/getters");
6
6
  function getExperimentalURL(opts) {
7
7
  const { protocol, vendor } = opts;
8
8
  if (vendor === "envio") {
@@ -13,7 +13,7 @@ function getExperimentalURL(opts) {
13
13
  };
14
14
  return `https://indexer.hyperindex.xyz/${id[protocol]}/v1/graphql`;
15
15
  }
16
- const indexer = (0, _1.getIndexer)({ chainId: chains_1.sepolia.id, protocol, vendor: "graph" });
16
+ const indexer = (0, getters_1.getIndexer)({ chainId: chains_1.sepolia.id, protocol, vendor: "graph" });
17
17
  if (!indexer?.testingURL) {
18
18
  throw new Error(`Sepolia Indexer not found for protocol ${protocol}`);
19
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"experimental.js","sourceRoot":"","sources":["../src/experimental.ts"],"names":[],"mappings":";;AAkBA,gDAgBC;AAvBD,gDAA8C;AAE9C,wBAA+B;AAK/B,SAAgB,kBAAkB,CAAC,IAA4D;IAC7F,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAClC,IAAI,MAAM,KAAK,OAAO,EAAE,CAAC;QACvB,MAAM,EAAE,GAAG;YACT,QAAQ,EAAE,SAAS;YACnB,IAAI,EAAE,SAAS;YACf,MAAM,EAAE,SAAS;SAClB,CAAC;QACF,OAAO,kCAAkC,EAAE,CAAC,QAAQ,CAAC,aAAa,CAAC;IACrE,CAAC;IAED,MAAM,OAAO,GAAG,IAAA,aAAU,EAAC,EAAE,OAAO,EAAE,gBAAO,CAAC,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC;IAC/E,IAAI,CAAC,OAAO,EAAE,UAAU,EAAE,CAAC;QACzB,MAAM,IAAI,KAAK,CAAC,0CAA0C,QAAQ,EAAE,CAAC,CAAC;IACxE,CAAC;IACD,OAAO,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,SAAS,EAAE,cAAc,CAAC,CAAC;AAC/D,CAAC"}
1
+ {"version":3,"file":"experimental.js","sourceRoot":"","sources":["../src/experimental.ts"],"names":[],"mappings":";;AAkBA,gDAgBC;AAvBD,gDAA8C;AAC9C,gDAAgD;AAMhD,SAAgB,kBAAkB,CAAC,IAA4D;IAC7F,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,G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