Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OPS -- fcl -- move utils #1793

Merged
merged 3 commits into from
Oct 27, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/fcl/src/app-utils/verify-signatures.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {invariant} from "@onflow/util-invariant"
import {withPrefix, sansPrefix} from "@onflow/util-address"
import {query} from "../exec/query"
import {encodeAccountProof} from "../wallet-utils"
import {isString} from "../exec/utils/is"
import {isString} from "../utils/is"
import {getChainId} from "../utils"

const ACCOUNT_PROOF = "ACCOUNT_PROOF"
Expand Down
2 changes: 1 addition & 1 deletion packages/fcl/src/current-user/exec-service/plugins.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {invariant} from "@onflow/util-invariant"
import {LEVELS, log} from "@onflow/util-logger"
import {isRequired, isString, isObject, isFunc} from "../../exec/utils/is"
import {isRequired, isString, isObject, isFunc} from "../../utils/is"
import { CORE_STRATEGIES } from "../../utils/constants"

const stub = () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/fcl/src/exec/mutate.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {normalizeArgs} from "./utils/normalize-args"
import {getCurrentUser} from "../current-user"
import {prepTemplateOpts} from "./utils/prep-template-opts.js"
import {preMutate} from "./utils/pre.js"
import {isNumber} from "./utils/is"
import {isNumber} from "../utils/is"

export const getMutate = ({platform}) => {
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/fcl/src/exec/utils/normalize-args.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {isFunc} from "./is"
import {isFunc} from "../../utils/is"
import * as sdk from "@onflow/sdk"
import * as t from "@onflow/types"

Expand Down
2 changes: 1 addition & 1 deletion packages/fcl/src/exec/utils/pre.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {invariant} from "@onflow/util-invariant"
import * as sdk from "@onflow/sdk"
import {isRequired, isObject, isString} from "./is"
import {isRequired, isObject, isString} from "../../utils/is"

async function pre(type, opts) {
// prettier-ignore
Expand Down
2 changes: 1 addition & 1 deletion packages/fcl/src/exec/utils/prep-template-opts.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {retrieve} from "../../document/document.js"
import {normalizeInteractionTemplate} from "../../normalizers/interaction-template/interaction-template"
import {deriveCadenceByNetwork} from "../../interaction-template-utils/derive-cadence-by-network.js"
import {deriveDependencies} from "./derive-dependencies"
import {isString} from "./is"
import {isString} from "../../utils/is.js"
nialexsan marked this conversation as resolved.
Show resolved Hide resolved
import {getChainId} from "../../utils"

export async function prepTemplateOpts(opts) {
Expand Down
File renamed without changes.
Loading