@xyo-network/xl1-providers 4.0.9 → 4.0.11

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.
@@ -14,9 +14,10 @@ export interface BasicRestViewerLocatorOptions {
14
14
  fetchFn?: typeof globalThis.fetch;
15
15
  /**
16
16
  * Whether `XyoViewer` precomputes network-stake-reward positions across the whole chain at
17
- * startup. Defaults to `true` (matching `SimpleXyoViewer`'s own default), but that precompute
18
- * issues one REST round trip per position/step, which can be slow or fragile against a large,
19
- * live chain set `false` for a lighter-weight client that doesn't need reward data.
17
+ * startup. Defaults to `false` here — unlike `SimpleXyoViewer`'s own node-side default of
18
+ * `true` — because that precompute issues one REST round trip per position/step, which against
19
+ * a large live chain turns gateway construction from seconds into minutes-or-worse. Set `true`
20
+ * only when the client actually needs reward data warmed at startup.
20
21
  */
21
22
  initRewardsCache?: boolean;
22
23
  }
@@ -1 +1 @@
1
- {"version":3,"file":"basicRestViewerLocator.d.ts","sourceRoot":"","sources":["../../../src/locators/basicRestViewerLocator.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACiC,oBAAoB,EAChE,MAAM,+BAA+B,CAAA;AAgBtC,oFAAoF;AACpF,MAAM,WAAW,gBAAgB;IAC/B,0IAA0I;IAC1I,MAAM,EAAE,oBAAoB,CAAA;IAC5B,yIAAyI;IACzI,UAAU,CAAC,EAAE,oBAAoB,CAAA;IACjC,gIAAgI;IAChI,KAAK,CAAC,EAAE,oBAAoB,CAAA;CAC7B;AAED,MAAM,WAAW,6BAA6B;IAC5C,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,sHAAsH;IACtH,OAAO,CAAC,EAAE,OAAO,UAAU,CAAC,KAAK,CAAA;IACjC;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B;AAED;;;;;;;GAOG;AACH,wBAAsB,sBAAsB,CAC1C,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,gBAAgB,EAC5B,gBAAgB,CAAC,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,6BAA6B,yJAyExC"}
1
+ {"version":3,"file":"basicRestViewerLocator.d.ts","sourceRoot":"","sources":["../../../src/locators/basicRestViewerLocator.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACiC,oBAAoB,EAChE,MAAM,+BAA+B,CAAA;AAgBtC,oFAAoF;AACpF,MAAM,WAAW,gBAAgB;IAC/B,0IAA0I;IAC1I,MAAM,EAAE,oBAAoB,CAAA;IAC5B,yIAAyI;IACzI,UAAU,CAAC,EAAE,oBAAoB,CAAA;IACjC,gIAAgI;IAChI,KAAK,CAAC,EAAE,oBAAoB,CAAA;CAC7B;AAED,MAAM,WAAW,6BAA6B;IAC5C,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,sHAAsH;IACtH,OAAO,CAAC,EAAE,OAAO,UAAU,CAAC,KAAK,CAAA;IACjC;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B;AAED;;;;;;;GAOG;AACH,wBAAsB,sBAAsB,CAC1C,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,gBAAgB,EAC5B,gBAAgB,CAAC,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,6BAA6B,yJAyExC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/xl1-providers",
3
- "version": "4.0.9",
3
+ "version": "4.0.11",
4
4
  "description": "XYO Layer One API",
5
5
  "homepage": "https://xylabs.com",
6
6
  "bugs": {
@@ -44,11 +44,11 @@
44
44
  "README.md"
45
45
  ],
46
46
  "dependencies": {
47
- "@xyo-network/xl1-protocol-lib": "~4.0.9",
48
- "@xyo-network/xl1-protocol-model": "~4.0.9",
49
- "@xyo-network/xl1-protocol-sdk": "~4.0.9",
50
- "@xyo-network/xl1-rpc": "~4.0.9",
51
- "@xyo-network/xl1-rest-block-viewer": "~4.0.9"
47
+ "@xyo-network/xl1-protocol-lib": "~4.0.11",
48
+ "@xyo-network/xl1-protocol-model": "~4.0.11",
49
+ "@xyo-network/xl1-protocol-sdk": "~4.0.11",
50
+ "@xyo-network/xl1-rpc": "~4.0.11",
51
+ "@xyo-network/xl1-rest-block-viewer": "~4.0.11"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@ariestools/sdk": "~7.0.8",