@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.
- package/README.md +9 -9
- package/dist/experimental.d.ts +1 -1
- package/dist/experimental.d.ts.map +1 -1
- package/dist/experimental.js +2 -2
- package/dist/experimental.js.map +1 -1
- package/dist/gql/airdrops/envio/graphql.d.ts +619 -1614
- package/dist/gql/airdrops/envio/graphql.d.ts.map +1 -1
- package/dist/gql/airdrops/envio/graphql.js +16 -157
- package/dist/gql/airdrops/envio/graphql.js.map +1 -1
- package/dist/gql/airdrops/graph/graphql.d.ts +27 -0
- package/dist/gql/airdrops/graph/graphql.d.ts.map +1 -1
- package/dist/gql/airdrops/graph/graphql.js +7 -0
- package/dist/gql/airdrops/graph/graphql.js.map +1 -1
- package/dist/gql/flow/envio/graphql.d.ts +639 -1540
- package/dist/gql/flow/envio/graphql.d.ts.map +1 -1
- package/dist/gql/flow/envio/graphql.js +31 -155
- package/dist/gql/flow/envio/graphql.js.map +1 -1
- package/dist/gql/flow/graph/graphql.d.ts +216 -0
- package/dist/gql/flow/graph/graphql.d.ts.map +1 -1
- package/dist/gql/flow/graph/graphql.js +18 -1
- package/dist/gql/flow/graph/graphql.js.map +1 -1
- package/dist/gql/lockup/envio/graphql.d.ts +636 -1551
- package/dist/gql/lockup/envio/graphql.d.ts.map +1 -1
- package/dist/gql/lockup/envio/graphql.js +31 -158
- package/dist/gql/lockup/envio/graphql.js.map +1 -1
- package/dist/gql/lockup/graph/graphql.d.ts +216 -0
- package/dist/gql/lockup/graph/graphql.d.ts.map +1 -1
- package/dist/gql/lockup/graph/graphql.js +18 -1
- package/dist/gql/lockup/graph/graphql.js.map +1 -1
- package/dist/indexers/envio.d.ts +1 -1
- package/dist/indexers/envio.d.ts.map +1 -1
- package/dist/indexers/envio.js +0 -3
- package/dist/indexers/envio.js.map +1 -1
- package/dist/indexers/graph.d.ts +1 -1
- package/dist/indexers/graph.d.ts.map +1 -1
- package/dist/indexers/graph.js +8 -18
- package/dist/indexers/graph.js.map +1 -1
- package/dist/queries/airdrops/envio.d.ts.map +1 -1
- package/dist/queries/airdrops/graph.d.ts.map +1 -1
- package/dist/queries/flow/envio.d.ts.map +1 -1
- package/dist/queries/flow/graph.d.ts.map +1 -1
- package/dist/queries/lockup/envio.d.ts.map +1 -1
- package/dist/queries/lockup/graph.d.ts.map +1 -1
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -1
- 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
|
|
47
|
-
|
|
|
48
|
-
| Hot fix
|
|
49
|
-
| New addresses
|
|
50
|
-
| Staging
|
|
51
|
-
| New protocol release
|
|
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/
|
|
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.
|
|
78
|
+
feedback.
|
|
79
79
|
|
|
80
80
|
## License 📄
|
|
81
81
|
|
package/dist/experimental.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"experimental.d.ts","sourceRoot":"","sources":["../src/experimental.ts"],"names":[],"mappings":"
|
|
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"}
|
package/dist/experimental.js
CHANGED
|
@@ -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
|
|
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,
|
|
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
|
}
|
package/dist/experimental.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"experimental.js","sourceRoot":"","sources":["../src/experimental.ts"],"names":[],"mappings":";;AAkBA,gDAgBC;AAvBD,gDAA8C;
|
|
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,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,oBAAU,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"}
|