Skip to content

Commit

Permalink
Merge pull request #63 from subspace/bug/fixNodeJSExample
Browse files Browse the repository at this point in the history
Fix import following latest change in auto-utils
  • Loading branch information
marc-aurele-besner authored Jul 10, 2024
2 parents ab441ac + 7b88bd7 commit ef2fb4f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/node/src/address.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { address } from '@autonomys/auto-consensus'
import { address } from '@autonomys/auto-utils'
import { setup } from './utils/setup'

export const addressFunction = async () => {
Expand Down
3 changes: 2 additions & 1 deletion examples/node/src/balance.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { address, balance } from '@autonomys/auto-consensus'
import { balance } from '@autonomys/auto-consensus'
import { address } from '@autonomys/auto-utils'
import { setup } from './utils/setup'

export const balanceFunction = async () => {
Expand Down
3 changes: 2 additions & 1 deletion examples/node/src/nominate-operator.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { address, balance, nominateOperator } from '@autonomys/auto-consensus'
import { balance, nominateOperator } from '@autonomys/auto-consensus'
import { address } from '@autonomys/auto-utils'
import { setup, signAndSend } from './utils'

export const nominateOperatorFunction = async () => {
Expand Down
3 changes: 2 additions & 1 deletion examples/node/src/register-operator.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { address, balance, registerOperator } from '@autonomys/auto-consensus'
import { balance, registerOperator } from '@autonomys/auto-consensus'
import { address } from '@autonomys/auto-utils'
import { setup, signAndSend } from './utils'

export const registerOperatorFunction = async () => {
Expand Down
3 changes: 2 additions & 1 deletion examples/node/src/transfer.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { address, balance, transfer } from '@autonomys/auto-consensus'
import { balance, transfer } from '@autonomys/auto-consensus'
import { address } from '@autonomys/auto-utils'
import { setup, signAndSend } from './utils'

export const transferFunction = async () => {
Expand Down

0 comments on commit ef2fb4f

Please sign in to comment.