@avalabs/glacier-sdk 2.8.0-alpha.8 → 2.8.0-alpha.80

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 CHANGED
@@ -13,3 +13,13 @@ const glacierApi = new V1("https://glacier-api.avax.network/")
13
13
 
14
14
  const resp = glacierApi.getNativeBalance(")
15
15
  ```
16
+
17
+ ## Debugging Build Issues After Code Generation
18
+
19
+ After running the `codegen` script, you may encounter build errors that look like this:
20
+
21
+ ![image](./documentation/images/no-exported-member-error.png)
22
+
23
+ This is caused by changes to the Glacier API schema, and the `GlacierClient` class in `src/glacierClient.ts` that wraps auto-generated code from the API schema as this code is not updated automatically during code generation.
24
+
25
+ Please see [PR #371](https://github.com/ava-labs/avalanche-sdks/pull/371) for an example of the type of update that must be made in order resolve the above error, in particular [this commit](https://github.com/ava-labs/avalanche-sdks/pull/371/commits/17ddb76acf54c5b2c9e8d06e20ac2315575006de).