@typemove/sui 1.6.0 → 1.6.1-rc.2

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/src/move-coder.ts CHANGED
@@ -248,7 +248,7 @@ const CHAIN_ID_CODER_MAP = new Map<string, MoveCoder>()
248
248
  export function defaultMoveCoder(endpoint: string = DEFAULT_ENDPOINT): MoveCoder {
249
249
  let coder = CODER_MAP.get(endpoint)
250
250
  if (!coder) {
251
- coder = new MoveCoder(new SuiClient({ url: DEFAULT_ENDPOINT }))
251
+ coder = new MoveCoder(new SuiClient({ url: endpoint }))
252
252
  CODER_MAP.set(endpoint, coder)
253
253
  }
254
254
  return coder